
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


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

body {
    background: rgb(189, 198, 246);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height:100vh;
    padding:10px;
}

.container {
    max-width:430px;
    width:100%;
    background: rgb(255, 255, 255);
    border-radius:10px;
    overflow: hidden;
    margin:10px;
    padding-bottom: 15px;

}

.header {
    background: linear-gradient(120deg, #317ad8 0%, #8bb0ff 100%);
    color:white;
    padding:25px;
    text-align:center;
}

.form {
    padding:22px;
    font-size: 17px;
    display:flex;
    flex-direction: column;
}

.form-content {
    position: relative;
}

label {
    display:inline-block;
}

input {
    width:100%;
    font-size:16px;
    display: block;
    margin-top:5px;
    padding: 9px;
    border-radius:5px;
    border: 2px solid rgb(190, 189, 189);
    cursor: pointer;
}

.fa-solid {
    position: absolute;
    /* left: 206px; */
    right:10px;
    top:47%;
    transform:  translateY(-50%);
    cursor: pointer;
    color: rgb(75, 74, 74);
}

.form-content a {
    font-size: 13px;
    display: block;
    margin:4px 0 14px 0;
    visibility: hidden;
}

.form-content.error input {
    border:2px solid red;
}

.form-content.error a {
    color:red;
    visibility: visible;
}

#msgLogin {
    visibility: hidden;
    color: red;
    align-self: center;
    margin-top:10px ;
    font-size: 14px;
}

#msgLogin.visible {
    visibility: visible;
}

button {
    max-width:250px;
    width:100%;
    background:  #317ad8;
    color:white;
    padding: 10px;
    border: none;
    border-radius:25px;
    align-self: center;
    margin-top: 14px;
    font-size: 17px;
}

button:hover{ 
    background: #3179d8dd;
    cursor: pointer;
}

@media screen and (min-width:800px ) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
    }

     .container {
        max-width: 500px;
    }
      
    .form {
        padding: 20px 30px;
        
    }

    label {
        font-size: 20px;
    }

    input {
        padding:9px;
        font-size: 22px;
    }

    button {
        max-width:250px;
        width:100%;
        padding: 9px;
        font-size: 21px;
    }

    .fa-solid {
        font-size: 20px;
        top: 49%;
    }
};

@media screen and (orientation: landscape) {
    .form {
        
        min-height:300px;
        padding-bottom: 30px;
    }
};