body {
  margin-top: 80px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

h1, .btn {
  font-weight: 700;
}

.item.away-win.early {
  border: 5px solid limegreen; /* Adjust as needed */
}
.item.home-win.early {
  border: 5px solid limegreen; /* Adjust as needed */
}
.item.away-lose.early {
  border: 5px solid limegreen; /* Adjust as needed */
}
.item.home-lose.early {
  border: 5px solid limegreen; /* Adjust as needed */
}

.postponded {
  color: red;
  filter: brightness(50%);
}

.updated {
  border: #e6c200;
}

.heading{
  color: white;
}

header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 600;
  width: 100%;
  height: 80px;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

img {
  width: auto;
  max-width: 100%;
  height: auto;
}

section {
  padding: 30px 0;
  background: url(./field.jpg);
}

section .overview {
  margin-bottom: 30px;
}

.season .heading.date,
.season .heading.league {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.listing.results .item + .heading.date {
  padding-top: 15px;
}

.listing.results .item {
  position: relative;
  overflow: hidden;
  height: 100%;
  margin: 15px 0;
}

.listing.results .item + .item {
  margin-top: 15px;
}

.listing.results .heading + .item {
  margin-top: 0;
}

.listing.results .item::before {
  content: "";
  position: absolute;
  left: 1px;
  width: 5px;
  height: 50%;
  background-color: #4e7ecc;
}

.listing.results .item.home-win::before {
  top: 1px;
}

.listing.results .item.away-win::before {
  bottom: 1px;
}

.listing.results .item .inner {
  overflow: hidden;
  height: 100%;
  padding: 15px;
  border: 1px solid #dddddd;
  background-color: #ffffff;
}

.listing.results .item .player {
  position: relative;
}

.listing.results .item .player.loser .image {
  opacity: 0.25;
}

.listing.results .item .player .image {
  display: inline-block;
}

.listing.results .item .player .image img {
  max-width: 30px;
  height: auto;
}

.listing.results .item .player .name {
  font-weight: bold;
  padding: 5px;
  height: 30px;
  display: inline-block;
}

.listing.results .item .player .name a {
  color: #000;
}

.listing.results .item .player .score {
  font-weight: bold;
  padding: 5px;
  height: 30px;
  width: 30px;
  background-color: #dddddd;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
}

.listing.results .item .player.win .score {
  color: #ffffff;
  background-color: #4e6dcc;
}

@media (min-width: 0) and (max-width: 991px) {
  .listing.results .item .player:first-child {
    padding-bottom: 15px;
  }

  .listing.results .item .player + .player {
    padding-top: 15px;
  }

  .listing.results .item .player + .player::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 1px;
    background-color: #dddddd;
  }

  .listing.results .item .player .score {
    position: absolute;
    right: 0;
  }
}
@media (min-width: 992px) {
  .listing.results .item .inner {
    padding: 30px;
  }

  .listing.results .item::after {
    content: "VS";
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .listing.results .item::before {
    top: 1px;
    bottom: 1px;
    height: 100%;
  }

  .listing.results .item.away-win::before {
    right: 1px;
    left: auto;
  }

  .listing.results .item .player {
    float: left;
    width: 50%;
    padding: 0 0 0 20px;
  }

  .listing.results .item .player .image img {
    max-width: 80px;
    height: auto;
  }

  .listing.results .item .player:first-child {
    text-align: right;
    padding: 0 20px 0 0;
  }

  .listing.results .item .player .name {
    position: absolute;
    top: 50%;
    left: 155px;
    transform: translateY(-50%);
  }

  .listing.results .item .player .score {
    position: absolute;
    top: 50%;
    left: 115px;
    transform: translateY(-50%);
  }

  .listing.results .item .player:first-child .name {
    left: auto;
    right: 155px;
  }

  .listing.results .item .player:first-child .score {
    left: auto;
    right: 115px;
  }
}
/* LEAGUE */
.league-table {
  margin-bottom: 30px;
}

.league-table .inner {
  border: 1px solid #dddddd;
  background-color: #ffffff;
}

.league-table .table {
  margin: 0;
}

.league-table .table * {
  border: 0 none;
}

.league-table .table thead {
  letter-spacing: 0.2px;
  text-transform: uppercase;
  font-size: 9px;
  opacity: 0.7;
  border-top: 1px solid #dddddd;
}

.league-table .table tr td {
  padding: 10px;
}

.league-table .table tr:not(:first-child):not(:last-child) td {
  border-bottom: 1px solid #dddddd;
}

.league-table .table tr .position {
  width: 30px;
}

.league-table .table tr .points {
  width: 30px;
}

.league-table .table tr td a {
  color: #000000;
}

.league-table .table tr.leader td,
.league-table .table tr.champion td {
  font-weight: bold;
  color: #ffffff;
  background-color: #e6c200;
}

.league-table .table tr.leader td {
  background-color: #2e39a0;
}

.league-table .table tr.leader td a,
.league-table .table tr.champion td a {
  color: #ffffff;
}

/*
.league-table .table tr.relegated td { 
  background-color:rgba(#da6767,0.2);
}
*/
@media (min-width: 1200px) {
  .league-table .table .champion {
    font-size: 18px;
  }
}
/* CHAMPION */
.item.leader .player {
  position: relative;
}

.item.leader {
  padding: 30px;
}

.item.leader i.icon {
  color: #ffffff;
  font-size: 30px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  padding-top: 3px;
  width: 50px;
  height: 50px;
  background-color: #3a51c6;
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.item.leader.champion i.icon {
  padding-top: 5px;
  color: #ffffff;
  background-color: #e6c200;
}

.item.leader .title {
  position: absolute;
  bottom: 0px;
  left: 50%;
  z-index: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  font-weight: bold;
  transform: translateX(-50%);
}

.item.leader .title span {
  display: block;
  padding: 8px 20px;
  color: #ffffff;
  background-color: #543ac6;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.item.leader.champion .title span {
  color: #ffffff;
  background-color: #e6c200;
}

.item.leader .title::before,
.item.leader .title::after {
  content: "";
  position: absolute;
  top: 8px;
  left: -15px;
  z-index: -10;
  width: 25px;
  height: 35px;
  background-color: #3456b3;
  transform: skew(20deg);
}

.item.leader.champion .title::before,
.item.leader.champion .title::after {
  background-color: #ffdf33;
}

.item.leader .title::after {
  left: auto;
  right: -15px;
  transform: skew(-20deg);
}

.item.leader .image {
  position: relative;
  max-width: 240px;
  margin: 0 auto 15px;
}

@media (min-width: 992px) {
  .item.leader.champion i.icon {
    font-size: 50px;
    top: -10px;
    right: -10px;
    padding-top: 15px;
    width: 100px;
    height: 100px;
  }
}

/*code for football pitch*/
#pitch-box {
  background: url("https://365psd.com/images/istock/previews/8041/80419113-vertical-realistic-football-soccer-field-illustration.jpg") no-repeat;
  opacity: 0.9;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 550px;
  height: 700px;
  align-items: center;
}

#pitch-svg {
  width: inherit;
  height: inherit;
}

.nameBox {
  width: 120px;
  height: 30px;
}

@media (max-width: 550px) {
  #pitch-box {
      width: 100vw;
  }
  .nameBox {
      display: none;
  }
}

.football-field-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.football-field-container svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* CSS for the hero section */
.hero-section {
  height: 100vh;
  background-image: url('your-background-image.jpg'); /* Replace with your background image URL */
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  height: 100px;
  width: 100px;
  margin: 0 auto;
  display: block;
}

.hero-heading {
  font-size: 3rem;
  color: #fff;
}

.hero-description {
  font-size: 1.5rem;
  color: #fff;
}

.hero-subheading {
  font-size: 1.2rem;
  color: #fff;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .hero-heading {
    font-size: 2rem; /* Reduce font size for smaller screens */
  }

  .hero-description {
    font-size: 1.2rem; /* Adjust font size for smaller screens */
  }

  .hero-subheading {
    font-size: 1rem; /* Adjust font size for smaller screens */
  }

  .hero-logo {
    height: 80px; /* Reduce logo size for smaller screens */
    width: 80px;
  }
}

/* Footer */
footer {
  background-color: #ffffff; /* Background color for the footer */
  color: #000; /* Text color for the footer */
  font-weight: bold;
  padding: 20px 0;
}

footer p {
  text-align: center;
  margin: 0;
  font-size: 14px;
}
