@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

header {
  font-family: "Alexandria", sans-serif;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: white;
  border-bottom: 2px solid #593d36;
}

header .logo {
  height: 50px;
  margin-top: -1rem;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

header nav ul li a.entrar {
  background-color: #593d36;
  color: white;
  padding: 0.9rem;
  border-radius: 15px;
}

header nav ul li a.entrar i {
  margin-right: 0.3rem;
}

.user-logged,
.user-logged-mobile {
  color: #484848;
  font-style: italic;
}

.user-logged i,
.user-logged-mobile i {
  background-color: #5b5b5bbb;
  padding: 0.5rem;
  border-radius: 15rem;
  color: rgb(230, 230, 230);
  border: 2px solid #484848;
}

#list {
  width: 50px;
  height: 50px;
  display: none;
  background: none;
  border-radius: 100%;
  margin: -10px;
  border: none;
}

#list i {
  font-size: xx-large;
}

#popup-menu {
  position: absolute;
  top: 70px;
  right: 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 1.2rem 1.2rem;
  z-index: 2000;
  display: none;
}

#popup-menu .popup-list a {
  display: block;
  margin: 0.7rem 0;
  background: #5a3e36;
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 16px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
}

.cadastro-container {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 150px);
  justify-content: center;
  align-items: center;
  background-image: url("../images/fundos/fundo_madeira.png");
  background-size: cover;
  background-position: center;
}

.image-container img {
  max-width: 100%;
  min-width: 265px;
  border-radius: 10px;
}

.image-computer {
  display: block;
}

.image-tablet {
  display: none;
}

.image-mobile {
  display: none;
}

.form-container {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  max-width: 450px;
  margin-left: 20px;
  font-family: "Work Sans";
}

.form-container h1 {
  font-family: "Work Sans";
  font-weight: 600;
  font-size: 51px;
  color: #5a3e36;
}

.form-container h3 {
  font-family: "Space Mono";
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
}

.form-container form label {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #969696;
  background-color: white;
  border-radius: 10rem;
}

.form-container form label input {
  background: none;
  border: none;
  user-select: none;
  outline: none;
  box-shadow: none;
}

.form-container .buttons {
  display: flex;
  margin-top: 15px;
  gap: 10px;
}

.form-container .buttons button {
  width: 100%;
  padding: 10px;
  border-radius: 1.2rem;
  color: #333;
  font-weight: bold;
  background: none;
  border: 0.185rem solid #5a3e36;
  margin-top: 0.8rem;
}

.form-container .buttons button.active {
  background-color: #5a3e36;
  color: #fff;
}

span {
  position: absolute;
  display: none;
  font-weight: bold;
  color: red;
}

footer {
  position: relative;
  height: 80px;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  display: flex;
  font-size: 0.8rem;
  text-align: center;
  background-color: white;
  border-top: 2px solid #593d36;
  flex-direction: row;
  justify-content: space-between;
  padding: 1.6rem;
}

footer .social-icons a i {
  color: #5a3e36;
  font-size: 1.15rem;
  padding: 0.19rem;
}


@media (max-width: 768px) {
  .form-container {
    width: 300px;
    min-width: 295px;
  }

  .image-container img {
    width: 300px;
    min-width: 200px;
    content: url("../images/fundos/objetos_artesanais2.png");
  }

  .form-container {
    padding: 0;
    padding-left: 20px;
    max-width: 100%;
    margin-left: 0;
  }

  .form-container h1 {
    font-size: 2rem;
  }

  .form-container h3 {
    font-size: 1rem;
  }

  header nav ul {
    flex-direction: row;
    align-items: center;
  }

  header nav ul li a.entrar {
    width: 100%;
    text-align: center;
  }

  .form-container form label {
    width: 100%;
  }

  .form-container .buttons {
    justify-content: center;
  }

  header>i.bi {
    display: block;
  }
}

@media (max-width: 521px) {
  .cadastro-container {
    padding: 0;
    flex-direction: column;
  }

  #list {
    display: block;
  }

  header {
    position: fixed;
    width: 100%;
    justify-content: space-between;
  }

  header nav ul {
    display: none;
  }

  #popup-menu ul {
    list-style: none;
    margin-left: -1.5rem;
  }

  header nav ul li a.entrar {
    display: none;
  }

  .form-container {
    padding: 20px;
    width: 100%;
    min-width: 100%;
    margin: 2rem 0;
  }

  .form-container h1 {
    font-size: 2.75rem;
  }

  .form-container h3 {
    font-size: 0.9rem;
  }

  .form-container form label {
    width: 100%;
  }

  .image-container img {
    margin-top: 65px;
    width: 521px;
    content: url("../images/fundos/objetos_artesanais3.png");
  }

  footer {
    justify-content: center;
    flex-direction: column-reverse;
    font-size: 0.7rem;
  }
}