* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Wix Madefor Display', sans-serif;
    margin: 0;
    color: #000;
}

html {
    font-size: 14px;
}

body {
    padding: 5.625em;
}

#language-switcher {
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px 5.625em;
    padding: 1em;
    font-weight: 600;
    cursor: pointer;
}

a {
    text-decoration: none;

    &:hover,
    &:focus {
        text-decoration: underline;
    }
}

a[href] {
    font-weight: 600;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: self-end;
    margin-bottom: 5.625em;
}

.navbar-logo {
    width: 17.8125em;
}

.mobile-nav {
    display: flex;
    flex-direction: column-reverse;
    align-items: end;
    gap: 2em;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3.75em;
}

nav li a {
    font-size: 1.5em;
    padding-bottom: 0.625em;
    font-weight: 500;
}

nav li a:hover {
    text-decoration: none;
    border-bottom: 6px solid #CC5555;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.875em;
    height: 1.25em;
    cursor: pointer;
    position: relative;
    z-index: 9999;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #000;
    transition: transform 0.3s ease-in-out;
}

.hamburger-menu.open .hamburger-line {
    transform: rotate(45deg);
}

.hamburger-menu.open .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger-menu.open .hamburger-line:nth-child(2) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
}

.img-text-box {
    position: absolute;
    bottom: 3.75em;
    right: 0;
    background-color: #CC5555;
    padding: 3.75em 0 3.75em 4.375em;
    width: 50%;
}

.img-text-box p {
    color: #fff;
    font-size: 2em;
    font-weight: 600;
    padding-right: 3.75em;
}

.text-img-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5.625em 0 11.25em;
    gap: 10em;
}

.text-img {
    width: 50%;
    overflow-wrap: break-word;
    align-self: flex-start;
}

.text-img p {
    color: #000;
    margin-bottom: 1.875em;
    line-height: 1.3em;
}

.text-img p:nth-of-type(1) {
    font-size: 2.25em;
    font-weight: 600;
}

.text-img p:nth-of-type(2) {
    font-weight: 500;
}

.text-img p {
    font-size: 1.75em;
    font-weight: 400;
}

.info-container h2 {
    font-size: 2.25em;
    font-weight: 600;
}

.info-container p {
    font-weight: 500;
}

.info-container p.desc {
    margin: 1.875em 0;
    font-size: 1.5em;
}

.info-container ul {
    display: flex;
    flex-wrap: wrap;
}

.info-container ul:not(.who-we-are-list) {
    margin-top: 1.875em;
}

.info-container li {
    flex: 0 0 calc(50% - 0.625em);
    margin: 0.3125em;
    padding: 0.625em;
    font-size: 1.5em;
    font-weight: 600;
}

.who-we-are-list {
    list-style: none;
    padding: 0;
}

.who-we-are-list li {
   margin-left: 0;
   padding-left: 0;
}

.who-we-are-list a,
.who-we-are-list p {
    line-height: 48px;
}

hr {
    margin: 5.625em 0;
    border: none;
    border-top: 2px solid black;
}

.footer-text {
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.3em;
    margin-top: 3.75em;
}
.footer-text a {
    font-size: 1em;
}

.no-scroll {
    overflow: hidden;
}

#toTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 2.5em;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    background-color: #CC5555;
    color: #fff;
}

/* Mobile/Tablet Styling */
@media only screen and (max-width: 1199px) {
    body {
        padding: 3.75em;
    }

    #language-switcher {
        position: relative;
        width: -moz-fit-content;
        width: fit-content;
        padding: 0;
        margin: 0;
    }

    nav {
        margin-bottom: 1.875em;
    }

    .navbar-logo {
        width: 12.5em;
    }

    nav ul {
        flex-direction: column;
        gap: 1.875em;
    }

    .hamburger-menu {
        display: flex;
        margin-bottom: .5em;
    }

    .hero-image-container {
        display: none;
    }

    .img-text-box {
        position: static;
        width: 100%;
        padding: 1.875em;
    }

    .text-img-container {
        flex-direction: column-reverse;
        gap: 2.5em;
        margin: 3.75em 0 1.875em;
    }

    .text-img {
        width: 100%;
    }

    .info-container li {
        flex: 0 0 100%;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 100%;
        background-color: #fff;
        z-index: 999;
        padding: 15vh 1.875em 1.875em;
        transition: right 0.3s ease-in-out;
    }

    nav ul.open {
        right: 0;
    }

    hr {
        margin: 3.75em 0;
    }

    .footer-text {
        margin-bottom: 1.25em;
    }

    /* Font-size for mobiles */
    @media only screen and (max-width: 767px) {
        body {
            padding: 1.875em;
        }

        nav li a {
            font-size: 1.25em;
        }

        .img-text-box p {
            font-size: 1.5em;
        }

        .text-img p:nth-of-type(1) {
            font-size: 1.75em;
        }

        .text-img p:nth-of-type(2) {
            font-size: 1.25em;
        }

        .text-img p {
            font-size: 1.25em;
        }
        .info-container h2 {
            font-size: 2em;
        }
        .who-we-are-list li {
            font-size: 1.25em;
        }
        .info-container li {
            font-size: 1.25em;
        }
        .info-container p.desc {
            margin: 1.25em 0;
            font-size: 1.5em;
        }
        .footer-text {
            font-size: 1.25em;
            margin-bottom: 2.25em;
        }
        .footer-text a {
            font-size: 1em;
        }
    }
}