@import url('./fonts.css');

:root {
    --main_yellow: #FFD600;
    --light_yellow: #FFE666;
    --main_blue: #284595;
    --main_red: #EA3830;
    --main_black: #202020;
    --main_white: #FFFFFF;
    --main_grey: #707070;
    --light_grey: #E4E4E4;
    --avenir_black: 'AvenirLTStd Black';
    --avenir_book: 'AvenirLTStd Book';
    --avenir_roman: 'AvenirLTStd Roman';
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body{
    font-family: var(--avenir_roman);
}
.opaqueDiv{
    display: none;
    position: fixed;
    width: 100vw;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    z-index: 2;
}
.obs{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -100px;
}
.--padding_gen{
    padding: 10vh 10vw;
}
.title_sec{
    text-align: center;
    font-family:var(--avenir_black);
    font-size: 60pt;
}
.subtitle_sec--blue{
    color: var(--main_blue);
    text-align: center;
    font-family:var(--avenir_black);
    font-size: 40pt;
}
.resume_sec{
    text-align: center;
    font-family: var(--avenir_roman);
    font-size: 20pt;
}
.subtitle_sec{
    text-align: center;
    font-family:var(--avenir_black);
    font-size: 20pt;
}
.desc_text{
    text-align: center;
    font-family:var(--avenir_book);
    font-size: 12pt;
}
.desc_text span{
    font-family:var(--avenir_black);
}
.subdesc_text{
    font-size: 12pt;
    color: var(--main_grey);
}

.value_card{
    padding: 10px;
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}
.value_img{
    width: 50%;
}
.value_img img{
    width: 100%;
}
.own_values{
    display: flex;
    justify-content: space-between;
}
.values_sec{
    display: flex;
    gap: 40px;
    width: auto;
    text-align: left;
    align-items: center;
}
.bg_about{
    height: auto;
    width: 80%;
    background-image: url('../assets/images/covers/logo_johnny_bg.png');
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    z-index: -1;
}
.aboutus{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.divider{
    display: flex;
}
.divider_rd{
    background-color: var(--main_red);
    width: 80vw;
    height: 15px;
}
.divider_yw{
    background-color: var(--main_yellow);
    width: 20vw;
    height: 15px;
}
.divider_blue{
    background-color: var(--main_blue);
    width: 100%;
    height: 75vh;
    position: absolute;
    z-index: -1;
}
.sec_desc{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pet{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.pet_img,.pet_desc {
    width: 50%;
}
.pet_img img{
    width: 100%;
}
.mobile_app{
    background-color: var(--main_yellow);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    overflow: hidden;
    height: 80vh;
}
.app_desc{
    width: 50%;
}
.app_img{
    height: 120%;
    width: 25%;
    margin-top: 10vh;
    background-image: url('../assets/images/covers/mobile_app.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}
.dealers--cont{
    width: auto;
    height: auto;
    position: relative;
}
.dealers{
    height: 60%;
    display: flex;
    flex-direction: column;
    gap: 10%;
    background-color: var(--light_grey);
}
.dealers_logo{
    display: flex;
    gap: 10%;
    justify-content: center;
    align-items: center;
}
.dealer_logo{
    width: 25%;
}
.dealer_logo img{
    width: 100%;
}

.contact{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    padding: 10vh 0;
    height: auto;
    min-height: 720px;
}
.map{
    width: 50%;
    height: 80vh;
    padding-left: 10vw;
}
#map{
    border-radius: 30px;
    border: var(--light_grey) 1px solid;
}
.branches{
    width: 50%;
    display: flex;
    flex-direction: column;
}
.row_branches{
    width: 100%;
    display: flex;
    padding-right: 10vw;
    gap: 10px;
}
.branch{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
}
.title_brch{
    color: var(--main_white);
    font-family: var(--avenir_black);
    font-size: 18pt;
}
.address_brch, .phone_brch{
    color: var(--main_white);
    font-family: var(--avenir_book);
    font-size: 9pt;
    text-decoration: none !important;
}
.phone_brch a{
    text-decoration: none !important;
    color: var(--main_white);
}
.toMap{
    color: var(--main_black);
    font-family: var(--avenir_roman);
    font-size: 10pt;
    width: auto;
    padding: 4px;
    display: flex;
    border-radius: 20px;
    justify-content: center;
    background-color: var(--main_yellow);
    cursor: pointer;
}

footer{
    height: 30vh;
    background-color: var(--light_yellow);
    display: flex;
    justify-content: space-between;
    padding: 5vh 10vw
}
.footer_logo{
    height: 95%;
    display: flex;
    justify-content: center;
}
.footer_logo img{
    height: 100%;
}
.copyrighting{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.footer_text_bk, .privacy{
    font-family: var(--avenir_black);
    font-size: 17pt;
}
.footer_text_bo{
    font-family: var(--avenir_book);
    font-size: 12pt;
}
.social_priv{
    display: flex;
    flex-direction: column;
    justify-content: start;
}
.privacy{
    border-bottom: var(--main_black) 5px solid;
    height: 40px;
}
.privacy a {
    text-decoration: none;
    color: #202020;
}
.social_media_text{
    font-family: var(--avenir_roman);
    font-size: 11pt;
}
.social_media_icons{
    display: flex;
    justify-content: end;
}
.social_icon{
    width: 35px;
    margin-left: 20px;
    margin-top: 5px;
}
.social_icon img{
    width: 100%;
}
.ig{
    display: none;
}

@media screen and (min-width:1400px) {
    .bg_about{
        height: 85%;
        margin-left: 10%;
        margin-top: 3%;
    }
    .desc_text{
        font-size: 20pt;
    }
    .subdesc_text{
        font-size: 20pt;
    }
    .subtitle_sec--blue{
        font-size: 70pt;
    }
    .dealer_logo{
        width: 15%;
    }
    .title_brch{
        font-size: 22pt;
    }
    .address_brch, .phone_brch{
        font-size: 15pt;
    }
    .toMap{
        font-size: 15pt;
        width: 40%;
    }
    .footer_text_bk, .privacy{
        font-size: 25pt;
    }
    .privacy{
        height: 60px;
    }
    .footer_text_bo{
        font-family: var(--avenir_book);
        font-size: 20pt;
    }
    .social_media_text{
        font-family: var(--avenir_roman);
        font-size: 15pt;
    }
    .social_icon{
        width: 50px;
        margin-left: 20px;
        margin-top: 5px;
    }
}
@media screen and (max-width:1440px) {
    .dealers{
        height: auto;
    }
    .subtitle_sec--blue{
        font-size: 45pt;
        margin-bottom: 50px;
    }
    .sap{
        width: 33%;
    }
}
@media screen and (max-width:1024px) {
    .bg_about{
        display: none;
    }
    .app_img .img_cont {
        width: 100%;
        margin-top: 40vh;
    }
}

@media screen and (max-width:768px) {
    .own_values{
        flex-wrap: wrap;
        justify-content: center;
    }
    .value_card{
        width: 50%;
    }
    .title_sec{
        font-size: 40pt;
    }
    .subdesc_text{
        font-size: 15pt;
    }
    .desc_text{
        font-size: 12pt;
    }
    .subtitle_sec--blue{
        font-size: 40pt;
    }
    .mobile_app{
        flex-wrap: wrap;
        height: auto;
    }
    .sec_desc{
        width: 100%;
        margin-bottom: 50px;
    }
    .app_img{
        width: 90%;
        margin-top: 0;
    }
    .dealers_logo{
        flex-wrap: wrap;
        margin-top: 30px;
    }
    .dealer_logo{
        width: 40%;
    }
    .sap{
        width: 50%;
        margin-top: 40px;
    }
    .contact{
        display: flex;
        flex-direction: column;
    }
    .divider_blue{
        height: 110%;
        position: absolute;
        margin-top: 10vh;
        z-index: -1;
    }
    .map{
        width: 100%;
        height: 40vh;
        padding: 0 10vw;
    }
    .branches{
        width: 100%;
        flex-direction: column;
        padding: 0 10vw;
    }
    .row_branches{
        width: 100%;
        display: flex;
        gap: 0px;
        padding-right: 0;
    }
    .app_img .img_cont {
        margin-top: 0vh;
    }
    footer{
        gap: 20px;
    }
    .footer_text_bk{
        font-size: 14pt;
    }
    .footer_text_bo, .social_media_text{
        font-size: 9.5pt;
    }
    .privacy{
        font-size: 12pt;
        border-bottom: #000 3px solid;
    }
    .social_icon{
        width: 30px;
    }
}
@media screen and (max-width:600px) {
    .mobile_app{
        flex-wrap: wrap;
        height: 80vh;
    }
}
@media screen and (max-width:425px) {
    .title_sec{
        font-size: 50pt;
    }
    .resume_sec{
        font-size: 15pt;
        margin-bottom: 50px;
    }
    .value_card{
        width: 100%;
    }
    .--padding_gen{
        flex-wrap: wrap;
    }
    .pet_img, .sec_desc{
        width: 100%;
    }
    .dealers{
        height: auto;
        padding: 3vw;
    }
    .subtitle_sec--blue{
        font-size: 40pt;
    }
    .sap{
        margin-top: 0;
    }
    .dealer_logo{
        width: 80%;
        margin-bottom: 50px;
    }
    .title_brch{
        font-size: 14pt;
    }
    .address_brch, .phone_brch{
        font-size: 11pt;
        text-decoration: none !important;
    }
    .toMap{
        font-size: 9pt;
        width: 40%;
        padding: 3px;
    }
    footer{
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        height: auto;
    }
    .footer_logo{
        width: 70%;
        height: 20vh;
    }
    .copyrighting, .social_priv{
        width: 49%;
    }
    .footer_text_bk{
        font-size: 12pt;
    }
    .footer_text_bo, .social_media_text{
        font-size: 9.5pt;
    }
    .privacy{
        font-size: 12pt;
        border-bottom: #000 3px solid;
    }
    .social_icon{
        width: 30px;
    }
}