*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}
body{
    font-family:  Funnel Sans;
}
.background{
    width: 100%;
    height: 100vh;

}
.video-container {
    width: 100%;
    position: absolute;
}
.video-container video {
    width: 120%;
    height: 100vh;
    object-fit: cover;
}
.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 99%;
    background-image: linear-gradient(to right,black,rgba(0, 0, 0, 0.268),rgba(255, 255, 255, 0.186));
    pointer-events: none;
}  
.content{
    width: 100%;
    position: relative;
    color: #f1f1f1;
    padding: 20px;
}
.content h5{
    margin-top: 10px;
    margin-left: 80px;
    font-size: 15px;
}
.content h5 span{
    font-size: 20px;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin:0 auto;
    width: 90%;   
}
.navbar a{
    position: relative;
    margin-left: 10px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    list-style: none;
    border-radius: 3px;
    padding: 0.5rem ;
    transition:all 1s ease-in-out;
}
.navbar button{
    position: relative;
    margin-left: 10px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    list-style: none;
    border-radius: 3px;
    padding: 0.5rem ;
    background: transparent;
    transition:all 1s ease-in-out;
    border: none;
}
.navbar button.icon-start{
    margin-left: auto;  
}
.navbar button.icon-start:hover{
    background-color: transparent;
}
.navbar a.icon-start1:hover{
    background-color: transparent;
}
.navbar img{
    width: 4%;
    height: 3%;
}
.navbar a:hover {
    background: #ffffff;
    color: #2a15e3;
}
.navbar button:hover{
    background: #ffffff;
    color: #2a15e3;
}
hr{
    width: 91%;
    margin:10px auto;
    opacity: 0.5;
}
.content .head1{
    margin-top: 12%;
    margin-left: 80px;
    font-size: 20px;
}
.content .head2{
    margin-top: -3.5%;
    margin-left: 80px;
    font-size: 14rem;
}
.content .head3{
    margin-top: -2.5%;
    margin-left: 80px;
    font-size: 20px;
}
.btn-box {
    display: inline-block;
    padding: 14px 40px;
    background: #1C69D4;
    border-radius: 3px;
    font-size: 15px;
    color: #ffff;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    margin-top: 1%;
    margin-left: 80px;
    font-weight: bold;
}
/* grid  start*/
.find{
    text-align: center;
    align-items: space-evenly;
    width: 100%;
    height: 55vh;
}
.find .container {
    padding: 30px 0px 10px;
}
h1 {
    font-size: 2.5rem;
    padding: 0px 0px 35px;
    font-weight: 300;
}
.find .options {
    display: flex;
    justify-content: center;
    gap: 200px;
}

.find .option {
    border-radius: 8px;
    width: 250px;
}

