/* Menu Mobile
* ---------------------------------------------------------
*/

.hamburger-menu {
  display: none;
}

#menu__toggle {
  opacity: 0;
}

#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}

#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}

#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}

#menu__toggle:checked ~ .menu__box {
  right: 0 !important;
}

.menu__btn {
  display: none;
  position: absolute;
  top: 20px;
  right: 6px;
  width: 30px;
  height: 26px;
  cursor: pointer;
  z-index: 3;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: white;
  transition-duration: 0.25s;
}

.menu__btn > span.active,
.menu__btn > span.active::before,
.menu__btn > span.active::after {
  background-color: #a4c868;
}

.menu__btn > span::before {
  content: '';
  top: -8px;
}

.menu__btn > span::after {
  content: '';
  top: 8px;
}

.menu__box {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #ffffff;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transition-duration: 0.25s;
  z-index: 2;
}

.menu__item {
  display: block;
  text-align: end;
  padding: 12px 24px;
  color: #000000;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition-duration: 0.25s;
}

.menu__item:hover,
.menu__item.bg {
  background-color: #a4c868;
}

/* MENU WEB */
.hamburger-menu,
#navWeb {
  position: absolute;
  right: 20px;
  top: 0;
  z-index: 2;
}

#navWeb {
  top: 40%;
  right: 4%;
  background-color: transparent;
}

.hamburger-menu {
  right: 25px;
  top: 30px;
}

#navWeb.fondoBg {
  background-color: #f0ede5;
}

#navWeb ul {
  justify-content: center;
}

#navWeb a {
  color: #fff;
  font-family: 'Teko', sans-serif;
  font-size: 20px;
  font-weight: 400;
  padding-right: 30px;
}

#navWeb a.dark {
  color: black;
}

#navWeb a.dark.inactive {
  opacity: 0.5;
}

#navWeb a.paddMn {
  padding: 50px;
}

#navWeb a.paddRigth {
  padding-right: 40px;
}

#navWeb a:first-child {
  padding-left: 0;
}

#navWeb .link.no {
  padding-right: 0;
}

#navWeb a:nth-child(1) {
  width: auto;
}

#navWeb .start-home,
a:nth-child(1).bg ~ .animation {
  width: 65px;
  left: 0px;
}

#navWeb a:nth-child(2) {
  width: auto;
}

#navWeb a:nth-child(2).bg ~ .animation {
  width: 75px;
  left: 65px;
}

#navWeb a:nth-child(3) {
  min-width: 214px;
}

#navWeb a:nth-child(3).bg ~ .animation {
  width: 100px;
  left: 160px;
}

#navWeb a:nth-child(4) {
  min-width: 155px;
}

#navWeb a:nth-child(4).bg ~ .animation {
  width: 90px;
  left: 282px;
}

#navWeb a:nth-child(5) {
  min-width: 155px;
}

#navWeb a:nth-child(5).bg ~ .animation {
  width: 141px;
  left: 387px;
}

#navWeb a:nth-child(6) {
  min-width: 155px;
}

#navWeb a:nth-child(6).bg ~ .animation {
  width: 85px;
  left: 530px;
}

#navWeb a:nth-child(7) {
  min-width: 155px;
}

#navWeb a:nth-child(7).bg ~ .animation {
  width: 70px;
  left: 615px;
}

.ctnWeb {
  background-color: #f0ede5;
  height: 150px;
  top: 0;
  width: 750px;
  right: 0;
  position: absolute;
}

.ctnWeb.none {
  background-color: transparent;
}

#navWeb a.inactive {
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-weight: 400;
}

#navWeb a.dark.inactive {
  color: rgba(0, 0, 0, 0.5);
}

.navAside .iconSteel {
  margin-top: 170px;
}

.navAside {
  top: -40px;
  z-index: 2;
  position: absolute;
  left: 30px;
  /* gap: 150px; */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.navAside .redes {
  gap: 30px;
}

.navAside .redes img {
  width: 24px;
  height: 20px;
  object-fit: contain;
}

.barra {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  height: 7px;
  background-position: 100%;
  background-size: 400%;
  opacity: 0.2;
}

.barra.mobile.activa {
  background-color: #a3c868;
}

.iconSteel {
  width: 20px;
}

.barra.dark {
  background-color: #f0ede5;
}

.barra.activa {
  opacity: 1;
  background-color: #a3c868;
  transition: background 0.8s ease-in-out;
}

.barra.dark.activa {
  opacity: 1;
  background-color: #a4c868;
}

.btnNav {
  position: relative;
  margin-top: 80px;
  padding-bottom: 15px;
  max-width: 720px;
  overflow: auto;
  gap: 10px;
}

.btnNav a {
  color: #000;
  font-family: 'Arial', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 119%;
  position: relative;
  z-index: 1;
  letter-spacing: 2.7px;
  transition: all 0.6s linear;
  background-color: transparent;
}

.btnNav .barras {
  position: absolute;
  bottom: 0px;
  width: 100%;
}

.gris {
  position: absolute;
  bottom: -12px;
  width: 100%;
  z-index: -1;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.2);
}

.gris.bg {
  background-color: #f0ede5;
}

.animation {
  position: absolute;
  height: 10px;
  bottom: -12px;
  z-index: 0;
  left: 0;
  background: #a4c868;
  display: block;
  width: 70px;
  transition: all 0.6s linear;
}

.btnNav a.btnGeneral.bg,
#navImg2 a.btnGeneral.bg {
  font-weight: 800;
  font-family: 'Arial-bold', sans-serif;
}

.btnNav a.bgPrincipal {
  font-weight: 800;
  background-color: #f7d547;
}

@media screen and (max-width: 1200px) {
  #navWeb a {
    padding-right: 20px;
    font-size: 19px;
  }

  .ctnWeb {
    width: 710px;
  }

  .animation {
    width: 60px;
  }

  #navWeb a:nth-child(1) {
    width: auto;
  }

  #navWeb .start-home,
  a:nth-child(1).bg ~ .animation {
    width: 55px;
    left: 0px;
  }

  #navWeb a:nth-child(2) {
    width: auto;
  }

  #navWeb a:nth-child(2).bg ~ .animation {
    width: 75px;
    left: 55px;
  }

  #navWeb a:nth-child(3).bg ~ .animation {
    width: 110px;
    left: 130px;
  }

  #navWeb a:nth-child(4).bg ~ .animation {
    width: 90px;
    left: 245px;
  }

  #navWeb a:nth-child(5).bg ~ .animation {
    width: 125px;
    left: 335px;
  }

  #navWeb a:nth-child(6).bg ~ .animation {
    width: 78px;
    left: 463px;
  }

  #navWeb a:nth-child(7).bg ~ .animation {
    width: 60px;
    left: 545px;
  }
}

@media screen and (max-width: 992px) {
  .navAside {
    /* top: 3%; */
    left: 20px;
  }

  #navWeb {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .menu__btn {
    display: block;
  }

  .navAside .iconSteel {
    margin-top: 100px;
  }

  .navAside {
    gap: 70px;
  }
}

@media screen and (max-width: 768px) {
  .iconSteel {
    width: 16px;
  }

  .navAside {
    left: 10px;
  }

  .navAside .redes img {
    width: 18px;
    height: 18px;
  }

  .noticia .time {
    margin: 7px 0px 10px;
  }

  /* .navAside>img:first-child {
        width: 120px;
    } */
}

@media screen and (max-width: 480px) {
  .navAside {
    left: 8px;
  }
}
