.leerbody{
    width: 80%;
    margin-left: 20%;
    text-align: right;
}

.leerh1{
    font-size: 80px;
    margin-right: 2%;
    animation: 1s ease-out 0s 1 slideInFromRight;
}

.leerp{
    font-family: 'Lora', serif;
    font-size: 25px;
    width: 58%;
    margin-left: 40%;
    animation: 1s ease-out 0s 1 slideInFromRight;
}

.leerimg{
    width: 25%;
    margin: 5%;
    margin-left: 10%;
    margin-top: -25%;
    animation: 1.5s ease-out 0s 1 slideInFromLeftNew;
    box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 10%);
}

@keyframes slideInFromLeftNew {
    0% {
      transform: translateX(-300%);
    }
    100% {
      transform: translateX(0);
    }
  }
@keyframes slideInFromRight {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(0);
    }
  }

  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #768372;
    overflow-x: hidden;
    transition: 0.5s;
    box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 10%);
  }
  
  .overlay-content {
    position: relative;
    top: 10%;
    width: 100%;
    margin-left: 5%;
    text-align: left;
    padding-top: 50px;
    font-family: 'Yeseva One', serif;
    font-size: 80px;
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 40px;
    color: #FBFBFB;
    display: block;
    transition: 0.3s;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #BECABA;
  }
  
  .overlay .closebtn{
    position: absolute;
    top: 20px;
    right: 45px;
    border: 0;
  }
  
  .closebtn {
    background-color: #768372;
    color: #FBFBFB;
    font-size: 80px;
    z-index: 1;
  }
  
  .closebtn:hover {
    color: #BECABA;
  }
  
  .openbtn{
    color: #BECABA;
    font-size: 80px;
    position: absolute;
    margin-top: -50px;
    margin-left: 5px;
  }
  .nav-open {
    width: 20%;
  }

  @media screen and (max-width: 800px) {
    .nav-open {
      width: 100%;
    }
    .leerh1{
      font-size: 40px;
      margin-right: 5%;
      animation: 1s ease-out 0s 1 slideInFromRight;
    }
    
    .leerp{
        font-family: 'Lora', serif;
        font-size: 20px;
        width: 100%;
        margin-left: -5%;
        animation: 1s ease-out 0s 1 slideInFromRight;
    }
    .leerimg{
      width: 80%;
      margin: 5%;
      margin-left: 10%;
      margin-top: 5%;
      animation: 1.5s ease-out 0s 1 slideInFromLeftNew;
      box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 10%);
  }
  .openbtn{
    margin-top: -20px;
  }
  }
