/* font */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800;900&family=Poppins:wght@500&display=swap');


@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800;900&family=Poppins:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800;900&family=Poppins:wght@400;500&family=Roboto&display=swap');

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;

  /* padding-right: 20px;
  padding-left: 20px; */
  

  background-color: #8d818153 !important;;
}

footer {
  background-color: #276521;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
}


/* header start */
header{
  /* background-color: #562eff; */
  background-color: #35a21f;

  display: flex;
  justify-content: center;
  padding: 7px;

}
.mainHeader{
  width: 80%;
  display: flex;
  justify-content: space-between;
}
.head-left{
  display: flex;
  align-items: center;
  padding: 5px;
}
.head-right{
  display: flex;
  align-items: center;
}
.head-right a{
  margin: auto 10px !important;;
}
.head-right img{
  margin-left: 15px !important;; 
}

header a{
  color: white;
  
  font-family: 'Poppins', sans-serif;

  text-decoration: none;
}
/* header end */

/* header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
  margin-bottom: 15px;
}

header img {
  width: 100%;
  height: 250px;
  object-fit: cover;
} */

#car-container {
  margin: 21px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;

  padding-right: 20px;
  padding-left: 20px;
}

.car-card {
  margin: 0;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 20px;
  text-align: center;
  transition: all 0.2s ease-in-out;

  background-color: #f2f2f2;
  /* min-width: 300px; */
}

.car-card:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.car-card img {
  width: 75%;
  height: 256px;
  object-fit: cover;
}

.car-card h2 {
  margin-bottom: 10px;
}

.car-card p {
  margin-bottom: 5px;
}

.car-card .stats {
  display: flex;
  justify-content: space-between;
}

.car-card .stats span {
  font-size: 0.8em;
}

.car-card button {
  background-color: #3498db;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.car-card button:hover {
  background-color: #2980b9;
}

/* #settings-button {
} */

.hidden {
  display: none;
}

#settings-panel {
  /* Style the settings panel as desired */
  position: fixed; /* Fixes the panel to the viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Adjust height as needed */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  z-index: 10; /* Ensure panel is above other elements */
  display: flex;
  justify-content: center;
  align-items: center;

  
}

.form-container {
  max-width: 4000px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #b3b3b3;
}

/* #logout-icon {
  position: absolute;
  top: 2%;

  right: 0px; 
  margin: 10px;

  font-size: 22px; 
} */


#settings-icon {
  position:absolute;
  
  top: 2%;
  right: 40px;
  margin: 10px;
  font-size: 22px; /* Adjust the size as desired */
}

#game-banner {
  height: 200px;
  max-height: 200px;

  border-radius: 25px;
}