* {
    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(380px) 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: 180px;
        }

        .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;
    border: solid 1px #F3F5F7;
    display: flex;
}

.checkbox {
    width: 360px;
    height: 1516px;

    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;
    }

    label {
        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;
    }
}

/* part three section */
.detail {
    display: flex;
    gap: 10px;
}

.section-heroo {
    width: 100%;
    background-color: rgba(246, 247, 249, 1);
}

.container {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.part31 {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    width: 500px;
    height: 120px;
    border-radius: 7px;
    margin-top: 25px;
    padding: 20px;

    .radio input {
        margin-bottom: 10px;
        color: rgba(26, 32, 44, 1);
        font-weight: 600;
    }
}

.option {
    h4 {
        color: rgba(26, 32, 44, 1);
        margin-bottom: 10px;
    }
}

.selct-list {
    color: rgba(144, 163, 191, 1);
    border: none;
    outline: none;
    font-size: 14px;

    option {
        color: #000000;
    }
}

.swap-img {
    position: absolute;
    background-color: rgba(53, 99, 233, 1);
    width: 55px;
    height: 55px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 1s;
}
.swap-img:hover {
    background-color: rgb(82, 146, 255);
    width: 60px;
    height: 60px;
}
/*  cards section */
.cards-section {
    margin: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-around;
}

.card {
    width: 300px;
    height: 350px;
    background-color: white;
    padding: 20px;
    border-radius: 7px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: rgba(26, 32, 44, 1);
    margin-bottom: 5px;
}

.card p {
    color: rgba(144, 163, 191, 1);
    font-size: 12px;
    margin-bottom: 45px;
    font-weight: 600;
}

.card img {
    margin-bottom: 25px;
    width: 250px;
    height: 70px;
}

.card-icons {
    display: flex;
    gap: 20px;
}

.type-car {
    display: flex;
}

.type-car img {
    width: 20px;
    height: 20px;
}

.type-car p {
    color: rgba(144, 163, 191, 1);
    font-size: 14px;
    padding-top: 5px;
    margin-left: 5px;
    font-weight: 500;
}

.card-btn {
    display: flex;
    gap: 20px;
}

.card-btn h3 {
    margin-top: 10px;
    color: rgba(26, 32, 44, 1);
}

.card-btn span {
    color: rgba(144, 163, 191, 1);
    font-size: 14px;
}

.card-btn {
    a {
        color: white;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
    }

    button {
        width: 130px;
        height: 45px;
        background-color: rgba(53, 99, 233, 1);
        border: none;
        border-radius: 5px;
        transition: all 1s;
    }
          button:hover {
              background-color: rgb(119, 183, 252);
              width: 135px;
              height: 47px;
          }
}

.card-head {
    display: flex;
    justify-content: space-between;
}

.icon {
    font-size: 25px;
    color: rgba(144, 163, 191, 1);
    cursor: pointer;
    transition: color 0.2s ease-in-out;
    font-weight: 100;
}

.icon.liked {
    color: red;
}

.showcars-btn {
    display: flex;
    justify-content: center;
}

.showcars-btn {
    a {
        color: white;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
    }

    button {
        width: 150px;
        height: 40px;
        background-color: rgba(53, 99, 233, 1);
        border: none;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 1s;
    }
                                                                                        button:hover {
                                                                                            background-color: rgb(85, 162, 244);
                                                                                            width: 160px;
                                                                                            height: 50px;
                                                                                        }
}

/* 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: 230px;
    }

    .res-footer {
        position: absolute;
        right: 20px;
    }

}

/* responsive page */
@media (max-width: 375px) {
    .checkbox {
        display: none;
    }

    .container {
        background-color: rgba(246, 247, 249, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .part31 {
        width: 350px;
        height: 120px;
    }

    .left {
        display: flex;
        flex-direction: column;
    }

    .section-heroo {
        width: 150%;
        background-color: rgba(246, 247, 249, 1);
    }

    .part31 {
        width: 450px;
        height: 120px;
    }

    .swap-img {
        width: 65px;
        height: 65px;
        margin-bottom: 25px;
    }

    /*  cards section */
    .cards-section {
        margin: 60px 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 450px;
        height: 350px;
        position: relative;
    }

    .card-icons {
        display: flex;
        flex-direction: column;
        gap: 0px;
        line-height: 0.5px;
        position: absolute;
        top: 90px;
        right: 20px;
    }

    .card-btn {
        display: flex;
        justify-content: space-between;
        margin-top: 50px;
    }

    .showcars-btn {
        margin-bottom: 20px;
    }
}