.allergens {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
}

/* HEADER */
.allergens__header {
  background: var(--color-degradado2);
  backdrop-filter: blur(5px);
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 50rem;
  padding: 0.2rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  z-index: 1;
  animation: rotation 2s;
}

.allergens__header-logo-img {
  width: 3rem;
}

.allergens__header-iconos {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.allergens__header-iconos i {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  max-width: 1.5rem;
  max-height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: rotation 3s;
}

.allergens__header-iconos img {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  max-width: 1.5rem;
  max-height: 1.5rem;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  animation: rotation 3s;
}

.allergens__icons {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  max-width: 1.5rem;
  max-height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: rotation 3s;
}

/* Aviso de alérgenos */
.allergens__aviso {
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 6rem auto 3rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  background: var(--color-degradado2);
  box-shadow: var(--sombra2);
}

.allergens__aviso p {
  color: black;
}

.allergens__aviso-bandera {
  width: 2.2rem;
  border-radius: 50%;
  margin: 0 auto;
}

/* Alérgenos INFO */
.allergens__info {
  width: 100%;
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem auto;
  padding: 0.5rem;
}

.allergens__info h1 {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

.allergens__lista {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Clases de cada alérgeno */
.allergen__allergen {
  width: 100%;
  max-width: 50rem;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 6fr;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.allergen__allergen-img {
  max-width: 5.5rem;
}
