nav{
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}
  nav img{
  width: 300px;
}

  .navlinks {
  background-color: rgb(255, 255, 255);
  flex: 1;
  text-align: right;
}

  .navlinks ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

  .navlinks ul li a{
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 20px;
}

  .navlinks ul li::after{
  content: '';
  width: 0%;
  height: 2px;
  background: turquoise;
  display: block;
  margin: auto;
  transition: 1.0s;
}

  .navlinks ul li:hover::after{
  width: 100%;
  cursor: pointer;
}

  .navlinks ul li ul {
  display: none;
  opacity: 1;
  padding: 8px 12px;
  position: relative;
  transition: 0.5s;
  margin: 0%;
  visibility: visible;
  text-align: center;
}

  .navlinks ul li:hover > ul, 
  ul li ul:hover {
  visibility: visibile;
  opacity: 1;
  display: block;
  position: absolute;
  margin: 0;
  text-align: center;
}

  .navlinks ul li ul li {
  clear: both;
  width: 100%;
  text-align: center;
  display: block;
  }

  .bottom {
    background-color: rgb(255, 254, 254);
  }
  section {
      display: block
  }
  .top {
      background-color: rgb(179, 177, 177);
      text-align: center;
      padding: 200px;
  }
  .background {
    background-image: url(/assets/images/background.png);
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    place-items: center;
  }
  .test-contents {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 2rem;
  font: 20px 'Poppins', sans-serif;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: rgb(0, 0, 0);
  backface-visibility: hidden;
  border: 0.3rem solid transparent;
  border-radius: 3rem;
}
* {
  font: 'Poppins', sans-serif;
  }
  
.bn36 {
  border-color: rgb(48, 47, 47);
  transition: transform 0.2s cubic-bezier(0.235, 0, 0.05, 0.95);
}
.bn36:hover {
  transform: perspective(1px) scale3d(1.044, 1.044, 1) translateZ(0) !important;
}

  body, html {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  }
  
  body {
  display: table;
  }
  
  #main {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  }
  
  #button {
  width: 300px;
  }
  
  .submit {
    border: 0;
    line-height: 1.2;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: rgb(3, 3, 3);
    text-shadow: 1px 1px 1px #000;
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    background-image: linear-gradient(to top left,
                                      rgba(0, 0, 0, .2),
                                      rgba(0, 0, 0, .2) 30%,
                                      rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6),
                inset -2px -2px 3px rgba(0, 0, 0, .6);
  }

  .submit:hover {
    background-color: rgb(66, 192, 112);
}

.submit:active {
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, .6),
                inset 2px 2px 3px rgba(0, 0, 0, .6);
}

  .styled {
    border: 0;
    line-height: 1.5;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px 1px #000;
    border-radius: 8px;
    background-color: rgba(255, 255, 255);
    background-image: linear-gradient(to top left,
                                      rgba(0, 0, 0, .2),
                                      rgba(0, 0, 0, .2) 30%,
                                      rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, .6),
                inset -2px -2px 3px rgba(0, 0, 0, .6);
}

.styled:hover {
    background-color: rgba(255, 0, 0, 1);
}

.styled:active {
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, .6),
                inset 2px 2px 3px rgba(0, 0, 0, .6);
}

  
  #input, #show {
  display: none;
  }
  
  #answer {
  position: absolute;
  top: 5%;
  right: 0px;
  padding: 15px;
  border: 2px dotted grey;
  width: 300px;
  height: 200px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  }
  
  #answer:hover {
  background-color: #cccccc;
  border: 2px solid #cccccc;
  }
  
  .right {
  background-color: #aaffaa;
  }
  
  .wrong {
  background-color: #ffaaaa;
  }