* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}


body {}

/* nav section */
.nav-section {
    margin: 40px;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: space-between;

    div {
        display: flex;
    }

    h1 {
        font-size: 30px;
        color: rgba(53, 99, 233, 1);
    }

    input {
        border: none;
        outline: none;
    }

    .nav-input {
        border: 1px solid rgb(227, 222, 222);
        border-radius: 30px;
        padding: 0 7px;
        margin-left: 85px;
        width: 400px;
        height: 40px;

        i {
            color: rgba(89, 103, 128, 1);
        }
    }
}

.bell-nav {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255, 68, 35, 1);
    transform: translateX(50px);
}

.nav-icons {
    gap: 15px;
}

.nav-icons i {
    text-align: center;
    padding-top: 10px;
    color: rgba(89, 103, 128, 1);
    width: 40px;
    height: 40px;
    border: 1px solid rgba(195, 212, 233, 0.4);
    border-radius: 50%;
}

.nav-icons i:hover {
    color: rgb(159, 167, 180);
    width: 42px;
    height: 42px;
}

#setting-nav {
    transform: translateX(180px);
    padding-top: 10px;
}

#setting-res-nav {
    display: none;
}

/* nav section responsive */
@media (max-width: 375px) {
    .nav-section {
        display: flex;
        flex-direction: column;
        gap: 30px;

        h1 {
            font-size: 24px;
        }

        .nav-icons i {
            display: none;
        }

        .nav-icons img {
            width: 35px;
            height: 35px;
            transform: translateX(285px) translateY(-135px);
        }

        #setting-nav {
            transform: translateX(2px);
            font-size: 30px;
            border: 1px solid rgba(195, 212, 233, 0.4);
            border-radius: 5px;
            padding: 7px;
            margin-left: 100px;
        }

        .bell-nav {
            display: none;
        }

        .nav-input {
            transform: translateY(70px) translateX(-190px);
            border-radius: 8px;
            height: 45px;
            width: 260px;
            margin-right: 60px;
            border: 1px solid rgba(195, 212, 233, 0.4);
        }
    }

    #setting-res-nav {
        display: flex;
        color: rgba(89, 103, 128, 1);
        font-size: 35px;
    }
}

/* checkbox section */

.left {
    background-color: #FFFFFF;
    width: 360px;
    height: 2085px;
    border: solid 1px #F3F5F7;
}

.checkbox {
    input {
        height: 20px;
        width: 20px;
        color: rgba(144, 163, 191, 1);
        padding-top: 2px;
    }

    margin: 30px 0 0 30px;
    display: flex;
    gap: 32px;
    flex-direction: column;
    font-size: 20px;

    P {
        margin-top: 20PX;
        color: #90A3BF;
        font-size: 12px;
        font-weight: 600;
    }

    lable {
        color: #596780;
    }

    span {
        color: #90A3BF;
    }

    .checkbox-div {
        display: flex;
        gap: 10px;
        align-items: center;
    }
}

.range {
    input {
        width: 296px;
    }

    P {
        margin-top: 20PX;
        margin-bottom: 20PX;
        color: #90A3BF;
        font-size: 12px;
        font-weight: 600;
    }
}

/* main section */

.container {
    display: flex;
}

.main {
    width: 1170px;
    height: 2130px;
    background-color: #F6F7F9;
}

.Nissan {
    width: 1170px;
    height: 508px;
    display: flex;
    justify-content: space-evenly;
    margin-top: 32px;

}

.main-img {
    width: 500px;
    height: 360px;
    border-radius: 10px;
}

.mini-imgs {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;

    img {
        width: 148px;
        height: 124px;
        border-radius: 10px;
    }

    .firstcar {
        width: 148px;
        height: 124px;
        border: solid 2px #3563E9;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .border-car {
        width: 132px;
        height: 108px;
    }
}

.Nissan-contant {
    width: 500px;
    height: 508px;
    background-color: #FFFFFF;
    border-radius: 10px;
}

.title-heart {
    display: flex;
    justify-content: space-between;
    margin: 24px;

    img {
        width: 20px;
        height: 17.8px;
    }

    h1 {
        font-size: 32px;
        color: #1A202C;
    }
}

.stars {
    display: flex;
    gap: 8px;
    margin: 24px;

    img {
        width: 16.74px;
        height: 15.97px;
    }

    p {
        color: #596780;
        font-size: 14px;
    }
}

.Nissan-intro {
    font-size: 20px;
    line-height: 200%;
    color: #596780;
    margin: 32px 24px;
}

