/* Basisinstellingen */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    color: white;
    overflow: hidden;
    font-family: "Inter";
    font-optical-sizing: auto;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;

}

#original, #blurred {
    will-change: opacity, filter;
}

img {
    pointer-events: none;
    width: 100%;
    height: auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hidden {
    display: none;
}

/* Lagen */
.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.25s ease-in;
}

.blurred-layer {
    filter: blur(10px);
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
    z-index: 1;
}

.overlay-layer {
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
    opacity: 0;
}

.overlay-layer.visible {
    opacity: 1;
}

.original-layer {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: filter 0.25s ease-in-out, opacity 0.25s ease-in-out;
    z-index: 3;
}

.visible {
    opacity: 1;
}

/* Navigatieknoppen */
.nav-button {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
    z-index: 1000;
}

.nav-button svg {
    fill: white;
    width: 50px;
    height: 50px;
}

.nav-button.left {
    left: 10px;
    transform: translateY(-50%);
}

.nav-button.right {
    right: 10px;
    transform: translateY(-50%);
}

.nav-button.visible {
    opacity: 1;
}

/* Top menu */
.top-menu {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    transition: top 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 900;
}

.top-menu.visible {
    top: 0;
}

.menu-logo {
    font-size: 50px;
    font-weight: 900;
}

.menu-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.menu-item {
    font-size: 25px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.menu-item:hover::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10px;
    right: 10px;
    height: 3px;
    background-color: white;
}

/* Biografie-overlay */
.biography-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 900px;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    z-index: 700;
}

.biography-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.biography-content {
    background: rgba(0, 0, 0, 0.9);
    padding: 50px;
    border-radius: 25px;
    color: white;
    font-size: 20px;
    line-height: 1.75;
    text-align: left;
    position: relative;
}

.close-bio {
    position: absolute;
    top: 10px;
    right: -10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    font-size: 30px;
    font-weight: bold;
    fill: white;
    cursor: pointer;
}

.close-bio:hover {
    fill: DarkGray;
}

#kruisje {
    fill: White;
    transition: opacity 0.25s ease-in-out;
}

#kruisje:hover {
    fill: DarkGray;
}

#StefanVanDerVeen {
    border-radius: 50%;
    align-items: center;
    max-width: 25%;
    margin: auto;
    display: block;
    width: 25%;
}

/* Contact-overlay */
#emailIcon {
    cursor: pointer;
    transition: transform 0.25s ease;
}

#emailIcon:hover {
    transform: scale(1.2);
}

#homeIcon {
    cursor: pointer;
    transition: transform 0.25s ease;
}

#homeIcon:hover {
    transform: scale(1.2);
}

.contact-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 600px;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    z-index: 700;
}

.contact-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.contact-content {
    width: auto;
    background: rgba(0, 0, 0, 0.9);
    padding: 50px;
    border-radius: 25px;
    color: white;
    font-size: 20px;
    line-height: 1.75;
    text-align: left;
    position: relative;
}

.close-contact {
    position: absolute;
    top: 10px;
    right: -10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    font-size: 30px;
    font-weight: bold;
    fill: white;
    cursor: pointer;
}

.close-contact:hover {
    fill: DarkGray;
}

.contact-info {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
}

.contact-info.visible {
    opacity: 1;
    filter: blur(0);
}

.contact-check {
    margin-bottom: 20px;
}

.contact-check input {
    margin-top: 10px;
    padding: 5px;
}

.contact-check .btn {
    margin-top: 10px;
    padding: 10px;
    border-radius: 15%;
    background-color: Gray;
    color: white;
    font-weight: bold;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.contact-check .btn:hover {
    background-color: DarkGray;
}

#ContactText {
    font-weight: bold;
    line-height: 1.75;
}

#phoneNumber {
    font-weight: bold;
}

#securityCheck {
    width: 10%;
    min-width: 80px;
    padding: 10px;
    font-size: 16px;
    border: 0px solid white;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

#securityCheck:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.blurred {
    filter: blur(10px);
}

.info-row {
    display: flex;
    margin-bottom: 10px;
}

.info-icon {
    margin-right: 10px;
}

.info-text {
    font-size: 18px;
    color: white;
}

.info-text a {
    color: #00bfff;
    text-decoration: none;
}

.info-text a:hover {
    text-decoration: underline;
}

/* Footer menu */
.footer-menu {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    transition: bottom 0.25s cubic-bezier(1, 0.2, 0, 0.4);
    z-index: 800;
}

.footer-menu.visible {
    bottom: 0;
}

.footer-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.footer-item {
    font-size: 20px;
    font-weight: 400;
    position: relative;
}

/* Basisinstellingen voor kleinere schermen */
@media (max-width: 1400px) {
    .menu-items {
        gap: 30px;
    }

    .footer-items {
        gap: 30px;
    }

    .footer-menu {
        bottom: 0;
        height: 50px;
    }

    .top-menu {
        height: 80px;
        top: 0px;
    }

    .menu-logo {
        font-size: 30px;
    }

    .menu-item {
        font-size: 20px;
    }

    .nav-button {
        width: 40px;
        height: 40px;
        opacity: 1;
    }

    .nav-button svg {
        width: 40px;
        height: 40px;
    }

    .biography-content,
    .contact-content {
        padding: 30px;
    }

    .biography-content {
        max-height: calc(100vh - 250px);
        font-size: 18px;
        line-height: 1.6;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .contact-content {
        font-size: 18px;
        line-height: 1.6;
    }

    .contact-check .btn {
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .menu-items {
        gap: 20px;
    }

    .footer-items {
        gap: 20px;
    }

    .footer-menu {
        bottom: 0;
        height: 40px;
    }

    .top-menu {
        height: 70px;
        top: 0px;
    }

    .menu-logo {
        font-size: 25px;
    }

    .menu-item {
        font-size: 18px;
    }

    .nav-button {
        width: 35px;
        height: 35px;
        opacity: 1;
    }

    .nav-button svg {
        width: 35px;
        height: 35px;
    }

    .biography-content,
    .contact-content {
        padding: 25px;
    }

    .biography-content {
        max-height: calc(100vh - 250px);;
        font-size: 16px;
        line-height: 1.6;
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .contact-content {
        font-size: 16px;
        line-height: 1.6;
    }

    .contact-check .btn {
        padding: 6px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .menu-items {
        gap: 10px;
    }

    .footer-items {
        gap: 10px;
    }

    .footer-item {
        font-size: 10px;
    }

    .footer-menu {
        bottom: 0;
        height: 30px;
    }

    .top-menu {
        height: 40px;
        top: 0px;
    }

    .menu-logo {
        font-size: 12px;
    }

    .menu-item {
        font-size: 10px;
    }

    .nav-button {
        width: 30px;
        height: 30px;
        opacity: 1;
    }

    .nav-button svg {
        width: 30px;
        height: 30px;
    }

    .biography-content,
    .contact-content {
        padding: 20px;
    }

    .biography-content {
        max-height: calc(100vh - 200px);
        font-size: 14px;
        line-height: 1.6;
        overflow-y: auto;
    }

    .contact-content {
        font-size: 14px;
        line-height: 1.6;
    }

    .contact-check .btn {
        padding: 5px;
        font-size: 12px;
    }
}

/* Schaling van de tekst en padding */
html {
    font-size: 16px;
}

@media (max-width: 1200px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 10px;
    }
}

