
/* Base styles (Mobile First approach) */
body {
    font-size: 16px;
    /* Add your base styles here */
  }

.error{
  position: absolute;
  top: 0px;
  text-align: center;
  background-color: red;
  padding: 1em;
}

  /* index Styling */
  #index{
    background: #393A7B;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2em;  /*Check on it later */
  }

  #container-index{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    margin: 0;
    width: 100%;
    max-width: 100%;
    gap: 1rem;
    height: 100vh;
    margin: 0;
    overflow: hidden; 
    background: #6C63FF;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 3.188em;
    z-index: 0;

  }

  .hero-img{
      background:#ffffff;
      grid-column: 1/2;
      border-radius: 51px 0 0 51px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
  }

  .hero-img img{
      position: relative;
      width: 100%;
  }

  /*Styles the header file*/
  .header {
    display: none;
  }

.log_signup-section{
  grid-column: 2/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2em;

  }
  
.log_signup-section p{
  margin: 1em 0; 
  color: #ffffff;
  font-family: 'Source code Pro' monospace;
  text-transform: uppercase;
  text-align: center;
}

/* Ensure links don't interfere with button styling */
.log_signup-section a {
  text-decoration: none;
  display: inline-block;
}

  
/* Button Styles */
.signupBtn, .loginBtn {
  display: inline-block;
  width: 286px;
  padding: 15px 0;
  text-align: center;
  font-size: 1.5em;
  font-family: 'Source Code Pro', monospace;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  z-index: 2;
}




.signupBtn {
  background: #F29A2E;
  color: #ffffff;
  border: none;
}

.loginBtn {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #FFFFFF;
}

.signupBtn:hover {
  background: #e08518;
}

.loginBtn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#bottom{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  /* background-color: red; */
  /* clip-path: url(#bottomClip); */
}

/* Login Page Styling */
#container-login {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  height: 100vh;
  width: 100%;
  margin: 0;
  /* padding: 2rem; */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; 
  background: linear-gradient(180deg, #1E6CB4 25.96%, #393A7B 111.57%);
  background-attachment: fixed;
  overflow: hidden; 
  z-index: 0;
}

.login_img {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1E6CB4;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
  border-radius: 10px; 
}

.login_img img {
  max-width: 100%; 
  height: auto;
  padding: 1rem;  
}

/* 
.login_img img {
  display: block;
  width: 10px;
} */

.login_form {
  display: flex;
  /* justify-content: center; */
  padding-left: 3rem;
  align-items: center;
}

.login_img,
.login_form {
  position: relative;
  z-index: 2;
}

.login_form > div {
  /* margin-top: 2em; */
  
}

.login_form h2 {
  font-family: 'Source Code Pro';
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
  text-transform: uppercase;
  text-align: center;
  color: #FFFFFF;
  margin-bottom: 2em;
}

.input_field {
  width: 100%;
  height: 1.5em;
  background-color: rgba(255, 255, 255, 0);
  border-bottom: 2px solid #fff;
  padding: 0.5em;
  margin: 0.5em 0;
  font-family: 'Source Code Pro';
  color: #fff;
  font-size: 1.5rem;
}

.btn {
  width: 100%;
  max-width: 286px;
  height: 57px;
  background-color: rgba(255, 255, 255, 0);
  font-size: 1.5em;
  font-weight: 600;
  font-family: 'Source Code Pro';
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  text-align: center;
  border: 2px solid #FFFFFF;
  border-radius: 10px;
  padding: 10px;
  margin: 1em 0;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.input_field,
.btn,
.login_form form > a {
  position: relative;
  z-index: 2;
}

.login_form form > label {
  font-family: 'Source Code Pro', monospace;
  font-size: 1.25rem;
  color: #fff;
  display: block;

}

.login_form form > a {
  font-size: 1rem;
  font-family: 'Source Code Pro', monospace;
  color: #fff;
  text-decoration: none;
  display: block;
  text-align: center;
  margin-top: 1rem;
}

.login_form form > a:hover {
  color: #F29A2E;
}

/* Style for SignUp Form */


#contianer-signup{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  margin-right: 20em;
  padding: 1rem;
  position: relative;
  background: linear-gradient(180deg, #1E6CB4 25.96%, #393A7B 111.57%);
  background-attachment: fixed;
  overflow-y: auto;
}

.signup_img {
  display: none;
}

.signup_form {
  padding: 1rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

#signup_form {
  width: 100%;
}

.input_field {
  width: 100%;
  padding: 0.8em;
  margin-bottom: 1em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: #FFFFFF;
  font-size: 1rem;
}

#signup_form select {
  width: 100%;
  padding: 0.8em;
  margin-bottom: 1em;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: 'Source Code Pro';
  font-size: 1rem;
  border-radius: 8px;
}

