* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: "Euclid Circular A", Poppins;
    color: #f9f9f9;
    background-image: url("bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: -250px 0%;
}

.shade {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgb(0 0 0 / 90%), rgb(0 0 0 / 0%));
}

button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.burger, .menu {
    position: fixed;
}

.burger {
    z-index: 4;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    background-image: url("/IMG/iconos/menu/menu.svg");
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(1);
    background-color: #f9f9f958;
    border-radius: 10px;
}

body.open .burger {
    background-image: url("/IMG/iconos/menu/close.svg");
}

.background {
    position: fixed;
    z-index: 2;
    top: 44px;
    left: 44px;
    aspect-ratio: 1 / 1;
    translate: -50% -50%;
    height: 88px;
    background: rgb(0 0 0 / 0%);
    border-radius: 50%;
    transition: 0.6s;
}

body.open .background {
    height: 300vmax;
    background: rgb(0 0 0 / 80%);
}

.menu {
    z-index: 3;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: 0.05s;
}

.menu nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 100px;
}

body.open .menu {
    opacity: 1;
    visibility: visible;
}

body .menu nav:hover > a {
    opacity: 0.25;
}

body .menu nav > a:hover {
    opacity: 1;
    translate: 8px 0;
}

.menu a {
    position: relative;
    color: #f9f9f9;
    font-size: 32px;
    font-family: "Euclid Circular A", Poppins;
    padding: 20px 0 20px 20px;
    text-decoration: none;
    opacity: 0;
    cursor: pointer;
    transition: 0.4s;
}

.menu a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -26px;
    translate: 0 -50%;
    margin-top: 2px;
    width: 10px;
    height: 10px;
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    opacity: 0;
    rotate: 45deg;
    transition: 0.3s;
}

.menu a:hover::after {
opacity: 1;
}

@keyframes appear {
    0% {
        opacity: 0;
        translate: -30px 0;
    }
    100% {
        opacity: 1;
    }
}

body.open .menu a {
    opacity: 1;
    animation: appear 0.25s backwards;
}

.menu a {
    animation-delay: 0.2s;
}