body {
    font-family: Arial, sans-serif;
}

.video-thumbnail {
    cursor: pointer;
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    background-size: cover;
    background-position: center center;
    transition: transform 0.3s ease;
    padding: 15px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.1);
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill=\'%23000\'><path d="M8 5v14l11-7z"/></svg>') center/contain no-repeat;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.video-thumbnail:hover::after {
    transform: translate(-50%, -50%) scale(1.2);
    width: 70px;
    height: 70px;
}

.video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.video-popup-overlay video {
    max-width: 80%;
    max-height: 80%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.video-container {
    padding: 30px 30px;
}

.sunum-container {
    position: relative;
    z-index: -1;
    margin-bottom: -100px;
}

.image-box img {
    width: 100%;
}

.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.image-popup-overlay img {
    max-width: 80%;
    max-height: 80%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 8px;
}

.image-box img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: transform 0.3s ease;
}

.image-box img:hover {
    transform: scale(1.02);
}



@media (max-width: 600px) {
    .video-thumbnail {
        height: 120px
    }
}

@media (min-width:601px) and (max-width: 768px) {
    .video-thumbnail {
        height: 240px
    }
}

@media (max-width: 768px) {
    .sunum-container {
        position: relative;
        z-index: 0;
        margin-bottom: 0px !important;
    }
}