html {
  font-family: Helvetica, sans-serif;
  color: white;
  background-color:#333;
  justify-content: center;

}

body {
  overflow-y: scroll;
}

.content {
  max-width: 100%;
  margin: auto;
}

/* For desktop: */
@media only screen and (min-width: 1200px) {
  .content {
    max-width: 60%;
    margin: auto;
  }
}

  ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #86b300;
  }
  
  li {
    float: left;
  }
  li.right {
    float: right;
  }

  li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: large;
    
  }


  #normalMenu{
    display: block;
  }
  
  #hamburger{
    display: none;
  }
  
  /* Change the link color to #111 (teal) on hover */
  li a:hover {
    background-color: teal;
    transition: all 0.1s ;
    transform: scale(1.1);
  }
.container{
  justify-content: center;
  display: flex;
  padding: 20px;
}
.container2{
  justify-content: center;
  display: block;
  padding: 20px;
}

.box {
  justify-content: center;
  text-align: justify;
  text-justify: auto;
  font-size: large;
  width: 80%;
  background-color: grey;
  padding: 20px;
}

  /* For mobile phones: */
  @media only screen and (max-width: 727px) {
    ul li.right, 
    ul li {float: none;}

    #normalMenu{
      display: none;
  }
    #hamburger{
      display: block;
    }
  
    .box{
      width: 90%;
    }

  }

.footer {
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: white;
  text-align: center;
}

.fixedFooter {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: white;
  text-align: center;
}

h2{
  padding-left: 0%;
  margin-top: 0;
  text-align: left;
  transition: 0.2s ease-in-out;
  
}

h2:hover{
  transform: scale(1.1); 
  padding-left: 4%;
  transition: 0.2s ease-in-out;
 }

 #scrollUpBtn {
  display: inline-block;
  position: fixed;
  bottom: 3%;
  right: 2%;
  font-size: 50px;
  border: none;
  outline: none;
  background-color: #555;
  color: greenyellow;
  cursor: pointer;
  padding-bottom: 15px;
  transition: 0.2s ease-in-out;
  width: 75px;
  height: 75px;
  border-radius: 50%;
}

#scrollUpBtn:hover {
  background-color: #888;
  transform: scale(1.3);
  transition: 0.2s ease-in-out;
}


code{
  text-align: center;
  display: block;
  padding-left: auto;
  padding-right: auto;
}

.codeP{
  background-color: #555;
  display: inline-block;
  color: #00FF00;
  padding: 5px;
  border-radius: 3px;
}

.thumbnailFigure {
  margin: 0;
}

.thumbnailImage {
  border: 3px solid #333;
  transition: 0.2s ease-in-out;
  height: 30%;
  width: 30%;
  margin-right: 5%;
  
  float: left;
}

.thumbnailImage:hover {
  transform: scale(1.7);
  border: 5px solid olivedrab;
  transition: 0.2s ease-in-out;
}


.thumbnailImage2 {
  /* border: 3px solid #333;
  background-color: rgb(221, 221, 221); */
  transition: 0.2s ease-in-out;
  height: 20%;
  width: 20%;
  margin-right: 5%;
  
  float: left;
}

.thumbnailImage2:hover {
  transform: scale(1.7);
  transition: 0.2s ease-in-out;
}

.pillButton {
  background-color: #333;
  border: none;
  color: white;
  padding: 5px 10px;
  margin: 4px 4px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  /* cursor: pointer; */
  border-radius: 16px;
  float: left;

  transition: 0.1s ease-in;
}

.pillButton:hover {
  background-color: greenyellow;
  color: black;
  transition: 0.1s ease-in;
}

.pillButton2 {
  background-color: #333;
  border: none;
  color: white;
  padding: 5px 10px;
  margin: 4px 4px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  /* cursor: pointer; */
  border-radius: 16px;
  float: none;

  transition: 0.1s ease-in;
}

.pillButton2:hover {
  background-color: greenyellow;
  color: black;
  transition: 0.1s ease-in;
}

.pillbox {
  padding: 5px 15px;
  margin: auto;
  border-radius: 16px;
  width: 85%;
  height: auto;
  background-color: rgb(100, 100, 100);
  
  display:flow-root;
  
}

.pillbox2 {
  padding: 5px 15px;
  border-radius: 16px;
  background-color: rgb(100, 100, 100);
  
  display: block;
  float: right;  
}

/* Nav menu */
.nav{
  width: 60%;
  height: 100%;
  position: fixed;
  /* background-color: var(--black); */
  overflow: hidden;
  right: 5%;
  z-index: 2;
}

menu{
  display: flex;
}

.menu li{
  width: auto;
}

.menu a{
  display: block;
  padding: 10px;
  /* color: var(--white); */
}

.menu a:hover{
  background-color: teal;
}

.nav{
  max-height: 0;
  transition: max-height .5s ease-out;
}


/* Menu Icon */

.hamb{
  cursor: pointer;
  float: right;
  padding: 25px 20px;
  background-color: #86b300;
}


.hamb-line {
  background: white;
  display: block;
  height: 2px;
  position: relative;
  width: 24px;  
}

.hamb-line::before,
.hamb-line::after{
  background: white;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .1s ease-out;
  width: 100%;
}

.hamb-line::before{
  top: 5px;
}

.hamb-line::after{
  top: -5px;
}


.side-menu {
  display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
  max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
  background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
  transform: rotate(-45deg);
  top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
  transform: rotate(45deg);
  top:0;
}

  /* For mobile phones: */
  @media only screen and (max-width: 727px) {
    h2{
      font-size: larger;
      text-align: center;
      margin-top: 10px;
    }
    h1{
      text-align: center;
    }

    p{
      text-align: center;
      text-justify:newspaper;
    }

    .thumbnailImage{
      display:block;
      float: none;
      margin-left: auto;
      margin-right: auto;
      width: 80%;
    }

    .thumbnailImage2 {
      display:block;
      float: none;
      margin-left: auto;
      margin-right: auto;
      width: 40%;  
    }

    .pillbox2{
      display: block;
      float: none;  
      width: fit-content;
      margin-left: auto;
      margin-right: auto;
      margin-top: 10px;
    }
  }

  .container_hvcenter{
    height: 100%;
    display: -webkit-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    /* margin: auto; */
  }