.cookiealert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 90%;
    padding: 30px;
    z-index: 6000;
    background: #fff;
    border: 4px solid var(--secondaryColor);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #333;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 500ms ease-out;
}

.cookiealert.show {
    opacity: 1;
    visibility: visible;
}

.cookiealert a.btn {
    margin-top: 20px;
}
@media (max-width: 1024px) {
  p {
    font-size: 15px;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  p {
    font-size: 14px;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  p {
    font-size: 13px;
    padding: 8px;
  }
}

@media (max-width: 320px) {
  p {
    font-size: 12px;
    padding: 6px;
  }
}

.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* grijzige overlay */
    z-index: 5999; /* net onder de agealert */
    opacity: 1;
    visibility: visible;
}

.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* grijzige overlay */
    z-index: 5999; /* net onder de agealert */
    opacity: 1;
    visibility: visible;
}

.agealert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 90%;
    padding: 30px;
    z-index: 6000;
    background: #fff;
    border: 4px solid var(--secondaryColor);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #333;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 500ms ease-out;
}

.agealert.show {
    opacity: 1;
    visibility: visible;
}

.agealert a.btn {
    margin: 10px;
}
