@charset "utf-8";
.artwork-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
            gap: 16px; 
        }

        .artwork {
            position: relative;
            width: 200px; 
            height: 200px; 
            background-size: cover;
            background-position: center;
            margin: 10px;
            display: inline-block;
            cursor: pointer;
        }
.artwork p {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            margin: 0;
            padding: 10px;
            background: rgba(2, 36, 51, 0.8);
            text-align: center;
	color:#fff;
        }
        .artwork img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        @media (min-width: 768px) {
            .artwork {
                height: 300px; 
            }
        }
        .modals {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            justify-content: center;
            align-items: center;
            z-index: 1000;
            overflow: auto;
        }

        .modals-content {
            max-width: 90vw;
            max-height: 90vh;
            overflow: auto;
            position: relative;
            background-color: white; 
            padding: 10px; 
        }

        .modals-content img {
            width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
			max-width: 650px;
        }

        .close-modals {
            position: absolute;
            top: 10px;
            right: 10px;
            color: white; 
            cursor: pointer;
            font-size: 40px;
            background-color: rgba(0, 0, 0, 0.5); 
            padding: 10px; 
            border-radius: 50%; 
			width: 30px;
			height: 30px;
			display: flex;
    justify-content: center;
    align-items: center;
        }
@media (max-width: 768px) {
            .artwork {
                height: 300px; 
                width:auto;
            }
        }