body {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}
:root {
  --light: #6b7280;
  --card-blue: #e3f2fd;
  --card-green: #e8f5e9;
  --card-purple: #f3e5f5;
  --border: #d0d7de;
}

/* Navbar style */
.navbar {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: 600;
  font-size: 20px;
  color: var(--primary, #1e88e5);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--primary, #1e88e5);
}

@media (max-width: 768px) {
  .nav-links li a span {
    display: none;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links i {
    font-size: 20px;
  }
}

main {
  padding: 1rem 8%;
  /* padding: 1rem 2rem; */
  /* margin-top: 50px; */
}

.page-headings {
  padding: 20px 0px;
}

.filters,
.match-card {
  margin-bottom: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  padding: 1rem 2rem;
}

.filters p {
  display: inline-block;
  margin-left: 10px;
  margin-bottom: 30px;
}

.filter-group {
  display: flex;
}

.filter-criteria {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 5px;
  width: 100%;
}

.filter-criteria label {
  margin-bottom: 20px;
}

.filter-criteria select,
.filter-criteria input {
  width: 100%;
  height: 36px;
  border: none;
  background-color: #f3f3f5;
  border-radius: 7px;
  padding: 5px;
}

.matches {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.match-card {
  width: 100%;
  height: 305px;
  padding-top: 40px;
}

.match-card:hover {
  transition: 0.4s;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}

.match-status {
  background-color: #eceef2;
  text-align: center;
  font-weight: bold;
  border-radius: 8px;
  padding-top: 1px;
  font-size: 14px;
  width: 70px;
  height: 22px;
}

.team-name {
  /* display: flex; */
  font-size: 18px;
}

@media screen and (max-width: 850px) {
  .matches {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 600px) {
  .matches {
    grid-template-columns: 1fr;
  }
  .filter-group {
    flex-direction: column;
  }
  .filter-criteria label {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

.home-team,
.away-team {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.home-team {
  margin-top: 40px;
}

.away-team {
  margin-bottom: 30px;
}

.home-team-name,
.away-team-name {
  display: flex;
  flex-direction: row;
  align-items: center;
}

img {
  width: 30px;
  height: 30px;
  margin-right: 8px;
}

.solid-separator {
  border-top: 1px solid #e5e5e5;
}

.i {
  margin-right: 0px;
}

.match-time p {
  display: inline;
  margin-left: 10px;
}
