
  .quiz-container {
    position: relative;
    justify-content: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: var(--questionnaire-div-split);
    overflow: hidden;
  }
  
  .quiz {
    /* border: 5px solid; // Add border */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    flex-grow: 1; /* Allow the quiz to grow and fill the available space */
    padding-top: 0px;
    margin: auto;
    width: 90%;
    height: var(--questionnaire-div-split);
    overflow:hidden;
  }
  
  .main-form {
    height: 100%;
  }
  
  .quiz h2 {
    margin-bottom: 10px; /* Reduce spacing below the heading */
    margin-top: 6px;
    font-size: 18px; /* Adjust font size if needed */
  }
  
  .quiz p {
    font-size: 14px; /* Adjust font size for better readability */
    padding: 0;
    font-style: italic;
  }

  .quiz input {
    font-size: 16px;
  }
  
  /* Hide the actual radio input */
    input[type="radio"] {
        display: none;
    }

  .quiz label {
    display: block;
    text-align: left;
    font-size: 16px;
  }
  
  .custom-border{
    border: 3px solid var(--border-color);
  }

  input[type="radio"]:checked + .custom-border {
    background: none;
    background-color: var(--primary-color);
  }

  /* Style the label to look like a custom button */
.custom-radio {
    display: block;
    margin: 7px 0;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    transition: background-color 0.3s, border-color 0.3s;
  }
  
  .custom-radio:hover {
    /* Doing this makes undoing buttons black on phones for some reason */
    /* background-color: #0a1827; */ 
  }
  
  /* Highlight the selected option */
  input[type="radio"]:checked + .custom-radio {
    background-color: var(--primary-color);
    background: linear-gradient(rgba(0, 0, 0, 0), var(--primary-color), rgba(0, 0, 0, 0));
  }

  /* Highlight the selected option */
  input[type="checkbox"]:checked + .custom-radio {
    background-color: var(--primary-color);
    background: linear-gradient(rgba(0, 0, 0, 0), var(--primary-color), rgba(0, 0, 0, 0));
  }

  .custom-keypair{

  }

  input[type="radio"]:checked + .custom-keypair {
    background: none;
    background-color: var(--primary-color);
  }

  .quiz form {
    /* padding: 10px; */
  }

  .answers-div-outer-div{
    height: 45vh;
    overflow-y: scroll;
    mask-image: linear-gradient(black 80%, rgba(0,0,0,0) 90%);
  }

  .answers-div {
    overflow-y:scroll;
    height:'45vh';
  }
  
  .form-section{
    margin-top:25px;
    margin-bottom:25px;
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

.main-helper{
  height:var(--main-helper-split);
  /* animation: scroll-content 10s linear infinite; */
  /* border: var(--dark-border-color);
  border-width: 1.5px;
  border-style: solid; */
  /* -webkit-transition: height 1s ease; */
  transition: height 1s ease;
  margin-top: 5px;
  margin-bottom: 5px;
}

.navigation-buttons{
  height:var(--buttons-split);
}

.valid-email{
  border-color:green;
}

.invalid-email{
  border-color:red;
}

.valid-password{
  border-color:green;
}

.invalid-password{
  border-color:red;
}

.final-question{
  height:100%;
  flex-flow:column;
  display:flex;
}

.guideline-part{
  background-color: var(--border-color);
  margin-inline: 10px;
  padding-inline: 10px;
  box-shadow: 0px 5px 20px 1px;
  border-radius: .4em;
  color: var(--box-shadow-color);
}

.guideline-part *{
  color: white;
}