.Nissan-list {
    display: flex;
    justify-content: space-between;
    margin: 0px 24px;
    font-size: 20px;
    line-height: 150%;

    li {
        list-style: none;
        margin-bottom: 20px;
    }
}

.gray {
    color: #90A3BF;

    li {
        font-weight: 400;
    }
}

.darkgray {
    color: #596780;

    li {
        font-weight: 600;
    }
}

.price-btn {
    display: flex;
    justify-content: space-between;
    margin: 0px 24px;

    .price80 {
        color: #1A202C;
        font-size: 32px;
        font-weight: 700;
    }

    .days {
        font-size: 16px;
        font-weight: 700;
    }
}

.Rent-btn {
    width: 140px;
    height: 56px;
    border-radius: 4px;
    background-color: #3563E9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s;

    a {
        color: #FFFFFF;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
    }
}
                                                .Rent-btn:hover {
                                                    background-color: rgb(81, 120, 237);
                                                    width: 135px;
                                                    height: 47px;
                        
                                                }

/* reviews-section */

.reviews-section {
    height: 515px;
    width: 1055px;
    background-color: #FFFFFF;
    margin: 55px;
    border-radius: 10px;
}

.reviews-title {
    width: 136px;
    display: flex;
    justify-content: space-between;

    h4 {
        color: #1A202C;
        font-size: 20px;
    }

    .number {
        background-color: #3563E9;
        width: 44px;
        height: 28px;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;

        p {
            color: #FFFFFF;
            font-weight: 700;
            font-size: 14px;
        }
    }
}

.iner {
    padding: 24px;
    width: 1007px;
}

.review-box {
    display: flex;
    gap: 20px;
    margin: 24px;
    position: relative;

    .box-img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
    }

    h4 {
        color: #1A202C;
        font-size: 20px;
        margin-bottom: 15px;
    }

    p {
        margin-bottom: 15px;
        font-size: 14px;
    }
}

.first-pra {
    font-weight: 500;
    line-height: 150%;
}

.sec-pra {
    line-height: 200%;
    font-weight: 400;
}

.review-date {
    position: absolute;
    right: 0%;
    top: -2px;
}

.review-stars {
    width: 108px;
    height: 20px;
    position: absolute;
    right: 0%;
    top: 30px;
}

.Show-All {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 1055px;
    height: 44px;

    p {
        font-size: 16px;
        font-weight: 600;
        color: #90A3BF;
        line-height: 150%;
        letter-spacing: -2%;
    }

    img {
        width: 16px;
        height: 16px;
        padding: 4px 0;
    }
}

.recent-car {
    width: 1055px;
    display: flex;
    justify-content: space-between;
    margin: 40px 55px;

    p {
        font-size: 16px;
        font-weight: 600px;
    }

    a {
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        color: #3563E9;
    }
}

/*  cards section */
.cards-section {
    margin: 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 1055px;
}

.card {
    width: 300px;
    height: 350px;
    background-color: rgba(255, 255, 255, 1);
    padding: 20px;
    border-radius: 7px;
    margin-bottom: 30px;
    position: relative;

    h3 {
        color: rgba(26, 32, 44, 1);
        margin-bottom: 5px;
    }

    p {
        color: rgba(144, 163, 191, 1);
        font-size: 12px;
        margin-bottom: 45px;
        font-weight: 600;
    }

    img {
        margin-bottom: 25px;
        width: 250px;
        height: 70px;
    }

    .card-icons {
        display: flex;
        gap: 20px;
    }

    .type-car {
        display: flex;

        img {
            width: 20px;
            height: 20px;
        }

        p {
            color: rgba(144, 163, 191, 1);
            font-size: 14px;
            padding-top: 5px;
            margin-left: 5px;
            font-weight: 500;
        }
    }

    .card-btn {
        display: flex;
        justify-content: space-between;

        h3 {
            margin-top: 10px;
            color: rgba(26, 32, 44, 1);
        }

        span {
            color: rgba(144, 163, 191, 1);
            font-size: 14px;
        }

        .card-rentbtn {
            width: 116px;
            height: 44px;
            border-radius: 4px;
            background-color: #3563E9;
            display: flex;
            justify-content: center;
            align-items: center;

            a {
                color: #FFFFFF;
                font-size: 16px;
                font-weight: 600;
                line-height: 150%;
                text-decoration: none;
            }
        }
                                                                .card-rentbtn:hover {
                                                                    background-color: rgb(81, 120, 237);
                                                                    width: 135px;
                                                                    height: 47px;
                                
                                                                }
    }
}

.Recomendation-Car {
    margin: 20px 0;
}


.icon {
    transition: color 0.3s ease;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
}


