

.iframeTv {
    width: 80vw;
    height: 80vh;
    background: transparent;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.iframeTv-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.iframeTv-logo-constant-spin {
    animation: logo-constant-spin 300s linear infinite;
}

@keyframes logo-scale-up-rotate {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.3) rotate(360deg);
        opacity: 0.3;
    }
}

@keyframes logo-scale-down-rotate {
    0% {
        transform: translate(-50%, -50%) scale(0.3) rotate(360deg);
        opacity: 0.3;

    }
    100% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
}

@keyframes logo-constant-spin {
    from {
        transform: translate(-50%, -50%) scale(0.3) rotate(0deg);
        opacity: 0.3;
    }
    to {
        transform: translate(-50%, -50%) scale(0.3) rotate(360deg);
        opacity: 0.3;
    }
}





button {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
}

@keyframes iframeTvTurnOn {
    0% {
        transform: scaleX(0.01) scaleY(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(0.01) scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(1) scaleY(1);
        opacity: 1;
    }
}

@keyframes iframeTvTurnOff {
    0% {
        transform: scaleX(1) scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleX(0.01) scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0.01) scaleY(0);
        opacity: 0;
    }
}



.screen {
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleX(0.01) scaleY(0); /* Updated */
    opacity: 0; /* Updated */
    transition: transform 0.5s ease, opacity 0.5s ease; /* Updated */
}
