* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: 'Segoe UI', Arial, sans-serif; */
  /* font-family: "Oswald", sans-serif; */
}

body {
  background-color: #f9f9f9;
  color: #222;
  background-color: #807979;
  
}

/* --- ENCABEZADO --- */
header {
  position: fixed;
  z-index: 1000;
  box-shadow: 0 .5rem 1.5rem rgba(black, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #800000ea;
  color: white;
  padding: 10px 20px;
  padding-left: 10%;
  padding-right: 10%;
  border-bottom: 4px solid #c2bf13;
  width: 100%;
  margin-left: auto;
  margin-right: auto;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  
  align-items: center;
  
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
}

.nombre {
  font-size: 2rem;
  font-weight: bold;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style:normal;

}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  font-family: "Oswald", sans-serif;

}

nav a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s;
}

nav a:hover {
  background-color: #a75b5b;
}

/* --- CARRUSEL --- */
.carrusel {
  padding-top: 80px;
  position: relative;
  max-width: 80%;
  height: 500px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  /* border-bottom: 3px solid #af9f12; */
}

    .slide {
      display: none;
      width: 100%;
      height: 100%;
    }

    .slide img {
      width: 100%;
      height: 420px;
      object-fit: cover;
    }

    /* --- LOGROS --- */
    .logros {
      background-color: #fff;
      padding: 30px 20px;
      border-top: 4px solid #801a00;
      border-bottom: 4px solid #801a00;
      text-align: center;
      width: 80%;
      margin-left: auto;
      margin-right: auto;
    }

    .logros h2 {
      margin-bottom: 25px;
      color: #a19f19;
      font-size: 1.8rem;
    }

    .imagenes-logros {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .imagenes-logros img {
      width: 220px;
      height: 160px;
      border-radius: 10px;
      border: 2px solid #a19f19;
      box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
      transition: transform 0.3s;
    }

    .imagenes-logros img:hover {
      transform: scale(1.05);
    }

    /* --- PIE DE PÁGINA --- */
    footer {
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      background-color: #D1A400;
      color: white;
      padding: 25px;
      width: 80%;
      margin-left: auto;
      margin-right: auto;
    }

    footer div {
      text-align: center;
      width: 40%;
      min-width: 250px;
      margin: 10px;
      background-color: #690C0E;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    }

    footer h3 {
      margin-bottom: 10px;
      color: #fff;
    }

    .redes p{
      font-size: 2.5rem;
    }

    footer p {
      font-size: 0.95rem;
    }

    footer a {
      color: #ffd700;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    /* --- RESPONSIVE --- */
    @media (max-width: 768px) {
      .nombre{
        font-size: 15px;
        color: rgb(165, 165, 19);
      }
      header {
        flex-direction: column;
        align-items: flex-start;
      }

      .carrusel .slide{
        margin-top: 130px;
      }

      nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
      }

      footer {
        flex-direction: column;
      }

      footer div {
        width: 90%;
      }
    }


    /* --- BOTONES DE DESLIZAMIENTO --- */
    .prev, .next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0,0,0,0.5);
      color: white;
      font-size: 30px;
      padding: 10px;
      border: none;
      cursor: pointer;
      border-radius: 50%;
      transition: 0.3s;
    }

    .prev:hover, .next:hover {
      background-color: rgba(0,0,0,0.8);
    }

    .prev { left: 15px; }
    .next { right: 15px; }

    /* --- INDICADORES (opcionales) --- */
    .dots {
      text-align: center;
      margin-top: 10px;
    }

    .dot {
      height: 12px;
      width: 12px;
      margin: 0 4px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .active {
      background-color: #717171;
    }