@import "https://fonts.googleapis.com/css?family=Dosis";

.overlay { 
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  background-color: rgba(0,103,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

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

.overlay-openbtn {
  position: fixed;
  z-index: 1010;
  font-size: 32px;
  margin-top: 15px;
  margin-left: -1px;
  padding: 5px;
  background-color: rgba(0,103,0,0.75);
  color: #d7f2e8;
  border: solid 1px #d7f2e8;
  border-top-right-radius: 0.2em;
  border-bottom-right-radius: 0.2em;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 3px 10px 0 rgba(0, 0, 0, 0.58);
  transition: 0.75s;
}

.overlay a {
  font-family: "Dosis", sans-serif;
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #fff;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  font-size: 42px;
  color: #f1f1f1;
}

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

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