/* 
 * Video Navigation Styles
 * Adds next/previous navigation controls to the video player
 */

/* Position the navigation on top of the iframe */
#playerwrapper {
    position: relative;
}

a {
    text-decoration: none !important;
}

.video-navigation {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none; /* Allow clicks to pass through to the video */
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    pointer-events: auto; /* Make buttons clickable */
    opacity: 0.7;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.nav-button.disabled {
    opacity: 0.3;
    cursor: default;
}

.nav-button iconify-icon {
    font-size: 30px;
    color: #fff;
}

/* Fix for portfolio image styles */
.portfolio-image-bg {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
