@keyframes random {
  15% {
    background-color: rgb(random(255), random(255), random(255));
  }

  30% {
    background-color: yellow;
  }

  45% {
    background-color: green;
  }

  60% {
    background-color: blue;
  }

  75% {
    background-color: white;
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.navegacion {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  z-index: 999;
}

.menu-button {
  border: 0;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 50px;
  /* margin: 10px; */
  width: 60px;
  height: 60px;
  position: fixed;
  right: 1em;
  top: 1em;
  z-index: 998;
  outline: none;
  cursor: pointer;

}

.menu-button:hover,
.menu-button.active {
  transition: all 0.3s ease-out;
  background-color: #ffffff;
}



.menu-button:hover .menu-bar,
.menu-button.active .menu-bar {
  background-color: #1fc17b;
  /* background: linear-gradient(-45deg, #0e9212, #0b6e0e, #074409, #15e71c, #1fc17b); */

}

.menu-button:hover{
  background-color: #120f12;
}
.menu-button .menu-bar {
  width: 30px;
  height: 2px;
  background-color: #1fc17b;
  position: relative;
  margin: 4px 0;
  -webkit-transform-origin: center center;
  transform-origin: center center;
}

#menu {
  width: 0%;
  height: 100%;
  position: fixed;
  background-color: #1fc17bed;
  top: 0%;
  left: 100%;
  -webkit-transform: translate(-100%, 0%);
  transform: translate(-100%, 0%);
  z-index: 10;
  font-family: 'Ciudadana';
}

.menu-nav {
  width: 100%;
  list-style: none;
  margin: 0;
  /* padding: 30px 0; */
  text-align: left;
  position: absolute;
  top: 5em;
  /* left: 50%; */
  /* -webkit-transform: translate(-50%, -50%); */
  /* transform: translate(-50%, -50%); */
  /* width: fit-content; */
  font-size: 2rem;
  overflow: hidden;

}



.menu-nav a {
  text-decoration: none;
  color: #fff;
  padding: 10px;
  display: block;
  opacity: 0;
  transition: 0.5s;
  width: 100%;
  border-bottom: 2px solid #fff;
  background-color: transparent;

}

.menu-nav a:hover {
  background-color: #fff;
  color: #fff;
  /* text-decoration: line-through; */
  /* background: linear-gradient(-45deg, #1fc17b, #10804f, #04633a, #02f18a, #23d5ab); */
  background: #10804f;
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  /* -webkit-animation: random 1s infinite;
  animation: random 5s infinite ; */
  -webkit-animation: gradient 5s infinite;
  animation: gradient 5s infinite;


}

.menu-nav li {
  width: 100%;
}

.prod_titulo {
  width: 100%;
  display: block;
}

.lang {
  position: fixed;
  left: 0em;
  top: 1em;
  background-color: #120f12;
  width: fit-content;
  z-index: 99;
  color: #fff;
  padding: 0.5em;
  padding-left: 1em;
  border-top-right-radius: 1rem;
  padding-right: 1em;
  text-transform: uppercase;
}


.dropbtn {
  background-color: rgba(0, 0, 0, 0);
  color: white;
  padding: 0px;
  border: none;
  cursor: none;
  font-size: 1em;
}

.dropdown {
  position: relative;
  display: inline-block;
  transition: 0.5s;
  text-transform: uppercase;
  text-align: right;
  z-index: 999;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: -16px;
  /* background-color: #000; */
  min-width: 160px;
  z-index: 1;
  padding-bottom: 2em;
  padding-top: 1em;
  border-top-right-radius: 1rem;
}

.dropdown-content a {
  color: #fff;
  padding: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.nav_pais {
  right: 3vw;
  top: 3vh;
}

@media only screen and (max-width: 768px) {

  .menu-button {
    /* top: 0; */
  }

  .menu-nav {
    width: 80%;
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 468px) {

  .menu-button {
    margin: 0;
  }
}



/* LANG */


.language-selector {
    position: fixed;
    width: fit-content;
    min-width: 100px;
    cursor: pointer;
    z-index: 999;
    right: 5.5em;
    top: 1.5em;
}

.main-lang {
    background-color: #fff;
    color: #1fc17b;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
}


.main-lang a:hover {
    background-color: #10804f;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
}

.lang-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lang-options div {
    padding: 10px;
    border-top: 1px solid #ddd;
    color: #1fc17b;
}

.lang-options div a {
    color: #1fc17b;
    font-weight: normal;
}

.lang-options div a:hover {
    color: #000;
    background-color: transparent;
}

.language-selector:hover .lang-options {
    max-height: 500px;
    /* suficientemente alto para mostrar todos */
}

.lang-options div:hover {
    background-color: #eee;
}
@media only screen and (max-width: 520px) {

  .navegacion {
    position: fixed;
  }
}

@media only screen and (max-width: 520px) {
  .logo_top img {
    width: 160px;
  }
}