@import url("../../commons/scrollbar.css");

body {
    font-family: "Roboto", sans-serif;
    background-color: #E9ECEF; 
}

.container{
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.forms-container{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Posicionar el formulario en el centro de la pantalla*/
.signin-signup{
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    left: 50%;
    width: 50%;
    transition: 1s 0.7s ease-in-out;
    display: grid;
    grid-template-columns: 1fr;
    z-index: 5;
}

/* alinear los campos del formulario al centro*/
form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0rem 5rem;
    transition: all 0.2s 0.7s;
    overflow: hidden;
    grid-column: 1/2;
    grid-row: 1/2;
}
form.sign-up-form {
    opacity: 0;
    z-index: 1;
} 

/* contenedor del formulario */
.login-form{
	position: absolute;
	color: #fff;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 95%;
	max-width: 350px;
	padding: 15px;
	box-shadow: 0 0 3px rgba(21, 120, 120, 0.7);
	border-radius: 20px 20px 20px 20px;
	background-color: rgba(250, 250, 250, 0.829);
}

.login-form .section span {
    color: rgb(31, 108, 197);
}

.img-logo{
    position: relative;
    z-index: 0;
    width: 12vw;
    object-fit: cover;
}

.title {
    font-size: 1.2rem;
    font-family: Arial, Helvetica, sans-serif;
    color: #444;
    margin-bottom: 10px;
    text-align: center;
}

.input-field {
    max-width: 360px;
    width: 90%;
    background-color: #f0f0f0;
    margin: 10px 0;
    height: 55px;
    border-radius: 55px;
    display: grid;
    grid-template-columns: 15% 85%;
    padding: 0 0.4rem;
    position: relative;
}

.input-field i {
    text-align: center;
    line-height: 55px;
    color: #acacac;
    transition: 0.5s;
    font-size: 1.1rem;
}

.input-field input {
    background: none;
    outline: none;
    border: none;
    line-height: 1;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
} 

.input-field input::placeholder {
    color: #aaa;
    font-weight: 500;
}

.input-field.focus:before, .input-div.focus:after{
	width: 50%;
}

.input-field.focus > i{
	color: #38d39f !important;
}

/* see password */
#display{
    position: absolute;
    right: 15px;
    color: #acacac;
    font-size: 1.1rem;
}

.btn {
    width: 150px;
    background-color: #007BFF;
    border: none;
    outline: none;
    height: 42px;
    border-radius: 42px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    margin: 10px 0;
    cursor: pointer;
    transition: 0.5s;
}
.btn:hover {
    background-color: #4d84e2;
}

.login-submit{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media (max-width: 900px) {
    .container {
      min-height: 800px;
      height: 100vh;
    }
    .signin-signup {
      width: 100%;
      top: 50%;
      transform: translate(-50%, -50%);
      transition: 1s 0.8s ease-in-out;
    }
    .signin-signup,
    .container.sign-up-mode .signin-signup {
      left: 50%;
    }

    .img-logo{
          width: 28vw !important;
    }

}

@media screen and (max-width:1700px){
    .img-logo{
        width: 15vw !important;
    }
}

@media screen and  (max-width:1000px){
    .img-logo{
        width: 28vw !important;
    }
}

@media screen and (max-width:490px){
    .img_logo{ 
        width: 35vw !important;
    }
}
