.custom-background-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}
.custom-background-container-shadow::after {
    content: "";
    background-color: rgba(39, 39, 46, 0.65);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.custom-background-video-controls {
    display: flex;
    gap: 5px;

    position: absolute;
    z-index: 5;
    right: 10px;
    bottom: 10px;
}

.custom-background-video-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    outline: none;
    border: none;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--primary-color-inverse);
    position: relative;
    top: 0;
    left: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-background-video-controls button:focus {
    outline: none;
}

.custom-background-video-controls button svg {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.custom-background-video-controls button:hover {
    color: var(--primary-color-inverse);
}

.custom-background-video-controls button:hover::after {
    opacity: 1;
}

.custom-background-embed {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
}

.custom-background-embed iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 aspect ratio */
    min-height: 100%;
    min-width: 177.77vh;
    /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    z-index: -1;
}

.custom-background-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: -1;
}

.custom-background-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: -1;
}

.custom-background-solid {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #27d6ff;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: -1;
}
