@import url(/css/reset.css);
@import url(/css/index.css);

#telaLogin {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#telaLogin > form {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 350px;
  background-color: var(--bg-orange);
}
label{
  margin-right: 110px;
  margin-bottom: 5px;
  color: var(--bg-black);
}
label:last-of-type{
  margin-right: 80px;
  margin-bottom: 5px;
}

[type=text], [type=email], [type=password]{
  margin-bottom: 15px;
  padding: 3px 10px;
  border: none;
  border-radius: 15px;
}

.btn1{
    display: block;
    z-index: 200;
    right: -250px;
    top: 70%;
    position: absolute;
    background: #fbca1f;
    font-family: inherit;
    padding: 0.6em 1.3em;
    font-weight: 900;
    font-size: 18px;
    border: 3px solid black;
    border-radius: 0.4em;
    box-shadow: 0.1em 0.1em;
    cursor: pointer;
    transition: linear 1.5s;
}

.btn1.active {
  display: flex;
  z-index: 200;
  right: 150px;
  top: 70%;
  max-width: 150px;
  position: absolute;
  background: #fbca1f;
  font-family: inherit;
  padding: 0.6em 1.3em;
  font-weight: 900;
  font-size: 18px;
  border: 3px solid black;
  border-radius: 0.4em;
  box-shadow: 0.1em 0.1em;
  cursor: pointer;
  transition: linear 1.5s;
}

#telaLogin > form:first-of-type:after {
  position: absolute;
  content: attr(content);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--bg-white);
  font-size: 24px;
  font-weight: bold;
  justify-content: center;
  align-items: center;

  z-index: 100;
  left: 100%;
  top: 0;
  background-image: url(https://i0.wp.com/mercadoeconsumo.com.br/wp-content/uploads/2019/04/Que-comida-saud%C3%A1vel-que-nada-brasileiro-gosta-de-fast-food.jpg?fit=1600%2C1067&ssl=1);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  height: 100%;
  transition: linear 1.5s;
}
#telaLogin > form:first-of-type.active:after {
  left: 0%;
}
#telaLogin > form:first-of-type >h3{
  margin-bottom: 10px;
  color: var(--bg-black);
}

#telaLogin > form:last-of-type > #btn2{

    background: #fbca1f;
    font-family: inherit;
    padding: 0.6em 1.3em;
    font-weight: 900;
    font-size: 18px;
    border: 3px solid black;
    border-radius: 0.4em;
    box-shadow: 0.1em 0.1em;
    cursor: pointer;
}

#telaLogin > form:last-of-type > #btn2:hover {
  transform: translate(-0.05em, -0.05em);
  box-shadow: 0.15em 0.15em;
}

#telaLogin > form:last-of-type > #btn2:active {
  transform: translate(0.05em, 0.05em);
  box-shadow: 0.05em 0.05em;
}
#telaLogin > form:first-of-type > #btn3{

    background: #fbca1f;
    font-family: inherit;
    padding: 0.6em 1.3em;
    font-weight: 900;
    font-size: 18px;
    border: 3px solid black;
    border-radius: 0.4em;
    box-shadow: 0.1em 0.1em;
    cursor: pointer;
}

#telaLogin > form:first-of-type > #btn3:hover {
  transform: translate(-0.05em, -0.05em);
  box-shadow: 0.15em 0.15em;
}

#telaLogin > form:first-of-type > #btn3:active {
  transform: translate(0.05em, 0.05em);
  box-shadow: 0.05em 0.05em;
}

@media (max-width: 480px){
  #telaLogin{
    flex-direction: column;
    scale: .9;
  }
}