* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --fundo: linear-gradient(
    to right,
    rgba(21, 151, 184, 0.808),
    rgba(22, 207, 121, 0.5)
  );
  --verde: rgba(59, 194, 104, 0.507);
  --verde_escuro: rgba(37, 163, 37, 0.527);
  --verde_claro: rgb(16, 240, 16);
  --branco: aliceblue;
  --preto: black;
}

body {
  display: flex;
  position: relative;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: var(--fundo);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/*estilizando o primeiro container e seus componentes*/
.container_cadastro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10vh;
  width: 45%;
  min-height: 100vh;
  border: 1px;
  border-radius: 15px;
  border-top-right-radius: 1px;
  border-bottom-right-radius: 1px;
  background: var(--verde);
  box-shadow: 10px 10px 10px 2px var(--preto);
}

.container_cadastro h1 {
  color: var(--branco);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.container_cadastro p {
  font-size: clamp(0.89em, 1.8vw, 2.3em);
}

/*estilizando o segundo container e seus elementos*/

.container_login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5%;
  width: 45%;
  min-height: 100vh;
  border: 1px ;
  border-radius: 15px;
  border-top-left-radius: 1px;
  border-bottom-left-radius: 1px;
  background: var(--branco);
  box-shadow: 10px 10px 10px 2px var(--preto);
}

input {
  width: 70%;
  padding: 1.3em;
  padding-bottom: clamp(1.1em, 1.7vh, 2.2em);
  padding-top: clamp(1.1em, 1.7vw, 1.8em);
  margin: 1.3em;
  border: 1px solid black;
  border-radius: 20px;
}

input::placeholder {
  font-size: clamp(0.7rem, 1.6vw, 2.3em);
}

.container_login h2 {
  justify-self: center;
  align-self: auto;
  margin-bottom: 8%;
}

.container_cadastro h1, .container_login h2{
  font-size: clamp(1em, 4.8vw, 4.8em);
  font-family:sans-serif;
}

/*escondendo o label*/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0px;
  margin: -1px;
  overflow: hidden;
  border: 0px;
}
/*estilizando o botão para os dois containers*/

.container_cadastro button,
.container_login button {
  justify-self: end;
  align-self: auto;

  width: 40%;
  margin-top: 5%;
  padding: clamp(0.6em, 1vh, 2em);
  cursor: pointer;
  background-color: var(--verde_escuro);
  color: var(--branco);
  font-size: clamp(0.7em, 1.8vw, 1.9em);
}

.container_cadastro button:hover,
.container_login button:hover {
  background-color: var(--verde_claro);
}

/*media query*/

@media (max-width: 1090px) {
  .container_cadastro,
  .container_login {
    width: 50%;
    min-width:40%;
    min-height:60vh;
    margin-top:25%;
    margin-bottom:0 auto;
  }


  .container_cadastro{
    gap:7vh;
  }




  input {
    width: 80%;
    padding: 0.8em;
    margin: 1.4em;
  }

  input::placeholder {
    font-size: 0.99em;
  }

  h2 {
    font-size: 2em;
    margin-bottom:0.5em;
  }

  .container_cadastro button,
  .container_login button {
    width: 41%;
    padding:0.8em;
  }
}

@media(orientation: landscape) and (max-height:600px) and (max-width:1180px){
 .container_cadastro,
  .container_login {
    height:85vh;
     margin-top:2%;
  }

  .container_cadastro{
    gap:10vh;
  }

  

.container_cadastro p {
  font-size:2.1vw;
}

  .container_cadastro button,
  .container_login button {
    justify-self:end;
    padding:0.4em;
  }

   .container_login h2,  .container_cadastro h1{
    font-size:1.8em;
  }

  input{
    width:75%;
     margin: 0.5em;
  }
}