
header {
  background-color: #fcfbfb;
  color: white;
  padding: 10px 20px;

  display: flex; 
  align-items: center; 
 
  justify-content: flex-start; 
  flex-wrap: wrap; 
  position: relative;
}
.logo {
  display: block;
  margin: 0; 
  height: 50px; 
  width: auto; 
  
  margin-right: 20px;
}

h1 {
  margin: 0; 
  font-size: 1.9em;
  font-family: 'Georgia', serif;
  color: black;
  flex-grow: 1; 
  text-align: center; 

  padding-right: 70px; 
}

h1 .azul {
  color: #0f3d53;
  font-weight: bold;
}

body {
  font-family: 'Georgia', 'Garamond', serif;
  margin: 0;
  padding: 0;
  background: #f2f2f2;
  color: #333;
}

main {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

.descripcion p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.galeria {
  margin-top: 40px;
}

.galeria h2 {
  text-align: center;
  margin-bottom: 20px;
}

.slider {
  position: relative;
  width: 100%;
  height: 370px;
  overflow: hidden;
}

.item {
  position: absolute;
  width: 250px;
  height: 320px;
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  transition: 0.5s;
  left: calc(50% - 110px);
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

#next,
#prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  background-color: #005a87;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: 0.3s;
}

#next:hover,
#prev:hover {
  opacity: 1;
}

#prev {
  left: 10px;
}

#next {
  right: 10px;
}

.descargar-pdf {
  margin-top: 50px;
  text-align: center;
  padding: 30px;
  background-color: #e9e9e9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.descargar-pdf h2 {
  color: #0f3d53;
  margin-bottom: 20px;
  font-size: 1.8em;
}

.descargar-pdf p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555;
}

.boton-pdf {
  display: inline-block;
  background-color: #005a87;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.boton-pdf:hover {
  background-color: #003d5c;
  transform: translateY(-2px);
}

.boton-pdf:active {
  transform: translateY(0);
}

.nota-pdf {
  font-size: 0.9em;
  color: #777;
  margin-top: 20px;
  font-style: italic;
}

footer {
  background-color: #000000;
  color: #00AEEF;
  text-align: center;
  padding: 10px 0;
  margin-top: 40px;
}


@media (max-width: 768px) {
  header {
    display: block; 
    padding: 10px 15px 15px 15px; 
    text-align: center; 
  }

  .logo {
    position: static;
    display: block;
    margin: 0 auto 8px; 
    height: 60px; 
  }

  h1 {
    font-size: 1.8em; 
    margin-top: 8px; 
    text-align: center; 
    padding-right: 0; 
  }
  main {
    padding: 15px;
  }

  .slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: auto;
  }

  .item {
    position: static;
    flex: 0 0 80%;
    height: auto;
    margin-right: 10px;
    scroll-snap-align: center;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .slider::-webkit-scrollbar {
    display: none;
  }
  .slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  #next,
  #prev {
    display: none;
  }

  .descargar-pdf {
    padding: 20px;
  }

  .boton-pdf {
    padding: 12px 25px;
    font-size: 1em;
  }

  footer {
    padding: 15px 0;
    font-size: 0.9em;
  }
}