/* Adding font style */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');
/* Beginning of Design */
body{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}
.section1-text,.section1-playerimg{
    width: 50%;
}
button{
    background-color: #e02c6d ;
    border: none;
    padding: 15px 24px;
    margin-left: 156px;
    border-radius: 5px;
}
.section-1{
background-color: #2d25a0;
margin-bottom: 70px;
padding-bottom: 50px;
}
nav ul{
    display: flex;
    padding-top: 42px;
    padding-left: 156px;
    padding-right: 124px;
    margin-top: 0;
    margin-bottom: 0;
    justify-content: center;
    align-items: center;
}
.top-menubar{
    display: flex;
}
nav ul li{
    list-style: none;
    padding-right: 36px;
}
nav ul li a{
    color: white;
    text-decoration: none;
    font-size: 14px;
}
.sign-in{
    background-color: #e02c6d;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
}
.sign-in li{
    padding-right: 0;
}
.sign-in li .fa-right-to-bracket{
padding-right: 5px;
}
.text-playerimage{
    display: flex;
    padding-bottom: 5px;
    overflow: hidden;
}
.section1-text h1{
font-size: 60px;
color: white;
margin-top: 0px;
margin-left: 156px;
margin-bottom: 20px;
line-height: 70px;
padding-top: 120px;
align-items: center;
}
button a, .fas{
    color: white;
    text-decoration: none;
    font-size: 16px;
}
button .fa-arrow-right{
    margin-left: 10px;
}
.section1-playerimg img{
width: 470px;
height: 400px;
padding-top: 60px;
padding-left: 60px;
}
.section1-playerimg:hover img{
    transform: scale(1.2);
    transition: transform 2s ease;
}

/* End of Section-1 CSS
----------------------- */

/* Beginning of Section-1 CSS */
.section-2{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.player-gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.photo-frame{
    box-shadow: 5px 5px 50px rgba(0, 0, 0, 0.192);
    border-radius: 5px;
    width: 250px;
    height: 370px;
    padding: 15px 15px 30px 15px;
    margin-bottom: 27px;
    margin-right: 30px;
}
.player-img img{
    width: 100%;
    border-radius: 5px;
}
.player-details{
    width: 250px;
}
.player-details h2{
    margin-top: 14px;
    margin-bottom: 10px;
}
.player-details p{
    font-size: 14px;
    margin-bottom: 0px;
    color: #6c6c6c;
    font-weight: 400;
}

/* end of Section-2 CSS */
/* Section-3 */
.next-game {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #match-command h1 {
    color: #726eaf;
    font-size: 45px;
  }
  .game-time {
    box-shadow: 5px 5px 40px rgb(124, 111, 111);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    margin-top: 40px;
  }
  .game-info {
    display: flex;
  }
  /* .game-img img {
    border-radius: 10px;
  } */
  .game-data {
    margin: auto 30px;
  }
  /* section-3 ends  */

  /* section-4 begins  */

  .match-summary {
    margin-top: 120px;
    display: flex;
    margin-bottom: 80px;
  }
  .left-side,
  .right-side {
    width: 50%;
  }
  .left-side {
    margin-left: 20px;
  }
  .summary-details {
    width: 70%;
    padding-left: 136px;
  }
  
  .summary-details p {
    font-size: 14px;
    margin-right: 0;
    color: #6c6c6c;
  }
  
  .summary-details .title h1 {
    font-size: 42px;
    margin-bottom: 10px;
    line-height: 60px;
  }
  .summary-details button {
    margin-left: 0;
    margin-top: 10px;
  }
  .right-side .summary-img {
    width: 567px;
    height: 427px;
  }
  .right-side .summary-img img {
    width: 90%;
    border-radius: 5px;
  }
  /* section-4 ends 
  ----- */

  /* section-5 begins  */
  #top-goal h1 {
    color: #2d25a0dc;
    font-size: 40px;
    text-align: center;
  }
  .top-scorer {
    display: flex;
    margin-top: 80px;
    margin-bottom: 20px;
    justify-content: center;
  }
  .player-info {
    background-color: rgba(211, 211, 211, 0.445);
    border-radius: 5px;
    box-shadow: 2px 2px 40px gray;
    margin: 0 15px 60px 15px;
    padding: 15px;
  }
  .player-img img {
    border-radius: 5px;
  }
  /* section-5 ends  */

  /* section-6 begins */
  footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 65px auto;
}
.footer-logo{
    display: flex;
    justify-content: center;
}
.footer-logo img{
    width: 67%;
}
.footer-icons i{
    background-color: #E7E7E8;
    color: #969BAB;
    padding: 10px;
    margin: 0 8px 22px;
    border-radius: 50px;
}
.fab{
    font-size: 22px;
}
.copyright{
    color: #000;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    font-style: normal;
}
 /* the uses of media query begins */
 @media only screen and (max-width: 667px) {
    /* header part begins */
    nav ul,
    .top-menubar {
      display: none;
    }
    .sign-in {
      display: none;
    }
  
    .section1-text,
    .section1-playerimg {
      width: 90%;
    }
    .text-playerimage {
      display: grid;
      flex-direction: column;
    }
    .section1-playerimg {
      display: flex;
      justify-content: center;
      margin:10px;
    }
    .section1-text h1 {
      margin-left: 30px;
      text-align: center;
      padding-top: 100px;
      font-size: 36px;
      line-height: normal;
    }
    .section1-playerimg img {
      width: 80%;
      padding-left: 0;
      height: auto;
    }
    .section1-button {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    button {
      margin-left: 30px;
    }
  
    /* header part ends */

    /* section-2 begins */
  
    .photo-frame {
      margin-right:0px;
  
    }
    .player-gallery {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    /* section-2 ends */

    /* section-4 begins  */

    .match-summary {
      margin-top: 80px;
      display: flex;
      margin-bottom: 80px;
      flex-direction: column;
      align-items: center;
    }
    .summary-details {
      width: 100%;
      padding-left: 0px;
    }
    .summary-details .summary-title h1 {
      font-size: 30px;
      line-height: normal;
    }
    .summary-details .summary-button {
      margin-left: 35px;
    }
    .right-side .summary-img {
      width: 300px;
      height: auto;
    }
    .right-side .summary-img img {
      width: 90%;
      margin-top: 30px;
      border-radius: 5px;
    }
  
    /*  section-4 ends */

    /* section-3 begins */
  
    .game-time {
      padding: 20px;
    }
    .match-command h1 {
      font-size: 25px;
    }
    .game-data{
      padding-left: 20px;
      padding-right: 20px;
      margin: 0 auto;
    }
    .game-img {
      margin: 0 auto;
    }
    .game-info {
      display: flex;
      justify-content: center;
      flex-direction: column;
    }
  
    /*section-3 ends */

    /* section-5 begins */
  
    .top-goal h1 {
      font-size: 40px;
      text-align: center;
      color: #2d25a0;
    }
    .top-scorer {
      display: flex;
      flex-direction: column;
      margin-top: 60px;
      margin-bottom: 50px;
      align-items: center;
    }
    .player-info {
      margin-bottom: 30px;
    }
  
    /* section-5 ends */

    /* section-6 begins */
  
    .footer-img img {
      width: 350px;
    }
    /* section-6 ends  */
  }