* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
}

/* google font poppins */
.poppins-google-font {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}


.head {
  max-width: 1414px;
  margin: 0 auto;
}

/* Animation */
 @keyframes banner-animation {
  0%{
     opacity: 0;
     transform: translateX(-20px);
  }
  5%{
    color: red;
  }

  50%{
    opacity: 0.5;
    color: green;
     transform: translateX(-10px);
  }

  100%{
     opacity: 1;
      transform: translateX(0px);
  }

 }

/* banner - player */
 @keyframes banner-player-animation {
    0%{
     opacity: 0.5;
     transform: translateX(-20px);
  }

  50%{
    opacity: 0.7;
     transform: translateX(-10px);
  }

  100%{
     opacity: 1;
      transform: translateX(0px);
  }
  
 }

/* Banner styles */
.banner {
  display: flex;
  align-items: center;
  background-color: black;
  color: white;
  border-radius: 30px;
  margin: 50px auto;
  
  animation: banner-animation 0.7s ease-out forwards;
}

.banner-left {
  padding: 45px;
  flex: 1;
}

.banner-right {
  flex: 1;
}

.banner-right img {
  display: block;
  animation: banner-player-animation 0.7s ease-in infinite;
}

.banner h2 {
  font-size: 70px;
  font-weight: 700;
  max-width: 70%;

}

.banner p {
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF;
  margin: 20px 0;
  max-width: 65%;
}

.btn {
  border-radius: 5px;
  background: rgb(221, 0, 0);
  padding: 16px 25px;
  color: white;
  font-size: 20px;
  font-weight: 400;
  border: none;
}

.upcoming-matches {
  display: flex;
  padding: 50px 0;
  gap: 55px;
}

.upcoming-matches-left {
  background-color: black;
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
  border-radius: 10px;
  height: fit-content;
}

.upcoming-matches-left .btn:nth-child(1),
.upcoming-matches-left .btn:nth-child(2) {
  background-color: white;
  color: black;
}

.upcoming-matches-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.upcoming-matches .card .card-body {
  padding: 20px;
}

.upcoming-matches-right .card {
  border: 1px solid rgb(232, 232, 232);
  border-radius: 10px;
}

.upcoming-matches-right .card img {
  width: 100%;
  height: 175px;
  border-radius: 10px 10px 0 0;
}

.upcoming-matches-right .card .btn {
  background-color: white;
  color: black;
  border: 2px solid black;
  padding: 4px 16px;
  margin-top: 20px;
}

.upcoming-matches-right .card h2 {
  margin: 20px 0;
  font-family: Poppins;
  font-size: 18px;
  font-weight: 600;
}

.card-bottom {
  display: flex;
  gap: 40px;
  color: #161616B3;
  font-size: 16px;
  font-weight: 400;
}



@media screen and (max-width: 992px) {

  .head {
    margin: 0 20px;
  }

  /*  Banner */
  .banner{
    margin: 20px 20px;
  }
  .banner h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 70px;

  }

  .banner-right img {
    max-width: 100%;
  }

  /* upcoming matches */
  .upcoming-matches {
    flex-direction: column;
  }

  .upcoming-matches-left {
    flex-direction: row;
    width: 100%;
    background: transparent;
  }

  .upcoming-matches-left>* {
    flex: 1;
  }

  .upcoming-matches-left .btn {
    border: 1px solid rgba(231, 232, 232);
  }

  .upcoming-matches-right {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* mobile device */
@media screen and (max-width: 786px) {
  .head {
    margin: 0 10px;
  }

  .banner {
    flex-direction: column;
    text-align: center;
    margin: 10px 10px;
    
  }

  .banner .banner-left {
    margin-bottom: 50px;
    padding: 0;
    padding-top: 30px;
  }

  .banner .banner-left p {
    margin: auto;
    margin: 25px auto;
  }

  .banner .banner-left h2 {
    margin: auto;
  }

  .upcoming-matches-left {
    flex-direction: column;
  }

  .upcoming-matches-right {
    grid-template-columns: repeat(1, 1fr);
  }
}