.calendar_wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.football-calendar {
  background-color: #ffffff;
  border: 2px solid #adccf9;
  padding: 16px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-header button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 22px;
  font-weight: 600;
  color: #adccf9;
  transition: all 0.9s ease;
}

.calendar-header button:hover {
  color: #fc0307;
}

#month-year {
  font-size: 18px;
  font-weight: 700;
  color: #040113;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 16px;
  font-weight: 600;
  color: #5b5a5f;
  text-align: center;
  margin-bottom: 8px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 16px;
  font-weight: 500;
  color: #040113;
  text-align: center;
  gap: 8px;
}

.calendar-days div {
  background-color: #adccf9;
  cursor: pointer;
  padding: 8px;
  transition: all 0.9s ease;
}

.calendar-days div:hover {
  background-color: #fc0307;
}

.calendar-days .match-day {
  background-color: #5b5a5f;
  color: #ffffff;
  transition: all 0.9s ease;
}

.calendar-days .match-day:hover {
  background-color: #fc0307;
}

.calendar-days .today {
  background-color: #040113;
  color: #ffffff;
  transition: all 0.9s ease;
}

.calendar-days .today:hover {
  background-color: #fc0307;
}

.calendar-days div.selected {
  background-color: #5b5a5f;
  color: #ffffff;
}

#match-card-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.match-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background-color: #ffffff;
  border: 2px solid #adccf9;
  padding: 16px;
  transition: all 0.9s ease;
}

.match-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.match-card p {
  font-size: 14px;
  font-weight: 600;
  color: #5b5a5f;
  text-align: center;
}

.match-card a {
  text-decoration: none;
}

.teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.team-link {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  color: #040113;
  transition: all 0.9s ease;
}

.team-link:hover {
  color: #fc0307;
}

.team-link,
.vs {
  flex: 1;
  text-align: center;
}

.team-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vs {
  font-size: 36px;
  font-weight: 900;
  color: #5b5a5f;
}

.team_meet_link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: #040113;
  text-transform: uppercase;
  margin: 0 auto;
  transition: all 0.9s ease;
}

.team_meet_link:hover {
  color: #fc0307;
}

.no-matches {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #5b5a5f;
  padding: 40px 0;
}

@media screen and (min-width: 768px) {
  #match-card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1200px) {
  .calendar_wrapper {
    grid-template-columns: 38% 60%;
    align-items: flex-start;
    gap: 24px;
  }

  #match-card-container {
    gap: 24px;
  }
}
