
    * {
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }

    header {
      background-color: #4a148c;
      padding: 1rem;
      color: white;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }

    nav a {
      color: white;
      text-decoration: none;
      font-weight: bold;
    }

    nav a:hover {
      text-decoration: underline;
    }

    section {
      padding: 4rem 2rem;
      min-height: 100vh;
    }

    #inicio {
      background-color: #f3e5f5;
    }



    #Blog {
      background-color: #ce93d8;
    }

    #contacto {
      background-color: #ba68c8;
    }
    
    h1{
        color: black;
        text-align: center;
    }
    h2 {
      color: #4a148c;
      text-align: center;
    }

    footer {
      background-color: #4a148c;
      color: white;
      text-align: center;
      padding: 1rem;
    }

    /* Carrusel */
    .carousel {
      display: flex;
      overflow: hidden;
      max-width: 1400px;
      margin: auto;
      position: relative;
    }

    .carousel img {
      width: 100%;
      flex-shrink: 0;
      transition: transform 0.5s ease;
    }

    .carousel-buttons {
      display: flex;
      justify-content: center;
      margin-top: 1rem;
      gap: 1rem;
    }

    .carousel-buttons button {
      background-color: #4a148c;
      color: white;
      border: none;
      padding: 0.5rem 1rem;
      cursor: pointer;
      border-radius: 5px;
    }

    .carousel-buttons button:hover {
      background-color: #6a1b9a;
    }

    /* Formulario */
    form {
      max-width: 500px;
      margin: auto;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    input, textarea {
      padding: 0.5rem;
      border: none;
      border-radius: 5px;
    }

    input[type="submit"] {
      background-color: #4a148c;
      color: white;
      cursor: pointer;
    }

    input[type="submit"]:hover {
      background-color: #6a1b9a;
    }

    #form-message {
      text-align: center;
      color: white;
      margin-top: 1rem;
    }

    /* Responsive */
    @media (max-width: 600px) {
      nav {
        flex-direction: column;
        align-items: center;
      }

      section {
        padding: 2rem 1rem;
      }

      .carousel {
        max-width: 100%;
      }
    }
  