html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-top: 100px;
    margin-bottom: 60px;
    background-color: #242b36;
    color: #ffffff;
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
}


nav {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 20px;
    z-index: 1000;
    width: 700px;
    height: 70px;
}

.nav-link {
    color: white;
    text-decoration: none;
}


.middle-section {
    display: flex;
    justify-content: space-around;
}

.container {
    background-color: #a5aab2;
    padding: 20px;
    border-radius: 10px;
}

.head {
    background-color: #a5aab2;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.left,
.right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    background-color: #2f3744;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.left:hover {
    transform: scale(1.01);
}

.pp {
    margin-right: 20px;
    font-weight: 600;
    color: #ffffff;
}

.footer {
    background-color: #a5aab2 !important;
    color: #242b36;
    border-radius: 10px 10px 0 0;
}

.cars {
    object-fit: cover;
    border-radius: 10px; 
    width: 200px;
}


.car-div {

}

.profile {
    border-radius: 10px;
    background-color: darkslateblue;
    border: none;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-decoration: none;
    color: black;
    transition: all 0.15s ease-in-out;
}

.profile:hover {
    color: black;
    transform: scale(1.05);
}

.page-layout {
    display: flex;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto; 
    padding: 0 20px; 

    align-items: flex-start;
}

    .page-layout main {
        flex: 3;
    }

.right-panel {
    flex: 1;
}
