* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "PT Sans", sans-serif;
}

.navbar {
  background: #131313;
  height: 80;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  height: 80px;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}

.navbar__container img {
object-fit: cover;
border-radius: 0%;
}

#navbar__logo {
  background-color: #ff1877;
  background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 2rem;
}

.fa-gem {
  margin-right: 0.5 rem;
}

.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
  text-align: center;
}

.navbar__item {
  height: 60px;
}

.navbar__links {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 1rem;
  height: 100%;
}

.navbar__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  width: 100%;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 10px 20px;
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 4px;
  background: #f77062;
  color: #ffffff;
}

.button:hover {
  background: #4837ff;
  transition: all 0.3s ease;
}

.navbar__links:hover {
  color: #f77062;
  transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
  .navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0;
  }

  .navbar__menu {
    display: grid;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -1000px;
    opacity: 0;
    transition: all 0.5s ease;
    height: 50vh;
    z-index: -1;
    background: #131313;
  }

  .navbar__menu.active {
    background: #131313;
    top: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 99;
    height: 59vh;
    font-size: 1.4rem;
  }

  #navbar__logo {
    padding-left: 25px;
  }

  .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: #ffffff;
  }

  .navbar__item {
    width: 100%;
  }

  .navbar__links {
    text-align: center;
    padding: 2rem;
    width: 100%;
    display: table;
  }

  #mobile-menu {
    position: absolute;
    top: 20%;
    right: 5%;
    transform: translate(5%, 20%);
  }

  .navbar__btn {
    padding-bottom: 2rem;
    padding-top: 1rem;
  }

  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 60px;
    margin: 0;
  }

  .navbar__toggle .bar {
    display: block;
    cursor: pointer;
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* registration and sign in box */


body{
  position: relative;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background: #131313; 
  height: 100vh;

}

.center{
  width: 90%;
  max-width: 500px;
  background: #131313;
  border-radius: 4px;
  position: relative;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* Center the text */
}

.message{
  width: 90%;
  max-width: 500px;
  background: #131313;
  /*background: white;*/
  border-radius: 4px;
  position: relative;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  color: #adadad;
}

.message form{
  padding: 0 0px;
  box-sizing: border-box;
}

.center h1{
  text-align: center;
  padding: 10px 0 10px 0;
  /* border-bottom: 1px solid silver; */
  color: #f77062;
}

.center form{
  padding: 0 40px;
  box-sizing: border-box;
}

form .txt_field{
  position: relative;
  border-bottom: 2px solid #adadad;
  margin: 30px 0;
}

.txt_field input{
  width: 100%;
  padding: 0 5px;
  height: 40px;
  font-size: 16px;
  border: none;
  background: none;
  outline: none;
  color: #adadad;
}

.message .txt_field input{
  width: 100%;
  padding: 0 5px;
  height: 40px;
  font-size: 16px;
  border: none;
  background: none;
  outline: none;
    color: #adadad;
}

.txt_field label{
  position: absolute;
  top: 50%;
  left: 5px;
  color: #adadad;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
}

.txt_field span::before{
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 0px;
  height: 2px;
  background: #b0a8ff;
  transition: .5s;
}

.txt_field input:focus ~ label,
.txt_field input:valid ~ label{
  top: -5px;
  color: #b0a8ff;
}

.txt_field input:focus ~ span::before,
.txt_field input:Valid ~ span::before{
  width: 100%;
}

.pass{
  margin: -5px 0 20px 5px;
  color: #a6a6a6;
  cursor: pointer;
}

.pass:hover{
  text-decoration: underline;
}

input[type="Submit"]{
  width: 100%;
  height: 50px;
  border: 1px solid;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  background: #f77062;
  color: #ffffff;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

input[type="Submit"]:hover{
  background: #4837ff;
  transition: all 0.3s ease;
}

.signup_link{
  margin: 30px 0;
  text-align: center;
  font-size: 16px;
  color: #666666;
}

.signup_link a{
  color: #4837ff;
  text-decoration: none;
}

.signup_link a:hover{
  text-decoration: underline;
}

.HomeAbout{
  width: 100vw;
  height: 25vh;
}


/* main section Css */
.main {
  background-color: #141414;
}

.main__container {
  position: relative;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  text-align: center;
  height:60px;
  background-color: #141414;
  width: 100%;
  padding: 0 0px;
  max-width: 1200px;
  margin: 0 auto;
}



.main__btn {
  font-size: 0.9rem;
  background-image: linear-gradient(to top, #f77062 0%, #fe5196 100%);
  padding: 14px 5px;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  margin-top: 1.5rem;
  cursor: pointer;
  position: relative;
  transition: all 0.35s;
  outline: none;
  width: 22%;
  font-weight: bold;
}

.main__btn a {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-decoration: none;
}

.main__btn:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #4837ff;
  transition: all;
  border-radius: 4px;
}

.main__btn:hover {
  color: #ffffff;
}

.main__btn:hover:after {
  width: 100%;
}


/*Intermediate Links Css */
.int__container {
  position: relative;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  text-align: center;
  height:100px;
  background-color: transparent;
  width: 100%;
  padding: 0 0px;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

.int__container p {
    margin-top: 1.7rem;
    font-size: 0.9rem;
}

.upcoming_info p {
  text-align: center;
align-items: center;
justify-content: center;
    font-size: 1rem;
    color: #ffffff;
}

.upcoming_info a { 
text-decoration: none; 
color: #f77062;
font-weight: bold;
}

.upcoming_info a:hover { 
text-decoration: underline; 
color: #f77062;
font-weight: bold;
}

.table__container a { 
text-decoration: none; 
color: #f77062;
font-weight: bold;
}

.int__btn {
  font-size: .8rem;
  padding: 14px 5px;
  background-color: #131313;
  margin-top: 1.5rem;
  cursor: pointer;
  position: relative;
  transition: all 0.35s;
  outline: none;
  width: 19%;
  border: none;
  font-weight: bold;
}

.int__btn a {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-decoration: none;
}

.int__btn:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #131313;
  transition: all;
  border-radius: 4px;
}

.int__btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

.int__btn:hover:after {
  width: 100%;
}

/* Table section Css */
/* Center the table horizontally on the page */
.table-wrapper {
display: flex;
justify-content: center;
align-items: center;
height: 400px;
}

/* Define the table container with fixed height and scrollable content */
.table-container {
position: absolute;
top: 90px;
height: 400px;
width: 95%;
overflow: auto;
text-align: center;
align-items: center;
justify-content: center;
max-width: 1200px;
}

/* Style the table header */
table thead {
background-color: #1f2933;
color: #b0a8ff;
} 

.table-container table {
width: 100%;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
border: none;
}

img {
border-radius: 50%;
object-fit: cover;
}


.table-container-scores a { 
text-decoration: none; 
color: #f77062;
font-weight: bold;
}

.table-container-scores a:hover { 
text-decoration: underline; 
color: #f77062;
font-weight: bold;
}


/* Style the table cells */
table th, table td {
text-align: center;
table-layout: fixed;
padding: .4rem;
}

/* Style alternating rows for better readability */
tbody tr:nth-child(even) {
background-color: #3a495a;
color:#fff;
}

tbody tr:nth-child(odd) {
background-color: #26333d;
color:#fff;
}




.table-container-event {
position: relative;
width: 100%;
margin-left: auto;
margin-right: auto;
overflow: auto;
text-align: center;
align-items: center;
justify-content: center;
max-width: 1200px;
}

.table-container-event a {
  color: #ffffff;
  text-decoration: none;
}

.table-container-event a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.table-container-event table thead {
background-color: #26333d;
}

.table-container-event table {
position: relative;
width: 95%;
max-width: 800px;
align-items: center;
justify-content: center;
margin-left: auto;
margin-right: auto;
border-spacing: 0;
border-collapse: separate;
border-radius: 0px 0px 5px 5px;
border-left: 2px solid #26333d;
border-right: 2px solid #26333d;

}

.table-container-event th:nth-child(1) {
  width: 12%;
  }

.table-container-event th:nth-child(2) {
  width: 28%;
  }

.table-container-event th:nth-child(3) {
  width: 20%;
  }

  .table-container-event th:nth-child(4) {
  width: 20%;
  }

   .table-container-event th:nth-child(5) {
  width: 20%;
  }

/* Create a container to have the player information inside of*/

.table-container-players {
width: 100%;
margin-left: auto;
margin-right: auto;
overflow: auto;
text-align: center;
align-items: center;
justify-content: center;
max-width: 1200px;
}

.table-container-scores table {
position: relative;
width: 95%;
max-width: 800px;
align-items: center;
justify-content: center;
margin-left: auto;
margin-right: auto;
border-spacing: 0;
border-collapse: separate;
}

.table-container-scores table thead {
background-color: #1f2933;
color: #b0a8ff;
padding: .2rem;
}

/* Style the table cells */
.table-container-scores table th, table td {
text-align: center;
table-layout: fixed;
padding: .2rem;
}

/* Style alternating rows for better readability */
.table-container-scores tbody tr:nth-child(even) {
background-color: #3a495a;
padding: .2rem;
color: #ffffff;
}

.table-container-scores tbody tr:nth-child(odd) {
background-color: #26333d;
padding: .2rem;
color: #ffffff;
}


/* Table container for the splitters */

.table-container-intermediate {
width: 100%;
margin-left: auto;
margin-right: auto;
overflow: auto;
text-align: center;
align-items: center;
justify-content: center;
max-width: 1200px;
text-transform: uppercase;
}

.table-container-intermediate table {
position: relative;
width: 95%;
max-width: 800px;
align-items: center;
justify-content: center;
margin-left: auto;
margin-right: auto;
border-spacing: 0;
border-collapse: separate;
border-radius: 5px 5px 0px 0px;
border-left: 2px solid #1f2933;
border-right: 2px solid #1f2933;
}

.table-container-intermediate table thead {
background-color: #1f2933;
color: #f77062;
}

/* Active Event*/
.table-container-event-active {
position: relative;
width: 100%;
margin-left: auto;
margin-right: auto;
overflow: auto;
text-align: center;
align-items: center;
justify-content: center;
max-width: 1200px;
}

.table-container-event-active a {
  color: #ffffff;
  text-decoration: none;
}

.table-container-event-active  a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.table-container-event-active table thead {
background-color: #26333d;
}

.table-container-event-active  table {
position: relative;
width: 95%;
max-width: 800px;
align-items: center;
justify-content: center;
margin-left: auto;
margin-right: auto;
border-spacing: 0;
border-collapse: separate;
border-radius: 0px 0px 0px 0px;
border-left: 2px solid #26333d;
border-right: 2px solid #26333d;
}

.table-container-event-active th:nth-child(1) {
  width: 12%;
  }

.table-container-event-active  th:nth-child(2) {
  width: 28%;
  }

.table-container-event-active  th:nth-child(3) {
  width: 20%;
  }

  .table-container-event-active th:nth-child(4) {
  width: 20%;
  }

  .table-container-event-active th:nth-child(5) {
  width: 20%;
  }

  /*Active Event Splitters*/
  .table-container-intermediate-active {
width: 100%;
margin-left: auto;
margin-right: auto;
overflow: auto;
text-align: center;
align-items: center;
justify-content: center;
max-width: 1200px;
text-transform: uppercase;
}

.table-container-intermediate-active table {
position: relative;
width: 95%;
max-width: 800px;
align-items: center;
justify-content: center;
margin-left: auto;
margin-right: auto;
border-spacing: 0;
border-collapse: separate;
border-radius: 0px 0px 0px 0px;
border-left: 2px solid #1f2933;
border-right: 2px solid #1f2933;
}

.table-container-intermediate-active table thead {
background-color: #1f2933;
color: #f77062;
}


/* Increase file input size */
input[type="file"] {
    font-size: 18px;
        align-items: center;
        justify-content: center;
}

/* Increase image preview size */
.profile-preview {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #333;
        align-items: center;
        justify-content: center;
}

