/* Wall painting frame */
.wall-painting {
    position: relative;
    width: 90px;
    height: 90px;
    background: linear-gradient(145deg, #8B6914 0%, #DAA520 20%, #B8860B 50%, #8B6914 100%);
    border-radius: 4px;
    padding: 6px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    transform-origin: top center;
    animation: painting-swing 4s ease-in-out infinite;
}

@keyframes painting-swing {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.wall-painting::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 8px;
    background: linear-gradient(to bottom, #555 0%, #333 100%);
    border-radius: 2px 2px 0 0;
}

.wall-painting::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 15px;
    border: 2px solid #444;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
}

.painting-inner {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.painting-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .wall-painting {
        width: 70px;
        height: 70px;
        padding: 5px;
    }
}
