@font-face {
    font-family: 'Nissan Light';
    src: url('/FONTS/Nissan_Brand_Light.otf') format('opentype');
}
@font-face {
    font-family: 'Nissan Regular';
    src: url('/FONTS/Nissan_Brand_Regular.otf') format('opentype');
}
@font-face {
    font-family: 'Nissan Bold';
    src: url('/FONTS/Nissan_Brand_Bold.otf') format('opentype');
}

#onetrust-consent-sdk{
    font-family: 'Nissan Regular';
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: uppercase;
}


body{
   display: flex;
   justify-content: center;
   flex-direction: column;
   align-items: center;
}

header{
    background-image: url(./images/nissan-hero-image-min-min.jpg);
    background-position: center;
    background-size:cover;
    width: 100%;
    height: 100%;
    background-color: #000;
    padding: 0 50px;
    /* margin-bottom: 50px; */
    /* height: 850px; */
}


header > .images > .img-1 img{
    height: 166px;
    width: auto;
}

header > .images > .img-2 img{
    height: 83px;
    width: auto;
}

header > .images{
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
}

.header-text{
    color: #fff;
    margin-bottom: 450px;
}
.section-1{
    margin-top: 50px;
}
.section-2{
    margin: 50px 0;
}
.section-3{
    margin-top: 0px;
    margin-bottom: 50px;
}

