:root {
    --mgenBannerDesktop: url('../img/mgen_lp_med_header_1920x1080px.jpg');
    --mgenBannerMobile: url('../img/mgen_lp_med_header_mobile_500px.png');
    --mgenBannerMobileBackgroundColor: #C6CCA4;
    --mgenBannerCtaColor: #7CA02E;
    --partnerBackgroundColor: #E7F2F7;
    --partnerTitleColor: #00AEEF;
    --partnerContactsColor: #00AEEF;
    --partnerFooterColor: #00AEEF;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}
  
  /* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
  
html {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3{
    font-family: 'all-round-gothic', sans-serif;
}

h1{
    font-size: 4rem;
}

h2{
    font-size: 3.6rem;
}

h3.insurances_detail_title{
    font-size: 2rem;
}

h3.recomendation_types_detail_title{
    font-size: 2.4rem;
}

.banner {
    height: 100vh;
    background-image: var(--mgenBannerDesktop);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.banner .banner_logo{
    padding: 8.6rem 0 0 16rem;
    display: flex;
    width: 25%;
    color: white;
}

.banner .banner_logo img {
    height: 6rem;
}

.banner .banner_logo img:first-child{
    padding-right: 40px;
    border-right: 2px solid white;
}

.banner .banner_logo img:last-child{
    padding-left: 40px;
    border-left: 2px solid white;
}

.banner_content {
    width: 30%;
    padding: 3rem 0 0 16rem;
}

.banner_content h1{
    line-height: 4.8rem;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

.banner_content a{
    display: block;
    width: max-content;
    font-size: 2rem;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 1rem 3rem;
    background-color: var(--mgenBannerCtaColor);
    color: white;
    border-radius: 5px;
    margin-top: 15px;
}

/* INSURANCES */

.insurances {
    padding: 9rem 0;
}

.insurances h2{
    font-weight: bold;
    color: #7CA02E;
    text-transform: uppercase;
    text-align: center;
}

.insurances_group {
    max-width: 1440px;
    margin: 8rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 16rem;
    row-gap: 10rem;
    padding: 0 20rem;
}

.insurances .insurances_detail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.insurances .insurances_detail img.insurances_detail_logo{
    max-height: 5.5rem;
}

.insurances .insurances_detail h3.insurances_detail_title{
    color: #6A834E;
    text-align: center;
    font-weight: bold;
    margin-top: 2.8rem;
}

.insurances .insurances_detail p.insurances_detail_description {
    margin-top: 1.4rem;
    text-align: center;
    font-size: 1.6rem;
    line-height: 2.1rem;
}

/* Recomendations */

.recomendation {
    padding: 9rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--partnerBackgroundColor);
}

.recomendation .recomendation_logo{
    max-height: 10rem;
}

.recomendation .recomendation_title{
    text-transform: uppercase;
    color: var(--partnerTitleColor);
    font-weight: bold;
    text-align: center;
    margin-top: 3.5rem;
}

.recomendation_types{
    max-width: 1440px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 16rem;
    row-gap: 10rem;
    padding: 0 20rem;
}

.recomendation_types .recomendation_types_detail{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recomendation_types .recomendation_types_detail img.recomendation_types_detail_logo{
    width: 100%;
}

.recomendation_types .recomendation_types_detail h3.recomendation_types_detail_title{
    color: var(--partnerTitleColor);
    text-align: center;
    font-weight: bold;
    margin-top: 2.8rem;
}

.recomendation_types .recomendation_types_detail p.recomendation_types_detail_description {
    font-size: 1.6rem;
    line-height: 2.1rem;
    margin-top: 1.4rem;
    text-align: center;
    min-height: 8rem;
}

.recomendation_types .recomendation_types_detail a.recomendation_types_detail_cta{
    background-color: var(--partnerTitleColor);
    color: #fff;
    padding: 0.5rem 2.3rem;
    margin-top: 2.2rem;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 10px;
    text-transform: uppercase;
    text-decoration: none;
}

/* CONTACTS */

.contacts {
    background-color: var(--partnerContactsColor);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem 0;
}

.contacts .contacts_content {
    width: 65%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacts .contacts_content h2.contacts_title{
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
}

.contacts .contacts_content a {
    min-width: 20rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 2.4rem;
}

#simulator {
    background-color: #f9f9f9;
}

#simulator .simulator_title{
    color: #7CA02E;
    padding-top: 5rem;
    text-align: center;
}

#simulator iframe{
    width: 100%;
    height: 100vh;
}

footer {
    background-color: var(--partnerFooterColor);
}

