div#form-titles {
  display: flex;
}


h1.form-title {
    text-align: left;
    font-size: 1.6em;
    margin: 15px 0;
    color: white;
    cursor: pointer;
    margin: auto;
    padding: 15px;
    border-radius: 10px;
  }
  
#form-title-1, #form-title-2 {
  color: #BD4CF7;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
}

#form-title-1:hover, #form-title-2:hover {
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
}

#form-title-3:hover, #form-title-4:hover {
  color: #BD4CF7;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
}

.form-login, #check-register {
  display: none;
}

  .form, .form-login {
    width: 500px;
    margin: 20px auto;
    border: 2px solid #BD4CF7;
    border-radius: 5px;
    padding: 30px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    transition: all 0.4s ease-in-out;
  }
  
  .form:hover, .form-login:hover {
    box-shadow: 0 0 10px #171445;
  }
  
  .form-label, .form-label-login {
    display: block;
    margin-top: 25px;
    font-size: 1.3em;
  }
  
  .form-input, .form-input-login {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    width: 100%;
    padding: 12px 20px;
    margin-top: 8px;
    margin-bottom: 3px;
    box-sizing: border-box;
    border: 2px solid #352052;
    border-radius: 7px;
    background-color: white;
    color: #080327;
    transition: all 0.3s ease-in-out;
    font-size: 1em;
  }
  
  .form-input:focus {
    border-color: #BD4CF7;
  }
  
  #submit, #submit2 {
    width: 100%;
    background-color: #BD4CF7;
    color: white;
    padding: 10px 20px;
    margin-top: 12px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 1.4em;
  }
  
  #submit:hover, #submit2:hover {
    background-color: #352052;
  }
  
  /* Responsive layout - faz com que o formulário fique funcional para telas menores */
  @media (max-width: 600px) {
    .form, .form-login {
      width: 100%;
    }
  }
  
  .helper-text, .helper-text-login {
    display: none;
    font-size: 1em;
    color: #ffcdcd;
  }

  
  input.error {
    border: 3px solid #ff0000;
  }
  
  input.correct {
    border-image: linear-gradient(to right, #BD4CF7, rgb(0, 17, 255)) 1;
  }

  .visible {
    display: block;
  }

  #background-main {
    transition: background-image 1s ease;
  }

  #esqueci-helper-login {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    cursor: pointer;
  }

  #esqueci-helper-login:hover {
    color: #BD4CF7;
  }

  #texto-register, #texto-register2 {
    display: block;
  }

  @media (min-width: 1220px) {
    #texto-register,
    #texto-register2 {
      display: none;
      position: absolute;
      top: 40%;
      left: 15%;
      transform: translate(-50%, -50%);
      font-size: 4.4em;
      font-weight: bold;
      color: white;
      cursor: default;
    }
  
    #texto-register {
      animation: bounce 3s;
      font-size: 4.4em;
      text-shadow: 4px 2px #171445;
    }
  
    #texto-register2 {
      animation: bounce 4s;
      font-size: 2.5em;
      top: 46%;
      text-shadow: 4px 2px #171445;
    }
  
    @keyframes bounce {
      0% {
        transform: translateY(0);
        opacity: 0;
      }
      50% {
        transform: translateY(-20px) translate(-50%, -50%);
        opacity: 1;
      }
      100% {
        transform: translateY(0) translate(-50%, -50%);
        opacity: 1;
      }
    }
  }
  