header 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: 80px;
    height: 80px;
    background-image: url("../images/menu.svg");
    background-repeat: no-repeat;
    background-position: center;
}

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

.background {
    position: fixed;
    z-index: 2;
    top: 0px;
    left: 44px;
    aspect-ratio: 1 / 1;
    translate: -50% -50%;
    height: 80px;
    background: #07030a;
    border-radius: 50%;
    opacity: 0;
    transition: 0.6s;
}

body.open .background {
    height: 300vh;
    opacity: 0.8;
}

.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";
    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.35s backwards;
}