*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Open Sans", serif;
}
/* ////////////////////////////////////////////// */

.main{
    width: 100%;
    height:auto ;
    background-image:url(../img/BMW-M-Power-Wallpaper-1024x576-70116.jpg);
    background-size: cover;
    background-attachment: fixed;
    object-fit:cover ;
    position: relative;
    
}
.main-overlay{
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0,0.6);
}
.card{
    
    width: 100%;
    height: auto;
padding: 0 5%;
padding-top: 8%;
display: flex;
justify-content: space-between;
transform-style: preserve-3d;
}
.card-t{
    width:30% ;
    height:550px ;
    background-color: rgb(0, 0, 0);
    background-image:url(../img/BMW-M-Logo-3.jpg) ;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 20px;
}
.front, .back{
    position: absolute;
    width: 100%;
    height: 100%;
backface-visibility: hidden;
transition: all 2s;
border-radius: 20px;
}
.front{
    transform: perspective(800px)  rotateY(0deg);
    background-size: cover;
object-fit: cover;
}
.back{
    transform: perspective(800px)  rotateY(180deg);
    background-color: rgb(0, 0, 0);
    color: white;
    text-align: center;
line-height: 50px;

}
.card-t:hover .front{
    transform: perspective(800px)  rotateY(180deg);
}

.card-t:hover .back{
    transform: perspective(800px)  rotateY(360deg);
}
.card-least{
    padding-bottom: 6.5%;
}
p{
   font-size: 15px;
}
h2{
    font-size: 27px;
    margin-top: 5px;
}
.h1-1 {
    width: 100%;
    position: absolute; 
    z-index: 2; 
    text-align: center;
    color:#0095ff;
    font-size: 50px;
    padding: 50px 0;
    text-decoration: underline;
}
.CARD-FIRST{
    padding-top: 13%;
}