.openBtn {
  background: none;
  border: none;
  border-radius: 50%;
  padding: 8px 50px 8px 10px;
  font-size: 20px;
  color: var(--text-color);
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.openBtn[dir="rtl"] {
  padding: 8px 10px 8px 50px;
}
.openBtn:hover {
  /* background: #bbb; */
  opacity: 0.7;
  transform: scale(1.2);
}
/* The overlay effect with black background */
.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  margin-left: 0;
  background-color: rgb(0, 0, 0);
  background-color: rgba(
    0,
    0,
    0,
    0.9
  ); /* Black with a little bit see-through */
}

/* The content */
.overlay-content {
  position: relative;
  top: 36%;
  width: 80%;
  text-align: center;
  margin-top: 30px;
  margin: auto;
}

/* Close button */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  cursor: pointer;
  color: white;
}

.overlay .closebtn:hover {
  color: #ccc;
}

/* Style the search field */
.overlay input[type="text"] {
  padding: 15px;
  font-size: 17px;
  border: none;
  float: left;
  width: 80%;
  background: white;
}

.overlay input[type="text"]:hover {
  background: #f1f1f1;
}

/* Style the submit button */
.overlay button {
  float: left;
  width: 20%;
  padding: 15px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

.overlay button:hover {
  background: #bbb;
}

.overlay-content {
  position: relative;
}

#myMenu {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-top: none;
  list-style-type: none;
  margin-top: 52px;
  padding: 0;
  width: 100%;
}

#myMenu li {
  display: block;
}

#myMenu li a {
  display: block;
  padding: 8px;
  text-decoration: none;
}

#myMenu li a:hover {
  background-color: #ddd;
}

@media only screen and (max-width: 767px) {
  .openBtn {
    padding: 6px 8px;
    font-size: 20px;
  }

  .overlay-content {
    top: 31%;
    margin-top: 20px;
  }

  /* Close button */
  .overlay .closebtn {
    top: 15px;
    right: 30px;
    font-size: 40px;
  }

  /* Style the search field */
  .overlay input[type="text"] {
    padding: 12px;
    font-size: 14px;
  }

  /* Style the submit button */
  .overlay button {
    padding: 12px;
    font-size: 14px;
  }
  #myMenu {
    margin-top: 42px;
  }
  #myMenu li a {
    padding: 6px;
  }
}
