*{ padding: 0; margin: 0; box-sizing: border-box; } body{ font-family: 'Poppins', sans-serif; } .fondo-desendente{ position: fixed; bottom: 0; left: 0; height: 100%; z-index: -1; } .container{ width: 100vw; height: 100vh; display: grid; grid-template-columns: repeat(2, 1fr); grid-gap :7rem; padding: 0 2rem; } .img{ display: flex; justify-content: flex-end; align-items: center; } .login__container{ display: flex; justify-content: flex-start; align-items: center; text-align: center; } .img img{ width: 500px; } .avatar{ width: 100px; } form{ width: 360px; } .login__container h2{ margin: 15px 0; color: #333; text-transform: uppercase; font-size: 2.9rem; } .login__container .input__div{ position: relative; display: grid; grid-template-columns: 7% 93%; margin: 25px 0; padding: 5px 0; border-bottom: 2px solid #d9d9d9; } .input__div--i{ color: #d9d9d9; display: flex; justify-content: center; align-items: center; } .input__div.one{ margin-top: 0; } .input__div.two{ margin-bottom: 10px; } .input__div--i i{ transition: .3s; } .input__div > div{ position: relative; height: 45px; } .input__div > div > h5{ position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #999; font-size: 18px; transition: .3s; } .input__div:before, .input__div:after{ content: ''; position: absolute; bottom: -2px; width: 0%; height: 2px; background-color: #0074af; transition: .4s; } .input__div:before{ right: 50%; } .input__div:after{ left: 50%; } .input__div.focus:before, .input__div.focus:after{ width: 50%; } .input__div.focus > div > h5{ top: -5px; font-size: 15px; } .input__div.focus > .input__div--i > i{ color: #0074af; } .input__div > div > input{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: none; outline: none; background: none; padding: 0.5rem 0.7rem; font-size: 1.2rem; color: #555; font-family: 'poppins', sans-serif; } a{ display: block; text-align: right; text-decoration: none; color: #999; font-size: 0.9rem; transition: .3s; } a:hover{ color:#0074af; } .btn{ display: block; width: 100%; height: 50px; border-radius: 25px; outline: none; border: none; background-image: linear-gradient(to right, #0074af,#1693d1,#0074af); background-size: 200%; font-size: 1.2rem; color: #fff; font-family: 'Poppins', sans-serif; text-transform: uppercase; margin: 1rem 0; cursor: pointer; transition: .5s; } .btn:hover{ background-position: right; } .input__file h3{ margin-right: 20px; color: #555; } .input__file--file{ margin-top: 23px; } .input__file--file{ display: flex; align-items: center; justify-content: center; } .input__file input{ font-size: 15px; } .enlaces--footer{ display: flex; justify-content: space-around; } @media screen and (max-width: 1050px){ .container{ grid-gap: 5rem; } } @media screen and (max-width: 1000px){ form{ width: 290px; } .form h2{ font-size: 2.4rem; margin: 8px 0; } .img img{ width: 400px; } } @media screen and (max-width: 900px){ .container{ grid-template-columns: 1fr; } .img{ display: none; } .fondo-desendente{ display: none; } .login__container{ justify-content: center; } }