

body {margin:0;font-family:Arial}

.main-content {
    max-width: 800px;
    width: 100%;
    margin: 70px auto;
}
p {
    color: #000;
} 




/* Navbar style */

 
.overlay {
  overflow: hidden;
  background-color: #fff;
  position: fixed;
  top: 0px;
  width: 100%;
  max-width: 800px;
  z-index: 2147483647;
  box-shadow: 0px -1px 20px 0px rgb(0 0 0 / 18%);
}

.overlay a {
  float: left;
  color: black;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.overlay a.icon {
  float: right;
}

.overlay a:hover {
  background-color: #eaeaea;
  color: #000;
}

.active {
  background-color: #eaeaea;
  color: #000;
}

.openIcon, .closebtn{
  display: none;
}

@media screen and (max-width: 600px) {
    .main-content {
      margin: 0 auto;
    }
    .overlay {
      height: 100%;
      width: 0;
      position: fixed;
      top: 0;
      left: 0;
      background-color: rgb(0,0,0);
      background-color: rgba(0,0,0, 0.9);
      overflow-x: hidden;
      transition: 0.5s;
    }

    .overlay-content {
      position: relative;
      top: 25%;
      width: 100%;
      text-align: center;
      margin-top: 30px;
    }

    .overlay a {
      padding: 8px;
      text-decoration: none;
      font-size: 36px;
      color: #818181;
      display: block;
      transition: 0.3s;
      float: none;
    }

    .overlay a:hover, .overlay a:focus {
      color: #f1f1f1;
    }

    .overlay .closebtn {
      position: absolute;
      top: 20px;
      right: 45px;
      font-size: 60px;
    }

    .openIcon, .closebtn{
      display: block;
      margin: 10px;
    }
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}
