@font-face {
    font-family: poppins-bold;
    src: url(../assets/font/Poppins-Bold.ttf);
}

@font-face {
    font-family: poppins;
    src: url(../assets/font/Poppins-Regular.ttf);
}

*{
    font-family: poppins;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #f2f2f2;
    overflow: hidden;
    
}

.container1{
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.container1 .inner{
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    width: 100%;
    padding: 90px 0;
}

.container1 .inner::before{
    content: '';
    background-color: #002C5C;
    width: 100%;
    height: 380px;
    top: 0;
    position: absolute;
    z-index: -10;
    border-radius: 0 0 50% 50%/ 0 0 100% 100%;
    transform: scalex(1.5);
}

.container1 .school{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.container1 .school h1{
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.container1 .school #school-name{
    font-size: 17px;
    margin-bottom: 5px;
    text-align: center;
}

#label{
    font-size: 16px;
    text-align: center;
    color: white;
}

.container1 .school img{
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.container1 form{
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 25px 25px;
    box-sizing: border-box;
    width: 380px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: -1px 5px 8px rgb(179, 178, 178);
    z-index: 10;
}

.container1 form span{
    color: #0B2447;
    font-weight: bold;
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.container1 form input{
    background-color: #E2E2E2;
    border: none;
    padding: 6px 8px;
    outline: none;
    margin: 10px 0;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #545454;
    width: 100%;
}

.container1 form input[type="email"]::placeholder, input[type="password"]::placeholder, input[type="text"]::placeholder{
    font-weight: 600;
    font-size: 13px;
    padding: 5px;
}

.container1 .password{
    position: relative;
    display: flex;
    align-items: end;
    flex-direction: column;
}

.container1 .password img{
    top: 0;
    right: 0;
    margin-top: 18px;
    margin-right: 8px;
    width: 20px;
    position: absolute;
    cursor: pointer;
}

.container1 .password a{
    text-decoration: none;
    font-size: 12px;
    color: #545454;
    font-weight: 600;
    margin-top: -5px;
}

.container1 button{
    background-color: #002C5C;
    border: none;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px;
    border-radius: 5px;
    margin-top: 15px;
    transition: 0.3s;
    cursor: pointer;
    font-size: 14px;
}

.container1 button:hover{
    background-color: #35155d;
}

.container1 .remember{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.container1 label{
    display: inline-block;
    color: #545454;
    font-weight: 600;
    margin-left: 10px;
    font-size: 12px;
}

.container1 input[type='checkbox']{
    display: grid;
    place-content: center;
    appearance: none;
    height: 16px;
    width: 16px;
    background-color: #E2E2E2;
    cursor: pointer;
}

.container1 input[type="checkbox"]::before{
    content: "";
    width: 12px;
    height: 12px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #002C5C;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.container1 input[type="checkbox"]:checked::before{
    transform: scale(0.9);
}

.credits{
    text-align: center;
    font-size: 11px;
    color: gray;
    margin-top: 40px;
}

@media only screen and (min-width: 768px) {
    .container1 .school #school-name{
        font-size: 20px;
    }

    .container1 form{
        margin-top: 30px;
    }

    .container1 .password img{
        width: 25px;
        margin-top: 16px;
    }
}

@media only screen and (max-width: 767px) {    
    .container1 form{
        width: 330px;
    }
}

.container1 .message{
    width: 100%;
    height: 40px;
    display: flex;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 10px;
    background-color: #F09597;
    color: #4F1C1E;
    font-size: clamp(0.75rem, 0.5711rem + 0.5725vw, 0.875rem); /* 12px */
}

a:hover{
    text-decoration: underline;
}


/* login form for teachers and admin */

body{
    overflow: hidden;
}
.container2{
    display: none;
    background-color: #1f3453;
    height: 100vh;
}

.container2 .picture{
    width: 85%;
    height: 100vh;
}

.container2 .login-form{
    height: 100%;
    width: 35%;
    background-color: #1f3453;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: -40px;
    padding-right: 40px;
}

.container2 .login-form::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 90%;
    background-color: #1f3453;
    top: 0;
    left: 0;
    right: 0;
    margin-left: -80px;
    border-radius: 80% 0 0 50%/100% 0 0 100%;
    transform: scaleY(1.3);  
}

.container2 .login-form .school{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    z-index: 100;
}

.container2 .login-form .school h1{
    display: block;
    color: #ffff;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
}

.container2 .login-form .school .name{
    font-size: 18px;
    margin-bottom: 5px;
    text-align: center;
}

.container2 .login-form .school img{
    border-radius: 50%;
    width: 115px;
    height: 115px;
    object-fit: cover;
    margin-bottom: 20px;
}

.container2 .login-form img{
    width: 50px;
}

.container2 form{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    z-index: 100;
    width: 100%;
}

.container2 form .email{
     width: 90%;
}

.container2 form .password{
    position: relative;
    width: 100%;
}

.container2 form .password img{
    width: 30px;
    position: absolute;
    margin-left: -40px;
    cursor: pointer;
    margin-top: 4px;
}

.container2 input[type="email"]{
    background-color: #E2E2E2;
    height: 40px;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 23px;
    padding: 10px;
    outline: none;
    font-weight: 700;
    color: #545454;
    border: none;
}

.container2 input::placeholder{
    font-weight: 600;
    font-size: 14px;
    padding: 5px;
}

.container2 form input[type="password"], .container2 input[type='text']{
    background-color: #E2E2E2;
    height: 40px;
    border-radius: 8px;
    width: 100%;
    padding: 10px;
    outline: none;
    font-weight: 700;
    color: #545454;
    border: none;
}

.container2 form .forgot{
    text-align: right;
    width: 100%;
    margin: 8px 0;
}

.container2 form a{
    text-decoration: none;
    color: #D9D9D9;
    font-weight: 600;
    font-size: 14px;
}

.container2 form a:hover{
    text-decoration: underline;
}

.container2 form button{
    width: 100%;
    background-color: #64399A;
    border: none;
    border-radius: 8px;
    padding: 7px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    margin-top: 12px;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.container2 form button:hover{
    background-color: #4e7db0;

}

.container2 .remember{
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.container2 .remember label{
    margin-top: 1px;
}

.container2 label{
    display: inline-block;
    margin-top: 4px;
    color:  #D9D9D9;
    font-weight: 600;
    margin-left: 10px;
}

.container2 input[type='checkbox']{
    display: grid;
    place-content: center;
    appearance: none;
    height: 18px;
    width: 18px;
    background-color: #E2E2E2;
    cursor: pointer;
    border-radius: 2px;
}

.container2 input[type="checkbox"]::before{
    content: "";
    width: 15px;
    height: 15px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #1f3453;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  }

  .container2 input[type="checkbox"]:checked::before{
    transform: scale(0.9);
  }

  .container2 .message{
    z-index: 100;
    width: 80%;
    height: 40px;
    display: flex;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: -20px;
    background-color: #F09597;
    color: #4F1C1E;
    font-size: 15px;
  }

  /* @media screen and (min-width: 768px) and (max-width: 1023px){
    .container1{
        display: none;
    }

    .container2{
        display: flex;
    }
} */

@media screen and (min-width: 1279px) {
    .container1{
        display: none;
    }

    .container2{
        display: flex;
    }
}

@media screen and (min-width: 1336px) {
    .container2 form{
        width: 80%;
    }
}