#header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    width: 100%;
    background-color: #eeedeb;
    box-shadow: 0 2px 5px #0004;
    height: 80px;
}

.logo img {
    width: 140px;
    -webkit-transition: 0.25s ease-in-out all;
}

.menu-icon {
    font-size: 40px;
    color: #000;
    filter: drop-shadow(0 1px 4px #fff);
    cursor: pointer;
    z-index: 1000;
    position: absolute;
    left: 1.5rem;
}

.links {
    display: flex;
    gap: 3.5vw;
    border: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: -100vw;
    background-color: #eeedeb;
    padding: 0;
    width: 0;
    height: 0;
    -webkit-transition: ease-in-out 0.6s all;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.links.active {
    left: 0;
    width: 35%;
    height: 100vh;
    -webkit-transition: ease-in-out 0.3s all;
}

#header:has(.links.active) {
    box-shadow: none !important;
}

.close-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 30px;
    color: #000;
    filter: drop-shadow(0 1px 4px #fff);
    position: absolute;
    top: 1rem;
    right: 1rem;
    -webkit-transition: 0.25s ease-in-out all;
}

.close-btn:hover {
    transform: scale(1.2);
    -webkit-transition: 0.25s ease-in-out all;
    filter: drop-shadow(0px 2px 2px #0004);
}

.links a {
    color: #000;
    width: fit-content;
    height: fit-content;
    text-decoration: none;
    font-size: 2vw;
    font-weight: 600;
    padding: 0;
    display: block;
    text-shadow: 0 1px 4px #fff;
    -webkit-transition: 0.25s ease-in-out all;
}

.links a:hover {
    translate: 5px 0;
    text-shadow: 0px 2px 2px #0004;
    -webkit-transition: 0.25s ease-in-out all;
}

.logo img:hover {
    translate: 0 -2px;
    -webkit-transition: 0.25s ease-in-out all;
    filter: drop-shadow(0px 2px 2px #0004);
}

/* Responsive */


@media (max-width: 1536px){
    .links {
        gap: 2.5vw;
    }
    .links a {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px){
    .links.active {
        width: 100%;
        gap: 2.5rem;
    }

    .links a {
        font-size: 1.8rem;
    }

    .logo {
        margin-left: -4rem;
    }

    .logo img {
        width: 120px;
    }
}