.icon {
    font-size: 25px;
    color: rgba(144, 163, 191, 1);
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.icon.liked {
    color: red;
}

/* footer section */
.footer {
    background-color: rgba(255, 255, 255, 1);
    padding: 40px 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand h1 {
    color: rgba(53, 99, 233, 1);
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(19, 19, 19, 0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-column h3 {
    font-size: 16px;
    color: rgba(26, 32, 44, 1);
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    line-height: 250%;
}

.footer-column ul li a {
    text-decoration: none;
    color: rgba(19, 19, 19, 0.6);
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(26, 32, 44, 1);
}

.footer-bottom-links a {
    text-decoration: none;
    color: rgba(26, 32, 44, 1);
    margin-left: 20px;
}

/* footer responsive */
@media (max-width: 375px) {
    .footer {
        width: 150%;
        background-color: rgba(246, 247, 249, 1);
        position: relative;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        position: relative;
        margin: 20px;
    }

    .footer-brand p {
        margin-top: 20px;
        max-width: 250px;
        color: rgba(144, 163, 191, 1);
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-column ul li a {
        color: rgba(144, 163, 191, 1);
    }

    .footer-column {
        margin-top: 20px;
    }

    .footer-bottom {
        border-top: none;
    }

    .footer-bottom p {
        font-size: 12px;
        position: absolute;
        bottom: 7px;
        padding-left: 20px;
    }

    .footer-bottom-links {
        font-size: 12px;
        display: flex;
        gap: 100px;
    }

    .res-footer {
        position: absolute;
        right: 130px;
    }

}


/* responsive  */

@media screen and (max-width: 375px) {
    .left {
        display: none;
    }

}



@media (max-width: 375px) {
    .container {
        width: 100vw;
    }


    .main {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .Nissan {
        width: 100%;
        height: auto;
        flex-direction: column;
        margin-top: 16px;
        padding: 0;
    }

    .Nissan-imgs {
        width: 100%;
    }

    .main-img {
        width: 100%;
        height: auto;
        max-height: 200px;
    }

    .mini-imgs {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .mini-imgs img {
        width: 90px;
        height: 75px;
    }

    .mini-imgs .firstcar {
        width: 90px;
        height: 75px;
    }

    .mini-imgs .border-car {
        width: 80px;
        height: 65px;
    }

    .Nissan-contant {
        width: 100%;
        height: auto;
        margin-top: 16px;
    }

    .title-heart {
        margin: 16px;
    }

    .title-heart h1 {
        font-size: 24px;
    }

    .title-heart img {
        width: 16px;
        height: 14px;
    }

    .stars {
        margin: 16px;
    }

    .Nissan-intro {
        font-size: 16px;
        margin: 16px;
    }

    .Nissan-list {
        flex-direction: column;
        margin: 16px;
        font-size: 16px;
    }

    .Nissan-list li {
        margin-bottom: 12px;
    }

    .price-btn {
        flex-direction: column;
        margin: 16px;
        gap: 16px;
    }

    .price-btn .price80 {
        font-size: 24px;
    }

    .price-btn .days {
        font-size: 14px;
    }

    .Rent-btn {
        width: 100%;
        height: 48px;
    }

    /* Reviews Section */
    .reviews-section {
        width: 100%;
        height: auto;
        margin: 16px 0;
        position: relative;
    }

    .iner {
        width: 100%;
        padding: 16px;
    }

    .reviews-title {
        width: 100%;
        padding: 0 16px;
    }

    .review-box {
        flex-direction: column;
        margin: 16px;
        gap: 12px;
    }

    .review-box .box-img {
        width: 40px;
        height: 40px;
    }

    .review-box h4 {
        font-size: 16px;
    }

    .review-date {
        position: absolute;
        right: 17px;
        top: 50px;
    }

    .review-stars {
        position: absolute;
        width: 80px;
        right: 17px;
        top: 80px;
    }

    .Show-All {
        width: 100%;
    }

    .recent-car {
        width: 100%;
        margin: 20px 0;
        display: flex;
        justify-content: space-between;
    }

    /* Cards Section */
    .cards-section {
        margin: 20px 0;
        width: 100%;
        padding: 0 16px;
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        height: auto;
        margin-bottom: 16px;
        padding: 16px;
    }

    .card img {
        width: 100%;
        height: auto;
        max-height: 60px;
    }

    .card p {
        margin-bottom: 20px;
    }

    .card-btn {
        flex-direction: column;
        gap: 12px;
    }

    .card-rentbtn {
        width: 100%;
    }


    .heart-icon {
        margin: 16px;
        font-size: 20px;
    }
}