.header {
  flex: 1;

  z-index: 3;
  
  /*border: 1px solid black;*/

  padding: 5px;
  min-height: 110px;
  max-height: 110px;

  background-color: rgba(0, 0, 0, 0.05);

  display: flex;
  flex-direction: row;

  transition: all 0.5s ease;  
}

.header-logo {
  flex: 1;
  width: auto;
  height: auto;
  display: flex;
}

.header-logo-img {
  border: 2px solid #ffffff;
  border-radius: 10px;
  background-color: #ffffff;
}

.header-menu {
  display: flex;
  align-items: center;

  border-radius: 8px;
  /*border: 2px solid red;
  /*margin-top: 15px;*/
  transition: all 0.5s ease;  
}

.header-menu-list {
  display: flex;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  border: 1px solid black;
  
  transition:
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

.header-menu-list:hover {
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.32);

  transform: translateY(-1px);
}

.header-menu-list a {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 145px;
  height: 46px;

  box-sizing: border-box;

  color: #ffffff;

  font-size: 18px;
  font-weight: 600;

  letter-spacing: 0.15px;

  text-decoration: none;

  background:
    linear-gradient(
      145deg,
      rgba(96, 96, 98, 0.5),
      rgba(96, 96, 98, 0.8),
      rgba(96, 96, 98, 1)
    ); 

  /*background-color:  rgba(96, 96, 98, 0.5);
  /*background-color: #ffffff;*/

  border-right: 1px solid rgba(0, 0, 0, 0.4);

  transition:
    color 0.35s ease,
    background-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.header-menu-list a:last-child {
  border-right: none;
}

.header-menu-list a::after {
  content: "";

  position: absolute;

  left: 18%;
  right: 18%;
  bottom: 7px;

  height: 2px;

  border-radius: 2px;

  background-color: #00ff8c;

  transform: scaleX(0);

  transition: all 0.5s ease;
}

.header-menu-list a:hover::after {
  transform: scaleX(1);
}

.header-menu-list a.active {
  color: #ffffff;
  text-shadow: 0 0px 2px rgba(0, 0, 0, 1);
  background: 
    linear-gradient(
      145deg,
      rgba(6, 138, 79, 0.5),
      rgba(6, 138, 79, 0.8),
      rgba(6, 138, 79, 1)
    );

  }

.header-menu-list a.active::after {
  transform: scaleX(1);
}

.header-menu-list a:active {
  /*transform: scale(0.97);*/

  color: #ffffff;
  text-shadow: 0 0px 2px rgba(0, 0, 0, 1);

  background: 
    linear-gradient(
      145deg,
      rgba(96, 96, 98, 0.5),
      rgba(96, 96, 98, 0.8),
      rgba(96, 96, 98, 1)
    ); 

}

.header-mobilemenu {
  display: none;

  position: relative;
}

.header-mobilemenu-zone {
  display: flex;
  flex-direction: row;
  margin: 0;
  gap: 0px;
}

.header-mobilemenu-zone-seleccion {

  background: 
    linear-gradient(
      145deg,
      rgba(6, 138, 79, 0.5),
      rgba(6, 138, 79, 0.8),
      rgba(6, 138, 79, 1)
    );


  border: 1px solid black;
  width: 130px;
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px rgba(0, 0, 0, 0.18);
  margin-right: 0;
  font-weight: bold;
  font-size: 20px;

}

.header-mobilemenu-zone-boton {
  width: 48px;
  height: 48px;

  padding: 9px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;

  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background-color:rgba(0, 0, 0, 0.62);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

  cursor: pointer;

  transition: transform 0.35s ease, background-color 0.35s ease;

}

.header-mobilemenu-zone-boton:hover {
  background-color:rgba(0, 0, 0, 0.78);
  transform: scale(1.04);
}

.header-mobilemenu-zone-boton span {
  width: 24px;
  height: 3px;

  display: block;

  border-radius: 3px;
  background-color: #ffffff;

  transition: transform 0.35s ease, opacity 0.35s ease;
}

.header-mobilemenu-content {
  position: absolute;

  top: 57px;
  right: 0;

  width: 210px;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border-radius: 8px;
  background-color:  rgba(0, 0, 0, 0.91);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);

  opacity: 0;
  visibility: hidden;

  transform: translateY(-10px) scale(0.98);

  transform-origin: top right;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

.header-mobilemenu.active .header-mobilemenu-content {
  opacity: 1;
  visibility: visible;

  transform: translateY(0) scale(1);
}

.header-mobilemenu-content a.active{
  transform: translateY(0) scale(1);
  padding-left: 23px;

  background: 
    linear-gradient(
      145deg,
      rgba(6, 138, 79, 0.5),
      rgba(6, 138, 79, 0.8),
      rgba(6, 138, 79, 1)
    );
  
  /*background-color: rgba(0, 155, 85, 0.28);*/
}

.header-mobilemenu-content a {
  position: relative;

  padding: 14px 18px;

  color: #ffffff;

  font-size: 15px;
  font-weight: 600;

  text-decoration: none;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  transition:
    background-color 0.3s ease,
    padding-left 0.3s ease;
  
}

.header-mobilemenu-content a:last-child {
  border-bottom: none;
}

.header-mobilemenu-content a:hover {

  background: 
    linear-gradient(
      145deg,
      rgba(6, 238,100, 0.5),
      rgba(6, 238,100, 0.8),
      rgba(6, 238,100, 1)
    );

  padding-left: 23px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
}


@media (max-width: 768px) {

  .header {
    min-height: 90px;
    max-height: 90px;
  }

  .header-menu {
    display: none;
  }

  .header-mobilemenu {
    display: block;
  }
}


/* =========================================================
   MOVIL
========================================================= */

@media (max-width: 480px) {
  .header {
    min-height: 70px;
    max-height: 70px;
  }
}