* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #f3e5f5, #ffffff); 
    color: #333;
    line-height: 1.6;
    text-align: center;
    padding-top: 70px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1200px;
    margin: 0 auto; 
  }
  
  p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2em; 
    text-align: center;
    color: #555; 
    line-height: 1.8;
  }

  header {
    background: rgba(170, 140, 175, 0.85);
    backdrop-filter: blur(10px); 
    color: #fff;
    padding: 25px 40px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    height: 100px;
  }
  
  header img {
    width: 90px; 
    height: auto;
    margin-right: 20px; 
    vertical-align: middle;
    border-radius: 10px; 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  header img:hover {
    transform: scale(1.1); 
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); 
  }
  
  header h1 {
    display: inline-block;
    font-size: 3.5em;
    font-weight: normal;
    margin-left: 15px;
    color: #fff;
    font-family: "Brush Script MT", cursive; 
    text-transform: none; 
    letter-spacing: 1.5px; 
    font-style: italic; 
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  }
  
  
  /* Barra de navegación */
  nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 12px;
  flex-wrap: wrap;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  background-color: #572364;
  color: #fff;
  font-size: 1.3em;
  text-decoration: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.2);
}

nav ul li a span {
  position: absolute;
  bottom: -28px;
  font-size: 0.75em;
  background: #8e6995;
  color: #fff;
  padding: 3px 8px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

nav ul li a:hover {
  background-color: #8e6995;
  transform: scale(1.1);
}

nav ul li a:hover span {
  opacity: 1;
  transform: translateY(0);
}


  .sobre-nosotros {
    background-color: #fdf3e7;
    color: #5a4a42; 
    padding: 50px 20px;
    text-align: center;
}

.sobre-nosotros .container {
    max-width: 800px;
    margin: auto;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&display=swap');

.sobre-nosotros h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 3.8em;
    font-weight: 700;
    color: #290040; 
    text-align: center;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease-in-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.sobre-nosotros h3 {
    font-family: 'Playfair Display', serif; 
    font-size: 2em; 
    color: #8e6995; 
    margin-bottom: 18px;
    font-weight: 600;
    font-style: italic;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    transition: transform 0.3s ease-in-out;
}

.sobre-nosotros h3:hover {
    transform: scale(1.05);
}


.sobre-nosotros p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    width: 75%;
    max-width: 450px;
    border-radius: 15px;
    margin: 30px auto;
    display: block;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    clip-path: polygon(5% 0%, 95% 0%, 100% 10%, 100% 90%, 95% 100%, 5% 100%, 0% 90%, 0% 10%);
    
   
    animation: float 3s ease-in-out infinite;
}

.about-image:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.3);
}


@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}


@media (max-width: 768px) {
    .sobre-nosotros {
        padding: 30px 15px;
    }

    .sobre-nosotros h1 {
        font-size: 2em;
    }

    .sobre-nosotros h3 {
        font-size: 1.5em;
    }

    .sobre-nosotros p {
        font-size: 1em;
    }

    .about-image {
        width: 80%;
    }
}

/* Pie de página */
footer {
    background: #8e44ad; 
    color: white;
    padding: 30px 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
  }
  
  .footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer-section h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 5px;
  }
  
  .social-links a {
    display: inline-block;
    color: white;
    font-size: 2em; 
    margin: 10px 15px;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .social-links a:hover {
    transform: scale(1.2);
    color: #e1bee7; 
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 20px;
  }
  