* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: rgb(208, 228, 216);
  transition: padding 0.6s ease;
}

.conteudo {
  max-width: 100%;
  width: 780px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.6s ease;
}

.login-container {
  width: 100%;
  max-width: 700px;
  min-height: 550px; /* maior altura para o cadastro */
  margin: 1rem;
  box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.726);
  display: flex;
  transition: all 0.4s ease;
  background-color: rgb(10, 128, 26);
}

.pagina-lateral {
  max-width: 100%;
  width: 430px;
  height: 100%;
  transition: all 0.4s ease;;
  
}


#formulario {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgba(9, 144, 79, 0.783);
  max-width: 100%;
  width: 320px; /* um pouco mais largo para acomodar os campos */
  padding: 20px 0;
  transition: all 0.4s ease;
}

h1 {
  font-size: 32px;
  padding-bottom: 15px;
  color: #f0ebeb;
}

.form-group {
  margin-bottom: 1rem;
  position: relative;
  width: 90%;
}


.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #f3eeee;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 2.5rem;
  border: 1px solid #e1dfdf;
  border-radius: 8px;
  font-size: 1rem;
  background-color: rgba(34, 122, 80, 0.598);
  box-shadow: 0px 0px 1px 2px rgba(3, 67, 3, 0.189);
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:hover {
  box-shadow: 0px 0px 4px rgb(5, 250, 70);
}

input::placeholder {
  color: rgba(216, 232, 214, 0.61);
  opacity: 1;
}

.form-group i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #f0ebeb;
}

.login-btn {
  width: 250px;
  padding: 0.75rem;
  color: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0px 0px 1px 2px rgba(3, 67, 3, 0.189);
  border: 1px solid white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(5, 97, 39, 0.993);
  transition: background-color 0.6s ease, width 0.6s ease;
}

.login-btn:hover {
  background-color: #21cb6e;
  cursor: pointer;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.options a {
  color: #f0ebeb;
  text-decoration: none;
}

.options a:hover {
  text-decoration: underline;
}

span {
  color: #f0ebeb;
  text-align: center;
}

@media (max-width: 768px) {
  body {
    padding: 2rem;
  }

  .conteudo {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .login-container {
    flex-direction: column;
    height: auto;
    max-width: 100%;
    width: 100%;
  }

  .pagina-lateral {
    width: 100%;
    height: 200px;
  }

  .pagina-lateral-bloco {
    width: 100%;
    height: 200px;
    border-radius: 0;
  }

  #formulario {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
  }

  .form-group input {
    max-width: 100%;
  }

  .login-btn {
    width: 70%;
  }
}
