header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 450px;
    position: absolute;
    width: 100%;
    left: 0;
    color: white;
    z-index: 10;
    background: transparent;
}

#nav-links a.active {
    font-weight: 500;
    border-bottom: .5px solid white;
    color: white;
    transform: scale(1.1);
    transition: transform 0.3s ease, color 0.3s ease, border-bottom 0.3s ease;
    animation: activeTabFade 0.5s ease-in-out;
}

@keyframes activeTabFade {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

#nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #46688a;
    animation: underlineAnim 0.4s ease-out forwards;
    transform-origin: left;
}

@keyframes underlineAnim {
    from {
        width: 0%;
        background-color: #46688a;
    }

    to {
        width: 100%;
        background-color: #46688a;
    }
}

header .logo img {
    height: 130px;
}

.logo img {
    clip-path: inset(0 100% 0 0);
    animation: buildLogo 2s ease-out forwards;
}

@keyframes buildLogo {
    to {
        clip-path: inset(0 0 0 0);
    }
}

.overview-images img {
    transform: scale(0);
    animation: buildScale 1.5s ease-out forwards;
}

@keyframes buildScale {
    to {
        transform: scale(1);
    }
}

header nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav li {
    margin-left: 20px;
}

header nav a {
    color: #46688a;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    padding-bottom: 5px;
}

header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #46688a;
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    height: 3px;
    width: 30px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: white;
    font-weight: bold;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: white;
    font-weight: bold;
}

@media (max-width: 768px) {        

    .hamburger span {
        background: #46688a;
    }

    .hamburger.active span:nth-child(1) {
        background: white;
    }

    .hamburger.active span:nth-child(3) {
        background: white;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 10px;
        z-index: 1001;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 250%;
        z-index: 1002;
    }

    header {
        padding: 10px 15px;
        width: 100%;
        flex-direction: row;
        position: relative;
        justify-content: center;
        align-items: center;
        justify-content: center;
    }



    nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #46688a;
        transform: translateY(-100%);
        opacity: .5;
        transition: transform 1.4s ease, opacity 1.4s ease;
        display: flex;
        flex-direction: column;
        padding: 20px;
        z-index: 1000;
        pointer-events: none;
    }

    header nav a {
        color: white;
    }

    nav ul {
        flex-direction: column;
        gap: 25px;
    }

    nav.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    nav.show~.logo {
        display: none;
    }

    header.menu-open .logo {
        z-index: 0;
    }

    #nav-links li {
        margin-bottom: 20px;
    }

    .logo {
        justify-content: center;
        align-items: center;
    }

    nav {
        align-items: center;
        text-align: center;

    }
}

.spaceh {
    height: 180px;
}

footer {
    background-color: transparent;
    color: #1b213aa8;
    padding: 20px;
    text-align: center;
    box-shadow: transparent;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: column;
}

.footer-content p {
    margin: 0;
    font-size: 16px;
    text-align: center;
    flex: 1 1 100%;
}

footer .social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex: 1 1 100%;
}

footer .social a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

footer .social a img:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}