body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #202226;
}

header {
  background: #333;
  color: white;
}

.top-nav {
  font-size: 1rem;
  line-height: 0;
  margin: 1;
  padding: 10px;
  text-align: right;
  background: #222;
}

.top-nav a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
}

nav ul {
  position: relative;
  font-size: 1rem;
  display: flex;
  list-style: none;
  justify-content: center;
  padding: 10px 0;
  margin: 0;
  background: #333;
}

nav li a {
  color: white;
  padding: 10px 20px;
  text-decoration: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%; /* Full viewport height */
  overflow: hidden;
}

.hero img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the section without distortion */
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 2rem;
}

/*
<!-- ===================================================================================================   -->
<!-- ========  This will automatically rotate images using the 2Gxx.jpg to 2Gxx.jpg ==================   -->
<!-- ===================================================================================================   -->
*/
.media-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 1rem;
  padding: 2rem;
  box-sizing: border-box;
  background-color: #202226; /*  Color for main tiles  */
}

#media-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 2rem;
  box-sizing: border-box;
  background-color: #202226; /*  Color for main tiles  */
}

/*
<!-- ===================================================================================================   -->
<!-- ========  This will automatically adds the Name Placard centered for each player ==================   -->
<!-- ===================================================================================================   -->
*/

.media-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.media-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease; /* Smooth scaling */
  border-radius: 8px;
}

.media-placeholder:hover img {
  transform: scale(1.5); /* Zoom in slightly */
  cursor: pointer;
}

.media-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  text-align: center;
  white-space: nowrap;
  
  
  opacity: 1;                   /* 🔴 Hidden by default */
  transition: opacity 0.3s ease; /* 🔁 Smooth fade-in */
}

/* 👆 Label fades in only when hovering over the tile */
.media-placeholder:hover .media-label {
  opacity: 1;
}

/*
<!-- ===================================================================================================   -->
<!-- ===================================================================================================   -->
<!-- ===================================================================================================   -->
*/
.footer-title {
/*  font-family: 'Montserrat', sans-serif; */
  background: #333;
  color: white;
  text-align: center;

  font-size: 1rem;         /* ✅ Adjust size */
  color: white;            /* ✅ Change color */
  line-height: 0.2; /* 🔧 Line spacing inside the h1 block */
  margin-top: 1;       /* ✅ Remove space above */
  margin-bottom: 0rem; /* ✅ Slight space below */
}

.footer-subtext {
/*  font-family: 'Roboto', sans-serif; */
  background: #333;
  color: white;
  text-align: center;

  font-size: 1rem;         /* ✅ Different size */
  color: black;            /* ✅ Different color */
  line-height: 1; /* 🔧 More spacing between lines */
  max-width: 600px;          /* Optional: limit width for readability */
  margin-top: 0rem;  /* ✅ Tiny space above */
  margin-bottom: 0rem;     /* ✅ Remove space below */
}
  

.features {
  padding: 30px;
  background: #eaeaea;
}

.features ul {
  list-style-type: square;
  columns: 2;
  padding: 0 40px;
}

.form-section {
  background: white;
  padding: 40px;
}

.form-section form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-section textarea {
  grid-column: 1 / 3;
  height: 100px;
}

.form-section button {
  grid-column: 1 / 3;
  padding: 10px 20px;
  background: orange;
  border: none;
  color: white;
  font-weight: bold;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 15px 0;
}

.athletes-intro {
  background: #fff;
  margin-left: 0rem; /* ✅ Adds space from the left edge */
  padding: 2rem 1rem;
  padding-top: 2rem;      /* ✅ Remove top padding */
  padding-bottom: 1rem;   /* ✅ Remove bottom padding */
}

.athlete-title {
/*  font-family: 'Montserrat', sans-serif; */
  font-size: 3rem;         /* ✅ Adjust size */
  font-family: 'Arial', serif;  /* ✅ Change font */
  color: orange;            /* ✅ Change color */
  line-height: 0.2; /* 🔧 Line spacing inside the h1 block */
  margin-top: 0;       /* ✅ Remove space above */
  margin-bottom: 1rem; /* ✅ Slight space below */
}

.athlete-subtext {
/*  font-family: 'Roboto', sans-serif; */
  font-size: 1rem;         /* ✅ Different size */
  font-family: 'Arial', sans-serif; /* ✅ Different font */
  color: black;            /* ✅ Different color */
  line-height: 1.8; /* 🔧 More spacing between lines */
  max-width: 600px;          /* Optional: limit width for readability */
  margin-top: 0rem;  /* ✅ Tiny space above */
  margin-bottom: 0rem;     /* ✅ Remove space below */
}

/*
<!-- ===================================================================================================   -->
<!-- ===================================================================================================   -->
<!-- ===================================================================================================   -->
*/



body-playerpage {
  margin: 0;
  padding: 0;
  display: flex;
  height: 100vh;
  font-family: sans-serif;
}

.left-column {
  display: flex;
  flex-direction: column;
  width: 200px;
}

.c1, .c2, .c3 {
  height: 33.3%;
  background-color: #ddd;
  border: 1px solid #aaa;
}

.c4 {
  width: 100px;
  background-color: #bbb;
  border: 1px solid #999;
}

.c5 {
  flex: 1;
  background-color: #eee;
  border: 1px solid #ccc;
  overflow-y: auto;
  padding: 10px;
}

.main-layout {
  display: flex;
  flex-direction: row;
  flex: 1;
}
