/* public/css/video-embed.css */

/* For YouTube (16:9 aspect ratio) */
.youtube-responsive-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000; /* Black background for letterboxing */
}

.youtube-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* For TikTok (centering on larger screens) */
.tiktok-container {
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically */
    height: 100%; /* Fill the slide height */
    background-color: #000; /* Black background */
}

.tiktok-embed {
    max-width: 420px !important;
    min-width: 325px !important;
    max-height: 100%;
}

/* Video Thumbnail Styling */
.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail::after {
    content: '\f144'; /* Font Awesome play icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    pointer-events: none; /* Allows clicking on the thumbnail */
}
