@font-face {
    font-family: "Poppins-Bold";
    src: url(../fonts/Poppins-Bold.ttf);
}

@font-face {
    font-family: "Poppins-Regular";
    src: url(../fonts/Poppins-Regular.ttf);
}

@font-face {
    font-family: "Poppins-Medium";
    src: url(../fonts/Poppins-Medium.ttf);
}

@font-face {
    font-family: "Poppins-Light";
    src: url(../fonts/Poppins-Light.ttf);
}

@font-face {
    font-family: "Poppins-Light-Italic";
    src: url(../fonts/Poppins-LightItalic.ttf);
}

*{
    box-sizing: border-box;
}

body{
    /* width: 100vw; */
    /* height: 100vh; */
    background: url(../img/background-widescreen.png) ;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: "Poppins-Regular";
}

.master-container{
    width: 99vw;
    height: 98vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container{
    width: 70vw;
    /* height: 70vh;  */
    background: #F5F6FA;
    box-shadow: 0px 54px 94px 0px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
    border-radius: 10px;
}

.register-heading{
    font-family: "Poppins-Regular";
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: normal; 
    color: rgba(17, 17, 17, 0.9);
}

.logo{
    width: 208px;
    aspect-ratio:initial;
}

.signup-form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}


.signup-field{
    width: 498px;
    height: 60px; 
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    font-family: "Poppins-Regular";
    font-size: 16px;
    padding: 0.5rem;
}

.signup-register-button{
    width: 498px;
    height: 60px; 
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #0CAFFF; 
    font-family: "Poppins-Bold";
    color: white;
    font-size: 20px;
}

.school-name-container{
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 5vw;
}

.school-name-heading{
    font-family: "Poppins-Regular";
    font-size: 20px;
}

.school-name{
    font-family: "Poppins-Bold";
    font-size: 20px;
}

#fullName{
    background-image: url(../img/user-icon.png);
    background-repeat: no-repeat;
    background-size: 24px;
    padding-left: 50px;
    background-position: 10px 50%;
}

#email{
    background-image: url(../img/email-icon.png);
    background-repeat: no-repeat;
    background-size: 24px;
    padding-left: 50px;
    background-position: 10px 50%;
}

#phoneNumber{
    background-image: url(../img/phone-icon.png);
    background-repeat: no-repeat;
    background-size: 24px;
    padding-left: 50px;
    background-position: 10px 50%;
}

#password{
    background-image: url(../img/passowrd-icon.png);
    background-repeat: no-repeat;
    background-size: 24px;
    padding-left: 50px;
    background-position: 10px 50%;
    position: relative;
}

#confirmPassword{
    background-image: url(../img/passowrd-icon.png);
    background-repeat: no-repeat;
    background-size: 24px;
    padding-left: 50px;
    background-position: 10px 50%;
    position: relative;
    margin-top: 30px;
}

input::placeholder{
    border-left: 1px solid rgba(0, 0, 0, 0.10);
    padding-left: 20px;
}

.eye-container{
    width: 470px;
    display: flex;
    justify-content: flex-end;
    margin-top: -3rem;
}

.eye{
    width:1.25em;
    height:0.75em;
    position:relative;
    display:inline-block;
    --background: white;
    --color: rgb(128, 128, 128);
}

.eye div{
    overflow:hidden;
    height:50%;
    position:relative;
    margin-bottom:-1px;
}

.eye div::before{
    content:'';
    background:var(--color);
    position:absolute;
    left:0;
    right:0;
    height:300%;
    border-radius:100%;
}

.eye div:last-child:before{
    bottom:0;
}

.eye::before{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:0.35em;
    height:0.35em;
    background:var(--color);
    border:0.1em solid white;
    border-radius:100%;
    z-index:1;
}

.eye::after{
    content:'';
    position:absolute;
    top:-0.15em;
    left:calc(33.333% - 0.15em);
    transform:rotate(45deg) scaleX(0);
    transform-origin:left center;
    width:90%;
    height:0.1em;
    background:var(--color);
    border-top:0.1em solid var(--background);
    z-index:2;
    transition:transform 0.25s;
}

.eye.slash::after{
    transform:rotate(45deg) scaleX(1);
}

#confirm-password-error{
    margin-top: 30px;
    margin-bottom: -2.5rem;
}

.error{
    width: 498px;
    font-family: "Poppins-Light-Italic";
    font-size: 10px;
    color: red;
    text-align: left;
    margin-bottom: -10px;
}
/* Responsive Code */
@media only screen and (max-width: 900px){
    .signup-field{
        width: 60vw;
        font-size: 0.75em;
        padding: 0.3rem;
    }
    
    .signup-register-button{
        width: 60vw;
        font-size: 1em;
    }

    .error{
        width: 60vw;
    }

    .eye-container{
        width: calc(60vw - 1em);
    }

    .school-name-heading{
        font-size: 1em;
    }
    
    .school-name{
        font-size: 1em;
    }

    .logo{
        width: 8em;
    }

    .register-heading{
        font-size: 2em;
        text-align: center;
    }
}