
/* Media query for tablets */
@media (min-width: 768px) {
    .grid-container-flex {
      font-size: 1.5rem;
    }
  
  }
  
  /* Media query for desktops */
  @media (min-width: 1024px) {
    .grid-container-flex {
      font-size: 2rem;
    }
  }
  
  .rectangle {
    height: 10px;
    width: 100px;
    background: linear-gradient(to right, #FF97B0 100%, #D9D9D9 100%);
    border-radius: 25px; 
    margin-top: 20px;
  }

  /* Tablet view (min-width: 768px) */
@media (min-width: 768px) {
    .rectangle {
        width: 100%; /* Adjust width for tablets */
        max-width: 500px;
    }
}

/* Desktop view (min-width: 1024px) */
@media (min-width: 1024px) {
    .rectangle {
        width: 100%; /* Adjust width for desktops */
        max-width: 1000px;
    }
}
  
  
  h1 { 
      color: #262626; 
      font-family:'Libre Franklin', sans-serif; 
      font-size: 2.4em;
      margin-top: 30px;
      margin-bottom: 20px;
      text-align: center;
  }

  h2 {
  color: #262626;
      font-family: 'Libre Franklin', sans-serif;
      font-size: 1.2em;
      cursor: pointer;

  }

  h2 a {
    text-decoration: none;
    color: inherit;
  }
  
  h2 a:hover {
    text-decoration: underline;
    cursor: pointer;
  }

  .question-header {
    display: flex;
    justify-content: space-between; /* Pushes arrow to left and skip to right */
    align-items: center;
    width: 100%;
    padding: 10px 20px;
  }
  
  .arrow {
    font-size: 1.8em;
    color: #262626;
    cursor: pointer;
    text-decoration: none;
  }
  
  .question-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .question-options a .arrow {
    font-size: 1.3em;
  }
  
  
  p { 
    color: #262626; 
    font-family:'Libre Franklin', sans-serif; 
    font-size: 1em;
    margin-bottom: 20px;
    margin-left: 20px;
  
  }
  
  b {
    font-family:'Libre Franklin', sans-serif; 
    font-size: 1.2em;
  
  }
  
          body {
            background-color: #f5f5f5;
            margin-left: 5px;
            margin-right: 5px;
              display: flex;
              justify-content: center; /* Center horizontally */
              align-items: center; /* Center vertically */
              background-size: cover; /* Cover entire background */
              background-position: center; /* Center the background image */
              text-align: center; /* Center text inside the section */
  
          }
          .grid-container-flex {
              display: flex;
              flex-direction: column; /* Stack items vertically */
              align-items: center; /* Center items horizontally */
              padding: 20px;
              color: #262626; /* Change text color for contrast */
          }
  
          /* Media query for tablets */
          @media (min-width: 768px) {
              .grid-container-flex {
                  font-size: 1.5rem; /* Increase font size for tablets */
              }
              .my-button {
                  font-size: 1.5rem; /* Larger button text */
              }
          }
  
          /* Media query for desktops */
          @media (min-width: 1024px) {
              .grid-container-flex {
                  font-size: 2rem; /* Increase font size for desktops */
              }
              .my-button {
                  font-size: 2rem; /* Larger button text */
              }
          }
  
  * {box-sizing: border-box}
  
  /* Add padding to containers */
  .container {
  padding: 10px 20px;
  }
  
  /* Full-width input fields */
  input[type=text], input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 10px 0 45px 0;
  border-radius: 12px;
  display: inline-block;
  background: white;
  border: 1.5px solid black;
  }
  
  input[type=text]:focus, input[type=password]:focus {
  background-color: #f1f1f1;
  outline: none;
  }
  
  /* Full-width input fields */
  input[type=number], input[type=number] {
    width: 100%;
    padding: 15px;
    margin: 10px 0 22px 0;
    border-radius: 12px;
    display: inline-block;
    background: white;
    border: 1.5px solid black;
    }
    
    input[type=number]:focus, input[type=number]:focus {
    background-color: #f1f1f1;
    outline: none;
    }
  
  /* Set a style for the submit/register button */
.nextbtn {
  background-color: #FF7900;
  color: black;
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
  font-family:'Libre Franklin', sans-serif; 
    font-size: 1.2em;
    border: 1.5px solid black;
    margin-top: 40px;
  }
  
  .nextbtn:hover {
  opacity:1;
    background-color: #262626;
    color: white;
  }
  
  /* Add a blue text color to links */
  a {
  color: #262626;
  }
  
  /* Set a grey background color and center the text of the "sign in" section */
  .signin {
  background-color: #ffffff;
  text-align: center;
  }

/* Set a style for the submit/register button */
.connectionbtn {
    background-color: white;
    color: black;
    padding: 10px 40px;
    border-radius: 12px;
    cursor: pointer;
    width: auto;
    opacity: 0.9;
    font-family:'Libre Franklin', sans-serif; 
      font-size: 1.2em;
      border: 1.5px solid black;
      margin-top: 20px;
      margin-left: 10px;
      margin-right: 10px;
    }
    
    .connectionbtn:hover {
    opacity:1;
      background-color: #FFB570;
      color: black;
    }

    .connectionbtn.selected {
        background-color: #FFB570;
        color: black;
    }

    .connection-row {
        display: flex;
        justify-content: center; /* Centers them */
    }
