
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1; 
    animation: cambioDeFondo 30s infinite ease-in-out;
}


@keyframes cambioDeFondo {
    0% {
        background-image: url('../images/index.png');
    }
    33% {
        background-image: url('../images/login.png');
    }
    66% {
        background-image: url('../images/img.png');
    }
    100% {
        background-image: url('../images/index.png');
    }
}


body {
    background-color: #1e3a8a; 
    margin: 0; 
}


@media (max-width: 768px) {
    body::before {
        display: none; 
    }

    body {
        background-color: #1e3a8a; 
    }
}



.relative {
    position: relative;
}

.relative input {
    width: 100%;
    padding: 10px 40px 10px 40px; 
    border: none;
    border-bottom: 2px solid #f56565; 
    background: transparent;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.relative input:focus,
.relative input:not(:placeholder-shown) {
    border-bottom-color: #ecc94b; 
}


.relative label {
    position: absolute;
    top: 50%; 
    left: 40px; 
    transform: translateY(-50%);
    font-size: 1rem;
    color: #4299e1;
    pointer-events: none;
    transition: all 0.3s ease;
}


.relative input:focus + label,
.relative input:not(:placeholder-shown) + label {
    top: 0; 
    left: 40px;
    font-size: 0.75rem; 
    color: #ecc94b; 
}


@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.animate-float {
    animation: 3s ease-in-out infinite float;
}
.flex {
    display: flex;
}
.justify-center {
    justify-content: center;
}
.mb-6 {
    margin-bottom: 1.5rem; 
}
.w-48 {
    width: 12rem; 
}
.sm\:w-64 {
    width: 16rem; 
}
.h-auto {
    height: auto;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    position: relative;
}

.modal-content iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.close-button:hover {
    background-color: darkred;
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        height: 400px;
    }

    .modal-content iframe {
        height: 300px;
    }
}

.privacy-link {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 10px;
}

.privacy-link i {
    margin-right: 5px;
    color: #ff6347;
}