*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* UTILITY */
.primary{
    color: #000000;
}

.secondary{
    color: #FFFFFF;
}

.light{
    color: #FFFFFF;
}

.m-auto{
    margin: 0 auto;
}


/* FLEX UTIL */

.flex{
    display: flex;
}

.row, .mobile-row{
    flex-direction: row;
}

.col{
    flex-direction: column;
}

.align-center{
    align-items: center;
}

.justify-center{
    justify-content: center;
}

.between{
    justify-content: space-between;
}

.gap-sm{
    gap: 1rem;
}

.gap{
    gap: 1.5rem;
}

.gap-2{
    gap: 3rem;
}

.wrap{
    flex-wrap: wrap;
}

/* TEXT UTIL */
.text-center{
    text-align: center;
}

.med-large{
    font-size: 50px;
}

.medium{
    font-size: 30px;
}

.med-small{
    font-size: 18px;
}

.small{
    font-size: 16px;
}

.bold{
    font-weight: 700;
}

/* TEXT STYLES */

.heading{
    font-family: 'Poppins', sans-serif;
    font-style: normal;
}

.text{
    font-family: nimbus-sans, sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* COMPONENT STYLES */

.cta_btn{
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 18px;
    background: #A1E44D;
    border: 1px solid #73cd05;
    border-radius: 5px;
    padding: .5rem;

}

.cta_btn:hover{
    cursor: pointer;
    background: #6fc606;
}

.card{
    width: 285px;
    box-shadow: 2px 2px 4px rgba(0,0,0,.4);
}

.card_content{
    padding: 1rem;
}

/* NAV STYLES */

.nav{
    padding: 1.5rem;
}

.nav_brand{
    max-width: 200px;
}

/* CONTAINER STYLES */

.container{
    max-width: 1300px;
    margin: 0 auto;
}

/* CTA SECTION STYLES */

.cta_section{
    min-height: 800px;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 20%, rgba(255,255,255,0)), url(../images/headerbg.jpg);
    background-attachment: fixed;
    background-size: cover;
    box-shadow: 3px 0px 5px rgba(0,0,0,.5);
}

.form_container{
    width: 600px;
    padding: 2rem;
    border: 5px solid #578CF9;
    background: rgba(255,255,255,0.6);
    box-shadow: 2px 2px 4px rgba(0,0,0,.4);
}

/* FORM STYLES */

.input-search{
    font-family: 'Poppins', sans-serif;
    display: inline-block !important;
    appearance: none;
    padding: 1rem;
    font-size: 18px;
    width: 100%;
    border: 1px solid #8d8d8d;
    border-right: none;
}

div#search span.field{
    width: 80%;
}

.input{
    font-family: 'Poppins', sans-serif;
    appearance: none;
    padding: 1rem;
    font-size: 18px;
    width: 100%;
    border: 1px solid #8d8d8d;
}

.form_submit{
    cursor: pointer;
    padding: 1rem;
    width: 20%;
    background: #A1E44D;
    border: 1px solid #73cd05;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: rgb(46, 46, 46);
}

.form_submit:hover{
    background: #6fc606;
}

.error {
    color: #930F14;
    font-family: 'Poppins', sans-serif;
    top: 80px;
}

/* CONTENT SECTION STYLES */

.content_section{
    padding: 3rem 1rem 5rem 1rem;
}

/* BADGE SECTION STYLES */

.badge_section{
    background: #e1e0e0;
    padding: 3rem 1rem;
}

.badge{
    border: 6px solid #c2c0c0;
    min-width: 70px;
    height: 70px;
    border-radius: 50%;
}

/* FOOTER STYLES */

footer{
    background: #001133;
    padding: 2rem;
    font-family: 'Poppins', sans-serif;
}

footer a{
    color: #FFFFFF;
    text-decoration: none;
}

@media screen and (max-width: 1300px){
    .container{
        width: 100%;
    }
}

@media screen and (max-width: 670px){
    .form_container{
        width: 100%;
    }

    .cta_section{
        padding: 1rem;
        background-position: bottom center;
        background-attachment: initial;
    }

    .nav div{
        justify-content: center
    }

    .row{
        flex-direction: column;
    }

    .form_submit{
        margin: auto;
        width: unset;
        max-width: 200px;
    }

    .input-search{
        display: block;
        margin: auto;
        border-right: 1px solid #8d8d8d;
        margin-bottom: 1rem;
    }

    div#search span.field {
        width: 100%;
    }

    .card{
        max-width: 100%;
    }

    .badge_section br{
        display: none;
    }
}