* {
  margin: 0px;
  padding: 0px;
  font-family: rubik, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: red;
}

::-webkit-scrollbar-track {
  background: transparent;
}

.rubik-nav a {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.button {
  cursor: pointer;
}

header {
  position: relative;
  width: 100%;
  background-color: #17171b;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  box-shadow: 0px 7px 21px 2px rgba(239, 195, 195, 0.203);
}

.logo {
  margin-left: 65px;
  background-color: #17171b;
}

.logo img {
  height: 90px;
  width: 108px;
}

nav {
  padding: 40px;
  /* background-color: #17171B; */
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  margin-right: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  margin-right: 45px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.matches {
  font-size: 18px;
  font-weight: bold;
  margin-left: 20px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  padding: 10px;
  display: none;
}

.dropdown-menu li {
  margin-bottom: 10px;
}

.dropdown-menu a {
  color: #fff;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.bottom-header .team-names .tea,
.bottom-header .team-names .team {
  height: 100%;
}

.bottom-header {
  position: relative;
  background: #000000;
  z-index: 1;

  padding-bottom: 20px;
  box-shadow: 15px 15px 21px 0px rgba(1, 1, 1, 0.3);
}

.bottom-header .team-names {
  color: white;
  font-size: 108px;
  padding-top: 20px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 200px;
}

.card-header h1 {
  padding-right: 14px;
  padding-top: 50px;
  height: 80px;
  background: black;
  text-align: center;
  color: white;
  width: 1500px;
}

.team-matches {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-body {
  background-color: #000000;
  height: 100%;
  padding-top: 10px;
  padding-bottom: 100px;

  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.match-type {
  color: white;
  padding: 28px;
}

.cards {
  width: 100%;
  z-index: 1;
  box-shadow: 0 -0.5px 0 red;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 1s ease-in-out;
}

.h3 {
  color: red;
  text-decoration: none;
  font-weight: bold;
  font-size: 24px;
  text-align: center;
}

.cards:last-child {
  box-shadow: 0 0.5px 0 red, 0 -0.5px 0 red;
}

.player-row {
  height: 244px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  background: linear-gradient(
    90deg,
    rgb(0, 0, 0) 4%,
    rgb(0, 53, 97) 50%,
    rgb(0, 0, 0) 96%
  );
  transition: height 1s ease-in-out;
}

.p1 {
  display: flex;
  padding: 10px;
  align-items: center;
  color: white;
  flex-direction: column-reverse;
  justify-content: center;
}
.player-row-p1 {
  flex-direction: column;
}

.stats {
  font-size: 20px;
  display: flex;
  flex-direction: column;
  height: 170px;
  width: 185px;
  justify-content: space-around;
  align-items: center;
  color: rgb(255, 0, 0);
  font-style: italic;
}

.stats h1 {
  color: white;
}

.mid {
  display: flex;
  flex-direction: column;
  height: 170px;
  width: 185px;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.mid-stats {
  display: flex;
  flex-direction: column;
  height: 170px;
  width: 185px;
  justify-content: center;
  align-items: center;
  color: white;
}

#p-Img {
  /* width: 225px; */
  /* adjust the width to your liking */
  height: 240px;
  /* adjust the height to your liking */
  /* make the image a circle */
  object-fit: cover;
  /* ensure the image is scaled to fit the container */
  margin: 10px;
  /* add some margin around the image */
  /* add a white border around the image */
  /* background: linear-gradient(90deg, rgb(0, 0, 0) 2%, rgba(253, 29, 29, 1) 50%, rgb(0, 0, 0) 98%); */
  cursor: pointer;
}

#team-logo {
  width: 185px;
  /* adjust the width to your liking */
  height: 170px;
  /* adjust the height to your liking */
  /* make the image a circle */
  object-fit: cover;
  /* ensure the image is scaled to fit the container */
  margin: 10px;
  /* add some margin around the image */
  /* add a white border around the image */
  cursor: pointer;
}

#p-Img:hover {
  transform: scale(1.2);
  animation: smooth 0.5s ease-in-out;
}

@keyframes smooth {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.2);
  }
}

.opened {
  height: 1000px;
}

.team-logo img {
  width: 185px;
  height: 170px;
}

.team-name {
  color: red;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.team-logo {
  display: flex;
  align-items: center;
}

.team-cards {
  margin-top: 40px;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

a {
  text-decoration: none;
}

.team-cards:hover {
  background: linear-gradient(
    90deg,
    rgb(0, 0, 0) 4%,
    rgb(0, 53, 97) 50%,
    rgb(0, 0, 0) 96%
  );
  color: white;
}

.middle img {
  height: 135px;
  width: 125px;
}

.player-history-container {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(
    90deg,
    rgb(0, 0, 0) 4%,
    rgb(0, 53, 97) 50%,
    rgb(0, 0, 0) 96%
  );
  color: white;
}
.mobile {
  display: none;
}
#see-more {
  cursor: pointer; /* Add cursor pointer to indicate it's clickable */
  color: #fff; /* Adjust color as per your design */
  font-size: 10px; /* Adjust font size as needed */
}

#see-more:hover {
  color: red; /* Adjust hover color as needed */
}

.see-more-icon {
  display: none;
}
.default-player-image {
  filter: grayscale(100%); /* Convert the image to grayscale */
  transition: filter 0.3s ease-in-out; /* Smooth transition for effect */
}
.default-player-image:hover {
  filter: grayscale(0%); /* Revert to full color on hover */
}
@media (min-width: 1441px) {
  .player-row {
    width: 100%;
    max-width: 1400px;
    height: 260px;
    padding: 26px;
  }
  #p-Img {
    height: 160px;
  }
  .stats {
    font-size: 28px;
    height: 150px;
    width: 350px;
  }
  .p1 {
    padding: 0px;
    height: 100%;
  }
  .mid{
    height: 240px;
  }
  .mid-stats {
    height: 230px;
    width: 240px;
  }
  .mid-stats h2 {
    font-size: 28px;
  }
  .mid-stats h1 {
    font-size: 32px;
  }
  #see-more {
    font-size: 22px;
  }
}
@media (max-width: 1440px) {
  .logo {
    padding-top: 2px;
    margin-left: 25px;
    background-color: #17171b;
  }

  .logo img {
    height: 50px;
    width: 50px;
  }

  nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    margin-right: 8px;
    margin-top: 2px;
    margin-bottom: 7px;
  }

  nav {
    width: 900px;
    padding: 0px;
    /* background-color: #17171B; */
  }

  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  nav li {
    margin-right: 5px;
    padding-right: 10px;
  }

  .card-header h1 {
    padding-right: 14px;
    padding-top: 50px;
    height: 80px;
    background: black;
    text-align: center;
    color: white;
    width: 100%;
  }

  .team-matches {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .team-logo img {
    width: 80px;
    height: 80px;
  }

  .team-name {
    font-size: 14px;
  }

  .middle img {
    height: 80px;
    width: 70px;
  }

  .bottom-header {
    position: relative;
    background: #000000;
    z-index: 1;
    width: 100%;
    padding-bottom: 20px;
    box-shadow: 15px 15px 21px 0px rgba(1, 1, 1, 0.3);
  }

  .bottom-header .team-names {
    color: white;
    font-size: 16px;
    padding-top: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100px;
    width: 100%;
  }

  .bottom-header .team-names img {
    width: 80px;
    height: 90px;
  }

  .bottom-header .team-names .team {
    width: 80px;
    height: 80px;
  }

  .mobile {
    display: none;
  }
  #p-Img {
    height: 140px;
  }
  .stats {
    font-size: 24px;
    height: 90px;
    width: 280px;
  }
  .p1 {
    padding: 0px;
    height: 100%;
  }
  #see-more {
    font-size: 22px;
  }
}
@media (max-width: 1024px) {
  .player-row {
    width: 100%;
    max-width: 1000px;
  }
  #p-Img {
    height: 140px;
  }
  .stats {
    font-size: 20px;
    height: 70px;
    width: 240px;
  }
  .p1 {
    padding: 0px;
    height: 100%;
  }
  #see-more {
    font-size: 22px;
  }
}

