* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    cursor: pointer;
}

.video-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: none;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.video-element.active {
    display: block;
}







.initial-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.initial-image {
    max-width: 80%;
    max-height: 60vh;
    width: auto;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.initial-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 31;
    background-image: url('vids/tapllogo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px;
    border-radius: 15px;
    min-width: 200px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.initial-content.hidden {
    opacity: 0;
    pointer-events: none;
}

.initial-message.hidden {
    opacity: 0;
    pointer-events: none;
}

.click-instruction {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.click-instruction.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Estados de los videos */
#intro-video.active {
    display: block;
}

#float-video.active {
    display: block;
}

#click-video.active {
    display: block;
}

#lastclick-video.active {
    display: block;
}

#cartafinal-video.active {
    display: block;
}

#finalfloat-video.active {
    display: block;
}

/* Animaciones de transición */
.video-element {
    transition: opacity 0.3s ease-in-out;
}

.video-element:not(.active) {
    opacity: 0;
}

.video-element.active {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .video-container {
        height: 70vh;
    }
    
    .video-element {
        max-width: 95%;
        max-height: 95%;
    }
    

    

}

@media (max-width: 480px) {
    .video-container {
        height: 60vh;
    }
    

    

} 