/* Set the background image */
body {
  background-color: #111C26;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Style the navigation bar */
.navbar ul {
position: fixed;
z-index: 3;
width: 100%;
top: 0;
background-color: #111C26;
list-style: none;
padding: 0;
margin: -10px;
 flex-direction: row; /* Change the flex-direction to row */
text-align: center;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
}
.navbar {
  /* Other properties */
  overflow: auto; 
   position: fixed;
  z-index: 3;
}
/* Style the navigation links */
.navbar li {
display: inline-block; /* Change the display property to inline-block */

}
.sidenav a.active {
  border-left: 3px solid #f1f1f1; /* Adds a bar to the left */
}
.navbar a {
color: white;
text-decoration: none;
width: auto;
padding: 25px 20px;
display: block; /* Add display property to make links go across the navigation bar */
font-size: 20px;
text-align: center;
font-family: sans-serif;
position: relative;

}

/* Add a hover scale effect to the navigation links */
.navbar a:hover {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

/* Add a hover scale effect to the navigation images */
.navbar a img:hover {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}
.sidenav {
  /* Other properties */
  height: auto;
  /* Other properties */
  position: fixed;
  /* Other properties */
  z-index: 2;
  margin-top: 50px;
  background-color: #0b1118;
  overflow-x: hidden;
  overflow-y: hidden;
  transition: 0.5s;
  padding-top: 10px;
}
.sidenav a {
  padding: 8px 16px;
  text-decoration: none;
  font-size: 20px; /* Adjust as needed */
  color: #ffffff;
  display: block;
  transition: 0.3s;
  text-align: center;
}
.sidenav a:hover {
color: #f1f1f1;
}
.logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Adjust as needed */
  }

.logo-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 500px; /* Adjust as needed */
background: linear-gradient(to bottom, transparent 0%, transparent 10%, #111C26 100%);
}

.logo-container img {
  max-width: 100%; /* This will make sure the image is responsive */
  height: auto;
}
.container {
  position: absolute;
  top: 10%; /* Adjust as needed */
  left: 50%; /* Adjust as needed */
  transform: translateX(-50%); /* Centers the container horizontally */
  z-index: 2;
}
  .container .item {
    position: relative;
  }
.logo-image {
    opacity: 0.3;
}

.container table {
  width: 100%;
  border-collapse: collapse;
}

.container table th,
.container table td {
  border: none;
  padding: 10px;
  text-align: center;
  color: #B6B5B4;/* Align text to the left */
}

.container table tr {
  border-bottom: 1px solid #000000;
}
.rules {
    font-size: 20px;
    direction: ltr !important;
}

table th {
  font-size: 20px;
  text-align: center;
}
.teamNameCell {
width: 300px;
}

.streakCell {
width: 50px; /* Adjust this value to fit your website's design */
}

.team-logo {
width: 400px;
height: auto;
display: block;
margin: 0 auto; /* centers the logo */
}

.center-text {
text-align: center;
font-size: 20px;
}

h3 {
text-align: center;
font-family: sans-serif;
margin-bottom: 10px;
font-size: 25px;
color: rgb(0, 0, 0);
text-decoration: none;

}
a.teamname {
color: #B6B5B4;
font-size: 40px;
}

a.teamname:hover {
color: rgb(100, 9, 9);
}
.links a {
display: inline-block;
margin-right: 10px;
color: black;
text-decoration: none;
font-weight: bold;
margin-bottom: 5px;
margin-top: 0;
font-size: 15px;
}
.links a:hover {
text-decoration: underline;
color: rgb(100, 9, 9);
}
.links {
text-align: center;
}
.tabs {
  display: flex; /* Aligns items in a row */
  justify-content: center; /* Centers items horizontally */
  flex-wrap: wrap; /* Add this line */
  margin-bottom: 10px;
}

.tabs a {
  margin-right: 30px; /* Adds right margin to each link */
  text-decoration: none;
  font-size: 20px;
  color: #B6B5B4;
}
.tabs a:hover {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}
.crownCell img {
  width: 50px;  /* adjust as needed */
  height: 50px; /* adjust as needed */
}

@media only screen and (max-width: 600px) {

  .logo-container .logo-image {
    display: none; /* Hide the logo */
  }
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.navbar {
  /* Other properties */
  position: fixed; /* Add this line if not already present */
  z-index: 3; /* Highest value, navbar will be on top */
}

.sidenav {
  /* Other properties */
  position: relative; /* Add this line if not already present */
  z-index: 2; /* Middle value, sidenav will be under navbar but above container */
}

.container {
  position: relative; /* Reset the position */
  transform: none; /* Reset the transform */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margin */
  width: 100%; /* Make the container full width */
  box-sizing: border-box;
  overflow-x: auto; /* Add horizontal scrollbar when contents are too wide */
  z-index: 1; /* Lowest value, container will be at the bottom */
  max-height: 80vh; /* Set a max-height */
  overflow-y: auto; /* Add vertical scrollbar when contents are too tall */
  table-layout: fixed; 
}

.container table {
  width: 100%; /* Make the table full width */
}
.container table td {
  width: 50%; /* Make the td elements full width */
  overflow-wrap: break-word;
  word-wrap: break-word;
}
table th {
  font-size: 15px;
  text-align: center;
}
.links a {
display: inline-block;
margin-right: 10px;
color: black;
text-decoration: none;
font-weight: bold;
margin-bottom: 5px;
margin-top: 0;
font-size: 5px;
}
a.teamname {
color: #B6B5B4;
font-size: 10px;
}
}
@media only screen and (max-width: 600px) {
  .tabs {
    flex-direction: column; /* Stack the tabs vertically */
    align-items: center; /* Center the tabs vertically */
    margin-top: 30%; /* Add top margin */
  }

  .tabs a {
    margin-right: 0; /* Remove the right margin */
    margin-bottom: 10px; /* Add some bottom margin */
  }
}
.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;  /* adjust as needed */
  margin: 100px auto 0;
  width: 50%;
  background-color: rgba(123, 122, 119, 0.8);
  background-repeat: repeat;
  border: 1px solid black;
  padding: 20px;
  border-radius: 0px;
}

.form-container * {
  text-align: center;
}