footer .footer_content{
    margin: 0 auto;
    padding: 10rem 25rem;
    display: flex;
    justify-content: space-between;
    font-size: 1.6rem;
    max-width: 1440px;
}

footer img.partner_white_logo {
    max-height: 8rem;
}

footer .address {
    color: #fff;
}

footer .address a {
    text-decoration: none;
    color: #fff;
    display: block;
    margin-top: 0.8rem;
}

footer .socials .socials_group{
    display: flex;
    margin-top: 1.2rem;
}

footer .socials a, footer .legals a {
    text-decoration: none;
    color: #fff;
    display: block;
}

footer .socials a img, footer .legals a img{
    height: 30px;
    margin-right: 1rem;
}

@media only screen and (min-width: 1800px) {

}	

@media only screen and (max-width: 1580px) {
    .insurances_group {
        padding: 0 15rem;
    }

    .recomendation_types{
        padding: 0 15rem;
    }

    .recomendation_types .recomendation_types_detail p.recomendation_types_detail_description {
        min-height: 7rem;
    }
}

@media only screen and (max-width: 1470px) {

}

@media only screen and (max-width: 1395px) {
    .banner_content{
        width: 40%;
    }

    .insurances_group {
        column-gap: 10rem;
    }
}
  
@media only screen and (max-width: 1270px) {
    .insurances_group {
        padding: 0 10rem;
    }

    .recomendation_types{
        padding: 0 10rem;
    }

    .contacts .contacts_content {
        width: 80%;
    }

    footer{
        padding: 8rem 20rem;
    }
}

@media only screen and (max-width: 1185px) {
    .recomendation_types{
        column-gap: 6rem;
    }
    
    footer {
        padding: 8rem 10rem;
    }
}

@media only screen and (max-width: 1024px) {
    .banner_content{
        width: 55%;
    }

    .contacts .contacts_content {
        width: 90%;
    }

    footer {
        padding: 8rem 5rem;
    }

    footer > img {
        max-width: 20%;
    }
}

@media (max-width: 767px) {
    .banner {
        background-image: var(--mgenBannerMobile);
        background-position: center 320px;
        background-color: var(--mgenBannerMobileBackgroundColor);
    }

    .banner .banner_logo{
        width: max-content;
        padding: 5rem 0 0 0;
        margin: 0 auto;
    }

    .banner_content{
        width: 100%;
        margin: 2rem auto;
        padding: 0;
        text-align: center;
    }

    .banner_content h1{
        font-size: 3.5rem;
        padding: 0 3rem;
    }

    .banner_content a{
        margin: 2rem auto;
        width: 65%;
        padding: 1.5rem 3rem;
    }

    /* .insurances h2{
        font-size: 4rem;
    } */
    .insurances {
        padding-left: 7rem;
        padding-right: 7rem;
    }

    .insurances_group {
        grid-template-columns: repeat(1, 1fr);
        padding: 0;
        margin-top: 5rem;
    }

    .insurances .insurances_detail img.insurances_detail_logo{
        max-height: 10rem;
    }

    .insurances .insurances_detail h3.insurances_detail_title{
        font-size: 3rem;
    }

    .insurances .insurances_detail p.insurances_detail_description{
        font-size: 2rem;
    }

    .recomendation{
        padding-left: 7rem;
        padding-right: 7rem;
    }

    .recomendation_types{
        grid-template-columns: repeat(1, 1fr);
        padding: 0;
    }

    .recomendation_types .recomendation_types_detail h3.recomendation_types_detail_title{
        font-size: 3rem;
    }
    
    .insurances .insurances_detail p.insurances_detail_description {
        font-size: 2rem;
    }
    
    .recomendation_types .recomendation_types_detail a.recomendation_types_detail_cta{
        font-size: 3rem;
    }

    .contacts{
        padding: 5rem 0;
    }

    .contacts_content{
        flex-direction: column;
    }

    .contacts .contacts_content h2.contacts_title{
        margin-bottom: 2rem;
    }

    .contacts .contacts_content a{
        min-width: 200px;
        margin-top: 2rem;
    }

    footer{
        flex-direction: column;
        align-items: center;
    }

    footer img {
        max-width: 70%;
    }

    footer .address{
        margin-top: 5rem;
        text-align: center;
    }

    footer .address p{
        font-size: 2rem;
        line-height: 2.5rem;
    }

    footer .address a{
        font-size: 2rem;
        margin-top: 2rem;
    }

    footer .socials{
        font-size: 2rem;
        margin-top: 2rem;
        text-align: center;
    }

    .legals {
        font-size: 2rem;
    }
}