﻿table {
    border-collapse: collapse;
    max-width: 1044px;
    margin: 20px auto;  
}

th:first-child,
td:first-child {
    text-align: left; /* Linker uitlijning voor de eerste kolom */
}

th, td {
    border: 1px solid #dddddd;
    text-align: center;

    font-size: 16px;
    min-width: 40px;
    background: white;
    max-height:auto;
    justify-content:center;
}

th {
    background-color: rgb(0, 45, 71);
    color: white;
    writing-mode: vertical-rl; /* Van boven naar beneden, van rechts naar links */
    white-space: nowrap; /* Voorkomt dat tekst naar een nieuwe regel wordt afgebroken */
    position: sticky;
    top: 0;
    z-index: 999;
    padding:0.5vw;
   

}

td {
    padding: 8px 4px 8px 4px;
}

    th: first-child {
    writing-mode: horizontal-tb;
}

#data-table {
    display: none;
}

.search-container {
    position: relative;
    display: inline-block;
    margin: 20px 0;
    width:50%;
}

    .search-container input[type=text] {
        width: 100%;
        padding: 10px;
        margin-top: 8px;
        margin-bottom: 8px;
        border: 1px solid rgba(0, 45, 71, 0.5);
        border-radius: 5px;
        box-sizing: border-box;
        color: rgb(0, 45, 71);
        font-size: 14px;
        box-shadow: 0px 2px 4px 0px rgba(0, 45, 71,0.5);
    }

    .search-container select {
        width: 100%;
        padding: 10px;
        border: 1px solid rgba(0, 45, 71, 0.5);
        border-radius: 5px;
        box-sizing: border-box;
        font-size: 14px;
        color: rgb(0, 45, 71);
        box-shadow: 0px 2px 4px 0px rgba(0, 45, 71,0.5);
    }

.selected-countries {
    inline-size: 50%;
    border: 1px solid rgba(0, 45, 71, 0.5);
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0px 2px 4px 0px rgba(0, 45, 71,0.5);
}

/* Stijl voor de knoppen */
.custom-button {
    background-color: rgb(242, 242, 242); /* Achtergrondkleur */
    color: rgb(0, 45, 71); /* Tekstkleur */
    padding: 10px 20px; /* Binnenafstand */
    border: none; /* Geen rand */
    border-radius: 4px; /* Afgeronde hoeken */
    cursor: pointer; /* Cursorstijl */
    margin: 5px 0; /* Buitenmarges */
    font-size: 1rem;
    box-shadow: 0px 2px 4px 0px rgba(0, 45, 71,0.5);
}

    /* Stijl voor de knoppen bij hover */
    .custom-button:hover {
        background-color: rgb(0, 45, 71); /* Achtergrondkleur bij hover */
        color:white;
    }

.parent {
    display: flex;
    gap: 1vw;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top:1vw;
}

.card
 {
    inline-size:32%;  
}

.card1-title {
    height: auto;
    margin: 0.5vw;
}

.parent h1 {
    font-size: 24px;
}

.card1-title img {
    display: inline-block;
    inline-size: 100%;
    padding: 1vw 0.5vw 1vw 0.5vw;
    box-sizing: border-box;  
}

@media screen and (max-width: 769px) {

    .custom-button {
        display: flex;
        width: 100%;
    }

    .search-container,
    .selected-countries {
        width: 100%;
    }

    table {
        display:block;
        width: 100%;
    }

        th {
        padding: 4px 0px 4px 0px;
        font-size: 2.2vw;
        min-width: 0px;
    }

    td {
        padding: 4px 4px 4px 4px;
        font-size: 2.2vw;
        min-width: 0px;
    }
    
        .card {
            inline-size: 100%;
            margin-bottom: 2vw;
        }

    .card1-title br {
        display:none;
    }
}

