/* Body tags */
body {
  margin: 0px;
  font-family: 'Poppins', sans-serif;
}

/* Header section start */
.header-show {
  display: flex;
  background-color: black;
  border-radius: 30px;
  margin: 30px 140px 30px 140px;
  transition: .3s;
}

.header-show:hover {
  background-image: url('../images/football.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-align: center;

}

.show {
  color: white;
  padding: 15px 60px;

}

.show-title {
  font-weight: 700;
  font-size: 40px;
  margin-right: 30%;
  line-height: 50px;

}

.header-show .show-para {
  white-space: nowrap;
  width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-show:hover .show-para {

  overflow: visible;
}

header p {
  font-size: 14px;
  margin-right: 12%;
}

header button {
  background: #2f0793;
  border-radius: 5px;
  border: none;
  padding: 10px 25px;
  color: blanchedalmond;
  margin-top: 10px;
}

header img {
  padding-top: 15px;

}

/* all-match-details */

.all-matchs {

  display: flex;
  margin-top: 70px;

}

/* all match schedule */
.match-schedule {
  width: 210px;
  height: 240px;
  background: #161616;
  border-radius: 10px;
  margin-left: 140px;
}

.match-schedule a {
  display: inline-block;
  text-decoration: none;
  border: none;
  background-color: white;
  color: #161616;
  font-size: 14px;
  width: 155px;
  height: 30px;
  border-radius: 10px;
  margin-left: 30px;
  padding-top: 15px;
  padding-bottom: 5px;
  margin-top: 11%;
  text-align: center;

}

.match-schedule .m-blog a {
  background-color: #2f0793;
}

/* match blog post */

section .matchs {
  display: grid;
  grid-template-columns: repeat(3, 350px);
  row-gap: 20px;
  column-gap: 20px;
  width: 300px;
  margin-left: 20px;
  margin-bottom: 10%;

}

.single-match {
  border: 1px solid gainsboro;
  border-radius: 10px;

}

.match-info {
  padding-left: 18px;

}

.single-match img {
  width: 349px;
  height: 200px;
  border-radius: 10px 10px 0px 0px;
}

.match-info button {
  background-color: white;
  border: 1px solid;
  margin-top: 10px;
  padding: 3px 15px;
  border-radius: 5px;
}

.match-info .m-timing {
  display: flex;
  color: rgba(22, 22, 22, 0.7);
  margin-right: 60%;
  justify-content: space-between;

}

/* footer section */
.footer-start {
  background-color: #161616;
  color: white;
  text-align: center;
}

.footer-start .footer-title {
  padding-top: 60px;
  padding-bottom: 50px;
}

.footer-start hr {
  margin: 0px 80px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-info p {
  display: inline-block;
  align-items: center;
  margin: 25px 50px;
}

/* Social media */
.social-icon {
  padding-bottom: 20px;
  word-spacing: 10px;
  font-size: 25px;
}

.social-icon a i {
  color: white;
}

/* All post view */
.view {
  text-align: center;
  display: none;
}

.view button {
  padding: 12px 29px;
  color: white;
  border: none;
  background-color: #2f0793;
  border-radius: 5px;
  margin-bottom: 20px;

}

/* index file responsive */
/* media queries, px breakpoint value find from google */

/* Mobile Devices */
@media only screen and (max-width: 576px) {
  .header-show {
    display: inline-block;
    flex-direction: row-reverse;
    text-align: center;
    margin-left: 136px;

  }

  header img {
    margin-left: 10%;
  }

  .all-matchs {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    margin-top: -5px;
    margin-left: 47px;

  }

  .match-schedule {
    background-color: #fff;
    height: 140px;
    margin-left: 15px;


  }

  .schedule {

    background: #FFFFFF;
    align-items: center;


  }

  .schedule a {
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    text-align: center;
    padding: 10px 18px;
    font-weight: 700;

  }

  section .matchs {

    grid-template-columns: repeat(1, 349px);
    margin-top: 150px;
  }

  .single-match img {
    width: 348px;
  }




  .footer-title {
    padding-bottom: 10px;

  }

  footer .footer-info p {
    display: block;
  }
}

/* media queries, px breakpoint value find from google */

/* tablet devices */

@media only screen and (min-width:577px) and (max-width:768px) {
  .header-show {
    margin: 25px 20px;
  }

  header img {
    padding-top: 56px;
    margin-left: -1%;
  }

  .show {
    padding: 30px 45px;
    margin: 0%;
  }

  .all-matchs {
    display: inline-block;
    width: 100%;
  }

  .match-schedule {
    background-color: #fff;
    height: 140px;
    margin-left: 15px;


  }

  .schedule {
    display: flex;
    background: #FFFFFF;
    align-items: center;


  }

  .schedule a {
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    text-align: center;
    padding: 12px 25px;
    font-weight: 700;

  }

  section .matchs {

    grid-template-columns: repeat(2, 349px);
  }



  .lastblog {
    display: none;
  }

  footer .footer-info {
    margin: 0px -50px;
    font-size: 16px;
    color: #B9B9B9;
    text-align: center;


  }

  footer .footer-info p:nth-child(5) {
    margin-left: 150px;
  }

  footer .footer-info p:nth-child(6) {
    margin-right: 150px;
  }

  /* all post view */
  .view {
    display: block;
  }
}