body {
    background-color: #f4f4f9;
    background-size: cover;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    width: 100vw;
    background-size: cover; /* Asegura que la imagen cubra todo el fondo */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Fondo negro con opacidad del 20% */
    z-index: 1;
}

.bymt {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

  *,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

head {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 2;
}


.welcome-message p {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.navbar {
    width: 100%;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

.navbar img {
    height: 60px;
}

.container {
    margin-top: 60px;
}

.welcome-message {
    margin-bottom: 20px;
    font-size: 30px;
    color: #000000;
}

.btn-primary {
    background-color: #D32F2F;
    border: none;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 10px;
    font-weight: 500;
    transition: background 0.3s;
    margin-top: 20px;
    display: inline-block;

}

.btn-primary:hover {
    background: #0056b3;
}

.form-container {
           background: linear-gradient(135deg, rgba(0, 34, 68, 0.9), rgba(211, 47, 47, 0.9));
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0px 8px 30px rgba(255, 255, 255, 0.4);
            text-align: center;
            max-width: 400px;
            width: 100%;
            color: white;
            animation: fadeIn 0.6s ease-in-out;
}
