@import url('https://fonts.googleapis.com/css2?family=Belleza&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url('../assets/ai_wallpaper_high_login.jpg');
  font-family: 'Belleza', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Media query para dispositivos móveis */
@media screen and (max-width: 768px) {
  body {
    background: url('../assets/ai_wallpaper_low2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* Media query para telas muito pequenas (smartphones em portrait) */
@media screen and (max-width: 480px) {
  body {
    background: url('../assets/ai_wallpaper_high.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.container{
    width: 420px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    color: aliceblue;
    padding: 30px 40px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    backdrop-filter: blur(10px);
}

/* Responsividade para o container */
@media screen and (max-width: 480px) {
  .container {
    width: 90%;
    margin: 20px;
    padding: 20px 25px;
  }
}

.container h1{
    font-size: 36px;
    text-align: center;
}

@media screen and (max-width: 480px) {
  .container h1 {
    font-size: 28px;
  }
}

.input-field{
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

@media screen and (max-width: 480px) {
  .input-field {
    margin: 20px 0;
  }
}

.input-field input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    padding: 20px 45px 20px 20px;
}

.input-field input::placeholder{
    color: rgb(223, 223, 223);
}

.input-field i{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.remember-forgot{
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin: -15px 0 15px;
}

@media screen and (max-width: 480px) {
  .remember-forgot {
    font-size: 14px;
    flex-direction: column;
    gap: 10px;
  }
}

.remember-forgot label input{
    accent-color: #fff;
    margin-right: 3px;
}

.remember-forgot a{
    color: #fff;
    text-decoration: none;
}

.remember-forgot a:hover{
    text-decoration: underline;
}

button{
    width: 100%;
    height: 40px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-top: 20px;
}

button:hover{
    background: transparent;
    color: #fff;
    transition: ease-in-out 0.5s;
}

@media screen and (max-width: 480px) {
  button {
    height: 45px;
    font-size: 15px;
  }
}

.register{
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
}

.register span a{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.register span a:hover{
    text-decoration: underline;
}

/* FROM REGISTER JUST FOR TESTING */
aside input#open-cadeado {
  position: absolute;
  width: 0px;
  height: 0px;
  top: 6px;
  right: 10px;
  background-color: black;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}