﻿h2 {
    all: unset;
}
.main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}


.theme {
    flex: 1 1 200px;
    max-width: 32%;
    text-align: center; 
    box-sizing: border-box; 
    margin: 10px 0;
    padding: 15px; 
    transition: transform 0.3s ease; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    border-radius: 10px; 
    cursor: pointer;
}

.theme-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px; 
    color: #333; 
}

.theme-image {
    width: 100%; 
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f4f4f4;
    border-radius: 10px; 
   
}

    .theme-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; 
        border-radius: 10px;
    }


.theme:hover {
    transform: translateY(-5px); 
}


@media (max-width: 768px) {
    .main-container {
        padding: 10px;
        justify-content: center; 
    }

    .theme {
        max-width: 48%; 
        margin: 10px 0;
    }

    .theme-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    
    .main-container {
        padding: 5px;
        justify-content: center; 
        gap: 15px;
        padding: 5px;
    }

    .theme {
        max-width: 30%; 
        margin: 5px 0;
        padding: 10px;
    }

    .theme-title {
        font-size: 12px; 
    }
}
