* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

:root {
    font-size: 62.5%;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    background-color: #031439;
    font-family: 'Montserrat', sans-serif;
    flex-direction: column;
    align-items: center;
}

#nav {
    background-color: #0895f6;
    height: 6rem;
    position: fixed;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -60px;
    z-index: 10;
    transition: top 0.5s;
}

#nav-container {
    width: 36rem;
    height: 8rem;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nav-container > a > img {
    width: 20rem;
    height: 8rem;
}

#desktop-nav-list {
    display: none;
}

#desktop-nav-button {
    display: none;
}

#myVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-top: 8rem;
    min-width: 100%;
    min-height: 100%;   
    opacity: 0.4;
    z-index: -10;
}

header {
    margin-top: 8rem;
    width: 36rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

header h1 {
    color: #f0f4f8;
    font-size: 3.2rem;
    font-weight: 200;
    margin-top: 16rem;
    margin-bottom: 4rem;
}

.get-in-touch-button {
    color: #031439;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    background-color: #fbfbfb;
    padding: 1.1rem 0;
    height: 3.8rem;
    width: 13rem;
    border-radius: 0.4rem;
}

#see-our-services {
    display: none;
}

#services-scroll-spot {
    margin-top: 12rem;
    height: 8rem;
}

#services {
    margin-top: 32rem;
    width: 36rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

#services h2 {
    color: #f0f4f8;
    font-size: 3.2rem;
    font-weight: 200;
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.card {
    width: 34rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card H3 {
    color: #f0f4f8;
    font-size: 2.5rem;
    font-weight: 400;
}

.card p {
    color: #f0f4f8;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 3.2rem;
    text-align: justify;
}

#about-us-scroll-spot {
    height: 8rem;
}

#about-us {
    width: 36rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#about-us img {
    width: 34rem;
    border-radius: 0.5rem;
}

#about-us h2 {
    color: #f0f4f8;
    font-size: 3.2rem;
    font-weight: 200;
}

#about-us h3 {
    color: #f0f4f8;
    font-size: 2.5rem;
    font-weight: 400;
}

#about-us p {
    color: #f0f4f8;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 3.2rem;
    text-align: justify;
    margin-bottom: 4rem;
}

#contact-scroll-spot {
    height: 8rem;
}

#contact {
    width: 100vw;
    background-color: #f0f4f8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-fractal-wrapper {
    width: 36rem;
    padding: 3rem 1rem;
}

#contact h2 {
    color: #000d27;
    font-size: 3.2rem;
    font-weight: 200;
}

.contact-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}

#contact p {
    color: #000d27;
    font-size: 1.6rem;
    line-height: 3rem;
}

#whatsapp-button {
    margin-top: 4rem;
    background-color: #242833;
    padding: 1.6rem 0;
    width: 17.2rem;
    border-radius: 0.4rem;
    transition: 0.3s;
}

#whatsapp-button:hover {
    transform: translateY(-0.6rem);
}

#whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #f0f4f8;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
}

#office-photo {
    width: 100vw;
}

footer {
    width: 100vw;
    height: 28rem;
    padding: 0 1rem;
    background-color: #242833;
    border-top: solid 1px rgba(241,245,249,.2);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.footer-text {
    font-size: 1.6rem;
    color: #f0f4f8;
    font-weight: 300;
}

.social-media-icons {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5.5rem;
}

@media (min-width: 992px) {
    #nav-container {
        width: 112rem;
        max-width: 90vw;
        padding: 0;
    }

    #burger-button {
        display: none;
    }

    #desktop-nav-list {
        display: flex;
        align-items: center;
        gap: 5rem;
        list-style: none;
    }

    #nav-link {
        color: #031439;
        font-size: 1.5rem;
        font-weight: 400;
        text-decoration: none;
    }

    #nav-link:hover {
        color: #0895f6;
    }

    #desktop-nav-button {
        display: block;
        background-color: #242833;
        color: #f0f4f8;
    }

    #nav-container > a {
        text-decoration: none;
    }

    #nav-container > a > img {
        width: 25rem;
        height: 8rem;
    }

    .get-in-touch-button {
        transition: 0.3s;
    }

    .get-in-touch-button:hover {
        transform: translateY(-0.6rem);
    }

    header {
        width: 112rem;
        padding: 0;
        max-width: 90vw;
        margin-bottom: 30rem;
    }

    header h1 {
        width: 64rem;
        font-size: 4.4rem;
    }

    .header-button-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    header div a {
        color: #f0f4f8;
        font-size: 1.5rem;
        font-weight: 400;
        display: block;
    }

    #see-our-services {
        display: block;
    }

    #services {
        width: 112rem;
        max-width: 90%;
        padding: 0;
        margin-top: 1rem;
    }

    #services h2 {
        font-size: 4.4rem
    }

    .cards-wrapper {
        margin-top: 2rem;
        width: 112rem;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    #about-us {
        width: 112rem;
        max-width: 90%;
        padding: 0;
        margin-top: 4rem;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        margin-bottom: 4rem;
    }

    .about-text-container {
        width: 50rem;
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    #about-us > img {
        width: 50rem;
        max-height: 100%;
    }
    
    #contact {
        width: 100vw;
        display: flex;
        flex-direction: row;
    }

    .contact-wrapper {
        width: 50vw;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }

    .contact-fractal-wrapper {
        width: 90%;
        min-width: 36rem;
        max-width: 56rem;    
        padding-left: 0;
        padding-right: 0;
    }

    #office-photo {
        width: 50vw;
        min-height: 46.422rem;
        object-fit: cover;
    }

    footer {
        height: 25rem;
    }

}

