@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');

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

body{
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../assets/logoHead.png);
    background-size: 50vw;
    background-position: center;
    background-repeat:repeat-x;
}

a{
    text-decoration: none;
}

.logo-ipoe{
    font-family: 'Staatliches', sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 50pt;
    color: #0780ae;
    -webkit-animation: fadeInLeft 1s both;
    -o-animation: fadeInLeft 1s both;
    -moz-animation: fadeInLeft 1s both;
    animation: fadeInLeft 1s both;
}


.header-bottom{
    margin-bottom: 5%;
    display: flex;
    position: absolute;
    z-index: 1;
    width: 100%;
    padding: 0.1% 1.5%;
    top: 0;
    left: 0;
}


.container{
    border: solid rgb(0, 0, 0) 1px;
    overflow: hidden;
    width: 80%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 12px 12px 25px rgb(0, 0, 0, .212);
    background-color: #fff;
    border-radius: 5px;
}

.form{
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: row;
    -webkit-animation: fadeInTop 1s both;
    -o-animation: fadeInTop 1s both;
    -moz-animation: fadeInTop 1s both;
    animation: fadeInTop 1s both;
}

.formImage{
    width: 50%;
    height: 80vh;
    border-radius: 5px;
    position: relative;
    -webkit-animation: fadeInLeft 1s both;
    -o-animation: fadeInLeft 1s both;
    -moz-animation: fadeInLeft 1s both;
    animation: fadeInLeft 1s both;
}

.formImage img{
    width: 100%;
    height: 100%;
    border-radius: 5px 0 0 5px;
    object-fit: cover;
} 

.formHeader{
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.formHeader h1::after{
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: rgb(34, 78, 219);
    margin: 0 auto;
    position: absolute;
    border-radius: 10px;
}

.subtitle{
    font-size: 11pt;
    text-align: left;
    margin-bottom: 15px;
    width: 75%;
}

.inputContainer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    padding: 1rem 0;
}

.inputBox{
    display: flex;
    flex-direction: column;
    margin-bottom: 11px;
    width: 46%;
}

i{
    color: rgb(255, 62, 62);
    font-size: 10pt;
}

.inputBox input{
    margin: 8px 0;
    padding: 7px 7px;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 6px #0000001c;
    outline: none;
}


input:hover{
    transition: ease-in-out 0.5s;
    outline: solid rgb(103, 103, 103) 1px;
}

input:focus{
    transition: ease-in-out 0.5s;
    outline: solid rgb(103, 103, 103) 1px;
}


.error{
    position: relative;
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-size: 10pt;
    font-weight: 500;
    color: rgb(202, 3, 3);
    font-style: italic;
}


.inputBox label{
    font-size: 11pt;
    font-weight: 600;
    color: #000000cb;
}


.loginButton{
    font-size: 11pt;
    border: none;
    border-radius: 5px;
    color: #fff;
    background: rgb(34, 78, 219);
    padding: 11px 13px 11px 13px;
    cursor: pointer;
}

.loginButton:hover{
    background: rgb(23, 38, 241);
}


.loginButton a{
    color: #fff;
    font-size: 10pt;
    font-weight: 100;
}

.loginButton a:visited{
    color: #fff
}

.continueButton{
    color: #fff;
    width: 100%;
    background: linear-gradient(to right, rgb(14, 129, 223), rgba(25, 60, 214, 0.903));
    height: 35px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.continueButton:hover{
    background: rgb(34, 78, 219);
}

/* .continueButton a{
    color: #fff;
    font-size: 11pt;
} */

@media only screen and (min-height: 550px) {

    p.subtitle{
        font-size: 1pt;
        display: none;
    }

    .inputContainer{
        padding: 0;
    }
}


@media only screen and (max-height: 700px) {
    
    .inputContainer{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between; 
        padding: 1rem 0;
    }

    .inputBox{
        display: flex;
        flex-direction: column;
        margin-bottom: 5px;
        width: 46%;
    }

    i{
        color: rgb(255, 62, 62);
        font-size: 10pt;
    }

    .inputBox input{
        margin: 5px 0;
        padding: 10px 5px;
        border: none;
        border-radius: 5px;
        box-shadow: 1px 1px 6px #0000001c;
        outline: none;
    }

    .subtitle{
        font-size: 11pt;
        text-align: left;
        margin-bottom: 0px;
        width: 75%;
        gap: 0;
    }

    .formHeader{
        margin-bottom: 0.5rem;
    }

    .form{
        width: 50%;
        padding: 2rem;
    }
    
    .inputBox label{
        font-size: 10pt;
        font-weight: 600;
        color: #000000cb;
    }

    .loginButton{
        font-size: 10pt;
        border: none;
        border-radius: 5px;
        color: #fff;
        background: rgb(34, 78, 219);
        padding: 10px 10pxx;
        cursor: pointer;
    }
    
    
}

@media only screen and (max-width: 1024px) {

    body {
        background-image: url(../assets/logoHead.png);
        background-size: cover;
    }

    .formImage{
        display: none;
    }

    .form{
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    

    .containerRight{
        width: 100%;
    }

    main.container{
        height: max-content;
        width: 60vw;
        flex-wrap: wrap;
    }

}

@media only screen and (max-width: 700px) {


    main.container{
        min-height: 100vh;
        margin-top: 20%;
        margin-bottom: 15%;
        width: 90vw;
        flex-wrap: wrap;
    }

}

@media only screen and (max-width: 600px) {

    .formHeader{
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .subtitle{
        width: 90%;
    }

    .inputContainer{
        flex-wrap: wrap;
        justify-content: space-between; 
        flex-direction: column;
        
    }

    .inputBox{
        width: 100%;
    }

    .form{
        height: max-content;
    }

    .inputBox input{
        min-height: 6.5vh;
    }
    
}


@media only screen and (max-width: 570px) {

    .inputContainer{
        flex-wrap: wrap;
        justify-content: space-between; 
        flex-direction: column;
    }

    .inputBox{
        width: 100%;
    }

    .formHeader a{
        margin-top: 5%;
    }

    .subtitle{
        width: 100%;
    }

}


@-webkit-keyframes fadeInLeft{
    0%{
        opacity: 0;
        -webkit-transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-o-keyframes fadeInLeft{
    0%{
        opacity: 0;
        -o-transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        -o-transform: translateX(0);
    }
}

@-moz-keyframes fadeInLeft{
    0%{
        opacity: 0;
        -moz-transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@keyframes fadeInLeft{
    0%{
        opacity: 0;
        transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInTop{
    0%{
        opacity: 0;
        transform: translateY(-50px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@-moz-keyframes fadeInTop{
    0%{
        opacity: 0;
        -moz-transform: translateY(-50px);
    }
    100%{
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@-webkit-keyframes fadeInTop{
    0%{
        opacity: 0;
        -webkit-transform: translateY(-50px);
    }
    100%{
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-o-keyframes fadeInTop{
    0%{
        opacity: 0;
        -o-transform: translateY(-50px);
    }
    100%{
        opacity: 1;
        -o-transform: translateY(0);
    }
}




