 body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f4f4f4;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        form {
            background-color: #fff;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 600px;
            box-sizing: border-box;
            margin-bottom: 20px;
        }

        h1 {
            text-align: center;
            color: #34495e;
            margin-bottom: 30px;
        }

        label {
            display: block;
            margin-top: 10px;
            font-weight: 600;
            color: #2c3e50;
            font-size: 0.9em;
        }

        input[type="text"],
        input[type="date"],
        textarea {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            border: 1px solid #bdc3c7;
            border-radius: 5px;
            box-sizing: border-box;
            font-size: 1em;
            transition: border-color 0.3s ease;
        }

        input[type="text"]:focus,
        input[type="date"]:focus,
        textarea:focus {
            border-color: #3498db;
            outline: none;
        }

        textarea {
            resize: vertical;
            height: 80px;
        }

        button[type="submit"] {
            background-color: #3498db;
            color: white;
            padding: 12px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            display: block;
            margin: 0 auto;
            margin-top: 20px;
            font-size: 1.1em;
            transition: background-color 0.3s ease;
        }

        button[type="submit"]:hover {
            background-color: #217dbb;
        }

        .certificado-container {
            background-color: #ffffff;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            width: 80%;
            max-width: 800px;
            text-align: center;
            border: 2px solid #e0e0e0;
            margin-top: 20px;
        }

        .certificado-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .certificado-logo {
            max-width: 150px;
            height: auto;
        }

        .certificado-titulo {
            font-size: 24px;
            color: #333;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .certificado-otorgado {
            font-size: 18px;
            color: #555;
            margin-bottom: 10px;
        }

        .certificado-nombre {
            font-size: 28px;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 20px;
            text-decoration: underline;
        }

        .certificado-descripcion {
            font-size: 16px;
            color: #444;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .certificado-detalles {
            font-size: 14px;
            color: #666;
            margin-bottom: 20px;
        }

        .certificado-firma-organizadores {
            display: flex;
            justify-content: space-around;
            margin-bottom: 20px;
            width: 100%;
        }

        .certificado-firma-organizadores .firma-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 40%;
        }

        .certificado-firma-organizadores img {
            max-width: 150px;
            height: auto;
            margin-bottom: 5px;
        }

        .certificado-firma-organizadores .firma-nombre {
            font-size: 12px;
            color: #333;
            font-weight: bold;
            text-align: center;
        }

        .certificado-firma-organizadores .firma-titulo {
            font-size: 10px;
            color: #555;
            text-align: center;
        }

        .certificado-codigo {
            font-size: 12px;
            color: #888;
            margin-top: 20px;
            border-top: 1px solid #ddd;
            padding-top: 10px;
        }

        @media (max-width: 768px) {
            form {
                padding: 30px;
            }

            .certificado-container {
                width: 95%;
                padding: 10px;
            }

            .certificado-header {
                flex-direction: column;
                text-align: center;
            }

            .certificado-logo {
                margin-bottom: 10px;
            }

            .certificado-titulo {
                font-size: 20px;
            }

            .certificado-nombre {
                font-size: 24px;
            }

            .certificado-firma-organizadores {
                flex-direction: column;
            }

            .certificado-firma-organizadores .firma-box{
                width: 100%;
                margin-bottom: 15px;
            }
        }
        @keyframes movimientoHorizontal {
            from {
              background-position: 0% 50%, 33.33% 50%, 66.66% 50%;
            }
            to {
              background-position: 100% 50%, 133.33% 50%, 166.66% 50%;
            }
          }
          
          header {
            background-color: #1990ff;
            padding: 1.3rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: white;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            transition: transform 0.2s ease-out;
            flex-direction: row;
          }
          
          header.scrolling {
            transform: translateY(-100%);
          }
          
          header h1 {
            margin: 0;
            font-size: 1.8rem;
          }
          
          header nav ul {
            list-style: none;
            display: flex;
            margin: 0;
            padding: 0;
          }
          
          header nav ul li {
            margin-left: 1rem;
          }
          
          header nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: box-shadow 0.3s ease;
          }
          
          header nav ul li a:hover {
            color: #ffcc00;
            box-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
          }
          
          header nav ul li a i {
            margin-right: 0.5rem;
            font-size: 1.2rem;
          }
          
          .header-left {
            display: flex;
            align-items: center;
            margin-right: auto;
            margin-left: 2rem;
          }
          
          .logo {
            max-height: 100px;
            margin-right: 2rem;
          }
          
          .hero-section {
            height: 800px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding-top: 4rem;
            box-sizing: border-box;
          }
          
          .hero-section h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
          }
          
          .hero-section p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            max-width: 60%;
          }
          
          .cta-button {
            background-color: #ffcc00;
            color: #003366;
            padding: 1rem 2rem;
            border: none;
            border-radius: 5px;
            font-size: 1.2rem;
            font-weight: 600;
            text-decoration: none;
            transition: background-color 0.3s ease;
          }
          
          .cta-button:hover {
            background-color: #e5b800;
          }
          
          .form-container {
            background-color: rgba(255, 255, 255, 0.8);
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
            text-align: center;
            margin-top: 2rem;
            margin-left: auto;
            margin-right: auto;
          }
          
          .form-container h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: #003366;
          }
          
          .form-container form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
          }
          
          .form-container label {
            font-weight: 600;
            text-align: left;
            display: block;
            margin-bottom: 0.5rem;
            color: #003366;
          }
          
          .form-container input {
            padding: 0.75rem;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 1rem;
            width: 100%;
            box-sizing: border-box;
          }
          
          .form-container button {
            background-color: #ffcc00;
            color: #003366;
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 5px;
            font-size: 1.2rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s ease;
            margin-top: 0.5rem;
          }
          
          .form-container button:hover {
            background-color: #e5b800;
          }
          
          .form-container .error-message {
            color: red;
            font-size: 0.9rem;
            margin-top: 0.5rem;
            text-align: left;
          }
          
          footer {
            background-color: #003366;
            color: white;
            padding: 1rem;
            text-align: center;
            margin-top: auto;
            position: relative;
            bottom: 0;
            width: 100%;
          }
          
          main {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            padding-top: 4rem;
            box-sizing: border-box;
            min-height: 100vh;
          }
          
          header nav ul li:last-child {
            margin-right: 2rem;
          }
          