.signup_form h1 {
  color: #ffffff;
  font-family: 'Source Code Pro', monospace;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.signup_form h3 {
  color: #ffffff;
  font-family: 'Source Code Pro', monospace;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: center;
}


/* #signup{
    overflow: hidden;
} */

.signupBtn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #F29A2E;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.signupBtn:hover {
  background-color: #d88519;
}

.signup_img{
  display: flex;
  justify-content: center;
  grid-column: 1/2;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25); 
}

.signup_img img{
  margin: auto auto;
}

.signup_form{
  grid-column: 2/3;
  margin: 0 auto;
}

.signup_form > div{
  margin-top: 3em;
}

.btn_signup{
  width: 100%;
  max-width: 286px;
  height: 57px; 
  background-color: #F29A2E;
  font-size: 1.2em;
  font-weight: 600;
  font-family: 'Source Code Pro';
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 0.2em;
}

.signup_form form > label{
  font-family: 'Source Code Pro';
  font-size: 1.5rem;
  color: #fff;  
}

.signup_form form > a{
  font-size: 16px;
  font-family: 'Source Code Pro';
  color: #fff;
  text-decoration: none;
}

.signup_form form > a:hover{
  color: #F29A2E;
}
.signup_form div h1{
  font-family: 'Source Code Pro';
font-style: normal;
font-weight: 600;
font-size: 36px;
line-height: 45px;
text-transform: uppercase;
color: #ffffff;
}

.signup_form div h3{
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 30px;
  text-transform: uppercase;
  color: #fff;
}

form select option{
  font-size: 25px;
}

