
/*--------------------------------------------------------------
# Section 2
--------------------------------------------------------------*/
#section-2 {
    margin-top: 100px;
}

#section-2  .container-section-1 {
    display: flex;
    align-items: center;
    gap: 20px;
}

#section-2 .left-section-2 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#section-2 .right-section-2 {
    position: relative;
}

#section-2 .img-right-section-2 {
    border-radius: var(--border-radius-30);
    width: 475px;
    max-width:initial;
    height: 475px;
    object-fit: cover;
    object-position: center;

}

#section-2 .top-text-section-2 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#section-2  .brand-name {
    color: var(--primary-color-rent-car);
    font-family: Outfit;
    letter-spacing: 10px;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    line-height: 20px;

}

#section-2  .title-one-section-2,
#section-2 .title-two-section-2 {
    color: var(--secondary-color-rent-car);
    font-family: Outfit;
    font-size: 35px;
    font-weight: 700;
    text-align: left;
    line-height: 20px;

}

#section-2 .title-two-section-2 {
    color: var(--primary-color-rent-car);
}

#section-2 .description-section-2,
#section-2 .text-car-sort {
    color: var(--gray-dark);
    font-family: Outfit;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    line-height: 30px;
}

#section-2 .type-cars {
    display: flex;
    gap: 15px;
    flex-direction: column;
    margin-bottom: 30px;
}

#section-2 .car-sort {
    display: flex;
    gap: 10px;
    align-items: center;
}

#section-2 .div-check-type {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


#section-2 .place-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    width: 180px;
    height: 60px;
}

#section-2 .place-btn a:hover {
    background: var(--secondary-color-rent-car);
    color: var(--white);
    border: 1px solid var(--secondary-color-rent-car)
}

#section-2 .place-btn a img:hover {
    filter: invert(100%)
}

#section-2 .btn-play-video {

    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color-rent-car);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-color-rent-car);
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#section-2 .place-btn-play-video {
    position: absolute;
    bottom: -1px;
    width: 88px;
    height: 88px;
    line-height: 55px;
    text-align: center;
    border-radius: 0 40px 0 0;
    background: var(--white);
}

#section-2 .svg-section-2 {
    width: 74px;
    height: 25px;
}

 .modal-video-rent-car {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

  .modal-content {
    position: relative;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    max-width: 90%;
    width: 600px;
}

#section-2 .close {
    position: absolute;
    top: -50px;
    right: 10px;
    font-size: 38px;
    color: var(--white);
    cursor: pointer;
}
#section-2 .btn-play-video:hover {
    background-color: var(--secondary-color-rent-car);
    border: 1px solid var(--secondary-color-rent-car);
}

#section-2 .btn-play-video:hover img {
    filter: invert(100%);
}
/* @media(max-width :1100px) {
    .place-btn-play-video {
        background: transparent;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
} */

@media(max-width :992px) {
   #section-2 .container-section-1 {
        flex-direction: column;
    }

  #section-2   .place-btn {
        width: 100%;
        max-width: 100%;
    }

    #section-2 .place-btn a {
        width: 100%;
    }

    #section-2 .right-section-2,
    #section-2 .left-section-2 {
        width: 100%;
    }

    #section-2 .img-right-section-2 {
        width: 100%;
        height: 375px;
    }
#section-2 .img-right-section-2 { 
    object-position: 0 33%;
}


}

@media(max-width :768px) {

    #section-2 .title-one-section-2,
    #section-2 .title-two-section-2 {
        line-height: 36px;
    }
}
