* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #ededed;
  overflow-x: hidden;
}
body::-webkit-scrollbar {
  width: 0px; /* Width of the scrollbar */
}

/* Navigation Bar Styles */
.navigation {
  display: flex;
  width: auto;
  height: 14vh;
  position: relative;
  top: 0;
  background: linear-gradient(90deg, #f7f7f7, #e3e3e3);
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0 42px;
  z-index: 1000;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo img {
  width: 6vw;
  margin-left: 10px;
  mix-blend-mode: multiply;
  border-radius: 50%;
  transition: transform 0.3s ease-in-out;
}


.logo h3 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 22px;
  color: #140761;
  font-style: italic;
  font-weight: 700;
}

.fnc {
  display: flex;
  align-items: center;
  gap: 32px;
}

.fnc button {
  background: linear-gradient(145deg, #e50914, #c90610);
  width: 8vw;
  height: 6vh;
  border: none;
  border-radius: 50px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #f7f7f7;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
}

.fnc button:hover {
  background: linear-gradient(145deg, #d9080d, #b10509);
  transform: translateY(-3px);
}

.lists {
  margin-right: 20px;
}

.lists ul {
  list-style: none;
  display: flex;
  gap: 40px;
  font-size: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  padding: 0;
}

.lists ul li {
  position: relative;
}

.lists ul li a {
  cursor: pointer;
  color: #140761;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
  position: relative;
  padding: 5px;
}

.lists ul li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #140761b4;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

.lists ul li a:hover {
  color: #0e0e54;
}

.lists ul li a:hover::before {
  visibility: visible;
  transform: scaleX(1);
}

/* General container styles */
.container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #e50914;
  font-size: 26px;
  margin: 36px 0;
  gap: 28px;
}
.text button{
    background: linear-gradient(145deg, #e50914, #c90610);
  width: 12vw;
  height: 9vh;
  border: none;
  border-radius: 12px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #f7f7f7;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all ease-in-out 0.3s;
}

.text button:hover{
    background: linear-gradient(145deg, #d9080d, #b10509);
    transform: translateY(-3px);
}

/* Teams and Players section */
.teams,
.players {
  margin-left: 68px;
  color: #140761;
  font-size: 20px;
  font-weight: 500;
}

.lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; /* Adds spacing between grid items */
}
.lists img{
  border-radius: 20%;
}

/* Shared card styles */
.team-card,
.player-card {
  background-color: #f7f7f7;
  width: 26vw;
  height: 18vh;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 9px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-box-shadow: 2px 2px 42px 0px rgba(20, 7, 97, 0.1);
  -moz-box-shadow: 2px 2px 42px 0px rgba(20, 7, 97, 0.1);
  box-shadow: 2px 2px 42px 0px rgba(20, 7, 97, 0.1);
  margin: 36px 0; /* Adds margin between rows */
}

/* Hover effect for both team and player cards */
.team-card:hover,
.player-card:hover {
  background-color: #140761;
  color: #f7f7f7;
  font-size: 24px;
  font-weight: 600;
  gap: 10px;
}

/* Player card-specific styles */
.player-card {
  flex-direction: row; /* Align image and name side by side */
  justify-content: flex-start; /* Align items to the left */
}

.player-card img {
  margin-right: 10px; /* Reduces spacing to the right of the image */
  max-width: 80px; /* Adjust width for default state */
  border-radius: 5px;
  transition: all 0.3s ease; /* Smooth transition for hover */
}

/* Name styling inside player card */
.name {
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease; /* Smooth transition for hover */
}
.teamCaptain{
  font-size: .8em;
  font-weight: 500;
}
/* Hover effect for image and name positioning */
.player-card:hover {
  flex-direction: row; /* Ensures the layout is row on hover */
}

.player-card:hover img {
  max-width: 180px; /* Increase image size on hover */
  transform: translateX(-10px); /* Move the image slightly to the left */
}

.player-card:hover .name {
  transform: translateX(-24px); /* Move the name slightly to the right */
  color: #f7f7f7;
  font-weight: 700;
  font-size: 24px;
  font-style: italic;
}
.player-card:hover .name .teamCaptain{
  font-size: .5em;
  font-weight: 500;
  font-style: normal;
}
.topTxt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 6.5vw;
  margin-bottom: 20px; /* Adds spacing below */
  padding: 10px 20px;
}
.topTxt a {
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  color: #0e0e54;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effect */
}

.topTxt a:hover {
  color: #e50914; /* Changes color on hover */
  transform: translateX(5px); /* Adds slight movement on hover */
}
.lists img:hover{
  mix-blend-mode: normal;
  border-radius: 6px;
}