body {
    overflow-x: hidden;
}

.carslide{
    
    background-image: url("./media/webp/Kanishka[1].jpg");
    background-repeat: no-repeat;
    height: 700px;
    background-size: 100%;
   
}
.bgcar{
    background-color:rgb(10,33,61);
    height:170px;
}
.bgcar h3{
    color: white;
    padding-top: 30px;
    font-family: spectral;
    font-size: 35px;
    font-weight: 600;
}
.bgcar p{
    margin-top: 10px;
    color: white;
     font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}



    
.blue{
    background-color: rgb(10,33,61);
    height: 50px;
    margin-top: 20px;
   
}
.blue h3{
    color: white;
    padding-top: 10px;
}
.traveldetails{
    display: inline;
    justify-content: space-between;
}
.traveldetails img{
width: 400px;
margin-top: 20px;

}
.c1b{
    font-size: 20px;
    font-weight: 200;
}
.c1h2{
    color: rgb(10,33,61);
    font-weight: 600;
}
.c1p{
    color: red;
    margin-top: 10px;
    font-family: spectral;
    font-weight: 600;
}
.pricetitle{
    color:rgb(10,33,61) ;
     font-family: spectral;
    font-weight: 600;
    ;

}
.price{
    margin-left: 180px;

}
.c1p1{
    color: rgb(74, 109, 23);
    margin-top: 20px;
    font-family: spectral;
    font-weight: 600;
}

/* btn */

.car-details button {
  padding: 15px 25px;
  border: unset;
  border-radius: 15px;
  color: #e8e8e8;
  z-index: 1;
  background: rgb(10,33,61);
  position: relative;
  font-weight: 1000;
  font-size: 17px;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  transition: all 250ms;
  overflow: hidden;
  margin-top: 20px;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 15px;
  background-color: rgb(140, 162, 189);
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(255, 255, 255, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(255, 255, 255, 0.27);
  transition: all 250ms
}

button:hover {
  color:rgb(10,33,61) ;
}

button:hover::before {
  width: 100%;
}

.vehicle-rental-rates {
    background-color:  rgb(10,33,61);
    padding: 50px 0 75px 0;
    position: relative;
}
.vehicle-rental-rates h3 {
    color: white;
    font-weight: bold;
    font-family: spectral;
    font-size: 30px;
    font-weight: 600
}

.vehicle-rental-rates p {
    text-align: center;
    color: white;
      font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}
/* view */
.car-details {
    display: grid;
    grid-template-columns: auto auto;
    margin-top: 25px;
    position: relative;
}

.car-details-img1 {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    height: 105%;
}

.car-details-img2 {
    position: absolute;
    width: 50px;
    height: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
}

.car-details-item {
    border-bottom: 1px solid #1E8CBC;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.car-details-item-row-1, .car-details-item-row-2, .vehicle-rental-rates {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.booking-now-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-details-item-row-1 h2 {
    background-color: #0A213D;
    color: white;
    font-weight: bold;
    font-size: 30px;
    width: 100%;
    text-align: center;
    height: 60px;
    padding-top: 10px;
}

.car-details-item-row-1 h3 {
    color: #0A213D;
    font-weight: bold;
}

.car-details-item-row-1 h3 span {
    font-weight: normal;
}

.car-details-item-row-1 img {
    width: 300px;
    height: 200px;
}

.car-details-item-row-2 h3 {
    color: red;
    font-size: 24px;
}

.car-details-item-row-2 h4 {
    color: green;
    font-size: 16px;
}

.car-details-item-row-2-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.car-details-item-row-2-2 div {
    display: flex;
    justify-content: center;
    column-gap: 100px;
    width: 100%;
    margin-left: 50px;
}

.car-details-item-row-2-2 div p {
    text-align: left;
    width: 100px;
}
@media (max-width: 1500px) {
    
    .carslide{
    
    background-image: url("./media/webp/Kanishka[1].jpg");
    background-repeat: no-repeat;
    height: 545px;
    background-size: 100%;
   
}
}
@media (max-width: 1400px) {
    .car-details-item-row-2-2 div {
        justify-content: center;
        column-gap: 50px;
    }
    .carslide{
    
    background-image: url("./media/webp/Kanishka[1].jpg");
    background-repeat: no-repeat;
    height: 470px;
    background-size: 100%;
   
}
}
@media  (max-width:1000px) {
    

    .carslide{
    
    background-image: url("./media/webp/Kanishka[1].jpg");
    background-repeat: no-repeat;
    height: 300px;
    background-size: 100%;
   
}
}


.car-detail, .car-detail-row-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}


 .border {
    display: block;
    height: 100%;
    border-left: 1px dashed #1E8CBC;
    font-family: "Poppins", sans-serif;
}

.car-detail-h2 {
    background-color: #0A213D;
    width: 100%;
    height: 70px;
    text-align: center;
    color: white;
    font-family: "Poppins", sans-serif;
    margin: 0;
    font-size: 32px;
    padding-top: 15px;
    margin-top: 10px;
}

.car-detail-img {
    width: 600px;
    height: 400px;
}

.car-detail-h3 {
    color: #0A213D;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 32px;        
}

.car-detail-h3 span {
    margin-left: 10px;
    font-size: 20px;
    font-weight: normal;
}

@media (min-width: 1400px) {
    .car-detail-row-2-1, .car-detail-row-2-2 {
        padding-right: 0;
    }
  
}

@media (max-width: 1200px) {
    .car-detail-row-2-1, .car-detail-row-2-2 {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .car-detail-row-2 {
        flex-direction: column;
        align-items: center;
    }

    .car-detail-img {
        width: 400px;
        height: 200px;
    }}
    
@media (max-width: 768px) {
    .vehicle-rental-rates {
     background-color:  rgb(10,33,61);
    padding: 15px 0 90px 0;
    position: relative;
    height: 130px;
}
.vehicle-rental-rates h3 {
    color: white;
    font-weight: bold;
    font-family: spectral;
    font-size: 20px;
    font-weight: 600
}

.vehicle-rental-rates p {
    text-align: center;
    color: white;
      font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 12px;
}
    .car-details {
        grid-template-columns: auto;
    }

    .car-details-item-row-2-2 div {
        justify-content: center;
    }

    .car-details-img1, .car-details-img2 {
        display: none;
    }
}
@media(max-width:768px){

.carslide{
    
    background-image: url("./media/webp/Kanishka[1].jpg");
    background-repeat: no-repeat;
    height: 140px;
    background-size: 100%;
   
}
.scrollingcar{
   display: none;
}
}

@media (max-width: 478px) {
    .car-detail-img {
        width: 200px;
        height: 100px;
    }    
    
    .carslide{
    
    background-image: url("./media/webp/Kanishka[1].jpg");
    background-repeat: no-repeat;
    height: 135px;
    background-size: 100%;
   
}
}
