:root {
  --inputfieldcolor: #a9a9a94c;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("BG.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background-color: #000000;
  }

.container{
  width: 50%;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center; /* Centers items horizontally */
  align-items: center;
  flex-direction: column;
  background-color: rgba(52, 52, 60, 0.5);
  backdrop-filter: blur(10px);
}


.container form{
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center; /* Centers items horizontally */
    align-items: center;
    flex-direction: column;
    
}

.inputBox{
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
    overflow: hidden;
}

.inputBox input[type="text"]::placeholder,
.inputBox input[type="email"]::placeholder,
.inputBox input[type="number"]::placeholder,
.inputBox input[type="password"]::placeholder {
  color: #000000; /* Desired placeholder color */
}


.inputBox input[type="text"],
.inputBox input[type="email"],
.inputBox input[type="number"],
.inputBox input[type="password"] {
  width: 100%;
  height: 50px;
  border-radius: 5px;
  border: none;
  outline: none;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0px 10px;
  font-size: 16px;
  color: #22ff68;
  background-color:   var(--inputfieldcolor);
  backdrop-filter: blur(10px);
}
.inputBox input[type="number"] {
  width: 100%;
  height: 50px;
  border-radius: 5px;
  border: none;
  outline: none;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0px 10px;
  font-size: 16px;
  color: #22ff68;
  -moz-appearance: textfield; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
}



/* Hide the spinners for different browsers */
.inputBox input[type="number"]::-webkit-inner-spin-button,
.inputBox input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.inputBox input[type="number"]::-moz-number-spin-box {
  -moz-appearance: none;
}

.inputBox input[type="number"]::-ms-inner-spin-button,
.inputBox input[type="number"]::-ms-number-input-box {
  display: none;
}

.inputBox select{
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: none;
    outline: none;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.2);
    padding: 0px 10px;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color:  var(--inputfieldcolor);
    color: black;
    background-image: none; /* Remove default arrow icon */
  }

  select {
    background-image:
      linear-gradient(45deg, transparent 50%, rgb(0, 0, 0) 50%),
      linear-gradient(135deg, rgb(0, 0, 0) 50%, transparent 50%),
      linear-gradient(to right, #ccc, #ccc);
    background-position:
      calc(100% - 20px) calc(1em + 2px),
      calc(100% - 15px) calc(1em + 2px),
      calc(100% - 2.5em) 0.5em;
    background-size:
      8px 8px,
      5px 8px,
      1px 1.5em;
    background-repeat: no-repeat;
  }
  
  select:focus {
    background-image:
      linear-gradient(45deg, #22ff68 50%, transparent 50%),
      linear-gradient(135deg, transparent 50%, #22ff68 50%),
      linear-gradient(to right, #ccc, #ccc);
    background-position:
      calc(100% - 15px) 1em,
      calc(100% - 20px) 1em,
      calc(100% - 2.5em) 0.5em;
    background-size:
      5px 5px,
      5px 5px,
      1px 1.5em;
    background-repeat: no-repeat;
    border-color: #22ff68;
    outline: 0;
  }

.inputBox textarea{
    width: 100%;
    height: 120px;
    border-radius: 5px;
    border: none;
    outline: none;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.2);
    padding: 0px 10px;
    font-size: 16px;
    color: #000000;
}

.inputBox button{
    width: 100%;    
    padding: 3px 20px;
    margin-top: 5px;
    border: none;
    outline: none;
    background: rgb(0, 254, 102);
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    
}
.inputBox h6{
  width: 100%;    
  padding: 10px 20px;
  border: none;
  outline: none;
  background: rgb(0, 254, 102);
  color: #000000;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

.inputBox h5{
  width: 100%;    
  padding: 10px 20px;
  border: none;
  outline: none;
  background: rgb(100, 100, 100);
  color: #fffcfc;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}


.inputBox button:hover{
    background: rgb(0, 255, 38);
    transition: all 0.3s ease;
}
 
::placeholder{
    font-size: 16px;
}

#alert{
    width: 100%;
    background: rgb(255, 0, 0);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    display: none;
}

#alert_log{
  width: 100%;
  background: rgb(255, 0, 0);
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  display: none;
}

img
{
  max-width: 50%;
  max-height: 50%;
  margin: auto;
  display: block;
}

form#Register {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-link {
  margin-top: 20px;
  text-align: center;
}

a{
  text-decoration: none;
  color: #fbfbfb;
  font-size: large;
  font-weight: 400;
}

button:disabled {
  background-color: #666; /* Darker color when disabled */
  cursor: not-allowed; /* Show disabled cursor */
}

button:disabled:hover {
  background-color: #4e4e4e; /* Darker color when disabled */
  cursor: not-allowed; /* Show disabled cursor */
}

footer {
  padding: 10px;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 14px;
  color: #22ff68;
}

#choose_options {
  display: flex;
  justify-content:center ;
  align-items: center;
  flex-direction: row;
}

#Choose {
  width: 200%;
  display: flex;
  flex-direction: column;
}

#Choose a{
  margin: 10px;
  width: 250px;    
  padding: 10px 20px;
  border-radius: 5px;
  outline: none;
  background: rgb(0, 254, 102);
  color: #000000;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

#Choose a i{ 
  padding: 8px;
}



/* Data section */
.data-contain {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: #171b23;
  border: #22ff68 solid 2px;
  border-radius: 10px;
  justify-content: flex-start;
  align-items: center;
  padding: 15px;
  margin-bottom: 20px;
}

#DataShow-Div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px;
}
.data-contain .big-icon {
  color: #22ff68;
  padding: 10px;
  margin-right: 30px;
  
}

.data-contain .data-child-contain {
  display: flex;
  flex-direction: column;
}

.data-contain .data-child-contain h2 {
  color:#22ff68;
}

.data-contain .data-child-contain h4 {
  color: rgb(220, 220, 220);
}

.data-contain  .letterspacex {
  letter-spacing: .2rem;
}

.data-contain a {
  margin-left: auto;
  font-size: xx-large;
  font-weight: bolder;
}

#Leaderboard  h1{
  color: #fffcfc;
  font-size:xxx-large;
  text-align: center;
  padding: 20px;
}

.sign-out {
  margin: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ff342d;
  border-radius: 10px;
  cursor: pointer;
}
@media (max-width: 1023px) {
    body {
      background-size: auto;
    }
    .container{
        width: 80%;
        padding: 20px;
        border-radius: 20px;
        box-shadow:  0px 5px 25px rgba(0,0,0,0.2);
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
    }

    #choose_options {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-direction: column;
    }

    .data-contain {
      display: flex;
      flex-direction: column;
      width: 100%;
      background-color: #171b23;
      border: #22ff68 solid 2px;
      border-radius: 10px;
      justify-content: center;
      align-items: center;
      padding: 15px;
      margin-bottom: 20px;
      overflow: auto;
    }

    .data-contain .big-icon {
      color: #22ff68;
      font-size: xx-large;
      align-self: center;
      margin: 0px;
    }

    .data-contain a {
      font-size: large;
      font-weight: bolder;
      align-self: center;
      margin-top: 20px;
      text-align: center;
    }



    .data-contain .data-child-contain h2 {
      font-size: 1em;
      text-align: center;
    }

    .data-contain .data-child-contain h4 {
      font-size: 0.8em;
      text-align: center;
    }


    #DataShow img {
      width: 200vh !important;
    }
  }