/* INDEX VIMEO */

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.player.hide-controls-mode {
    pointer-events: auto !important;
}

.swiper-slide video,
.swiper-slide iframe {
    z-index: 1;
}

.swiper-slide {
    z-index: 2;
}

#customControls {
    position: absolute;
    bottom: 10%;
    /* 바닥에서 떨어진 위치 */
    left: 3%;
    /* 왼쪽에서 떨어진 위치 */
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#customControls button {
    background-color: transparent;
    color: white;
    border: none;
    padding: 5px 0;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    white-space: nowrap;
}

#customControls button svg {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

#customControls button:hover {
    opacity: 0.8;
}

.swiper-button-next,
.swiper-button-prev {
    width: 30px;
    height: 30px;
    background-color: transparent;
    color: #D3D3D3 !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 50px;
    font-weight: bold;
}

.swiper-button-next:after {
    content: '›';
}

.swiper-button-prev:after {
    content: '‹';
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #A9A9A9;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-pagination {
    position: absolute;
    bottom: 10% !important;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    display: none;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 50%;
    margin: 0 5px;
    transition: background 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: white;
}

@media (max-width: 1024px) {

    .video-container iframe {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

    #customControls {
        bottom: 10%;
        left: 20%;
        transform: translateX(-50%);
        flex-direction: row;
        align-items: center;
    }

    #customControls button {
        font-size: 12px;
        margin-bottom: 10px;
    }

    #customControls button svg {
        width: 20px;
        height: 20px;
    }

    .swiper-pagination {
        bottom: 15% !important;
    }
}

@media (max-width: 430px) {
    .video-container {height: 100svh}
    /*.video-container iframe {
       width: 100vw;
       min-width: 100vw}*/

    .swiper-pagination {display: none}
    .swiper-button-next, .swiper-button-prev {width: 25px !important; height: 25px !important}
    .swiper-button-next:after, .swiper-button-prev:after {font-size: 25px !important}
    #customControls {transform: translateX(-40%); bottom: 3%}
}