/* === RESPONSIVIDADE === */

/* Tablets e telas médias */
@media (max-width: 1024px) {
  main {
    flex-direction: column;
    height: auto;
  }

  #areaLogin, 
  #areaPhotos {
    width: 100%;
    height: auto;
  }

  #formCadastro {
    width: 90%;
    max-width: 400px;
  }

  .conteinerInput input:not([type="checkbox"]) {
    width: 100%;
  }

  .conteinerButton span {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .conteinerButton span .otherLogins {
    width: 90%;
  }

  #images {
    gap: 30px;
  }

  #images img {
    width: 70px;
  }
}

/* Celulares */
@media (max-width: 768px) {
  /* some o slideshow */
  #areaPhotos {
    display: none;
  }

  /* login ocupa toda a largura */
  #areaLogin {
    width: 100%;
    height: auto;
    padding: 20px;
    gap: 20px;
  }

  /* move as imagens para cima do título */
  #images {
    order: -1; 
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
  }

  #images img {
    width: 60px;
  }

  #formCadastro {
    order: 2;
    width: 100%;
    max-width: 400px;
  }

  .conteinerInput {
    font-size: 1.6rem;
  }

  .conteinerButton .buttonEntrar button {
    width: 90%;
    font-size: 0.9rem;
    height: 35px;
  }

  .conteinerButton span .otherLogins {
    font-size: 0.8rem;
    height: 35px;
  }

  #areaLogin p {
    text-align: center;
  }
}
