* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    padding: 20px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tile {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: calc(25% - 20px); /* Adjust width based on the screen size */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.tile:hover {
    transform: scale(1.05);
}

.tile img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.tile h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.tile p {
    font-size: 1rem;
    color: #666;
}

.tile .checkbox {
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .tile {
        width: calc(33.33% - 20px); /* Three items per row */
    }
}

@media (max-width: 768px) {
    .tile {
        width: calc(50% - 20px); /* Two items per row */
    }
}

@media (max-width: 480px) {
    .tile {
        width: 100%; /* One item per row on small screens */
    }
}
