@import url("rating.5498ec8076a8.css");

.completed-stamp-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    color: red;
    font-weight: bolder;
    font-size: 1.5rem;
    pointer-events: none;
    border: 4px solid red;
    border-radius: 8px;
    padding: 0.25em 0.5em;
    text-shadow: 2px 2px 2px pink;
    box-shadow: 2px 2px 2px 2px pink;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;

    background: repeating-linear-gradient(
            45deg,
            #ff000080,
            #ff000040 10px,
            #ffffff40 10px,
            #ffffff40 20px
    );
}

.overlay-lock {
    position: relative;
}

.overlay-lock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px); /* Slight blur effect */
    background: #80808040 repeating-linear-gradient(
            45deg,
            #ffffff40,
            #ffffff40 10px,
            #00000020 10px,
            #00000020 20px
    );
    border-radius: 8px;
    pointer-events: all; /* Capture pointer events to disable actions on underlying content */
    z-index: 1; /* Ensure overlay is above the content */
}

.lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: gold;
    text-shadow: 2px 2px 12px #404040;
    font-size: 100px;
    z-index: 2;
    pointer-events: none;
}

#marmot-canvas {
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid black;
}

#marmot-video {
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid transparent;
}

.top-progress {
    height: 8px;
    border-radius: 0;
}

.media-banner {
    width: 100%;
    height: 80px;
    padding: 8px;
    border: 1px solid black;
    background-color: #f0f0f0;
}

.media-item {
    height: 100%;
    object-fit: cover;
    border: 2px solid black;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.5;
}

.media-item.selected {
    border: 2px dashed blue;
    opacity: 1;
}

.media-item.seen {
    opacity: 1;
}

.custom-button-outline {
    outline: 3px solid green;
}

.rainbow-border {
    position: relative;
    border: none;
}

.rainbow-border::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: inherit;
    background: linear-gradient(
            45deg,
            red,
            orange,
            yellow,
            green,
            blue,
            indigo,
            violet,
            red
    );
    background-size: 400%;
    z-index: -2;
    animation: rainbow-animation 5s linear infinite;
}

.rainbow-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
}

@keyframes rainbow-animation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 400% 0;
    }
}
