/* style.css */

/* Reset y bloqueo de scroll */
html,
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #006371;
    color: #fff;
}

/* Round button (todos los botones) */
.round-btn {
    position: absolute;
    min-width: 60px;
    height: 60px;
    padding: 0 1rem;
    border-radius: 50%;
    background-color: #006371;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.round-btn:hover {
    background-color: #00585a;
}

/* Ubicaciones específicas */
#start-btn {
    bottom: 20px;
    right: 20px;
}

#back-to-video {
    bottom: 20px;
    right: 20px;
}

#thankyou-section .round-btn {
    bottom: 20px;
    right: 20px;
}

/* Video Section */
#video-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* Fade-In Animation */
.animate-in {
    animation: fadeInDown 0.6s ease both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards Section */
#cards-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Título de tarjetas */
#cards-title {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    font-size: 8rem;
    margin-bottom: 3rem;
}

/* Contenedor de tarjetas */
#cards-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Flip Card Styles */
.flip-card {
    background: transparent;
    width: 402px;
    height: 527px;
    perspective: 1000px;
    flex-shrink: 0;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-front {
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.flip-card-back {
    /* Restaurado el fondo del reverso */
    background-color: rgba(255, 255, 255, 0.1);
    background-image: url('img/card_back.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 98% auto;

    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Pregunta en el reverso */
.flip-card-back .question-back {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.5rem;
    color: #006371;
    text-align: center;
    padding: 30px;
    font-weight: bold;
    line-height: 26px;
}

/* Imagen dentro de tarjeta (lado frontal) */
.card-img-custom {
    width: 100%;
    height: auto;
    display: block;
}

/* Imágenes decorativas en las esquinas */
img.corner {
    position: absolute;
    max-width: 300px;
    width: auto;
}

img.izq-sup {
    top: 0;
    left: 0;
}

img.der-sup {
    top: 0;
    right: 0;
}

img.der-inf {
    bottom: 0;
    right: 0;
}

/* Sección de agradecimiento */
#thankyou-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#thankyou-text {
    font-family: 'Titillium Web', sans-serif;
    font-size: 6rem;
}