@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@font-face {
    font-family: 'Century Gothic';
    src: url('assets/CenturyGothicRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal; 
}
@font-face { 
    font-family: 'Gothic Bold';
    src: url('assets/CenturyGothicBold.woff') format('woff');
    font-weight: normal;
    font-style: normal; 
}

:root {
    --text-primary: #000;
    --dark-green: #cdd3b9;
    --light-green: #eff0e8;
    --dark-gray: #f5f5f5;
    --light-gray: #fafaf8;
}

body {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 400;
    line-height: 1.9;
}

/* ------ TYPOGRAPHY ------ */

.text-center {
  text-align: center;
}

.bold {
  font-weight: bold;
}

.uppercase {
  text-transform: uppercase;
}

.underline {
  text-decoration: underline;
}

a {
  color: var(--text-primary);
}

h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 340px;
    margin-bottom: 100px;
}

.section-title {
    font-family: 'Gothic Bold', sans-serif;
    font-size: 2.1rem;
    margin-top: 0;
    margin-bottom: 40px;
    line-height: 1.4;
}

.link-btn {
    font-family: 'Bebas Neue', cursive;
    display: flex;
    font-size: 1.4rem;
    text-decoration: underline;
    color: var(--text-primary);
    margin: 30px 0 70px;
}

.emphasize {
    font-family: 'Bebas Neue', cursive;
    margin: 40px 0;
    font-size: 1.7rem;
    line-height: 1.5;
}

@media only screen and (max-width: 1500px) {
    h1 {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 980px) { 
    h1 {
        max-width: unset;
        margin-bottom: 50px;
    }

    .link-btn {
        margin-bottom: 50px;
    }

    .emphasize {
        left: unset;
    }
}

/* ------ LAYOUT ------ */

/* GENERAL */

main {
    max-width: 1600px;
    margin: 0 auto;
}

ul {
    list-style: none;
    padding: 0;
    display: flex;
    margin-top: 0;
    margin-bottom: 0;
}

.logo-wrap, .logo {
    width: 200px;
    max-width: 200px;
}

.push-right {
    position: relative;
    left: 85%;
    z-index: 9;
}

.padding-left {
    padding-left: 5%;
}

.padding-right {
    padding-right: 5%;
}

.limit-width {
    max-width: 400px;
}

@media only screen and (min-width: 981px) {
    .mobile-only {
        display: none !important;
    }
}

@media only screen and (max-width: 1400px) {
    .push-right {
        left: 0;
    }
}

@media only screen and (max-width: 980px) {
    .padding-left {
        padding-left: 0;
    }
    
    .padding-right {
        padding-right: 0;
    }

    .limit-width {
        max-width: unset;
    }

    .desktop-only {
        display: none !important;
    }
}

/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px 0;
}

header .logo-wrap {
    padding-top: 10px;
}

.logo-wrap img {
    width: 100%;
}

.main-menu {
    align-items: center;
}

.main-menu li a {
    display: flex;
    padding: 10px;
    text-decoration: none;
}

.mobile-menu-trigger {
    display: none;
}

@media only screen and (max-width: 980px) {
    header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-wrap, .main-menu {
        width: 100%;
        justify-content: center;
    }
}

@media only screen and (max-width: 670px) {
    .mobile-menu-trigger {
        width: 2.5rem;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .mobile-menu-trigger svg {
        width: 100%;
        height: 100%;
    }

    .main-menu {
        display: none;
        flex-direction: column;
    }

    .main-menu li a {
        padding-top: 0;
        padding-bottom: 15px;
    }
}

/* SECTIONS */

section {
    padding: 70px 0;
    max-width: 100%;
}

.flex-wrap {
    display: flex;
    align-items: center;
}

.content-left {
    position: relative;
    width: 35%;
    display: flex;
} 

.content-right {
    position: relative;
    width: 65%;
    display: flex;
}

.text-wrap {
    padding-right: 2rem;
}

.text-wrap p {
    margin-top: 0;
    margin-bottom: 2rem;
}

.text-wrap .logo {
    margin-bottom: 50px;
}

.text-wrap .logo  img,
.brand-title img {
    width: 100%;
}

.brand-title.desktop-only {
    width: 200px;
    margin-bottom: 40px;
}

.brand-title.mobile-only {
    width: 300px;
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
}

.image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 980px) {
    section {
        padding: 50px 0;
    }

    .flex-wrap {
        flex-wrap: wrap;
    }

    .content-left, .content-right {
        width: 100%;
    }

    .text-wrap {
        padding-right: 0;
        max-width: 87%;
        margin: 0 auto;
    }
    
    .text-wrap .logo {
        margin: 0 auto 50px;
    }

    .image-wrap {
        width: 100%;
    }
}

