*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body{
  background-color: lightslategray;
  font-family: Helvetica, sans-serif;
  padding: 1%;
  /*max-height: 96%;*/
}
header {
  position: relative;
  
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: comic sans;
  font-size: 10vw;
  font-weight: bolder;
  letter-spacing: 1vw;
  background-color: inherit;
  color: black;
  padding: 0px;
  }
header a{
  text-decoration: none;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: black;
}
header img{
  position: relative;
  justify-content: space-around;
  align-items: center;
  max-width: 50%;
  border-radius: 3px;
}

nav {
  position: relative;
  background-color: inherit;
  justify-content: space-around;
  display: flex;
  min-height: 8vh;
  align-items: center;
  color: lightgoldenrodyellow;
  text-decoration: none;
  }
.nav-links{
  font-family: Helvetica, sans-serif;

    background-color: inherit;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
	  align-items: center;
    max-width:900px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li a, .dropbtn{
  font-family: Helvetica, sans-serif;

  display: block;
	letter-spacing: 3px;
  list-style:none;
  padding: 14px 16px;
  display: block;
  width: inherit;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 3px;
	text-transform: uppercase;
  color: lightgoldenrodyellow;
  text-decoration: none;
}
.nav-links li a:hover, .dropdown:hover .dropbtn {
  color: lightslategray;
  font-weight: bold;
  background-color: lightgoldenrodyellow;
}
.nav-links li.dropdown {
  display: inline-block;
}

.dropdown-content{
  display: none;
  position: absolute;
  background-color: black;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index:1;
}
.dropdown-content a {
  color: lightcyan;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}
.dropdown-content a:hover {
  background-color: lightcyan;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.nav-links li a:visited {
  color: lightskyblue;
}
.nav-links li a:active {
background-color: lightcyan;
}
.active {
  background-color: lightcyan;
}

.burger {
    display: none;
    cursor: pointer;
}
.burger div{
    width: 25px;
    height: 3px;
    background-color: lightgoldenrodyellow;
    margin: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media screen and (max-width:1024px){
    .nav-links{
        width: 50%;
    }
}
@media screen and (max-width:768px){
    body #dummy{
        overflow-x: hidden;
    }
    header {
      max-width: inherit;
    }
    .nav-links{
        position: absolute;
        top: 6vh;
        right: 0px;
        min-height: 48vh;
        padding-top: 4vh;
        background-color: lightslategray;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 150px;
        transform: translateX(100%);
        
    }
    
    .nav-links li{
        opacity: 0;
        display: block;
        width: 150px;
        text-align: center;
    }
  .dropdown-content{
      position: relative;
    }
    .burger{
        display: block;
        position: absolute;
        right: 2vw;
    }
}

.nav-active{
    transform: translateX(0%);
    transition: transform 0.5s ease-in;
}

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

.burger-toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.burger-toggle .line2{
    opacity: 0;
}
.burger-toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}
.container {
    background-image: url("../img/manpages.png");
    margin: auto;
    justify-content: space-around;
    border-radius: 3px;
    padding: 4%;
}

#timer{
  font-size: 11pt;
  font-family: Courier, serif;
   text-align: left;
   color: lightgoldenrodyellow;
 
}
article {
  border-radius: 3px;
  padding: 1em 1em 1em 1em;
  background-color: whitesmoke;
  max-height: inherit;
  margin:auto;
}
article form {
  padding-left: 20px;
  padding-top: 5px;
 }
article ul{
  list-style-type: square;
  padding-left: 20px;
}

h3 {
  font-size: 20px;
  padding-block-start: 5px;
  padding-block-end: 5px;
}
h2 {
  fontsize: 15px;
  padding-block-start: 5px;
  padding-block-end: 5px;
}
p, ul, nl, li{
  font-family: Georgia, serif;  
  font-size: 17px;
  padding-block-start: 10px;
  list-style-type: square;
}
.console {
  display: block;
  background-color: lightgoldenrodyellow;
  border: 2px solid grey;
  border-radius: 3px;
  padding: 10px;
  padding-block-end: 5px;
  padding-block-start: 5px;
  
  -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.5);
  box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.5);
  margin:auto;
  
  font-family: Courier, serif;
  font-size: 12pt;
}
#content {
  max-width: 900px;
  border-radius: 3px;
  padding: 0px 10px 5px 10px;
  margin: auto;
  }
#content-img{
  padding-top: 10px;
  max-width: 600px;
  display: block;
  position: relative;
  align-content: center;
  border-radius: 3px;
}

.abstract {
  font-family: 'Linux Libertine', serif;
  font-style: italic;
  padding: .5em;
}


.quiz{
  padding-left: 20px;
  padding-top: 5px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.quiz h1, h2, h3, h4, h5 {
  font-family: Helvetica, sans-serif;
}

p.correct, p.incorrect{
  padding-top: 5px;
  padding-bottom: 5px;
  margin: auto;
}

.back-up {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  display: block;
  position: fixed;
  bottom: 1%;
  right: 1%;
  padding: 0;
}

.image {
  width: 40px;
  height: 40px;
  border-radius: 3px;
}
.overlay{
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  height: 40px;
  width: 40px;
  opacity: 0;
  transition: .5s ease;
}

.hover-img {
  position: absolute;
  top: 20px;
  left: 20px;
  transform: translate(-20px, -20px);
  -ms-transform: translate(20px, -20px);
}

.back-up:hover .overlay {
  opacity: 1;
}

footer p {
  font-family: Courier, serif;
  font-size: 11pt;
  color: lightgoldenrodyellow;
  
  min-height: 2vh;
  text-align: center;
  vertical-align: baseline;
  padding: 1%;
  margin:auto;
  position: relative;
  bottom:0;
  
  display: flex;
    justify-content: space-around;
  align-items: center;

}