.art-main {
    padding: 2rem;
}

.art-gallery {
    margin-bottom: 3rem;
}

.art-gallery h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 200;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.art-item {
    text-align: center;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s;
}

.empty {
    border: none;
}

.art-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.empty:hover {
    transform: none;
    box-shadow: none;
}

.tryptic {
    width: 100%;
    padding: 50px;
}

.art-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.buy-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s;
    opacity: 0.5;
}

.buy-btn:hover {
    background-color: #8c673e;
}

.title-description {
    text-align: center;
    font-style: italic;
}




/* Image Magnifier */

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

@media (max-width: 768px) {
    .tryptic {
        width: 100%;
        padding: 0;
    }
}