/* FEATURES ICONS */

.features-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--dark-green);
    padding: 0 100px 0 50px;
}

.features-wrap .icon {
    margin: 30px;
    width: 90px;
    display: flex;
    justify-content: center;
}

.features-wrap .icon img {
    width: 100%;
}

@media only screen and (max-width: 1300px) {
    .features-wrap {
        padding: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .features-wrap .icon {
        width: 35%;
    }

    .features-wrap .icon img {
        max-width: 90px;
    }
} 

/* SLIDER */

.slider-wrap.slick-initialized,
.slider-wrap .slick-track {
    display: flex;
}

.slide.slick-slide {
    max-width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    padding: 0;
    width: 2rem;
    height: 2rem;
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-arrow.slick-disabled {
    display: none !important;
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}

.num-image {
    position: relative;
    width: 400px;
    max-width: 100%;
    border-radius: 100%;
    margin-right: 50px;
}

.num-image img {
    width: 100%;
    height: 100%;
}

.slide .text-wrap {
    max-width: 240px;
}

.slide .text-wrap h3 {
    font-family: 'Bebas Neue', cursive;
    color: #fff;
    font-weight: 400;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 980px) { 
    .slide.slick-slide {
        flex-direction: column;
    }

    .num-image {
        margin-right: 0;
    }

    .slide .text-wrap {
        max-width: unset;
        text-align: center;
    }

    .slick-arrow {
        top: 30%;
        transform: none;
    }
}

/* FOOTER */

footer {
    background-color: var(--dark-gray);
    padding: 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-menu {
    flex-direction: column;
    margin-left: 15%;
}

.footer-menu li a {
    display: flex;
    text-decoration: none;
    padding-bottom: 30px;
}

.copyright {
    width: 100%;
    margin: 30px 0;
}

@media only screen and (max-width: 980px) { 
    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-menu {
        margin-left: 0;
        margin-top: 20px;
    }

    .footer-menu li a {
        justify-content: center;
        text-align: center;
        padding-bottom: 15px;
    }

    .copyright {
        width: 100%;
        text-align: center;
        margin: 30px 0 0;
    }
}

/* SECTION-SPECIFIC STYLES */

#about {
    padding-bottom: 140px;
}

#certifications {
    padding-top: 0;
    background: linear-gradient(to right, #fff 20%, var(--light-gray) 20%);
}

#certifications .flex-wrap {
    align-items: flex-start;
}

#certifications .content-left {
    transform: translateY(-8%);
}

#certifications .text-wrap {
    padding-top: 30px;
}

#how {
    background-color: var(--dark-green);
}

#bernardo {
    padding: 140px 0 20%;
    background: linear-gradient(to right, var(--light-green) 65%, #fff 65%);
}

#bernardo .image-wrap {
    max-width: 80%;
    margin-left: auto;
}

#contact .flex-wrap {
    align-items: initial;
}

#contact .content-right {
    justify-content: center;
}

#contact .image-wrap {
    position: absolute;
    bottom: 0;
    width: 100%;
}

@media only screen and (max-width: 980px) {
    #about {
        padding: 25px 0 0;
    }

    #about .content-left {
        order: 2;
    }

    #about .content-right {
        flex-direction: column;
        background: linear-gradient(to bottom, #F2ECE0 49%, #fff 49%);
    }

    #certifications {
        background: var(--light-gray);
        padding-bottom: 0;
    }

    #certifications .content-left {
        transform: none;
    }

    #certifications .content-right {
        padding-top: 50px;
    }

    #certifications .section-title {
        position: absolute;
        top: -110px;
        color: #fff;
        left: 50%;
        transform: translateX(-50%);
    }

    #certifications .text-wrap {
        padding-top: 0;
        text-align: center;
    }

    #certifications .link-btn {
        justify-content: center;
    }

    #how {
        padding: 50px 5%;
    }

    #how .section-title {
        text-align: center;
    }

    #bernardo {
        padding: 0;
        background: linear-gradient(to bottom, #fff 70%, var(--light-green) 70%);
    }

    #bernardo .content-left {
        order: 2;
        padding-top: 30px;
    }

    #bernardo .image-wrap {
        max-width: unset;
    }

    #bernardo .link-btn {
        justify-content: flex-end;
    }

    #contact {
        background-color: var(--light-green);
        padding: 0;
    }

    #contact .image-wrap {
        position: initial;
    }

    #contact .content-right {
        top: -20px;
    }
}
.slick-arrow svg {
width: 100%;
}