* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', 
    Arial, sans-serif;
}
  
body {
    background-color: rgba(66, 47, 141, 0.1);
    min-height: 100vh;
}

.navbar {
    display: flex;
    background-color: rgb(66, 47, 141);
    color: #f0f0f0;
    box-shadow: 1px 1px 6px rgba(66, 47, 141, 0.1);
    justify-content: space-between;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-item {
    text-align: center;
}

.nav-item i {
    font-size: 35px;
    color: white;
    cursor: pointer;
    margin-left: 10px;
    
}

.nav-item i:hover {
    color: red;
    transition: 0.5s;
}

.navbar h2 {
    font-size: 16px;
}

.shopping {
    align-items: center;
    position: relative;
}

aside {
    grid-area: aside;
}

.wishlist-card {
    overflow-y: scroll ;
    position: fixed;
    padding: 20px;
    top: 0;
    left: 100%;
    width: 500px;
    background-color: rgb(66, 47, 141);
    opacity: 0.98;
    height: 100vh;
    transition: 0.3s;
}


.active .wishlist-card {
    left: calc(100% - 442px);
}

.wishlist-card h1 {
    color: #fff;
    text-shadow: 1px 2px 2px black;
    padding-bottom: 20px;
    font-size: 40px;
    text-align: center;
}

.wishlist-card .checkOut {
    bottom: 0;
    width: 100%;
    margin-left: -20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    cursor: pointer;
} 

.wishlist-card .total {
    background-color: #fff;
    height: 70px;
    display: flex;
    font-family: 'Poppins', sans-serif;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  } 

.wishlist-card .closeShopping {
    background-color: black;
    color: #fff;
    height: 70px;
    display: flex;
    font-family: 'Poppins', sans-serif;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .removebut {
    font-size: 20px;
    padding: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    border-radius: 8px;
    cursor: pointer;
    background-color: #d3d2ffb6;
    border: 1px solid  rgba(66, 47, 141, 0.1);
    box-shadow: 1px 1px 6px  rgba(66, 47, 141, 0.1);
  }

/* Car Form */

.header h1 {
    text-align: center;
    text-shadow: 1px 2px 2px black;
    padding: 50px;
    font-size: 100px;
    color: rgb(66, 47, 141);
}

.form-wrapper {
    text-align: center;
    background-color: #fff;
    width: 90%;
    max-width: 700px;
    margin: 20px auto 0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 1px 1px 6px  rgba(66, 47, 141, 0.1);
}

.form-wrapper .car-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
} 

.form-wrapper h3 {
    font-size: 30px;
    color: rgb(66, 47, 141);
    padding-bottom: 10px;
}

.car-form .content-item {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    color: rgb(66, 47, 141);
} 

.content-item select {
    font-size: 20px;
    width: 50%;
    align-self: center;
    text-align: center;
    padding: 12px 20px;
    margin: 8px 0;
    background-color: #f0f0f0;
    border: 1px solid grey;
    border-radius: 4px;
    cursor: pointer;
}

.content-item option {
    color: rgb(66, 47, 141);
    font-family: "Poppins", sans-serif;
    font-size: 17px;
}

.form-btns {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    width: 50%;
    align-self: center;
}

#Search { 
    font-size: 20px;
    padding: 12px 20px;
    border-radius: 5px;
    background-color: rgb(66, 47, 141);
    color: #f2efff;
    cursor: pointer;
    transition: 0.3s;
}

#Search i {
    margin-left: 5px;
}

#Search:hover {
    transform: translate(0, -5px);
    transition: 0.3s;
}

#Reset {
    font-size: 20px;
    padding: 12px 20px;
    border-radius: 5px;
    background-color: rgb(66, 47, 141);
    color: #f2efff; 
    cursor: pointer;
    transition: 0.3s;
}

#Reset:hover {
    transform: translate(0, -5px);
    transition: 0.3s;
}

#calculate {
    margin-top: 20px;
    font-size: 20px;
    color: rgb(66, 47, 141);
}

/* Car Cards Section */

.product-title {
    text-align: center;
    font-size: 20px;
    text-shadow: 1px 1px 2px black;
    margin: 50px;
    color: rgb(66, 47, 141);
}

.grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: 80px;
    margin-right: 80px;
    margin-bottom: 40px;
    justify-content: center;
    gap: 20px;
}
  
.product {
    width: 270px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 2px 2px 6px  rgba(66, 47, 141, 0.3);
    transition: all 0.3s;
    cursor: pointer;
}

.product:hover {
    transform: scale(1.05);
}
  
.card-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-content {
    padding:10px;
    margin-bottom:8px;
}

.card-title {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    border-bottom: 1px solid grey;
}

.card-title .card-btn {
    font-size: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.card-title .card-btn:hover {
    transition: 0.3s;
    color: rgb(246, 11, 11);
}

.card-btn:focus {
    color: red;
}


.card-title .card-header {
    font-size: 28px;
}

.card-text {
    margin-top: 5px;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    color: rgb(66, 47, 141);
    padding: 5px;
}
       
#btnScrollToTop {
    position: fixed;
    font-size: 2.1em;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    border: none;
    color: rgb(75, 51, 172);
    cursor: pointer;
}

#btnScrollToTop:hover {
    background: rgb(75, 51, 172);
    color: white;
    transition: 0.5s;
}

footer {
    border: 1px solid black;
    background-color: rgb(66, 47, 141);
    box-shadow: 1px 1px 6px  rgba(66, 47, 141, 0.1);
    color: #f0f0f0;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 60px;
    display: flex;
    justify-content: center;
}
