/* changing the background color of the entire page */
html {
  background-color: #FDF8F0;
  margin: 25px;
}


/* changing all the fonts and font colours on the page */
* {
    font-family: 'Quicksand', sans-serif;
    color: #352F2E;
  }

  /* changing the font sizes of different text types/inputs */
  h1   {font-size: 45px; font-weight: Medium;}
  h2   {font-size: 40px;}
  p    {font-size: 25px; font-weight: 400px;}  
  ul   {font-size: 25px; font-weight: 400px;}
  label {font-size: 25px; margin-left: 20px; margin-right: 20px};
  
  table {
    width: 100%;
  }

  th {
    height: 50px;
    text-align: center;
    padding: 10px;
    background-color: #C64B50;
    color: white;
  }

  td {
    text-align: center;
    padding: 5px;
    border: black solid 1px;
  }

  tr {
    background-color: white;
  }

  tr:hover {background-color: #E58286}

  /* setting the body margin */
  body {
    margin: 0;
  }

  /* changing the background of the navbar to transparent */
  .navbar {
    overflow: hidden;
    position: fixed;
    height: 64px;
    top: 20px;
    left: 20px;
    margin-top: 0;
    z-index: 10;
  }

  /* Style the links inside the navigation bar */
  .navbar a {
    float: center;
    color: #352F2E;
    text-align: center;
    padding: 25px 25px 25px 25px;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Quicksand', sans-serif;;
  }

  .home a:hover {
    color: #BC4146;
  }

  /* Change the color of links on hover */
  .navbar a:hover {
    background-color: transparent;
    color: #BC4146;
  }

  /* Add a color to the active/current link */
  .navbar a.home {
    background-color: transparent;
    color: #352F2E;
    font-size: 25px;
    font-weight: bold;
  }

  /*styling the buttons on the page*/
  .button, #button {
    background-image: linear-gradient(to right, #F7A993, #DB776E,#BC4146);
    border: none;
    border-radius: 15px;
    color: white;
    padding: 15px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    transition-duration: 0.4s;
    margin-top: 15px;
  }

  .button:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  }

  .hero {
    display: flex;
    overflow: hidden;
    position: absolute;
    width: 97%;
    height: 500px;
    top: 200px;
    right: 0px;
    align-items: center;
  }
 
  .divHeroIllu, .divHeroText {
    flex: 1;
    margin: 20px;
  }

  .heroIllustration{
    position: absolute;
    bottom: 0;
    width: 800px;
    transform: scaleX(-1);
  }

  .eligtext {
    display: flex;
    overflow: hidden;
    position: absolute;
    width: 98%;
    height: 500px;
    top: 900px;
    left: 0px;
    align-items: center;
  }

  .divEligText, .divEligIllu {
    flex: 1;
    margin: 25px;
  }

  .eligIllustration {
    float: left;
    position: absolute;
    width: 800px;
    left: -100px;
    top: 25px;
    margin: -100px 0 0 -75px;
  }

  .infotext {
    display: flex;
    overflow: hidden;
    position: absolute;
    width: 97%;
    height: 550px;
    top: 1700px;
    right: 0px;
    align-items: center;
  }

  .divInfoText, .divInfoIllu {
    flex: 1;
    margin: 20px;
  }

  .infoIllustration {
    float: right;
    width: 1000px;
    position: absolute;
    bottom: 0;
    transform: scaleX(-1);
  }

  .footer {
    position: absolute;
    font-size: 15px;
    width: 50%;
    left: 0;
    top: 2300px;
    text-align: center;
    width:100%;
    display: flex;
    justify-content: center;
  }

  .teamName {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted #C64B50;
    color: #C64B50;
  }

  .teamNameToolTip{
    font-size: 12px;
  }

  .teamName .teamNameToolTip {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    margin: 5px;
  
    position: absolute;
    z-index: 1;
    width: 120px;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
  }
  
  .teamName:hover .teamNameToolTip {
    visibility: visible;
  }

   .checker {
    margin-top: 170px;
    margin-left: 50px;
  }

  .vaxContainer {
    display: inline-block;
    width: 1000px;
    height: 500px;
    background-color: #FFFFFF;
    
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
      
    margin: auto;
    padding: 40px;
    border-radius: 35px;
  }

  .vaxHeader, .questionDiv {
    margin-top: 170px;
    margin-left: 50px;
  }

  .questionContainer {
    display: inline-block;
    width: 1000px;
    height: auto;

    position: absolute;
    top: 300px;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;
    margin-left: 90px;
  }

  input[type="radio"] {
    margin-right: 10px;
    margin-bottom: 10px;
  }

  input[type='radio'], label{   
    display:inline;
    vertical-align:center;
 }

 input[type='number'] {
   margin-right: 10px;
   margin-left: 10px;
   width: 50px;
   font-size: 20px;
 }

 .bloodPressQues {
   display: block;
   width: 100%;
 }

 .flexBoxPress, .symptomFlexBox {
   display: flex;
   width: 100%;
   margin-bottom: 10px;
 }

 .sysDiv, .diaDiv, .symptomDiv1, .symptomDiv2{
   flex: 1;
 }

 #finalMessage {
   text-align: center;
   width: 90%;
   margin: 30px;
   margin-right: 200px;
   padding-right: 100px;
 }
 
.divSearch {
  margin-top: 75px;
  margin-left: 5px;
}

 .searchBar {
  margin-bottom: 20px;
  width: 300px;
  font-size: 20px;
 }

 .flex-container {
  display: flex;
  width: 1000px;
  height: auto;

  margin-top: 100px;
  padding: 10px;
  margin-left: auto;
  margin-right: auto;

  flex-flow: row wrap;
  justify-content: space-around;

}

.flex-container > div {
  background-color: white;
  color: white;
  height: 300px;
  width: 300px;
  margin: 10px;
  position: relative;
  text-align: center;
  line-height: 75px;
  font-size: 30px;
  border-radius: 35px;
  padding: 20px;
}

.flex-container> div:hover {
  transition-duration: 0.4s;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

@media (max-width: 800px) {
  .flex-container {
    flex-direction: column;
  }
}

.infoButton{
  position: absolute;
  bottom: 25px;
  right: 25px; 
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding: 15px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
#close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#close:hover,
#close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}