.find .option .image1 {
    padding: 0px 0px 10px;
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.option .image3 {
    width: 70px;
    height: auto;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-weight: 300;
}
.btn-box3 {
    display: inline-block;
    padding: 15px 25px 15px;
    border: 2px rgba(175, 174, 174, 0.864) solid;
    font-size: 17px;
    color: black;
    text-decoration: none;
    border-radius: 3%;
    font-weight: 450;
}
.btn-box3:hover{
    border: 2px black solid;
}
/* grid end */

/* second page */
.container1{
    height: 100vh;
    width: 100%;
    background-image:linear-gradient(to right,black,rgba(0, 0, 0, 0.268),rgba(255, 255, 255, 0.186)), url("../images/2bgr.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.second {
    color: white;
    padding-top: 15%;
    padding-left: 40px;
}
/* .second .head1{
    margin-left: 80px;
    font-size: 80%;
} */
.second .head2{
    margin-left: 75px;
    font-size: 3rem;
    padding: 10px;
}
.second .head3{
    margin-left: 79px;
    font-size: 20px;
    padding: 5px;
    /* margin-left: 80px;
    font-size: 2rem; */
} 
.btn-box2 {
    display: inline-block;
    padding: 14px 100px;
    border: 1px white solid;
    font-size: 15px;
    color: #ffff;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    margin-top: 1%;
    margin-left: 84px;
    font-weight: bold;
}
.btn-box2:hover{
    border: 2px white solid;
}
/* second end page */


/* forwardism start */
.bmw7{
    width: 100%;
    height: 90vh;
    margin-top: 30px;
    background-image:linear-gradient(to top,black,rgba(0, 0, 0, 0.268),rgba(9, 8, 8,0.186)),url("../images/bmw-7.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.forwardism {
    color: white;
    padding-top: 33%;
    padding-left: 40px;
}
.forwardism .head2{
    margin-left: 80px;
    font-size: 2.3rem;
    padding-bottom: 1%;
}
/* forwardism end */


/* the ix start */
.thexi{
    margin-top: 35px;
    width: 100%;
    position: relative;
    height: 75vh;
    background-image:linear-gradient(to top,black,rgba(0, 0, 0, 0.268),rgba(30,30,30,0.186)),url("../images/iX_Banner1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.electric {
    color: white;
    padding-top: 22%;
    padding-left: 40px;
}
.electric .head1{
    margin-left: 80px;
    font-size: 1.2rem;
    padding-top: 1%;
    padding-bottom: 1%;
}
.electric .head2{
    margin-left: 80px;
    font-size: 2.3rem;
}
/* the ix end */

/* special offers */
.offers{
    display: flex;
    flex-direction: row;
    padding-bottom: 60px;
    width: 100%;
    margin-top: 25px;
}
.offers .month img{
    height: 60vh;
    width: 100%;
}
.offers .month{
    width: 50%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 75px;
}
.special .head1{
    font-size: 20px;
    padding: 2px;
    color: #6b6c6e;
    line-height: 27px;
}

.special .head2{
    font-size: 2rem;
    padding-top: 1%;
    padding-bottom: 1.5%;
}
.special{
    width: 50%;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    margin-left: 12%;
}
.btnbox {
    a{
        text-decoration: none;
        color: #000;
        font-weight: 550;
        margin-left: 3px;
    }
}
.btnbox a:hover{
    color:#1C69D4;
}
.fot{
    width: 100%;
    color: #fff6f6;
}
.fhead{
    width: 100%;
    height: 80px;
    display:flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap:20px;
}
.your{
    margin-left: 4%;
    font-size: 12px;
}
.mode a{
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 17px;
    font-weight: 450;
}
.mode a:hover{
    color: #1C69D4;
}

/* footer */
footer{
    background-color: #f2f2f2;
    padding: 4rem 1rem 4rem;
    width: 100%;
    height: 450px;
}
.contact{
    color: #4d4d4d;
    display: flex;
    gap: 20px;
    margin-left: 50px;
}
.contact li{
    cursor: text;
    transition: all 0.3s ease-in-out;
    margin: 0.7rem 0;
    list-style: none;
    margin-right: 100px;
    line-height: 25px;
    margin-left: 20px;
}
.contact li:hover{
    color:black;
    font-weight:550;
    cursor: pointer;
}
.main-text li{
    color: lightslategray;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.main-text li:hover{
    color: lightslategray;
    cursor: text;
}
.icons{
    display: flex;
    font-size: 20px;
    gap: 20px;
    margin-left: 50px;
    margin-top: 50px;
}
.icons i{
    color: #000;
}
/* end page */

.footerend{
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 60%;
}
.footerend .agbmw p{
    font-size: 18px;
}
.footerend .legal {
    display: flex;
    flex-direction: row;
    gap:30px;
}
.footerend .legal a{ 
    text-decoration: none;
    color: #000;
    font-size: 12px;
    font-weight: bold;
}
.legal a:hover{
    color:#1C69D4;
}
.top{
    position: fixed;
    bottom: 15.5rem;
    right: 1.6rem;
}
.top i{
    color: #000;
    background: #fff;
    font-size: 20px;
    padding: 15px;
    border-radius: 50%;
}
.top :hover{
    background: lightgray;
}


/* my-section */
.my-section{
    position: absolute;
    top: 0;
    /* display: none; */
    height: 400px;
    width: 100%;
    background-color: #fff;
    overflow-x: hidden;
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin:0 auto;
        width: 91%;
    }
    .navbar a{
        position: relative;
        margin-left: 10px;
        color: gray;
        font-size: 18px;
        text-decoration: none;
        list-style: none;
        border-radius: 3px;
        padding: 0.5rem ;
        transition:all 1s ease-in-out;
    }
    .navbar a.icon-start{
        gap: 100px;
        margin-left: auto;
    }
    .navbar a.icon-start:hover{
        background-color: transparent;
        color: #2a15e3;
    }
    .navbar a.icon-start1:hover{
        background-color: transparent;
        color: #2a15e3;
    }
    .navbar img{
        width: 6%;
        height: 3%;
    }
    .navbar a:hover{
        background: #afadad;
        color: #000;
        opacity: 0.7;
    }
    h1{
        margin-top: 2.5rem;
        font-size: 25px;
        margin-left: 5rem;
    }
    h2{
        font-size: 18px;
        margin-left: 5rem;
    }
    p{
        font-size: 16px;
        margin-left: 5rem;
        padding: 4px;
    }
    .buttons{
        margin-left: 6rem;
        flex-direction: row;
        height: 100px;
        width: 100%;
        display: flex;
        gap: 30px;
        
    }
    .login{
        width: 7rem;
        height: 50px;
        display: inline-block;
        padding: 14px 27px;
        border-radius: 3px;
        border: 1px rgb(8, 8, 8) solid;
        font-size: 15px;
        color: #ffff;
        justify-content: center;
        background-color: #000;
        text-align: center;
        text-decoration: none;
        margin-top: 1%;
        /* margin-left: 80px; */
        font-weight: bold;
    }
    .login:hover{
        border: 2px white solid;
        background-color: #fff;
        color: #000;
        border: 1px rgb(8, 8, 8) solid;
    }
    .register{
        width: 7rem;
        height: 50px;
        display: inline-block;
        padding: 14px 27px;
        border-radius: 3px;
        border: 1px rgb(8, 8, 8) solid;
        font-size: 15px;
        color: #000;
        justify-content: center;
        background-color: #fff;
        text-align: center;
        text-decoration: none;
        margin-top: 1%;
        /* margin-left: 80px; */
        font-weight: bold;
    }
    .register:hover{
        border: 2px white solid;
        background-color: #000;
        color: #fff;
        border: 1px rgb(8, 8, 8) solid;
    }
}