/* --------------------
   ESTILOS GENERALES
-------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}




body {
  background-color: rgb(248, 248, 252);
  width: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
}

/* --------------------
   IMÁGENES
-------------------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

/* --------------------
   CABECERA
-------------------- */
.materiales {
  width: 100%;
  background: url(/imagen/003.png) center/cover;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  border-bottom: 4px solid rgb(106, 81, 247);
opacity: 0.9;

}

.materiales nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  margin: 0;
}

.materiales nav ul li a {
  color: rgb(229, 236, 231);
  background-color: rgb(33, 34, 33);
  border-radius: 50px;
  font-size: 22px;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

.materiales nav ul li a:hover {
  background-color: rgb(7, 68, 23);
  color: white;
}

/* --------------------
   SECCIONES DE IMÁGENES
-------------------- */
.num img {
  width: 100%;
  height: auto;
  margin: 20px auto;
}

.content img,
.main img,
.article img,
section img,
div img {
  width: 100%;
  height: auto;
  margin: 10px auto;
}

/* --------------------
   ICONO WHATSAPP
-------------------- */
.beta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.beta img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.beta img:hover {
  transform: scale(1.1);
}

/* --------------------
   TITULOS Y TEXTOS
-------------------- */
h1, h2, h3, h5, h6 {
  text-align: center;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h5 {
  color: rgb(227, 243, 234);
  background-color: rgb(7, 68, 23);
  border-radius: 50px;
  padding: 5px 10px;
}

h6 {
  color: white;
  background-color: rgb(33, 34, 33);
  border-radius: 50px;
  padding: 5px 10px;
}

/* --------------------
   RESPONSIVE DESIGN
-------------------- */

/* TABLETS */
@media (max-width: 768px) {
  .materiales nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .materiales nav ul li a {
    font-size: 18px;
    padding: 8px 16px;
  }

  .beta img {
    width: 55px;
    height: 55px;
  }
}

/* CELULARES */
@media (max-width: 480px) {
  .materiales nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .materiales nav ul li a {
    font-size: 16px;
    padding: 6px 14px;
  }

  .beta {
    bottom: 10px;
    right: 10px;
  }

  .beta img {
    width: 50px;
    height: 50px;
  }

  h1, h2, h3 {
    font-size: 1.5em;
    margin: 10px;
  }

  section img,
  .num img,
  .main img {
    width: 100%;
    height: auto;
    margin: 10px auto;
  }
}