#signup_form > select{
  background-color: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: 'Source Code Pro';
  font-size: 1.5rem;
  width: 13.5em;
  height: 2em;
  padding: 0.5em;
  border-radius: 8px;
}
#signup_form > select option{
  background-color: #6C63FF;
}
 
  /* Small devices (landscape phones, 360px and up) */
  @media screen and (min-width: 22.5em) {
    body {
      
      font-size: 16px;
    }

    .log_signup-section{
      width: 100%;
      padding: 1.5em 0;
      box-sizing: border-box;
    }

    #top {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%; /* Use viewport width */
      height: 15em;
      z-index: 2;
      background-color: #393A7B;
      clip-path: url(#topClip);
    }

    #top .title-center h1{
      font-size: 18px;
      color: #fff;
  
    }


    .hero-img img:first-child{
        display: none;
    }
    
    .hero-img img:last-child{
        display: block;
        width: 100%;
    }

    .hero-img{
      grid-column: 1/-1;
      grid-row: 1/2;
      border-radius: 51px 51px 0 0;
      /* padding: 1em; */
    }

    .log_signup-section{
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      
      grid-column: 1/-1;
      grid-row: 2/3;
      padding: 1.5em;
    }

    .log_signup-section .login{
      color: #fff;
    }

    .signupBtn, .loginBtn {
      width: 240px;
      font-size: 1.2em;
      z-index: 2;
  }

  .log_signup-section p {
    margin: 1rem 0;
    font-size: 1em;
}
  /* Signup Form Mobile Style */

    .signup_img{
      display: none;
    }

    .signup_form{
      padding: 1rem; 
      width: 100%;
      max-width: 100%;
      /* margin: 0 auto; */
      margin-right: 10rem;
    }

    .input_field {
      width: 100%;
   
    }
  
    /*Styles the header file*/
    .header {
      display: none;
    }

    /* Styles for login.php on small devices */    
    #container-login {

  }

  .login_img img {
      display: block;
      width: 40%;
  }

  .login_form {
      /* grid-column: 1/-1;
      grid-row: 2/3;
      padding: 1.5em; */
  }

    
    /* End of Small devices */
  }
  
  /* Medium devices (tablets, 768px and up) */
  @media screen and (min-width: 48em) {
    body {
      font-size: 17px;
    }

    #index {
      padding-bottom: 2em;  /* Smaller padding for smaller screens */
    }

    #
    
    #container-index {
        min-height: 300px;
    }


    #top {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw; /* Use viewport width */
      height: 25em;
      z-index: 2;
      background-color: #393A7B;
      clip-path: url(#topClip);
    }

    
    #top .title-center h1{
      font-size: 25px;
      color: #fff;
  
    }

    #container-index {
        margin: 0.5em;
        border-radius: 51px;
    }

    .hero-img {
        border-radius: 2em 2em 0 0;
    }

    .signup_form {
      padding: 2rem;
    }
  
    .input_field, #signup_form select {
      font-size: 1.1rem;
    }
  
    .btn_signup {
      font-size: 1.4em;
    }

    .signupBtn, .loginBtn {
        width: 200px;
        font-size: 1em;
        padding: 12px 0;
        z-index: 2;
    }

    /* styles for login.php on Medium devices */
    #container-login {
      /* grid-template-columns: 1fr 1fr;
      gap: 2rem; */
      }

  .login_img img{
      width: 50%;
      margin: 0 auto;
      }

  .login_form {
      padding-left: 17rem; 
      }
    
  }
  
  /* Large devices (desktops, 992px and up) */
  @media screen and (min-width: 62em) {
    body {
      font-size: 18px;
    }

    #bottom{
      display: none;
    }

        #container-index .hero-img img:first-child{
        display: block;
        width: 100%;
    }
    #container-index .hero-img img:last-child{
        display: none;
    }
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      display: grid;
      width: 100%;
      z-index: 10;
      background-color: #393A7B; 
    }
    #top{
      display: none;
    }
    #container-index{
      background: #6C63FF;
      grid-template-rows: 1fr;
      margin: 4em;
      width: 90%;
    }

    .hero-img{
      background: #fff;
      border-radius: 51px 0 0 51px;
      width: 100%;
      grid-column: 1/2;
      grid-row: 1/2;
    }

    .log_signup-section{
      grid-column: 2/3;
      grid-row: 1/2;
      
    }  

    /* Sign UP Form Desktop */
    #contianer-signup{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      min-height: 100vh;
      width: 100%;
      margin: 0;
      margin-top: 5em;
      padding: 2rem;
      position: relative;
      background: linear-gradient(180deg, #1E6CB4 25.96%, #393A7B 111.57%);
      background-attachment: fixed;
      overflow-y: auto;
    }


    .signup_img img{
      display: block;
      width: 70%;
      height: auto;
      /* max-width: 100%; */
    }

    .signup_img {
      display: flex;
      justify-content: center;
      align-items: center;
      background: #1E6CB4;
      box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
      border-radius: 10px;
    }

    .signup_form {
      padding: 2rem;
      max-width: 600px;
    }


     /*edit propic and username style*/
    .image-container {
      display: grid;
      grid-template-columns: 2fr;
      gap: 1em;
      width: 10em;
      padding: 1em;
    }

    #proImage{
      grid-column: 1/2;
      width: max-content;
      text-align: center;
      background-color: #514e7f;
      border-radius: 50%;
    }
    .usrID{
      grid-column: 2/3;
    }

    .editProTop h1{
      color: #000;
    }

    .editProTop {
      grid-area: Profile;
      background: #D0CDE1;
      max-width: 1920px;
      margin: 1em;
      border-radius: 8px;
    }
  
  
  .editProBottom {
      grid-area: details;
      background-color: #514E7F;
      max-width: 1920px;
      height: 0 auto;
      margin: 1em;
      border-radius: 8px;
      padding: 2em;
    }

    .editProBottom form{
      display: grid;
      background: #514E7F;
      grid-template-columns: 2fr;
      grid-template-rows: 2fr;
      gap: 1.5em;
      width: max-content;
      padding: 0.5em;
      border-radius: 5px;
    }

    .editProBottom form input{
      margin-bottom:0.5em ;
    }

    .editProBottom form select{
      font-size: 1em;
      margin-bottom: 0.5em;
      width: max-content;
      padding: 0.5em;
      border-radius: 5px;
    }

    .memberDetails{
      grid-column: 1/2;
      grid-row: 1/2;
      
    }

    .parentDetails{
      grid-column: 2/3;
      grid-row: 1/2;
      
    }

    .memberDetails h1{
      color: #fff;
      background-color:  #393A7B;
      width: max-content;
      padding: 0.5em;
      font-weight: 500;
      border-radius: 5px;
    }
    .parentDetails h1{
      color: #fff;
      background-color:  #393A7B;
      width: max-content;
      padding: 0.5em;
      font-weight: 500;
      border-radius: 5px;
    }

    .passEdit{
      grid-column: 1/3;
      grid-row: 2/3;
    }
    
  .passEdit{
    position:relative;
    background: #D0CDE1;
    border-radius: 10px;
    margin: 1em;
    padding: 1em;
  }
  .passEdit :nth-child(1){
    color: #6c63ff;
    font-family: Source Code Pro;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 15px;
  }

  .passEdit input{
    width: 360px;
    height: 39px;
    background: #514e7f;
    border-radius: 5px;
    -webkit-box-shadow: inset 0px 0px 30px 2px rgba(47,46,65,0.4);
    -moz-box-shadow: inset 0px 0px 30px 2px rgba(47,46,65,0.4);
    box-shadow: inset 0px 0px 30px 2px rgba(47,46,65,0.4);
    /*Font*/
    padding: 0.5em;
    color: #f2f2f2;
    font-family: Source Code Pro;
    font-size: 15px;
    font-weight: 500;
  }

  .passEdit :nth-child(4){
    position:absolute;
    top: 70px;
    right: 25px;
    padding: 5px 22px;
    width: 131px;
    height: 43px;
    background: #f29a2e;
    border-radius: 10px;

    color: #ffffff;
    font-family: Source Code Pro;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
  }
    /* User list styling */
  /* #userlist{

  } */
   /* Styles for login.php on large devices */
   #container-login {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 9rem;
   }

