
/**
* Grid van de pagina
*/
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f4f4f4;
}

.table-container {
    display: grid;
    grid-template-columns: auto max-content auto; /* Past kolombreedte aan inhoud aan */
    gap: 10px;
    width: auto; /* Laat de breedte afhangen van de inhoud */
    padding: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    justify-content: center; /* Zorgt ervoor dat de tabel gecentreerd blijft */
}

.column {
    padding: 10px 20px; /* Houd padding, maar kolom past zich aan inhoud aan */
    text-align: center;
    border-radius: 5px;
    background: #eaeaea;
    white-space: nowrap; /* Zorgt ervoor dat de inhoud niet wordt geforceerd op een nieuwe regel */
}

.middle {
    display: grid;
    grid-template-rows: repeat(3, auto);
    gap: 10px;
}

.row {
    background: #ddd;
    padding: 10px 15px;
    border-radius: 5px;
    white-space: nowrap; /* Houdt de inhoud op één regel */
}

.rain-container {
    display: flex;
    gap: 10px; 
    justify-content: space-around; 
    align-items: center; 
}

/**
* Windroos
*/
.overlay-text {
    position: absolute;
    top: 50%;            /* Centraal in de hoogte */
    left: 50%;           /* Centraal in de breedte */
    transform: translate(-50%, -50%); /* Precisie centreren */
    color: white;        /* Kies een kleur die contrasteert met de afbeelding */
    font-size: 20px;     /* Pas lettergrootte aan */
    font-weight: bold;   /* Optioneel, maakt de tekst dikker */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Optionele schaduw voor leesbaarheid */
}

.image-container {
    width: 140px;
    height: 140px;
    margin: 20px 0px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('https://meteopoint.renzware.nl/images/windroos.jpg'); 
    background-size: cover; 
    background-position: center; 
}

img {
    width: 75px;
    height: 75px;
    transition: transform 0.5s ease; /* Zachte overgang voor de rotatie */
}

/**
* Badges
*/
.badge {
    background: linear-gradient(to bottom, #009dff, #003d83);
    color: white; /* Tekstkleur */
    width: 140px; /* Vaste breedte */
    height: 80px; /* Vaste hoogte */
    border-radius: 5px; /* Afgeronde hoeken */
    display: flex;
    flex-direction: column; /* Zorgt ervoor dat tekst onder elkaar komt */
    justify-content: center; /* Verticaal centreren */
    align-items: center; /* Horizontaal centreren */
    text-align: center;
}

.forcast-badge {
    background: linear-gradient(to bottom, #009dff, #003d83);
    color: white; /* Tekstkleur */
    width: 80px; /* Vaste breedte */
    height: 160px; /* Vaste hoogte */
    border-radius: 5px; /* Afgeronde hoeken */
    display: flex;
    flex-direction: column; /* Zorgt ervoor dat tekst onder elkaar komt */
    justify-content: center; /* Verticaal centreren */
    align-items: center; /* Horizontaal centreren */
    text-align: center;
}

.large-text {
    font-size: 18px; /* Grotere tekst */
    font-weight: bold;
}

.small-text {
    font-size: 14px; /* Kleinere tekst */
}

.no-rain {
    color: #009dff;
}
    