@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
}

body * {
  box-sizing: border-box;
}

.main-login {
  width: 100vw;
  height: 100vh;
  transition: background-image 5.2s ease;

  background: url("img/BRYX.png") center/cover no-repeat fixed;
  /* animation: bgSlide 30s ease-in-out infinite;   */
  display: flex;
  justify-content: center;
  align-items: center;
}
.left-login-image {
  width: 35vw;
  transition: opacity 0.8s ease-in-out;   /* fade ao trocar */
}
@keyframes bgSlide {
  0%, 33%    { background-image: url("img/bryx2.png"); }
  34%, 66%   { background-image: url("img/BRYX3.png"); }
  67%, 100%  { background-image: url("img/BRYX.png"); }
}

.left-login {
  width: 50vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.left-login > h1 {
  color: #209EA8;
  font-size: 2.5vw;
  position: absolute;
  top: 20px;
  left: 20px;
  margin: 0;
}


.left-login-image {
  width: 35vw;
  transition: opacity 1s ease-in-out;
  opacity: 1;
}


.right-login {
  width: 50vw;
  height: 100vh;
  display: flex;
  justify-content: flex-end;  /* Alinha o card à direita */
  align-items: center;
  padding-right: 60px;        /* Espaço entre o card e a borda direita */
}

.card-login {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 30px 35px;
  background: #00000000;
  border-radius: 20px;
  box-shadow: 0px 10px 40px #00000056;
}

.card-login > h1 {
  color: #209EA8;;
  font-weight: 600;
  margin: 0;
  
}

.textfield {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 10px 0px;
}

.textfield > input {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 15px;
  background: #514869;
  color: #f0ffffde;
  font-size: 12pt;
  box-shadow: 0px 10px 40px #00000056;
  outline: none;
  box-sizing: border-box;
}

.textfield > label {
  color: #f0ffffde;
  margin-bottom: 10px;
}

.textfield > input::placeholder {
  color: #f0ffff94;
}

.btn-login {
  width: 100%;
  padding: 16px 0;
  margin: 25px;
  border: none;
  border-radius: 8px;
  outline: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 3px;
  color: #2b134b;
  background: #209EA8;
  cursor: pointer;
  box-shadow: 0px 10px 40px -12px #00ff8052;
}

@media only screen and (max-width: 950px){
  .card-login{
    width: 85%;
  }
}

@media only screen and (max-width: 600px){
  .main-login{
    flex-direction: column;
  }

  .left-login > h1 {
    display: none;
  }

  .left-login {
    width: 100%;
    height: auto;
  }

  .right-login {
    width: 100%;
    height: auto;
  }

  .left-login-image {
    width: 40vh;
  }

  .card-login {
    width: 90%;
  }
}