.login_img {
    grid-column: 1/2;
    }

    
  .login_img img {
    display: block;
    width: 60%;
}

.login_form {
    justify-content: center;
    padding-left: 0;
    }

    /* Add your styles for large devices here */
  }
  
  /* Extra large devices (large desktops, 1200px and up) */
  @media screen and (min-width: 75em) {
    body {
      font-size: 19px;
    }
    /* index styling */
 
    log_signup-section{
      margin-top: auto;
    }

    #container-index .hero-img img:first-child{
        display: block;
        width: 100%;
    }
    #container-index .hero-img img:last-child{
        display: none;
    }
    .header {
      display: grid;
      z-index: 10;
    }
    #top{
      display: none;
    }
    #container-index{
      background: #6C63FF;
      grid-template-columns: 50% auto;
      grid-template-rows: 1fr;
      margin-top: 10em;
    }

    .hero-img{
      background: #fff;
      border-radius: 51px 0 0 51px;
      width: 100%;
      grid-column: 1/2;
      grid-row: 1/2;
    }

    .log_signup-section{
      grid-column: 2/3;
      grid-row: 1/2;
      
    }  

    /* Sign UP Form Large Desktop */
    #contianer-signup {
      max-width: 100%;
      margin: 5em auto;
    }
    /* Settings Form Styling */
    


   /* Styles for login.php on extra large devices */
    #container-login {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 9rem;
  
    }

    .login_img {
          grid-column: 1/2;
    }

    .login_form {
         
    }

  }
  
  /* Extra extra large devices (TV, 1400px and up) */
  @media screen and (min-width: 87.5em) {
    body {
      font-size: 20px;
    }

    /* Styles for login.php on large devices */
    #container-login {
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-top: 9rem;
  }

  .login_img {
      /* grid-column: 1/2;
      border-radius: 10px; */
  }

  .login_form {
    
  }
  .header {
    display: grid;
    z-index: 10;
  }

    /* Add your styles for extra extra large devices here */
  }
