body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #fcfcfb;
    font-family: Arial, sans-serif;
    margin: 0;
}

.contenedor {
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 1000px;
    height: 500px;
    max-width: 1000px;
    text-align: center;
    display: flex;
}

.contenedor img{
    position: relative;
    width: 100%;
    justify-content: center;
    align-items: center;
    top: 25%;
    left: 10px;
    border-radius: 8%;
}

h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.login-container {
    background-color: rgb(194, 192, 192);
    margin: auto;
    width: 100%;
    height: 80%;
    max-width: 800px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    border: 3px solid black;
}

.login-container form{
    width: 100%;
    height: 80%;
}

.form-input{
    width: 80%;
    max-width: 90%;
    border: 3px solid transparent;
    border-radius: 8px;
    height: 25px;
    line-height: 25px;
    padding: 0px 10px 10px 10px;
    transition: .3s ease all;
    margin: 20px;
}

.form-input:focus{
    border: 3px solid blue;
    outline: none;
    box-shadow: 3px 0px 30px rgba(163, 163, 163, 0.4);
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.input-error{
    font-size: 12px;
    margin-top: 5px;
    color: rgb(10, 10, 10);
    display: none;
    width: 90%;
    text-align: center;
    word-wrap: break-word;
    white-space: normal;
}

.input-error-active{
    display: block;
}

.form-mensaje{
    height: 25px;
    line-height: 25px;
    background-color: pink;
    padding: 0 15px ;
    border-radius: 3px;
    display: none;
    margin-bottom: 20px;
}

.form-mensaje-active{
    display: block;
}

.form-mensaje p{
    margin: 0;
    color: red;
}

.form-btn-enviar{
    height: 35px;
    line-height: 35px;
    width: 30%;
    background-color: #fff;
    font-weight: bold;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: .1s ease all;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.form-btn-enviar[type="reset"] {
    margin-right: 15%;
}

.form-btn-enviar[type="button"] {
    margin-left: 15%;
}

.form-btn-enviar:hover{
    box-shadow: 3px 0px 30px rgba(163, 163, 163, 1);
}

.form-group-valido .form-input{
    border: 3px solid green;
}

.form-group-invalido .form-input{
    border: 3px solid red;
}

.buttons{
    display: flex;
}


.toRegister{
    position: relative;
    top: 10%;
    left: 60%;
}

.toRegister a{
    text-decoration: none;
}

.btnRegister {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #333;
    border: 2px solid #333;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.btnRegister:hover {
    background-color: #333;
    color: #fff;
}
