
@font-face {
    font-family: 'RO-sans';
    src: url('../fonts/ROsanswebtextbold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RO-sans';
    src: url('../fonts/ROsanswebtextregular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.houtrib-container {
    display: flex;
    flex-direction: row; 
    align-items: stretch;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.houtrib-windsnelheid {
    position: relative;
    width: 250px; /* Breedte van het blok */
    height: 320px;
    font-weight: bold;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    margin-bottom: 20px; /* Ruimte onder de windsnelheid */
    transition: background-color 0.5s ease; /* Gladde overgang bij het veranderen van de achtergrondkleur */
    padding-bottom: 60px;
}

.houtrib-titel {
    font-size: 16px; 
    font-weight: normal;
    font-family: 'RO-sans', sans-serif;
    color: black;
    margin-bottom: 10px;
}

.houtrib-waarde-context-titel {
    font-size: 15px;
    font-style: italic;
    font-family: 'RO-sans', sans-serif;
    color: black;  
    text-align: center;
    margin-bottom: 0px;
}

.houtrib-waarde-context {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* Centreer de tekst */
    width: 100%;
    font-size: 16px; 
    font-weight: normal;
    color: black;
    margin-bottom: 0px;
    font-family: 'RO-sans', sans-serif;
    text-align: center;
}

.verouderde-houtrib-waarde-context {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* Centreer de tekst */
    width: 100%;
    font-size: 15px; 
    font-weight: bold;
    color: red;
    margin-bottom: 0px;
    font-family: 'RO-sans', sans-serif;
    text-align: center;
}

.houtrib-waarde {
    font-size: 130px; /* Grootte van de windsnelheid */
    color: black;
    margin-top: 70px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Zwarte dropshadow */
    font-family: sans-serif;
    font-family: 'RO-sans', sans-serif;
}

.verouderde-houtrib-waarde {
    font-size: 120px;
    color: white; /* Maak de binnenkant wit of een andere kleur */
    text-shadow: 2px 2px 0 gray, -2px -2px 0 gray; /* Omtrek */
    margin-top: 70px;
    mix-blend-mode: darken; /* Maak het effect zichtbaar */
    font-family: sans-serif;
}

.houtrib-label-box {
    display: inline-flex; /* Zorgt ervoor dat de box alleen de breedte van de inhoud heeft */
    align-items: center;
    font-size: 14px;
    font-family: 'RO-sans', sans-serif;
    color: #666;
    padding: 5px 10px;
    background-color: rgba(214, 214, 214, 0.8);
    border: 1px solid #ccc;
    border-radius: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    position: absolute; /* Maakt het mogelijk om de box binnen de windsnelheid div te positioneren */
    bottom: 10px; /* Verplaatst de box omhoog */
    left: 50%;
    transform: translateX(-50%); /* Centreert de box horizontaal */
    white-space: nowrap; /* Zorgt ervoor dat de inhoud niet wordt afgebroken */
}

.houtrib-label-box i {
    font-style: normal;
    margin-right: 5px;
    position: relative; /* Maakt het mogelijk om de positie van het icoontje aan te passen */
    top: -2px;
}

.houtrib-iframe {
    width: 700px; /* Breedte van het iframe */
    height: 400px; /* Hoogte van het iframe */
    border: 0px solid #ccc; /* Rand van het iframe */
    border-radius: 10px; /* Afgeronde hoeken voor het iframe */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Schaduw voor het iframe */
}

.houtrib-table-container {
    display: flex;
    justify-content: center; /* Centreert de tabel horizontaal */
    align-items: center; /* Optioneel: centreert de tabel verticaal */
    width: 100%; /* Zorgt ervoor dat de container de volledige breedte gebruikt */
    margin: 0 auto; /* Centraal op de pagina */
    padding: 20px 0; /* Optionele marge */
}
.houtrib-table .eenheidscel {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid #ff0 !important;  /* Geel zoals de rest, of zwart */
    background-color: transparent !important;
    color: yellow !important;
    text-align: left;
    padding-left: 4px;
    font-weight: bold;
    width: 40px;
    border: none !important;
}


table.houtrib-table td,
table.houtrib-table th {
    font-family: 'RO-sans', sans-serif !important;
}

.houtrib-table {
    margin: 0 auto; /* Centreert de tabel binnen de container */
    text-align: center; /* Zorgt ervoor dat de tekst in de tabel gecentreerd wordt */
    font-family: 'RO-sans', sans-serif;
}


.houtrib-table th, .houtrib-table td {
    border: 1px solid #000;
    padding: 10px;
    font-family: 'RO-sans', sans-serif;
}

.houtrib-kleurenrij td + td {
    border-left: none;
}

.houtrib-groen {
    background-color: #5ACC00;
}

.houtrib-oranje {
    background-color: #FFA726;
}

.houtrib-rood {
    background-color: #F44336;
}