.header-text h1{
    font-size:120px;
    font-family: 'Nissan Regular';
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.header-text .h2{
    font-size:60px;
    font-family: 'Nissan Regular';
    text-align: center;
    margin: 0px 300px 500px;
    margin-bottom: 150px;
    text-shadow: 15px 15px 30px #000000, -15px -15px 30px #000000
    }

.header-text .h3{
    font-size:19px;
    font-family: 'Nissan Light';
    text-align: center;
    margin: 0 200px;
    margin-bottom: 50px;
}



section{
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* margin-bottom: 50px; */
}
section .h2{
    text-align: center;
    font-weight: 700;
    font-size: 30px;
    margin: 30px 10px;
    font-family: 'Nissan Bold';
}

.section-1 .h2{
    font-size: 30.9px;
}

.section-3 .second-text {
    justify-content: flex-start;
}

.desktop{
    display: block;
}
.mobile{
    display: none;
}
.section-div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.img-container {
    display: flex;
}



.img-container img{
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    max-height: 450px;
    /* object-position: 40% 60%; */
}

.first{
    display: flex;
    flex-direction: row;
    padding-bottom: 20px;
    gap: 50px;
}

.first > div.second-text{
    width: 35%
} 

.first > div.text-container{
    width: 65%;
}

.first .text-container{   
    display: flex;
    justify-content:space-between;
    align-items: flex-start;
    flex-direction: column;
    gap:30px;
    padding: 10px;
    border-bottom: 7px solid#C3002F;
    padding-bottom: 30px;
}

.first .img-container img{
    object-position: right center;
}

.text-container .title{
    /* font-weight: 300; */
    font-size: 30px;
    text-align: left;
    font-family: 'Nissan Regular';
}

.text-container .text{
    /* font-weight: bold; */
    font-size: 18px;
    line-height: 2;
    /* text-transform:uppercase; */
    text-align: left;
    font-family: 'Nissan Light';
    /* line-height: 1.50; */
    margin-left: 15px;
}


.text-container .text-2{
    /* font-weight: bold; */
    font-size: 15px;
    line-height: 2;
    text-align: left;
    font-family: 'Nissan Light';
    line-height: 1.75;
}
.section-1 .second-first-image, .section-2 .second-first-image
.second{
    display: flex;
    flex-direction: row;
}

.second-text{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.second-text .text, .section-four{
    text-align: left;
    font-size: 17px;
    font-family: 'Nissan Light';
    margin-right: 10px;
    line-height: 2;
}

.section-1 .second-first-image{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.section-1 .second-first-image .img-container,
.section-2 .second-first-image .img-container{
    height: 100%;
    max-height: 300px;
}

.section-1 .second-first-image,
.section-2 .second-first-image{
    /* height: 100%; */
}

.second-text .title{
    text-align: left;
    font-size: 35px!important;
    padding-bottom: 20px;
    font-family: 'Nissan Regular';
    color: #C3002F;
}

.section-four{
    text-align: center;
}

.section-2 .text-container .text,
.section-3 .text-container .text{
    line-height: 1.75;
}

.sections-four{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.sections-four .section-four{
    width: 48%;
    padding: 10px;
}

/* button.desktop{
    width: 350px;
} */

a{
    text-decoration: none;
}

button:hover{
    cursor: pointer;
}

button.desktop, button.mobile{
    background-color: #C3002F;
    color:#fff;
    font-weight: 300;
    font-size:18px;
    padding: 15px 30px;
    margin-top: 20px;
    border: none;
    font-family: 'Nissan Light';
}

.second-images {
    text-align: center;
    font-size: 17px;
    font-family: 'Nissan Light';
}

.second-second-image{
    display: flex;
    flex:1;
    flex-direction: row;
    gap:20px
}

.second-second-image .second-first-image{
    width: 50%;
}

.second-images p{
    padding: 5px 0;
    line-height: 1.75;
}

footer{
    width: 100%;
    background-color: #000;
    color:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px 0;
    
}
footer > div{
    max-width: 1200px;
}

footer .footer-text p{
    font-size: 25px;
    line-height: 1.5;
    text-transform:uppercase;
    text-align: left;
    font-family: 'Nissan Regular';
    line-height: 1.50;

}

footer .icons{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    padding: 10px 0;
}

footer .icons img{
    filter: brightness(0) invert(1);
    height: 30px;
}

footer .footer-second{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    flex-direction: row;
    font-size: 14px;
}

footer .footer-second > div{
    width: 100%;
}

footer .footer-second > div a{
    font-size: 12px;
    line-height: 1.5;
    text-transform:uppercase;
    text-align: left;
    font-family: 'Nissan Regular';
    line-height: 1.50;
    color: #fff;
}

footer .footer-legal{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-family: 'Nissan Regular';
}

footer .footer-legal a{
    padding: 0 10px;
}

footer .footer-text p {
    padding: 0 0 10px;
}

footer .footer-second > div a:hover{
    text-decoration: underline;
}

@media (max-width: 1445px){
    .header-text .h2{
        margin: 0 100px 150px;
    }
    .header-text .h3{
        margin: 0 100px 50px;
    }
}

@media (max-width: 1199px){
    section > .h2,.section-1 .h2{
        font-size: 29px;
    }
    .second-text{
        padding-left: 10px;
    }

    .header-text .h2{
    font-size: 50px;
    margin-left: 100px;
    margin-right: 100px;
}

    .header-text h1{
        font-size: 100px;
    }

    /* .section-1 .h2{
        font-size: 27.9px;
    } */
}

@media (max-width: 1132px){
    .section-1 .second-first-image .img-container, 
    .section-2 .second-first-image .img-container {
        height: 100%;
        max-height: 300px;
    }
}

@media (max-width: 1110px){
    .section-1 .second-first-image .img-container, 
    .section-2 .second-first-image .img-container {
        height: 100%;
        max-height: 329px;
    }
}

@media (max-width: 1080px){

    .section-div .second-text{
        padding: 0 0 0 10px;
    }

    .second-text .text, .section-four{
        font-size: 17px;
    }
    .sections-four .section-four{
        width: 46%;
        padding: 0 10px;
    }
    .text-container .text{
        font-size: 17px;
        line-height: 1.75;
    }

    .section-1 .second-first-image .img-container, 
    .section-2 .second-first-image .img-container {
        height: 100%;
        max-height: 240px;
    }

    .text-container .title{
        font-size: 30px;
    }

    .header-text h1{
        font-size: 50px;
    }
    .header-text .h2{
        font-size: 30px;
        margin: 0 0 50px 0;
    }
    .header-text .h3{
        margin: 0 0 30px 0;
    }
}

@media (max-width: 1032px){
    .section-1 .second-first-image .img-container, 
    .section-2 .second-first-image .img-container {
        height: 100%;
        max-height: 220px;
    }
}

@media (max-width: 900px){
    .section-1 .second-first-image .img-container, 
    .section-2 .second-first-image .img-container {
        height: 100%;
        max-height: 255px;
    }
    .header-text{
        margin-bottom: 250px;
    }
}



@media (max-width: 786px){
    header{
        height: 550px;
    }
    .header-text{
        margin-top: 20px;
    }
    a:has(.mobile){
        margin:0 auto 30px;
    }
    .first{
        gap: 10px;
    }
    .section-div .first, .section-div .second{
        flex-direction: column;
    }

    .section-div .first > div{
        margin-top: -5px;
    }

    .section-div .first > div, .section-div .second >div{
        width: 100%;
    }

    section .h2 {
        margin: 25px 15px;
    }

    .second-images p{
        margin: 5px 0;
    }
    .second-images{
        font-size: 16px;
    }

    .text-container .text{
        font-size: 16px;
        line-height: 1.75;
    }
    .section-four p{
        margin: 5px 0 15px;
    }

    .text-container .text-2{
        font-size: 16px;
        margin-bottom: 10px;
    }

    .first .text-container {
        gap: 20px;
    }
    
    section > .h2,.section-1 .h2{
        font-size: 22px;
    }

    .desktop, .section-four.desktop{
        display: none;
    }

    .text-container .title,.second-text .title, section > .h2, .section-1 .h2{
        font-size: 22px;
    }

    .mobile{
        display: block;
    }

    .sections-four .section-four{
        width: 100%;
    }
    .sections-four{
        flex-direction: column;
    }

    .section-1 .second-first-image .img-container,
    .section-2 .second-first-image .img-container{
        height: auto;
        max-height: none;
    }

    .section-four.img-container{
        max-width: 500px;
    }

    .header-text h1{
        font-size: 40px;
    }
    .header-text .h2{
        font-size: 24px;
        margin: 0 0 50px 0;
    }
    header > .images > .img-1 img {
        height: 100px;
    }
    header > .images > .img-2 img {
        height: 50px;
    }
    .first .text-container{
        padding: 10px 15px;
    }
    .section-div .second-text{
        padding: 0 15px;
    }
    header{
        background-image: url(./images/promo-nissan-background-mobile.jpg);
        background-position: center;
        background-size:cover;
        /* margin-bottom: 20px; */
        padding: 0 15px;
    }

    footer .footer-second{
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    footer .footer-legal{
        justify-content:flex-start;
        align-items: center;
        flex-direction: column;
    }
    footer .footer-legal a{
        padding: 0;
    } 
    footer .footer-text p {
        font-size: 16px;
        text-align: center;
        padding: 0;
    }
    header > .images{
        margin-top:15px  
    }
    footer{
        padding: 15px;
    }

    /* header > div.images > div.img-container.img-1 > a > img{
        margin-left: -20px;
    } */

    .section-four{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    .second-text .text{
        padding-bottom: 20px;
    }

    footer .footer-text{
        margin: 5px 0 15px;
    }

    .second-text .text, .section-four {
        font-size: 16px;
    }

    .img-container img{
        height: 100%;
    }
}