/* ====== RESET ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

html, body {
  height: 100%;
}

/* ====== LAYOUT PRINCIPAL ====== */
main.container {
  display: flex;
  min-height: 100vh;
  flex-wrap: wrap;
}

/* ====== SEÇÃO ESQUERDA ====== */
.left-side {
  background: linear-gradient(to right, #3d909f, #0c693a);
  color: #fdf5e7;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.logo img {
  max-width: 375px;
  margin-bottom: 1.5rem;
}

.intro p {
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
}

nav .about-btn {
  background-color: #f0f5f1;
  color: #69412a;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
  width: fit-content;
  transition: 0.3s ease;
  box-shadow: 0 3px 5px black;
}

nav .about-btn-mobile {
  display: none;
}

nav .about-btn:hover {
  background-color: #fff;
  transform: scale(1.05);
}

/* ====== SEÇÃO DIREITA ====== */
.right-side {
  background-color: #dbece6;
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.right-side h2 {
  color: #5fa89f;
  margin-bottom: 1.5rem;
}

/* ====== FORMULÁRIO ====== */
.login-container {
  background-color: #81c7b4;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  width: 100%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 4px 20px black ;
}

label {
  display: block;
  text-align: left;
  color: #69412a;
  font-weight: bold;
  margin-top: 10px;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  margin-bottom: 15px;
  border-radius: 20px;
  border: none;
  outline: none;
}

.links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.85rem;
  margin: 12px 0;
  text-decoration: underline;
  text-decoration-color: #ffffff;
}

.links a {
  color: #ffffff;
  text-decoration: none;
}

button,
.login-btn {
  border-radius: 20px;
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  border: none;
  background-color: #4caf50;
  color: white;
  transition: 0.3s ease;
}

button:hover,
.login-btn:hover {
  background-color: #43a047;
}

/* ====== MARCAÇÕES ====== */
sup {
  color: #e53835;
}

/* ====== RESPONSIVIDADE ====== */
@media (min-width: 0px) {
  html, body {
  overflow-x: hidden;
  }

  img{
    width: 250px;
    display: block;
    margin: 0 auto;
  }

  main.container {
    flex-direction: column;
  }

  .left-side p, .about-btn{
    display: none;
  }

  .left-side, .right-side {
    border-radius: 0;
    width: 100%;
    padding: 1.7rem;
    background: #81C7B4;
  }

  
  .intro p {
    margin: 0px;
  }

  .login-container {
    padding: 1.5rem;
    max-width: 100%;
    background-color: #FDF5E7;
    width: 250px;
  }

  .right-side h2 {
    color: #FDF5E7;
  }

  .links {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .links a {
    color: #69412A;
  }

  nav .about-btn {
    display: none;
    width: 100%;
    text-align: center;
  }

  nav .about-btn-mobile {
  background-color: #f0f5f1;
  color: #69412a;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
  width: fit-content;
  transition: 0.3s ease;
  box-shadow: 0 3px 5px black;
  margin-top: 2rem;
  }
}
@media (min-width: 451px) {
  html, body {
  overflow-x: hidden;
  }

  img{
    width: 611px;
    display: block;
    margin: 0 auto;
  }

  main.container {
    flex-direction: column;
  }

  .left-side p, .about-btn{
    display: none;
  }

  .left-side, .right-side {
    border-radius: 0;
    width: 100%;
    padding: 1.7rem;
    background: #81C7B4;
  }

  
  .intro p {
    margin: 0px;
  }

  .login-container {
    padding: 1.5rem;
    max-width: 100%;
    background-color: #FDF5E7;
    width: 611px;
    height: 380px;
  }

  .right-side h2 {
    color: #FDF5E7;
  }

  .links {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .links a {
    color: #69412A;
  }

  nav .about-btn {
    display: none;
    width: 100%;
    text-align: center;
  }

  nav .about-btn-mobile {
  background-color: #f0f5f1;
  color: #69412a;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
  width: fit-content;
  transition: 0.3s ease;
  box-shadow: 0 3px 5px black;
  margin-top: 2rem;
  }
}
@media(min-width: 1101px){
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

html, body {
  height: 100%;
}

/* ====== LAYOUT PRINCIPAL ====== */
main.container {
    display: flex;
    height: 100vh;
    flex-wrap: wrap;
    flex-direction: row;
}
.left-side {
   background: linear-gradient(to right, #3d909f, #0c693a);
  color: #fdf5e7;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  float: left;
}

.logo img {
  max-width: 375px;
  margin-bottom: 1.5rem;
}

img{
  display: flex;
  float: left;
}

.intro p {
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
}

nav .about-btn {
  background-color: #f0f5f1;
  color: #69412a;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
  width: fit-content;
  transition: 0.3s ease;
  box-shadow: 0 3px 5px black;
}

nav .about-btn-mobile {
  display: none;
}

nav .about-btn:hover {
  background-color: #fff;
  transform: scale(1.05);
}

/* ====== SEÇÃO DIREITA ====== */

.right-side {
  background-color: #dbece6;
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px; 
}

.right-side h2 {
  color: #5fa89f;
  margin-bottom: 1.5rem;
}

.login-container {
  background-color: #81c7b4;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  width: 100%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 4px 20px black ;
}

label {
  display: block;
  text-align: left;
  color: #69412a;
  font-weight: bold;
  margin-top: 10px;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  margin-bottom: 15px;
  border-radius: 20px;
  border: none;
  outline: none;
}

.links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.85rem;
  margin: 12px 0;
  text-decoration: none;
  text-decoration-color: #ffffff;
}

.links a {
  color: #ffffff;
  text-decoration: none;
}

button,
.login-btn {
  border-radius: 20px;
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  border: none;
  background-color: #4caf50;
  color: white;
  transition: 0.3s ease;
}

button:hover,
.login-btn:hover {
  background-color: #43a047;
}

/* ====== MARCAÇÕES ====== */
sup {
  color: #e53835;
}
}