@font-face {
    font-family: "Outfit";
    src: url("../Media/fonts/Outfit/Outfit-VariableFont_wght.ttf") format("truetype");
}

:root {
    --font: "Outfit", sans-serif;
    --navbarHeight: 10vh;
    --sidePadding: 5%;
    --test: red;
    --navbarColor: #0f0f0f72;
    --background: #141414;
    --textColor: #fff;
}

/* Base typography */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
    color: var(--textColor);
}

html {
    overflow-x: hidden;
}

/* Page background */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
    background: linear-gradient(90deg, var(--background), var(--background), #222333, var(--background)), var(--background);
    background-size: 200% 100%;
    animation: backgroundAnimation 30s linear infinite;
}

@keyframes backgroundAnimation {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    width: 100%;
    height: var(--navbarHeight);
    box-sizing: border-box;
    position: relative;
    z-index: 100;
    padding: 0 40px;
    background-color: var(--navbarColor);
}

/* Navbar brand */
.navLogo {
    width: auto;
    height: 55px;
    filter: brightness(0) invert(1);
}

.navLogoLink {
    position: absolute;
    left: 40px;
    display: flex;
    align-items: center;
}

/* Navbar links */
.navlinks {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0 auto;
    padding-left: 30px;
}

.navlinks a {
    font-family: var(--font);
    font-size: 20px;
    font-weight: 550;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.navlinks a:not(.navPaamelding) {
    position: relative;
}

.navlinks a:not(.navPaamelding)::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    content: '';
    background: #fff;
    transition: width 0.25s ease;
}

.navlinks a:not(.navPaamelding):hover::after {
    width: 100%;
}

.navPaamelding {
    position: relative;
    z-index: 0;
    padding: 10px 25px;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    transition: box-shadow 0.3s ease;
}

.navPaamelding:hover {
    box-shadow:
        0 0 8px 2px #ff6b6b66,
        0 0 16px 4px #45aaf24d,
        0 0 24px 6px #a55eea33;
}

.navPaamelding::before {
    position: absolute;
    inset: -4px;
    z-index: -1;
    content: '';
    border-radius: 6px;
    background: linear-gradient(90deg,
            #ff6b6b,
            #ff9f43,
            #ffd32a,
            #26de81,
            #45aaf2,
            #a55eea,
            #ff6b6b,
            #ff9f43,
            #ffd32a,
            #26de81,
            #45aaf2,
            #a55eea);
    background-size: 200% 100%;
    animation: regnbue 4s linear infinite;
    filter: blur(1px) brightness(1.1);
}

@keyframes regnbue {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.navPaamelding::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: '';
    border-radius: 4px;
    background: #0f0f0f;
}

.hamburger {
    display: none;
}

/* Navbar mobile */
@media (max-width: 800px) {
    .navbar {
        flex-wrap: wrap;
        align-items: center;
        align-content: flex-start;
        height: auto;
        min-height: 70px;
        padding: 0 20px;
        position: relative;
        z-index: 100;
        background-color: #0f0f0f72;
    }

    .navLogo {
        height: 38px;
    }

    .navLogoLink {
        position: static;
        display: flex;
        align-items: center;
        height: 70px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        height: 70px;
        margin-left: auto;
        padding: 4px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 200;
    }

    .hamburger span {
        width: 28px;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: 0.3s ease;
    }

    .navlinks a:not(.navPaamelding)::after {
        display: none;
    }

    .navlinks {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 20px;
        padding: 16px 0 24px;
    }

    .navlinks.open {
        display: flex;
    }

    .navlinks a {
        width: 100%;
        text-align: center;
        font-size: 1.3em;
    }
}

/* Footer */
.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    padding: 70px 120px;
    background: #0f0f0f72;
    color: #fff;
}

/* Footer left column */
.footerLeft {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footerLogoImg {
    width: 284px;
    height: 133px;
    object-fit: contain;
}

/* Social links */
.footerSoMe {
    display: flex;
    align-items: center;
    gap: 20px;
}

.soMeIcon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.soMeIcon:hover img {
    opacity: 1;
}

/* Footer links */
.footerLinks {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.footerLinksCol {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footerLinksCol a {
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 450;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footerLinksCol a:hover {
    opacity: 0.7;
}

/* Footer mobile */
@media (max-width: 800px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
        padding: 40px 24px;
    }

    .footerLeft {
        align-items: center;
    }

    .footerLogoImg {
        width: 200px;
        height: auto;
    }

    .footerSoMe {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footerLinks {
        justify-content: center;
    }
}
