﻿body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #000;
   /* overflow: hidden;*/
    position: relative;
}

header, footer {
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh; /* Reduce la altura para dar espacio al footer */
    gap: 2rem;
    z-index: 10;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 3rem; /* Espacio adicional antes del footer */
}

a {
    background-color: #ff4500;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 10;
}

    a:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    }

div img {
    transition: transform 0.5s, filter 0.5s;
}

    div img:hover {
        transform: scale(1.2);
        filter: brightness(1.2);
    }

.laser-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.laser {
    position: absolute;
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.8), rgba(255, 0, 0, 0));
    animation: moveLaser 3s linear infinite;
}

    .laser:nth-child(2) {
        background: linear-gradient(to bottom, rgba(0, 255, 0, 0), rgba(0, 255, 0, 0.8), rgba(0, 255, 0, 0));
        animation-duration: 4s;
        animation-delay: 0.5s;
    }

    .laser:nth-child(3) {
        background: linear-gradient(to bottom, rgba(0, 0, 255, 0), rgba(0, 0, 255, 0.8), rgba(0, 0, 255, 0));
        animation-duration: 5s;
        animation-delay: 1s;
    }

    .laser:nth-child(4) {
        background: linear-gradient(to bottom, rgba(255, 255, 0, 0), rgba(255, 255, 0, 0.8), rgba(255, 255, 0, 0));
        animation-duration: 4.5s;
        animation-delay: 1.5s;
    }

    .laser:nth-child(5) {
        background: linear-gradient(to bottom, rgba(255, 0, 255, 0), rgba(255, 0, 255, 0.8), rgba(255, 0, 255, 0));
        animation-duration: 3.5s;
        animation-delay: 2s;
    }

    .laser:nth-child(6) {
        background: linear-gradient(to bottom, rgba(0, 255, 255, 0), rgba(0, 255, 255, 0.8), rgba(0, 255, 255, 0));
        animation-duration: 5.5s;
        animation-delay: 2.5s;
    }

footer {
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 10;
    margin-top: 2rem; /* Espacio sobre el footer */
}

@keyframes moveLaser {
    0% {
        transform: translateY(-10%) rotate(0deg);
        left: 10%;
    }

    50% {
        transform: translateY(110%) rotate(90deg);
        left: 50%;
    }

    100% {
        transform: translateY(-10%) rotate(180deg);
        left: 90%;
    }
}
