#navbar{
    position: relative;
    background: linear-gradient(to right, #2F60A2, #359980);
}

.background {
    background: linear-gradient(to right, #2F60A2, #359980);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    padding-top: 5vh;
    padding-bottom: 5vh;
  }
  
  .container {
    background-color: #F5F6FA;
    border-radius: 2vw;
    padding: 5vh 5vw 5vh 5vw;
    width: 40vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    transition: height 0.5s ease;
  }

  .container.success {
      /* Styles to apply when the registration is successful */
      height: auto; /* Allow the container to expand to accommodate the success content */
      padding-bottom: 30px; /* Add some padding at the bottom to separate the content from the form */
  }
  .content:not(.hidden) {
    display: block; /* Show the success content */
  }
  

  .form-hStack {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    width: 100%;
  }
  
  .form {
    display: flex;
    flex-direction: column;
    gap: 2vh;
  }
  
  .form-title {
    color: #30363D;
    text-align: center;
    font-size: 2rem;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .form-medium {
    color: #30363D;
    text-align: center;
    font-size: 1.75rem;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .form-small {
    color: #30363D;
    text-align: center;
    font-size: 1.5rem;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .form-field label {
    color: #747B88;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }
  
  .form-field input[type="text"],
  .form-field input[type="email"],
  .form-field select {
    width: 100%;
    padding: 1.5vh;
    box-sizing: border-box;
    border: none;
    border-radius: 0.25vw;
    background-color: white;
    color: #30363D;
    font-family: "Montserrat", "sans-serif";
    font-size: 1.25rem;
  }
  
  .form-field input[type="text"]::placeholder,
  .form-field input[type="email"]::placeholder {
    color: lightgray;
  }
  

  .smalltext {
    color: #9FA1A4;
    font-size: 1rem;
    text-align: center;
  }
  
  .signup-button {
    background-color: #32838C;
    color: white;
    font-family: "Montserrat", "sans-serif";
    font-size: 1.5rem;
    font-style: normal;
    border: none;
    border-radius: 0.5vw;
    padding: 10px;
    width: 100%;
    cursor: pointer;
  }

  .hidden{
    display: none;
  }

  

  .qr {
    width: 50%;
  }

  .download {
    width: 40%;
  }

  #successContent, #failureContent {
      text-align: center;
  }

/* Style for error messages */
.field-validation-error {
    color: red;
    font-size: 1.25rem;
}

@media (orientation: portrait) {
    .container {
        width: 80vw;
    }

    .form-hStack {
        gap: 2vw;
        justify-content: space-between;
    }

    .form-field.sub {
        width: 45%;
    }
}