/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

.banner {
  z-index: 999;
  background: white;
}  

.titulogif {
  display: flex;
  margin: 5px;
  align-items: center;
  justify-content: center
}

.menu {
  display: flex;
  justify-content: center; /* 👈 centra horizontal */
  align-items: center;
  gap: 10px; /* espacio entre gifs */
  width: 100%;
}

.menu-item {
  display: inline-block;
  position: relative;
  text-decoration: none; /* quita subrayado */
  z-index: 2;
}

.menu-item.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 120%;
  height: 120%;
  background: url("menuitemactive.gif") center/contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.menu-item img {
  position: relative;
  z-index: 1;
}

.dreasarts {
  width: clamp(220px, 90vw, 640px);
  height: auto;
}

.gifsmenu {
  width: clamp(80px, 6vw, 160px);
  display: block; /* 👈 importante */
}

.header,
.banner {
  width: 100%;
  max-width: 100%; 
}

/* Onda*/
.wave {
  position: relative;
  z-index: 998;
  height: 40px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: 30px;
}

.wave svg {
  width: 100%;
  height: 100%;
  display: block;

  /* CLAVE */
  preserveAspectRatio: xMidYMid slice;
}

.wave path {
  fill: white;
}