.gif-border {
    border: 2px solid red;
}

.video-border {
    border: 2px solid blue;
}

.image-card {
    max-height: 400px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
    position: relative;
}

.image-card:hover {
    transform: scale(1.05);
}

.image-card .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.image-card:hover .image-overlay {
    opacity: 1;
}

.image-card a.open-original, .image-card button.copy-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    margin: 8px;
    border: none;
    cursor: pointer;
}

.image-card button.copy-link {
    background: #333;
}

.image-card a.open-original:hover, .image-card button.copy-link:hover {
    background: #555;
}
