* {
    margin: 0;
    padding: 0;
    border: 0;
    color: white;
    text-align: center;
}

html {
    font-size: 1vw;
}

body {
    background-color: #1f2121;
    font-family: "Dubai", -apple-system, "Helvetica", sans-serif;
    font-size: 1em;
}

#nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 5vh;
    border-radius: 5vh;
    box-shadow: 0px 4px 20px rgba(248, 172, 41, 0.2);
    backdrop-filter: blur(2vw);
    padding: 1vh 0;
    position: fixed;
    top: 2vh;
    left: 50%;
    transform: translateX(-50%);
    flex-wrap: nowrap;
    z-index: 5;
}

.link {
    height: 100%;
    width: auto;
    padding-right: 3vw;
    font-size: 2.5vh;
    font-weight: 500;
    text-decoration: none;
    line-height: 5vh;
    transition: color 0.5s ease-in-out;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.link:hover {
    color: #f8ac29;
}

#nav-logo {
    height: 5vh;
    width: auto;
    padding: 0 5vh;
}

#nav-hamburger-logo-group {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hamburger {
    display: none;
}

#nav-text-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

#nav-hamburger-logo-group h1 {
    display: none;
}

.banner {
    display: block;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.half-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
    align-items: center;
    width: 100%;
    margin: 5vh 0;
}

.left {
    justify-self: start;
    text-align: left;
}

.right {
    justify-self: end;
    text-align: right;
}

.img {
    display: block;
    position: absolute;
    width: 32vw;
    height: 36vh;
    background-size: cover;
    border-radius: 5vh;
    border: 1px solid #f8ac29;
    box-shadow: 0px 4px 20px rgba(248, 172, 41, 0.2);
}

.half {
    display: flex;
    flex-direction: column;
}

.imgs {
    display: block;
    height: 36vh;
    width: 32vw;
}

h1 {
    font-size: 1.777em;
    width: 100%;
}

p {
    font-size: 1.222em;
}

.top {
    z-index: 3;
}

.mid {
    z-index: 2;
}

.bottom {
    z-index: 1;
}

.imgs button {
    position: absolute;
    display: block;
    height: 36vh;
    width: 32vw;
    z-index: 4;
    background-color: transparent;
    cursor: pointer;
}

model-viewer {
    background: linear-gradient(
        135deg,
        #1f2121 0%,
        #f8ac29 25%,
        #f5d53d 50%,
        #f8ac29 75%,
        #1f2121 100%
    );
    border-radius: 5vh;
    border: 1px solid #f8ac29;
    box-shadow: 0px 4px 20px rgba(248, 172, 41, 0.2);
}

pre {
    font-size: 0.9em;
    font-family: "Dubai", "Helvetica";
}

.full-section {
    width: 85%;
    margin: 5vh auto;
    text-align: center;
}

.non-text {
    margin-bottom: 2.5vh;
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.5vh;
    border-top: 1px solid #f8ac29;
    background-color: #232323;
    line-height: 1.111vw;
}

.footer a i {
    font-size: 1.6em;
    line-height: 1.6vw;
    padding: 0 0.2vw;
}


.location {
    color: #f5d53d;
}

.date {
    color: #f8ac29;
}

.full-page {
    height: calc(97vh - 1.76vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.full-page img {
    width: 60vw;
    height: auto;
    margin: 10vh;
}

.full-page h1 {
    margin-bottom: 5vh;
}

.full-page div {
    display: flex;
    justify-content: space-between;
    width: 40%;
}

.full-page div a {
    background-color: #f8ac29;
    font-size: 1.5em;
    font-weight: 600;
    border-radius: 100vh;
    border: 1px solid #f8ac29;
    box-shadow: 0px 4px 20px rgba(248, 172, 41, 0.2);
    width: 40%;
    text-decoration: none;
}

@media screen and (max-width: 1000px) {
    html {
        font-size: 1vh;
    }

    #nav-hamburger-logo-group h1 {
        display: inline-block;
    }

    #nav {
        width: 90vw;
        height: fit-content;
        flex-direction: column;
        align-items: stretch;
    }

    .final-link {
        padding-right: 1.5vw;
    }

    #nav-text-links {
        flex-direction: column;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.8s ease;
    }

    #nav-hamburger-logo-group {
        width: 100%;
        height: 100%;
        justify-content: space-between;
        height: fit-content;
    }

    #nav-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 2.5vw;
    }
    
    .hamburger {
        display: inline-block;
        padding: 0 5vw;
    }

    .phone .final-link {
        padding: 0;
    }

    .phone .hamburger {
        padding: 0 5vw;
    }
    
    .phone #nav-text-links {
        max-height: 56vh;
    }

    .text-link {
        display: inline-block;
        height: 8vh;
        line-height: 8vh;
        opacity: 0;
        transform: translateY(-10px);
        transition: transform 0.8s ease, opacity 0.8s ease 0.1s;
    }

    #nav.phone {
        height: fit-content;
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
    }

    .phone .text-link {
        opacity: 1;
        transform: translateY(0);
        transition: transform 0.8s ease, opacity 0.8s ease;
    }

    .half-section {
        display: inline-block;
        width: 100%;
        margin: 0;
    }

    .full-section {
        margin: 3vh auto;
    }

    .imgs {
        width: 80vw;
        height: 50vw;
        margin: auto;
    }

    .img {
        width: 80vw;
        height: 50vw;
    }

    .text {
        width: 100%;
        margin: auto;
    }

    .half {
        width: 90%;
        margin-top: 3vh;
        margin-left: auto;
        margin-right: auto;
    }

    h1 {
        font-size: 3em;
    }

    p {
        font-size: 2.5em;
    }

    pre {
        font-size: 0.65em;
    }

    .footer {
        padding: 1vh;
    }

    .footer p {
        font-size: 1.8em;
        line-height: 2vh;
    }

    .footer .socials a i {
        font-size: 3em;
        line-height: 4vh;
        margin: 0 1vw;
    }

    .full-page div {
        flex-direction: column;
        gap: 2.5vh;
        align-items: center;
        width: 80%;
    }

    .full-page div a {
        font-size: 3em;
        width: 100%;
    }
}