/* estilos.css */
html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: 'Georgia', serif;
    background-color: #000;
    color: #fff;
  }
  
  .portada {
    background-image: url('img/nav.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .overlay {
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
  }
  
  .subtitulo {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 300;
  }
  
  .titulo {
    font-size: 5rem;
    color: white;
    font-weight: bold;
    letter-spacing: 4px;
    position: relative;
  }
  
  .decoracion {
    color: #fff;
    display: inline-block;
    position: relative;
    padding-left: 0.5rem;
  }
  
  .triangulo {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.25rem;
    vertical-align: middle;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #f8cc2c;
  }
  
  .seccion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 5%;
    margin: 0;
    flex-wrap: wrap;
  }
  
  .seccion:nth-of-type(2) {
    background: linear-gradient(to right, #d16a0e, #1c1c1c);
  }
  
  .seccion:nth-of-type(3),
  .seccion:nth-of-type(4),
  .seccion:nth-of-type(5) {
    background-color: #d16a0e;
  }
  
  .seccion:nth-of-type(6) {
    background: linear-gradient(to bottom, #d16a0e, #1c1c1c);
  }
  
  .texto-poetico {
    width: 40%;
    font-size: 1rem;
    font-style: italic;
    color: #fff2d9;
    text-align: right;
    padding: 1rem;
  }
  
  .texto-poetico.izquierda {
    text-align: left;
  }
  
  .contenedor-imagen {
    width: 55%;
  }
  
  .imagen-poetica {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px #00000099;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 1s ease, opacity 1.2s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .delay {
    transition-delay: 0.5s;
  }
  
  @media screen and (max-width: 768px) {
    .seccion {
      flex-direction: column;
      padding: 2rem 1rem;
    }
    .contenedor-imagen, .texto-poetico {
      width: 100%;
      text-align: center;
    }
    .texto-poetico {
      margin-top: 1rem;
    }
  }
  
  .seccion:nth-of-type(2) {
    background: linear-gradient(to right, #d16a0e, #1c1c1c);
  }
  
  .seccion:nth-of-type(3),
  .seccion:nth-of-type(4),
  .seccion:nth-of-type(5) {
    background-color: #d16a0e;
  }
  
  .seccion:nth-of-type(6) {
    background: linear-gradient(to bottom, #d16a0e, #1c1c1c);
  }
  
  .texto-poetico {
    width: 40%;
    font-size: 1rem;
    font-style: italic;
    color: #fff2d9;
    text-align: right;
    padding: 1rem;
  }
  
  .texto-poetico.izquierda {
    text-align: left;
  }
  
  .contenedor-imagen {
    width: 55%;
  }
  
  .imagen-poetica {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px #00000099;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 1s ease, opacity 1.2s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .delay {
    transition-delay: 0.5s;
  }
  
  .custom-footer {
  text-align: center;
  font-family: sans-serif;
  font-size: 14px;
  margin-top: 40px;
  padding: 20px;
  border-top: 1px solid #ccc;
  background-color: #f9f9f9;
  color: #333;
}

.separator {
  width: 50%;
  margin: 10px auto;
  border: 0;
  border-top: 1px solid #666;
}

.contacto,
.autor,
.detalle,
.copyright {
  margin: 8px 0;
}
  
  @media screen and (max-width: 768px) {
    .seccion {
      flex-direction: column;
      padding: 2rem 1rem;
    }
    .contenedor-imagen, .texto-poetico {
      width: 100%;
      text-align: center;
    }
    .texto-poetico {
      margin-top: 1rem;
    }
  }
  