@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;400;600;800&family=Nunito:wght@200;400;500;600;800&family=Rowdies:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

.mainBox {
    min-height: 100vh;
    display: flex;
}

.loader {
    position: absolute;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.loader img {
    height: 50vh;
    
}

.leftBox {
    height: 100vh;
    /* flex: 1; */
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signUpBox {
    border: 1px solid red;
    overflow-y: scroll;
}

.signUpForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 90%;
}

.signUpFormHeading {
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5%;
    color: #443C68;
    /* font-family: 'BentonSans';
    font-style: normal; */
}

.rightBox {
    height: 100vh;
    width: 50%;
    padding: 50px;
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: #443C68;
    color: #fff;
}

.rightBox .heading1 {
    font-size: 3em;
    text-align: center;
    color: #fa00e9;
}

.rightBox .heading2 {
    font-size: 1.8em;
    text-align: center;
}

.rightBox .intro {
    text-align: center;
    font-size: 1.2em;
}

.signUpBox {
    /* position: absolute; */
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    /* width: 30rem; */
    width: 70%;
    /* height: 90%; */
    padding: 5%;
    box-sizing: border-box;
    border: 1px solid #dadce0;
    -webkit-border-radius: 8px;
    border-radius: 8px;

}

.signUpBox h2 {
    margin: 0px 0 2.5rem;
    padding: 0;
    text-align: center;
    color: #202124;
    font-size: 36px;
    /* font-size: 24px; */
    /* font-weight: 400; */
    /* font-family: 'BentonSans'; */
    /* font-style: normal; */
}

.signUpBox .logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 16px;

}

.logo img {
    width: 50%;
    pointer-events: none;
}

.signUpBox p {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 24px;
    text-align: center;
}

.signUpBox .inputBox {
    position: relative;
}

.signUpBox .inputBox input {
    width: 100%;
    /* padding: 1rem 10px; */
    padding: 3% 3%;
    font-size: 1rem;
    letter-spacing: 0.062rem;
    /* margin-bottom: 1.875rem; */
    /* margin-bottom: 3%; */
    border: 1px solid #ccc;
    background: transparent;
    border-radius: 4px;
    font-family: 'BentonSans';
    font-style: normal;
}

.signUpBox .inputBox label {
    position: absolute;
    top: 0;
    left: 10px;
    padding: 0.625rem 0;
    font-size: 1rem;
    color: gray;
    pointer-events: none;
    transition: 0.2s;
}

.signUpBox .inputBox input:focus~label,
.signUpBox .inputBox input:valid~label,
.signUpBox .inputBox input:not([value=""])~label {
    top: -1.125rem;
    left: 10px;
    color: #1a73e8;
    font-size: 0.75rem;
    background-color: #fff;
    height: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

.signUpBox .inputBox input:focus {
    outline: none;
    border: 2px solid #1a73e8;
}

.submitBox {
    display: flex;
    justify-content: space-between;
    padding: 0 1%;
}

.signUpBox input[type="submit"] {
    border: none;
    outline: none;
    color: #fff;
    background-color: #1a73e8;
    /* padding: 0.625rem 1.25rem; */
    padding: 2% 4%;
    cursor: pointer;
    border-radius: 0.312rem;
    font-size: 1rem;
    /* float: right; */
}

.signUpBox input[type="submit"]:hover {
    background-color: #287ae6;
    box-shadow: 0 1px 1px 0 rgba(66, 133, 244, 0.45), 0 1px 3px 1px rgba(66, 133, 244, 0.3);
}

.userSelectNone {
    user-select: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #f4f3f3;
    margin-top: 3px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px #443c68;
    border-radius: 10px;
}



@media only screen and (max-height: 578px) {
    .signUpBox {
        width: 80%;
        height: 95%;
        padding: initial !important;
        padding-top: 5% !important;
        padding-left: 10% !important;
        padding-right: 10% !important;
    }

    .rightBox .heading1 {
        font-size: 1.6em;
    }

    .rightBox .heading2 {
        font-size: 1.2em;
    }

    .rightBox .intro {
        font-size: 0.7em;
    }

    .signUpBox .inputBox input {
        /* padding: 0.5rem 10px; */
        padding: 3.5% 4%;
    }

    .signUpBox input[type="submit"] {
        /* padding: 0.425rem 1.25rem; */
        padding: 2% 3%;
    }

    .signUpFormHeading {
        font-size: 2em;
    }

    .signUpForm {
        height: 28%;
        gap: 10%;
    }
}

@media (max-width:850px) {
    .rightBox {
        display: none;
    }

    .leftBox {
        width: 100%;
    }

    .signUpBox {
        width: 50%;
    }
}

@media (max-width:650px) {
    .signUpBox {
        width: 70vw;
        height: max-content;
        display: flex;
        flex-direction: column;
        gap: 1em;
    }

    .logo img {
        width: 70%;
    }

    .signUpForm {
        display: flex;
        flex-direction: column;
        gap: 1em;
    }

    .loader img {
        height: 25vh;
    }

}

@media (max-width:420px) {

    .signUpBox {
        width: 80vw;
        height: max-content;
        display: flex;
        flex-direction: column;
        gap: 1em;
    }

    .logo img {
        width: 75%;
    }

    .signUpFormHeading {
        font-size: 3em;
    }

    .signUpForm {
        display: flex;
        flex-direction: column;
        gap: 1em;
    }

    .signUpBox .inputBox input {
        font-size: 0.8em;
    }

    .signUpBox .inputBox label {
        font-size: 0.8em;

    }

    .loader img {
        height: 25vh;
    }

    .signUpBox input[type="submit"] {
        font-size: 0.8em;

    }

    .submitBox {
        margin-bottom: 1em;
    }

}


@media (max-width:360px) {

    .logo img {
        width: 65%;
    }

    .signUpFormHeading {
        font-size: 2em;
    }

}