.schedule img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 15px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0; 
  bottom: 0; 
  margin: auto; 
  z-index: -1; 
}

.race-schedule {
  position: relative;
  width: 100%;
  height: 372px;
  overflow: hidden; 
  margin: 15px 0; 
  display: flex; 
  flex-direction: row;
  justify-content: center; 
  align-items: center; 
  padding: 35px 20px 35px 20px;
}

.horizontal-accordion::webkit-scrollbar {
  display: none;
}

.horizontal-accordion {
  height: 372px;
  display: flex;
  overflow-x: auto; 
  overflow-y: hidden; 
  white-space: nowrap; 
}

.choice {
  width: 300px; 
  flex: 0 0 auto; 
  margin: 0 10px; 
  transition: width 0.3s; 
}

.card {
  background-color: transparent; 
  background-size: cover; 
  transition: background-color 0.3s ease; 
  border-radius: 10px; 
  border: 3px solid rgb(97, 97, 97);
  overflow: hidden;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  justify-content: space-between; 
  height: 300px; 
  justify-content: center; 
  align-items: center; 
}

.card-flag {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 5px;
}

.sq-flag {
  display: flex;
  justify-content: center; 
  align-items: center; 
  width: 100px;
  height: 50px;
  padding: 0px;
}

.centered-flag {
  max-width: 100%; 
  max-height: 100%; 
  border-radius: 5px;
}

.card-body img {
  width: 35%; 
  height: auto; 
  background-color: black;
  padding: 3px;
  border-radius: 5px;
}

.card-title img {
  width: 45%; 
  height: auto; 
  display: block; 
  margin: 0 auto; 
  padding: 3px;
  border-radius: 5px;
}

.card-title,
.card-text {
  max-width: 100%;
  word-wrap: break-word;
}

.card-h4 {
  width: 100%;
  font-weight: 100;
  font-family: 'Formula1-Regular', 'Formula1', sans-serif;
  color: white;
  font-size: 14px;
  padding: 6px;
  margin: 0;
}

.track-names {
  padding: 0px 12px 8px 12px;
  background-color: black;
}

.track-names img {
  margin-bottom: 10px;
  width: 100%;
  height: auto;
}

.footer {
  display: flex;
  flex-direction: column;
  background-color: black;
  overflow: hidden;
  width: 100%;
  height: 80px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.choice.expand {
  width: 550px; 
}
