@font-face {
    font-family: 'Pejo Bold';
    src: url('./Peugeot-New-Cyrillic-v1.0/01-Desktop/PeugeotNewCyrillic-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'Pejo Regular';
    src: url('./Peugeot-New-Cyrillic-v1.0/01-Desktop/PeugeotNewCyrillic-Regular.otf') format('opentype');
}

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

span{
    display: inline-block;
}

div.header{
    background-image: url(./sfa-main.jpg);
    background-position: center;
    background-size:cover;
    width: 100%;
    height: 100%;
    background-color: #000;
    /* padding: 0 50px; */
    /* margin-bottom: 50px; */
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items:center;
    flex-direction: column;
}

div.header > div.main{
    max-width: 1200px;
    padding-bottom: 20px;
}


div.header > div.main > .images > .img-1 img{
    height: 190px;
    width: auto;
}

div.header > div.main > .images{
    display: flex;
    justify-content: center;
    margin: 50px 0;
    align-items: center;
    gap:50px;
}

.header-text{
    color: #fff;
    display: flex;
    justify-content: center;
    align-self: center;
    flex-direction: column;
    gap: 5px;
}

.header-text h1{
    font-size:45px;
    font-family: 'Pejo Bold';
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
}

.header-text.bottom-1{
    margin-bottom:100px;
}

.header-text .h2{
    font-size:22px;
    font-family: 'Pejo Bold';
    text-align: center;
    text-transform: uppercase;
    margin: 10px 0;
}

.header-text.bottom-2{
    margin-bottom:50px;
}


.header-text .h3{
    font-size:15px;
    font-family: 'Pejo Regular';
    text-align: center;
    text-transform: uppercase;
    margin: 5px 0;
}

div.section{
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* margin-bottom: 50px; */
}

.cars{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap; 
    margin: 50px 0 ; 
    gap: 20px;
}

.car .img-container{
    width: 350px;
    height: 350px;
}
.car .img-container img{
    width: 350px;
    height:350px;
}

.text-container{
    background-color: #198CDF;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    padding: 5px 0
}

.text-container p{
    color: #fff;
}

.text-container .text-1{
    font-family: 'Pejo Regular';
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
}

.text-container .text-2,
.car h2{
    font-family: 'Pejo Bold';
    text-align: center;
    text-transform: uppercase;
    font-size: 19px;
}

.car h2{
    margin: 10px 0;
}

.div-text {
    background-color: #000;
    width: 100%;
    max-width: 100%;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.div-text .text.background{
    background-color: #198CDF;
    padding: 5px 20px;
}

.div-text .text{
    color: #fff;
}

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

.form-info{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.form-info .text,
.div-text .text{
    font-size: 18px;
    font-family: 'Pejo Bold';
    text-transform: uppercase;
    text-align: center;
}

.form-info .text:first-child{
    margin-bottom: 20px;
}

iframe{
    height: 560px;
    width: 500px;
}

@media (max-width: 1380px){
    .header-text h1{
        font-size: 40px;
    }
}

@media (max-width: 1250px){
    .header-text h1{
        font-size: 35px;
    }
}

@media (max-width: 1080px){
    .header-text h1{
        font-size: 24px;
    }
    div.header > div.main > .images > .img-1 img{
        height: 150px;
    }
}


@media (max-width: 786px){
    div.header{
        background-image: url(./sfa-lp-mobile.jpg);
    }
    
    div.header .header-text h1{
        margin-top: 20px;
        font-size: 18px;
    }
    .header-text h1, 
    .header-text .h2,
    .form-info .text,
    .div-text .text,
    .text-container .text-1,
    .text-container .text-2{
        font-size: 11px;
        line-height: 2;
        padding: 0 10px;
        margin: 0;
    }

    .text-container{
        gap: 0;
    }
    div.header > div.main > .images > .img-1 img{
        height: 80px;
    }
    div.header > div.main > .images{
        gap: 10px;
        margin: 30px 0;
    }
    .header-text.bottom-1{
        margin-bottom: 50px;
    }
    .header-text.bottom-2{
        margin-bottom: 100px;
    }
    .header-text .h3 {
        font-size: 9px;
        margin: 5px 0;
    }
    .car .img-container{
        width: 250px;
        height: 250px;
    }

    iframe {
        height: 670px;
        width: 100%
    }

    .car .img-container img{
        width: 250px;
        height: 250px;
    }

    .last{
        height: 50px;
        overflow: hidden;
    }
}