*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.signUp{
  background-color: white;
  width: 90%; min-width: 300px;
  min-height: 90vh;
  position: relative;
  padding: 2%;
}

.regresar{
  font-weight: bolder;
  color: var(--yellow);
  position: absolute;
  height: 50px;
  width: 100px;
  padding: 15px 0 0 40px;
  left: 3%;
  top: 3%;
}

#close{
  top: 0;
  left: 0;
}

#closeA{
  background-color: var(--yellow, black);
}

#closeA::after, #closeA::before{
  background-color: inherit;
}

.signUp__title{
  width: 100%;
  text-align: center;
  font-size: 1.8em;
  color: var(--secondary, black);
  /* margin-bottom: 20px; */
}

#formLogin{
  width: 100%;;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  
  justify-items: center; */
}

.loginForm{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: 350px;
  min-width: 250px; width: 30%;
  padding-top: 20px;
}

.loginForm > div{
  margin: 0;
}

.loginForm > div + div{
  margin: 30px 0 0 0;
}

.loginForm  img {
  margin-top: 10px;
  width: 30%;
  min-width: 250px;
}

legend{
  padding-left: 2px;
}

.loginForm > .row{
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  flex-direction: row;
  align-self: flex-end;
  justify-content: space-between;
}

#submit{
  color: black;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: bolder;
  align-self: flex-end;
  border-radius: 0;
  min-width: 250px;
  min-height: 50px;
  padding: 10px 20px;
}

/* Tooltip container */
.tooltip {
  border-radius: 50%;
  background-color: var(--secondary);
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: absolute;
  display: inline-block;
  text-align: center;
  top: -5px;
  right: 1em;
  color: var(--yellow);
  font-weight: bolder;
  font-size: 24px;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  min-width: 160px;
  background-color: var(--secondary);
  color: #fff;
  text-align: center;
  padding: .3em;
  border-radius: 6px;
  min-height: 30px;
  font-size: 12px;
  height: max-content;
  opacity: 0;
  transition: .5s ease;
 
  /* Position the tooltip text - see examples below! */
  bottom: 100%;
  left: 100%;
  margin-left: -90px; /* Use half of the width (120/2 = 60), to center the tooltip */
  top: -125%;
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext, .tooltip:focus .tooltiptext {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 1024px){
  .signUp{
    padding-top: 100px;
  }

  .loginForm > .row{
    padding-top: 20px;
    position: static;
    flex-direction: row-reverse;
  }

  .loginForm  img {
    position: absolute;
    right: 3%;
    top: 1%;
  }
}

@media screen and (max-width: 870px){
  .loginForm{
    margin: 10px 0;
  }

  .loginForm > .row{
    justify-content: center;
  }
  .loginForm{
    min-height: auto; height: auto;
    padding: 5% 0;
  }
  .loginForm  img {
    min-width: 50%;
    top: 2%;
    /* right: 50%;
    top: calc(1% + 20px);
    transform: translateX(50%); */
  }
}