

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
    margin-bottom: 50px; 
}

.container > div {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease; 
}

.container > div:hover {
    transform: scale(1.05); 
}

.container img {
    width: 100%;
    height: auto;
    margin-top: 10px;
    align-self: center;
}

.container a {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: #b34237;
    text-decoration: none;
}

.container p {
    font-size: 15px;
    color: #7d3d45;
    flex-grow: 1;
}

.container a:hover {
    color: #d7918a;
}


h2.page-title {
    color: #4b1616;
    font-size: 20px;
    text-align: center;
    margin-top: 5px; 
    margin-bottom: 1px; 
    animation: squiggly-anim 0.45s linear infinite;
    transition: filter 0.5s ease;
}


@media (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
    }
}