/* Alap stílusok */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* Fejléc stílus */
h1 {
    text-align: center;
    color: white;
    padding: 30px;
    background-color: #007BFF;
    margin-bottom: 20px;
    font-size: 2.8em;
}

/* Felső szekció konténer */
.top-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    flex-wrap: wrap;
}

/* Mai időjárás */
.today-weather {
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    width: 380px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.today-weather h2 {
    font-size: 1.8em;
    color: #007BFF;
    margin: 0;
}

.today-weather img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.weather-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.weather-info p {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.3;
}

/* Medence hőmérséklet */
.pool-temperature {
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    width: 380px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pool-temperature h2 {
    font-size: 1.8em;
    color: #007BFF;
    margin-bottom: 10px;
}

.pool-temperature p {
    font-size: 2.2em;
    color: #007BFF;
    font-weight: bold;
}

/* Hullám animáció */
.wave-background {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180%; /* nagyobb szélesség */
    height: 70px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2399ccff" d="M0,192L30,224C60,256,120,288,180,298.7C240,309,300,267,360,250.7C420,234,480,244,540,217.3C600,192,660,128,720,96C780,64,840,64,900,106.7C960,149,1020,235,1080,224C1140,213,1200,107,1260,69.3C1320,32,1380,64,1410,79.3L1440,85.3V320H1410C1380,320,1320,320,1260,320C1200,320,1140,320,1080,320C1020,320,960,320,900,320C840,320,780,320,720,320C660,320,600,320,540,320C480,320,420,320,360,320C300,320,240,320,180,320C120,320,60,320,30,320L0,320Z"></path></svg>') no-repeat center center;
    background-size: 170% 170%;
    animation: wave-animation 6s ease-in-out infinite;
}


@keyframes wave-animation {
    0% {
        transform: translateX(-50%);
    }
    50% {
        transform: translateX(-45%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 4 Időjárás kártya konténer */
.weather-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 40px 60px;
    max-width: 1920px; /* volt: 1800px */
    margin: 0 auto;
}

}

/* Egyes időjárás kártyák */
.weather-card {
    padding: 40px 30px; /* volt: 30px 20px */
}

.weather-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.weather-icon {
    width: 180px; /* volt: 160px */
    height: 180px;
}

.weather-card h3 {
    font-size: 24px; /* volt: 22px */
}

.weather-card p {
    font-size: 20px; /* volt: 18px */
}


.weather-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.weather-card p {
    margin: 5px 0;
    font-size: 18px;
}

.weather-card strong {
    font-weight: bold;
}
