@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap");

body {
  background: rgb(32, 32, 32);
  background-size: cover;
  background-position: center;
  font-family: 'Open Sans', sans-serif;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 0 2rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.03);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  gap: 3rem;
}

/* Ensures logo and navbar do not overlap on smaller screens */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 1rem;
  }

  .header .logo-home img {
    height: 40px; /* Adjust logo size on smaller screens */
    margin-bottom: 1rem;
  }

  .navbar__menu {
    flex-direction: column;
    width: 100%;
  }

  .navbar__menu li {
    width: 100%; /* Full-width navbar items for better clickability */
  }

  .navbar__link {
    justify-content: center;
    align-items: center;
    padding: 10px; /* Larger padding for clickable area */
  }

  .navbar__item {
    border-bottom: none; /* Optional: remove border on mobile */
  }
}

.navbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;

  display: flex;
  justify-content: center; /* Centers navbar items horizontally */
  align-items: center; /* Centers navbar items vertically (if needed) */
}

.navbar__menu {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.navbar__menu li {
  list-style-type: none; /* This will also remove the markers */
}

.navbar__link {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.6rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 3.5rem;
  width: 10rem;
  color: #fff;
  -webkit-transition: 250ms ease all;
  transition: 250ms ease all;
  text-decoration: none;
  width: 10rem;
  text-transform: uppercase;
  -webkit-transition: 500ms ease all;
  transition: 500ms ease all;
}

.navbar__link svg {
  -webkit-transition: 500ms ease all;
  transition: 500ms ease all;
}

.navbar__link:hover svg {
  stroke: #C4151C;
}

.navbar__link:hover .st0,
.navbar__link:hover .st1 {
  stroke: #C4151C; /* Example hover color */
}


.navbar:not(:hover) .navbar__link:focus span, .navbar__link:hover span {
  opacity: 1;
  -webkit-transform: translate(0);
          transform: translate(0);
}


.navbar__item {
  position: relative; /* Needed for absolute positioning of the pseudo-element */
  border-bottom: 2px solid transparent; /* Maintain layout with invisible border */
}

.navbar__item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #C4151C; /* Target underline color */
  opacity: 0; /* Make it invisible initially */
  transition: opacity 500ms ease; /* Smooth transition for the opacity */
}

.navbar__item:hover::after {
  opacity: 1; /* Make the underline visible */
}

.navbar__item {
  padding-bottom: 3px;
}


table {
  width: 66%;
  border-collapse: collapse;
  margin: 30px auto;
  border-radius: 10px;
  overflow: hidden;
  /* No change needed here for the table background since it's transparent by default */
}

th, td {
  padding: 12px;
  text-align: left;
  vertical-align: middle;
  border-color: transparent;
  color: #fff; /* Set text color to white */
}

th {
  font-weight: bold;
  background-color: #333; /* Dark grey, adjust as needed */
  text-align: center;
}

td {
  background-color: #4D4D4D; /* Grey, adjust the shade as needed */
  border: 1px solid #ccc;
  border-color: transparent;
  text-align: center;
}

tr:nth-child(even) td {
  background-color: #595959; /* Slightly different grey for even rows, adjust as needed */
}
  
  caption {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
    text-shadow: 1px 1px #ddd;
  }
  
  #current-rankings {
    max-width: 80%;
  }
  
  td img {
    max-width: 50px;
    max-height: 30px;
    display: block;
    margin: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)); /* White glow with reduced opacity for a softer effect */
}

  
  body {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(0, 0, 0);
  }
  
  .button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4caf50;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
  }
  
  h1 {
    color: rgb(255, 255, 255); /* Change the color to blue */
  }
  
  h2 {
    color: rgb(255, 255, 255); /* Change the color to green */
  }
  
  p {
    color: rgb(255, 255, 255); /* Change the color to red */
  }
  
  li {
    color: rgb(255, 255, 255); /* Change the color to red */
  }
  
  /* .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #20232a; 
    color: #fff;
    padding: 12px;
    border-radius: 8px;
  }
  
  .navbar a {
    color: #fff;
    text-decoration: none;
    padding: 8px;
    border-radius: 0px;
    transition: background-color 0.2s ease;
    width: 33.33%;
    text-align: center;
    background-color: #1a1a1a; 
  }
  
  .navbar a:hover {
    background-color: #aaa; 
  }
  
  .navbar .home-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33.33%;
    text-align: center;
  }
  
  .navbar .home-link a {
    border-radius: 8px;
    background-color: #1a1a1a;
  }
  
  .navbar .left-half {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }
  
  .navbar .right-half {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  } */

  #mc_embed_signup {
    background: transparent;
    clear: left;
    font: 14px Helvetica, Arial, sans-serif;
    width: 600px;
    margin: 0 auto; /* add this line to center the form horizontally */
  }

  a {
    color: rgb(208, 0, 0);
  }

  .reddit-tag {
    display: inline-block;
    background-color: #FF4500; /* Reddit's brand color */
    color: #fff; /* text color */
    font-weight: bold;
    font-size: 14px;
    padding: 10px 20px; /* adjust as needed */
    border-radius: 4px;
    text-decoration: none; /* remove underlines on hover */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* add a subtle box shadow */
  }
  
  .reddit-tag:hover {
    background-color: #FF5733; /* change the background color on hover */
    cursor: pointer; /* change the cursor to a hand icon on hover */
  }

  .twitter-tag {
    display: inline-block;
    background-color: #1DA1F2; /* Twitter's brand color */
    color: #fff; /* text color */
    font-weight: bold;
    font-size: 14px;
    padding: 10px 20px; /* adjust as needed */
    border-radius: 4px;
    text-decoration: none; /* remove underlines on hover */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* add a subtle box shadow */
  }
  
  .twitter-tag:hover {
    background-color: #0E81C7; /* change the background color on hover */
    cursor: pointer; /* change the cursor to a hand icon on hover */
  }

  .youtube-tag {
    display: inline-block;
    background-color: #FF0000; /* YouTube's brand color */
    color: #fff; /* text color */
    font-weight: bold;
    font-size: 14px;
    padding: 10px 20px; /* adjust as needed */
    border-radius: 4px;
    text-decoration: none; /* remove underlines on hover */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* add a subtle box shadow */
  }
  
  .youtube-tag:hover {
    background-color: #CC0000; /* change the background color on hover */
    cursor: pointer; /* change the cursor to a hand icon on hover */
  }

  .banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #20232a; /* Use your desired banner background color */
    padding: 12px 20px;
}

.logo-home img {
    height: 50px; /* Adjust as needed */
    cursor: pointer;
}

.banner-nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.banner-nav a:hover {
    background-color: #333; /* Adjust hover color as needed */
}

.hamburger-menu {
  display: none; /* Hidden by default */
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px; /* Adjust as needed */
}

.hamburger-menu span {
  display: block;
  width: 25px; /* Adjust as needed */
  height: 3px; /* Adjust as needed */
  background-color: #fff;
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: flex; /* Show the hamburger menu on mobile */
  }

  .navbar {
    display: none; /* Hide the navbar by default on mobile */
    flex-direction: column;
    width: 100%; /* Adjust as needed */
  }

  .navbar__menu {
    flex-direction: column;
  }

  .navbar__link, .navbar__menu li {
    width: 100%; /* Ensure full width for touch targets */
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar.show {
    display: flex; /* or 'block' depending on your layout */
  }
}

@media (max-width: 768px) {
  .header {
    width: 100%;
  }
}