
h1 {
    color: #333;
}

.telepulesekDiv {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Rugalmas oszlopok */
    gap: 20px;
    padding: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.telepules a {
    text-decoration: none;
    color: inherit;
}

.telepules {
    display: flex;
    align-items: center;
    background: #fdfdfd; /* Szolid világos háttér */
    padding: 12px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background 0.2s ease-in-out;
    cursor: pointer;
}

.telepules:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    background: #f5f5f5; /* Enyhén sötétebb háttér hover esetén */
}

.telepulesImg {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
}

.telepules p {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-align: left;
}


h1 {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    background: linear-gradient(to right, #f8f8f8, #e6e6e6); /* Szolid színátmenet */
    border-radius: 10px;
    display: inline-block;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
h2{
    padding: 10px 20px;
    background: linear-gradient(to right, #f8f8f8, #e6e6e6); /* Szolid színátmenet */
    border-radius: 10px;
    display: inline-block;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    text-align: center;
    color: #333;
}