body{
    background-color: #151518;
}

/* Nav Bar */
nav{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.3rem;
}
nav ul{
    list-style: none;
    display: flex;
    gap: 2rem;
}
nav ul li a{
    text-decoration: none;
    color: white;
}

/* Hero-Section */
.hero-section{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    background-image: radial-gradient( circle farthest-corner at 50.3% 47.3%,  rgb(190, 51, 41) 0.1%, rgb(78, 9, 9) 90% );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Cartão de Pesquisa na Hero Section */

.search-card{
    position: absolute;
    bottom: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.search-card .search-filters{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: .8em;
    background-color: white;
    box-shadow: 5px 5px 10px 1px #0000001f;
    padding: 1.4rem 2rem;
    border-radius: 60px;
}
.search-filters select{
    background-color: white;
    border-radius: 30px;
    border: solid #b8b8b8 2px;
    padding: .5rem 1.5rem;
}
.search-filters select:hover{
    cursor: pointer;
}
.search-filters select:focus{
    border: solid #d1351a 2px; 
}
.filter-group{
    position: relative;
}
.filter-group label{
    position: absolute;
    transform: translate(-50%, -8px);
    left: 50%;
    background-color: white;
    padding: 0 0.3rem;
    font-size: 16px;
    font-weight: 600;
    color: #d1351a;
}
.search-card h2{
    font-size: 24px;
    font-weight: 800;
    color: white;
    text-shadow: 5px 5px 10px #00000028;
}
.search-card button{
    cursor: pointer;
    background-color: #d1351a;
    padding: .4rem 1rem;
    border-radius: 20px;
    border: none;
    font-weight: 600;
    transition: background-color .2s ease-in-out;
}
.search-card button svg{
    color: white;
    transition: transform .3s ease-in-out;
}
.search-card button:hover{
    background-color: #e63d1f;
}
.search-card button:hover svg{
    transform: rotate(-10deg) scale(1.3);
}

.trending-cars{
    width: 100%;
    background-color: white;
    padding: 2rem;
}
.stock-content{
    display: flex;
    gap: 2rem
}
.car-card{
    display: flex;
    flex-direction: column;
    width: 300px;
    background-color: #dfdfdf;
    border-radius: 25px;
    padding: 1rem;
    gap: 0.5rem;
}
.car-card img{
    border-radius: 25px;
}
.car-card .car-info{
    display: grid;
    grid-template-columns: repeat(3, auto);
}
.car-card h3{
    font-size: 24px;
    font-weight: 600;
}
.car-card h4{
    font-size: 18px;
    font-weight: 400;  
}
.car-card .price{
    font-size: 26px;
    font-weight: 800;
    color: #d1351a;
}