/* CSS Document */

.vimeo-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
    overflow: hidden;
    background: #000;
}

.vimeo-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vimeo-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.25);
    transition: opacity 0.3s ease, background 0.3s ease;
}

.vimeo-play-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.vimeo-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.vimeo-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 0 0 1px; /* optical alignment of the triangle */
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vimeo-play-btn:hover {
    transform: scale(1.1);
    background: #fff;
}

.vimeo-play-btn:focus {
    outline: 2px solid #00adef;
    outline-offset: 4px;
}