@media (max-width: 786px) {
  .logo {
    padding-top: 2px;
    margin-left: 25px;
    background-color: #17171b;
  }

  .logo img {
    height: 40px;
    width: 40px;
  }

  nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 10px;
    margin-right: 8px;
    margin-top: 2px;
    margin-bottom: 7px;
  }

  nav {
    width: 100%;
    padding: 0px;
    /* background-color: #17171B; */
  }

  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  nav li {
    margin-right: 5px;
    padding-right: 10px;
  }
  .main-body {
    padding-bottom: 10px;
  }
  .player-row {
    width: 100%;
    max-width: 786px;
  }
  .stats {
    font-size: 20px;
    height: 70px;
    width: 240px;
  }
  .p1 {
    padding: 0px;
    height: 100%;
  }
  #p-Img {
    height: 100px;
  }
  .mid {
    height: 140px;
    width: 126px;
  }
  .mid-stats {
    height: 140px;
    width: 126px;
  }
  .h3 {
    width: fit-content;
    font-size: 22px;
  }

  .mid-stats h2 {
    font-size: 22px;
  }
  .mid-stats h1 {
    font-size: 18px;
  }
  .see-more-text {
    display: none;
  }
  #see-more {
    font-size: 20px;
  }
  .see-more-icon {
    display: inline-block;
  }
}
@media (max-width: 606px) {
  .stats {
    font-size: 16px;

    height: 120px;
    width: 80px;
  }
}
@media (max-width: 426px) {
  .logo {
    padding-top: 2px;
    margin-left: 25px;
    background-color: #17171b;
  }

  .logo img {
    height: 30px;
    width: 30px;
  }

  nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    margin-right: 2px;
    margin-top: 2px;
    margin-bottom: 7px;
  }

  nav {
    width: 100%;
    padding: 0px;
    /* background-color: #17171B; */
  }

  nav ul {
    list-style: none;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    z-index: 99;
    background: rgb(222, 36, 29);
    position: absolute;
    height: 100%;
    width: 50%;
    right: 0px;
  }

  nav ul li {
    font-weight: 500;
    font-size: 24px;
    padding-top: 5px;
  }

  .card-header h1 {
    padding-right: 14px;
    padding-top: 20px;
    height: 15px;
    background: black;
    text-align: center;
    color: white;
    width: 100%;
    font-size: 12px;
  }

  .team-matches {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .team-logo img {
    width: 50px;
    height: 50px;
    padding: 2px;
  }

  .team-name {
    font-size: 10px;
  }

  .middle img {
    height: 70px;
    width: 50px;
  }

  .team-cards {
    margin-top: 0px;
    background: linear-gradient(
      90deg,
      rgb(0, 0, 0) 4%,
      rgb(0, 53, 97) 50%,
      rgb(0, 0, 0) 96%
    );
  }

  .mobile {
    display: none;
    flex-direction: column;
  }
  header {
    display: none;
  }

  .stats {
    font-size: 14px;

    height: 120px;
    width: 100px;
  }
  .p1 {
    padding: 0px;
  }
  .p1 img {
    display: none;
  }
  .mid {
    height: 170px;
    width: 185px;
  }
  .h3 {
    width: fit-content;
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  header {
    display: none;
  }
  .main-body {
    padding-bottom: 10px;
  }
  .player-row {
    height: 100px;
  }
  .stats {
    font-size: 12px;

    height: 100px;
    width: 90px;
  }
  .p1 {
    padding: 0px;
  }
  .p1 img {
    display: none;
  }
  .mid {
    height: 80px;
    width: 120px;
  }
  .h3 {
    width: fit-content;
    font-size: 14px;
  }
  .mid-stats {
    height: 140px;
    width: 120px;
  }
  .mid-stats h2 {
    font-size: 10px;
  }
  .mid-stats h1 {
    font-size: 16px;
  }
  .see-more-text {
    display: none;
  }

  .see-more-icon {
    display: inline-block;
  }
}
