/* Simple YouTube Background CSS */

.syb-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.syb-container iframe {
    opacity: 0;
    transition: opacity 0.5s ease;
    border: 0 !important;
    position: initial !important;
     width: 500% !important;
    height: 100% !important; 
    margin-left: -200% !important;
    max-width: initial !important;
}

/* Hide YouTube UI elements using CSS */
.ytp-chrome-top,
.ytp-chrome-bottom,
.ytp-watermark,
.ytp-pause-overlay,
.ytp-share-button,
.ytp-watch-later-button,
.ytp-title-text,
.ytp-title,
.ytp-show-cards-title,
.ytp-iv-player-content,
.ytp-gradient-top,
.ytp-gradient-bottom,
.ytp-large-play-button,
.html5-endscreen,
.html5-video-player .caption-window {
    display: none !important;
}

.syb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.syb-controls {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.syb-play-button,
.syb-mute-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    cursor: pointer;
    margin: 0 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.syb-play-button:hover,
.syb-mute-button:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Control positioning classes */
.syb-controls.bottom-right {
    bottom: 10px;
    right: 10px;
}

.syb-controls.bottom-left {
    bottom: 10px;
    left: 10px;
}

.syb-controls.top-right {
    top: 10px;
    right: 10px;
}

.syb-controls.top-left {
    top: 10px;
    left: 10px;
}