/* Aplicar una fuente a toda la página */
body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(10deg, #000000, #307575);
  background-attachment: fixed;
  background-size: cover;
  color: white;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 100%;
}

.logo img,
.logon img {
  width: 8vw;
  height: auto;
}

/* Menú */
.menu {
  display: flex;
  flex-wrap: nowrap;
  margin-top: 20px;
  gap: 8px;
  max-width: 1500px;
  width: 100%;
  justify-content: center;
  transform: translateX(-50px);
}

.menu div {
  flex: 1 1 auto;
  min-width: 100px;
  text-align: center;
}

/* Estilo para <h6> en el <header> */
header h6 {
  font-size: 1.5em;
  color: #000000;
  margin: 0;
  font-family: inherit;
  background-color: #afafaf;
}

/* Estilo de los elementos del menú */
.HOME h6,
.CONSULTORIA h6,
.EMPAQUE h6,
.iniciar-sesion h6 {
  color: #000000;
  padding: 5px;
  border-radius: 20px;
  cursor: pointer;
  margin: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Media Queries para Responsividad */

/* Ajustes para pantallas pequeñas (como tablets) */
@media (max-width: 768px) {
  .menu {
    gap: 5px;

    transform: translateX(15px);
  }
  .HOME h6,
  .CONSULTORIA h6,
  .EMPAQUE h6,
  .iniciar-sesion h6 {
    padding: 5px 3px;
    font-size: 1em;
    min-width: 90px;
  }

  header h6 {
    font-size: 1.2em;
  }

  /* Reducción del tamaño del logo en pantallas pequeñas */
  .logo img,
  .logon img {
    width: 12vw;
  }
}

/* Ajustes para pantallas aún más pequeñas (como teléfonos móviles) */
@media (max-width: 580px) {
  header h6 {
    font-size: 0.8em !important;
  }

  /* Logo más pequeño en móviles */
  .logo img,
  .logon img {
    width: 18vw;
  }

  /* El menú cambia a disposición en columna */
  .menu {
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
  }

  .menu div {
    min-width: 80px;
    text-align: center;
  }
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 50px;
}

/* Estilo común para las etiquetas */
.etiqueta1,
.etiqueta2,
.etiqueta3 {
  padding: 10px;
  font-family: Arial, sans-serif;
  border-radius: 8px;
  text-align: center;
}

/* Etiqueta 1 */
.etiqueta1 {
  background-color: #ccc8c8;
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #cccccc;
  flex: 1;
  min-width: 200px;
}

/* Etiqueta 2 */
.etiqueta2 {
  background-color: #ccc8c8;
  flex: 2;
  min-width: 300px;
  color: #000000;
}

/* Etiqueta 3 */
.etiqueta3 {
  background-color: #ccc8c8;
  width: 20%;
  color: #000;
  margin-top: 15px;
  min-width: 320px;
  margin: calc(10px + -10px);
}

img {
  width: 290px;
  height: 290px;
}

.borde {
  color: #ccc8c8;
}

.button-formula {
  background: linear-gradient(10deg, #000000, #307575);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 8px;
}

.button-formula a {
  color: white;
  text-decoration: none;
}
