body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
            height: 60px;
            background-image: url("skybox.jpg");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
      }
      
header h1 {
        margin: 0;
        padding: 0 18vw;
        color: #fff;
        text-shadow: 0 0 32px #ffffff4d;
        letter-spacing: .15em;
        line-height: 1.1;
        text-transform: uppercase;
        font-family: Graphik-Regular-Web, sans-serif;
        white-space: nowrap;
        z-index: 2;
}

.header-palm-left {
    position: absolute;
    height: 60px;
    width: auto;
    left: 0;
    z-index: 1;
}

.header-palm-right {
    position: absolute;
    height: 60px;
    width: auto;
    right: 0;
    z-index: 1;
}

.footer-palm-left {
    position: absolute;
    height: 50px;
    width: auto;
    left: 0;
    z-index: 1;
}

.footer-palm-right {
    position: absolute;
    height: 50px;
    width: auto;
    right: 0;
    z-index: 1;
}


footer {
          height: 50px;
          margin-top: auto;
          background-image: url("skybox.jpg");
          background-size: cover;
          background-position: center;
          background-repeat: no-repeat;
          display: flex;
          justify-content: center;
          align-items: center;
      }


footer h1 {
    margin: 0;
    padding: 0 18vw;
    color: #fff;
    text-shadow: 0 0 32px #ffffff4d;
    letter-spacing: .15em;
    line-height: 1.1;
    text-transform: uppercase;
    font-family: Graphik-Regular-Web, sans-serif;
    white-space: nowrap;
    z-index: 2;
}




/* MENU BUTTON */

.menu-button {
    width: 45px;
    height: 45px;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    position: fixed;
    right: 20px;
    top: 7px;

    z-index: 3000;
}

.menu-button span {
    width: 100%;
    height: 2px;
    background: white;
    display: block;
    transition:
        transform 0.35s ease,
        opacity 0.25s ease;
}


/* MENU OPEN CLOSE */

.menu-button.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
    opacity: 0;
}

.menu-button.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* MENU OVERLAY */

.menu-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 60px);
    display: flex;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 1000;
}

.menu-overlay.open {
    visibility: visible;
    opacity: 1;
}


/* MISC SIDE */

.menu-visual {
    width: 66.6667%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #160c20,
        #35152f,
        #171021
    );
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 1s cubic-bezier(.77, 0, .18, 1);
}

.menu-overlay.open .menu-visual {
    transform: translateX(0);
}

.menu-visual img {
    max-width: 70%;
    max-height: 70%;

    object-fit: contain;
}


/* MENU SIDE */

.menu-panel {
    width: 33.3333%;
    height: 100%;
    background: #111;
    display: flex;
    align-items: center;
    padding-left: 60px;
    transform: translateX(100%);
    transition: transform 1s cubic-bezier(.77, 0, .18, 1);
}

.menu-overlay.open .menu-panel {
    transform: translateX(0);
}


/* LINKYS */

.menu-panel nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-panel nav a {
    text-decoration: none;
    color: #fff;
    text-shadow: 0 0 32px #ffffff4d;
    font-family: Graphik-Regular-Web, sans-serif;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.menu-panel nav a:hover {
    opacity: 0.55;
}


/* header in menu */

header.menu-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2001;
    transform: translateY(-100%);
    animation: headerSlideDown 2s cubic-bezier(.77, 0, .18, 1) forwards;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* FOOTER BUTTON */

#backToTop {
    cursor: pointer;
}