/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.od-ba-container {
    position: relative;
    width: 100%;
    aspect-ratio: 48 / 25;
    overflow: hidden;
}
.od-ba-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.od-before {
    position: relative;
    z-index: 1;
}
.od-after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}
.od-ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    z-index: 3;
}
.od-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: #fff;
}
.od-ba-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    box-sizing: border-box;
    z-index: 4;
    border: 3px solid #fff;
}
.od-ba-circle:hover {
    cursor: pointer;
}
.od-ba-arrow {
    position: relative;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    color: #fff;
}
.od-ba-label {
    position: absolute;
    bottom: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    padding: 2px 6px;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}
.od-ba-label-before { 
    left: 10px; 
}
.od-ba-label-after  { 
    right: 10px; 
}
.od-ba-container:hover .od-ba-label { 
    opacity: 1; 
}
.od-ba-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    z-index: 2;
}
.od-ba-container:hover .od-ba-overlay {
    background: rgba(0,0,0,0.5);
}