body {
    font-family: Arial, sans-serif;
    background-color: #d2d2d2;
  }

.nav-menu {
    width: 90%;
    margin: auto;
    background-color: #333;
    border-radius: .5%;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1% 0%;
    margin: none;
    list-style: none;
  }

  .nav-menu li {
    margin: 0.3rem 0.6rem;
  }

nav a {
    color: #f2f2f2;
    text-align: center;
    padding: 14px 30px;
    text-decoration: none;
    font-size: 20px;
  }

nav a:hover {
    background-color: #575757;
  }

#promoimage{
  width: 80%;
  display: block;
  align-items: center;
  padding: 20px 10%;
}

#rankingtable{
  margin-top: 2%;
  font-size: 12px;
}

#rankingtable2{
  margin-top: 2%;
  font-size: 12px;
}

#prospecttable {
  margin-top: 2%;
  font-size: 15px;
}

#prospecttable td {
  width: 5%;
}
#prospecttable tr {
  height: 40px;
}



table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}

table tr:nth-child(even) {
  font-weight: bold;
}

#playername{
  font-size: 50px;
  text-align: center;
  margin-bottom: 50px;
}

#playername2{
  font-size: 20px;
  text-align: center;
  color: white;
  font-style: italic;
}


.image-viewer {
  width: 20%;
  height: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  background-color: #413f3f;
  margin-left: 5%;
}

.main-image {
  width: 90%;
  object-fit: contain;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0);
}


.thumbnail-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}


.thumbnail {
  width: 30%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.thumbnail:hover {
  border-color: #007bff;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  margin-left: 5%;
  gap: 100px;
  width: 1000px;
  height: 600px;
}

.grid-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #ccc;
}

.page-layout {
  display: flex;
  gap: 30px;
  padding: 0 20px;
}

#scoutimage{
  width: 70%;
}

.articles{
  width: 70%;
  font-size: 35px;
  border: 1px solid #ccc;
  background-color: darkgray;
  line-height: 70px;
}

#photoofme{
  width: 30%;
}

#aboutunorderedlist{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  background-color: #d0d0d0;
  width: 60%;
}
#animationsparagraphs{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  background-color: #d0d0d0;
}

.image-grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  margin-top: 2%;
  margin-left: 2%;
  gap: 1%;
  width: 90%;
}

.grid-image2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid black;
}

.grid-image3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid black;
}

#liverpoolimage{
  width: 100%;
}

.image-grid3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  margin-top: 2%;
  margin-left: 2%;
  gap: 1%;
  width: 90%;
}

.image-viewer2 {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: #413f3f;
  margin-left: 5%;
}

.main-image2 {
  height: 800px;
  align-items: center;
  object-fit: contain;
  border: 2px solid #ccc;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0);
}

.thumbnail-container2 {
  height: 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.thumbnail2 {
  height: 100px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.thumbnail2:hover {
  border-color: #007bff;
}

#chartContainer {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.chart-box {
  position: relative;
  height: 400px;
}

.chart-box.pie {
  flex: 1 1 300px;
}

.chart-box.histogram {
  width: 100%;
  height: 400px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 0;
}

figcaption {
text-align: center;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
color: white;
}






.content-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 20px;
}

#rankingsleftside {
  flex: 1 1 50px;
  background-color: gray;
  padding: .5%;
  height: 600px;
  box-sizing: border-box;
}

#playerinfomiddle {
  flex: 1 1 200px;
  background-color: gray;
  padding: 1%;
  box-sizing: border-box;
  overflow-y: auto;
  height: 600px;
}

#playervideosrightside {
  width: 45%;
  background-color: gray;
  padding: 1%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 20px;
  height: 600px;
  overflow-y: auto;
}

#playervideosrightside video {
  width: 100%;
  height: auto;
  display: block;
}



#playervideosrightside video {
  width: 100%;
  height: auto;
}

.table {
  display: block;
  width: 100%;
  height: 520px;
  table-layout: fixed;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.table tr {
  height: 40px;
  scroll-snap-align: start;
}

.table th{
  text-align: left;
  position: sticky;
  top: 20px;
}
.table td {
  padding: 6px 8px;
  border: 1px solid #ddd;
}

.table th {
  background-color: black;
  color: white;
  text-align: left;
  top: 0;
}

.table tbody tr:nth-of-type(even) {
  background-color: rgb(165, 165, 165);
}

.table tbody tr:nth-of-type(odd) {
  background-color: rgb(212, 212, 212);
}

.table tr td img{
  width: 50px;
  max-height: 50px;
}

.table tbody td:nth-of-type(1) {
  width: 55%;
}

.table tbody td:nth-of-type(2) {
  width: 10%;
}

.table tbody td:nth-of-type(3) {
  width: 10%;
}

.table tbody td:nth-of-type(4) {
  width: 15%;
}

.table tbody td:nth-of-type(5) {
  width: 10%;
}

.playerinfomiddleimage{
  width: 100%;
}

#rankingsleftside iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.filter{
  width: 40%;
}

.compositerankings{
  background-color: gray;
  padding: 1%;
  height: 600px;
  width: 30%;
  margin-left: 2%;
  display: flex;
}

.compositerankings iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.image-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  margin-top: 2%;
  margin-right: 2.20%;
  gap: 4%;
  width: 60%;
}

.grid-image3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid black;
}

.fpidate{
  margin: 0%;
}
