* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f2f2f2;
    padding: 40px;
    color: #333;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 700px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.container:hover .card {
    filter: blur(2px);
}

.container .card:hover {
    filter: none;
    transform: scale(1.1);
}
.card img {
    width: 100%; 
    height: 350px;
    object-fit: cover; 
    border-radius: 10px; 
    margin-bottom: 15px;
}

.card .nev {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000;
}

.card .leiras {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
}