body {
    overflow-x: hidden;
}
.header-screen {
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.4);
    position: relative;
}
.title-section {
    text-align: center;
    background: url('../assets/driving-wallpapper.png') 0 60% / cover no-repeat;
    height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2); */
}
.title-section .small {
    margin: 16px 20px 0 20px;
    position: relative;
}
.title-section .xx-big {
    margin: 0 20px;
}

/* ######################################### */
div[role="tablist"] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    top: -40px;
    position: relative;
}
button[role="tab"] {
    background: none;
    border: none;
    border-radius: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 8px 16px;
    height: 100%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: center;
    border: 1px solid rgba(65, 0, 1, 0.3);
    border-bottom: 0;
}
button[role="tab"][aria-selected="true"] {
    background-color: #ffffff;
    color: #410001;
    /* box-shadow: 0px 24px 4px rgba(250, 250, 250, 0.8); */
}
button[role="tab"][aria-selected="false"]:hover {
    box-shadow: 0px 4px 24px rgba(250, 250, 250, 0.8);
}
/* ######################################### */

.car-item {
    display: flex;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
}
.car-info {
    flex-basis: 30%;
    padding-left: 15%;
    display: flex;
    flex-direction: column;
}
.car-info>.bold {
    margin-top: 8px;
}
.car-image {
    flex-basis: 70%;
}
.car-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.car-images img:nth-child(1) {
    margin-right: -40px;
}
.car-images img:nth-child(3) {
    margin-left: -50px;
}
.car-properties {
    display: flex;
    flex-direction: column;
}
.car-poperties-item {
    display: flex;
    align-items: center;
    margin-top: 16px;
}
.car-poperties-item span {
    margin-left: 16px;
}
.car-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-section {
    margin-top: 64px;
}

#temp-bus {
    margin-left: 60px;
}

@media (max-width: 1650px) {
    .car-info {
        padding-left: 5%;
    }
}
@media (max-width: 1500px) {
    .car-info {
        padding-left: 0%;
    }
}
@media (max-width: 1250px) {
    .car-image {
        margin-bottom: 40px;
    }
    .car-item {
        flex-direction: column-reverse;
    }
    .car-info {
        margin-right: 0;
        padding-left: 0;
    }
    #temp-bus {
        margin-right: 100px;
    }
}
@media (max-width: 800px) {
    .car-image img {
        width: 500px;
        height: auto;
    }
    #temp-bus {
        width: 400px;
        height: auto;
    }
    .part-logan {
        width: 160px;
        height: auto;
    }
    .part-logan-big {
        width: 270px;
        height: auto;
    }
}

@media (max-width: 580px) {
    button[role="tab"] {
        font-size: 12px;
    }
}

@media (max-width: 500px) {
    .car-image img {
        width: 400px;
        height: auto;
    }
    #temp-bus {
        width: 350px;
        height: auto;
        margin-right: 80px;
    }
    .part-logan {
        width: 130px;
        height: auto;
    }
    .part-logan-big {
        width: 240px;
        height: auto;
    }
}

@media (max-width: 400px) {
    .car-image img {
        width: 300px;
        height: auto;
    }
    #temp-bus {
        width: 300px;
        height: auto;
        margin-right: 60px;
    }
    .part-logan {
        width: 100px;
        height: auto;
    }
    .part-logan-big {
        width: 200px;
        height: auto;
    }
    .title-section {
        justify-content: flex-start;
        height: 350px;
        background: url('../assets/driving-wallpapper.png') 50% 60% / cover no-repeat;
    }
    .title-section .xx-big {
        margin-top: 30px;
    }
    div[role="tablist"] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        height: auto;
        top: -120px;
        margin: 0 12px;
    }
    button[role="tab"] {
        padding: 4px;
        cursor: pointer;
        align-items: center;
        font-size: 10px;
        border-radius: 8px;
        border: 1px solid rgba(65, 0, 1, 0.3);
    }
    button[role="tab"][aria-selected="true"] {
        background-color: #ffffff;
        color: #410001;
        box-shadow: none;
    }
      
    button[role="tab"][aria-selected="false"]:hover {
        box-shadow: none;
    }
}

@media (max-width: 300px) {
    .car-image img {
        width: 100%;
        height: auto;
    }
    #temp-bus {
        width: 250px;
        height: auto;
        margin-right: 60px;
    }
    .xx-big {
        font-size: 24px;
    }
    .small {
        font-size: 18px;
    }
}