/* menu responsive */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 150px;
  text-align: center;
  margin: 0 auto;
}

.overlay-content a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 15px 20px;
  position: relative;
}

/* ------------------------------------- */
/* linea de bajo de cada opcion del menu */
/* ------------------------------------- */
.overlay-content a:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #fff;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 200px;
}
.overlay-content a:hover:after {
  width: 100%;
  left: 0;
}
/* ------------------------------------- */
/* linea de bajo de cada opcion del menu */
/* ------------------------------------- */

/* ----------------------------------------------- */
/* este sector posee la linea de bajo en pasamouse */
/* ----------------------------------------------- */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  /*transition: 0.3s;*/
  transition: color 0.3s ease; /* Transición para el color del texto */
}

.overlay a::after {
  content: "";
  position: absolute;
  text-decoration: none;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px; /* Altura del borde inferior */
  background-color: #f1f1f1; /* Color del borde */
}

.overlay a:hover,
.overlay a:focus {
  color: #ffcc99;
}
/* ----------------------------------------------- */
/* este sector posee la linea de bajo en pasamouse */
/* ----------------------------------------------- */

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

/* -------------- */
/* menu hamburger */
/* -------------- */
.menu_hamburger {
  /*font-size:30px;*/
  cursor: pointer;
  vertical-align: text-bottom;
}

.menu_hamburger:before {
  content: "\2630";
  font-size: 30px;
  color: #005669; /*blue*/
  position: relative;
  font-weight: bold;
  padding-right: 5px;
}

.menu_hamburger:hover:before {
  content: "\269F";
  font-size: 30px;
  color: #ff8000;
  position: relative;
  padding-right: 2px;
}
/* -------------- */
/* menu hamburger */
/* -------------- */

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
