.before-after-slider img {
  width:100%;
  display:block;
  height:100% !important;
  max-width:initial !important;
}

.before-after-slider {
  width:100%;
  position:relative;
  overflow:hidden;
  border:0px solid white;
}

.after-image {
  display:block
}

.before-image {
  position:absolute;
  height:100%;
  width:50%;
  top:0;
  left:0;
  overflow:hidden;
  z-index:2;
}

.resizer {
  position:absolute;
  display:flex;
  align-items:center;
  z-index:5;
  top:0;
  left:50%;
  height:100%;
  width:2px;
  background:white;
  /*Stop vertical scrolling on touch*/
  -ms-touch-action: pan-y;
    touch-action: pan-y;
}

.resizer:after {
  background:white;
  font-family: "Font Awesome 5 Free";
  content:'\f337';
  font-weight:900;
  display:flex;
  justify-content:center;
  align-items:center;
  color:white;
  position:absolute;
  margin: 0 0 0 -19px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:3px solid white;
  color:black;

}
















/* video/lightbox */

.vimeo_container {
    /* max-width: 800px; */
    margin: 0 auto;
}

.vimeo-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 20px;
}

.vimeo-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.vimeo_loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    cursor: pointer;
}

.spawn-button {
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0;
}

.spawn-button:hover {
    background: #2563eb;
}

.hidden {
    display: none;
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 80%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: 0px;
    right: 20px;
    background: none;
    color: #dfdfdf;
    border: none;
    font-size: 73px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
    line-height: 1;
    padding: 10px;
    width: auto;
    height: auto;
    pointer-events: auto;
}

.lightbox-close:hover {
    color: #ffffff;
}

.second-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
    cursor: pointer;
}

.clickForSound {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.clickForSound button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s;
    height: 56px;
    border-radius: 6px;
    padding: 0 48px;
    font-weight: bold;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.clickForSound button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.clickForSound button:active {
    transform: scale(1.0);
}
/* 
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
} */