/* styles_caixa5.css - Estilos para a Caixa 5 */
.box5 {
    background-color: #f9fbe7;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.phrase-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.phrase-text-caixa5 {
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.4;
    word-break: break-word;
    white-space: pre-wrap;
}

/* Animações de Fade */
.fade-in {
    animation: fade-in 1s forwards;
}

.fade-out {
    animation: fade-out 1s forwards;
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fade-out {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Transição com Coracao */
.heart-transition {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 70px;
    background: url('coracao.gif') no-repeat center/contain;
    opacity: 0;
    animation: pulse-heart 2s forwards;
}

@keyframes pulse-heart {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* --- Adicionado: Estilos para o Contêiner do Vídeo e do Emoji --- */

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.unmute-overlay {
    position: absolute;
    top: 40%; /* Ajuste aqui para a posição do emoji */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 2em;
    cursor: pointer;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    transition: opacity 0.5s ease-in-out;
}