
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #F0F4F8;
    color: #333;
    box-sizing: border-box;
}


header {
    position: relative;
    padding: 20px 40px; /* Ruimte rond de hele header */
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.taal, .prijs, .platform {
    margin-left: 10px; 
    font-size: 14px;
    color: #666;
}

.prijs {
   color: #d1e0e0;
}

#linksList li {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

#linksList a {
    text-decoration: none;
    color: #333;
    flex: 1; 
}

.taal, .prijs {
  
    margin-left: 10px; 
    font-size: 14px;
    color: #666;
}

header img {
    position: absolute;
    top: 20px; /* Ruimte boven */
    left: 20px; /* Ruimte links */
    width: 120px; /* Afmeting van het logo */
    height: auto; /* Houd proporties in stand */
}

#searchInput {
    margin-left: auto; /* Zorg ervoor dat de zoekbalk naar rechts verschuift */
    margin-right: 20px; /* Kleine marge rechts van de zoekbalk */
    padding: 10px;
    border-radius: 30px;
    border: 1px solid #d1d1d1;
    width: 300px;
    position: relative;
}

.details-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.detail-item {
    display: flex;
    flex-direction: row;/*
    justify-content: flex-start;  Linker uitlijning */
    align-items: center;
    gap: 15px;
}


#searchInput:focus {
    border-color: #8F88FD;
    outline: none;
}



main {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);

    padding-top: 100px; /* Zorg voor voldoende ruimte onder de header */
}


#categoryContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
#linksList {
   gap: 10px;
}

.category {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.category h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}




.subject-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #d1d1d1;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.subject-container img {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}
.subject-container p {
    margin: 0;
    font-size: 18px;
    color: #333;
    text-align: center;
}
.subject-container:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
}



.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}
.filter-button {
    background-color: #8F88FD;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
}

.filter-button:hover {
    background-color: #6b5eea;
    transform: translateY(-3px);
}


.filter-button.active {
    background-color: #fd6555;
    transform: scale(1.05);
}


.filtered-results {
    display: none;
}

.filtered-results.show {
    display: block;
}


.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    
}

.modal-content {
    background-color: #d1e0e0;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ccc;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal h2 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
}

.modal ul {
    list-style: none;
    padding: 0;
}


.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #e74c3c;
}


.ga-door-button {
    background-color: #8F88FD;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.ga-door-button:hover {
    background-color: #6b5eea;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .filter-container, .extra-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-button, .extra-filters select {
        width: 100%;
        max-width: 300px;
    }

    header img {
        width: 100px; /* Schaal het logo voor kleinere schermen */
        top: 59px; /* Pas de ruimte aan voor kleinere schermen */
        left: 15px;
    }
    #searchInput {
        width: 80%; /* Zoekbalk past zich aan het scherm aan */
    }

    #resultContainer {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    footer .footer-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    input[type="search"] {
        width: 100%;
        max-width: none;
    }

    .filter-button, .extra-filters select {
        font-size: 14px;
    }
}





.view-link-button {
    background-color: #8F88FD;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
main {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

.category-container {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.category {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.category h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}


.subject-container {
display: flex;
align-items: center;
background-color: #ffffff;
border: 1px solid #d1d1d1;
border-radius: 12px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.subject-container img {
width: 50px;
height: 50px;
margin-right: 20px;
transition: transform 0.3s;
}

.subject-container p {
margin: 0;
font-size: 18px;
color: #333;
}

.subject-container:hover {
background-color: lightblue; 
transform: translateY(-5px); 
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
}

.subject-container:hover img {
transform: scale(1.1);
}
#logo {
    height: 5.5vh;
    position: absolute;
    left: 4vw;
    top: 22.5px;
}

.platform-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 5px;
    font-size: 14px;
}

.price-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 5px;
    font-size: 14px;
}

.vr {
    background-color: blue;
    color: white;
}

.ar {
    background-color: pink;
    color: white;
}

.pc {
    background-color: red;
    color: white;
}
a {
    text-decoration: none;
}
.circle {
width: 20px;
height: 20px;
border-radius: 50%;
}
link[rel="icon"] {
    display: none;
    width: 100%;
    height: 100%;
}
.circle.vr {
background-color: blue; /* Change to your desired VR color */
}

.circle.default {
background-color: gray; /* Default color */
}


.mr {
    background-color: darkcyan;
    color: white;
}
.mobile {
    background-color: gold;
    color: white;
}
.gratis {
    background-color: green; /* Lichtgroen */
    color: white; /* Donkergrijze tekst */
}

.betaald {
    background-color: #ca5010;
    color: white;
}

.modal {
display: none; 
position: absolute;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 120vh;
overflow: auto;
justify-content: center;
align-items: center;
background-color: rgba(0,0,0,0.4);
overflow-y: auto;
}

.modal-content {
background-color: #d1e0e0;
margin: 10% auto;
padding: 20px;
border-radius: 10px;
border: 1px solid #ccc;
width: 80%;
max-width: 600px;
}

.modal h2 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
}

.modal ul {
list-style: none;
padding: 0;
}


.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #e74c3c;
}

.ga-door-button {
    background-color: #8F88FD;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.ga-door-button:hover {
    background-color: #6b5eea;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;   
        text-align: center;    
    }

    header img {
        margin-bottom: 10px;   
    }

    #searchInput {
        width: 80%;            
        margin-top: 10px;      
        text-align: center;    
    }
    .category-container {
        flex-direction: column;
    }
    .subject-container {
        flex-direction: column;
        text-align: center;
    }
    .subject-container img {
        margin-bottom: 15px;
        margin-right: 0;
    }
    .modal-content {
        padding: 20px;
        width: 90%;
    }
 
}
@media (max-width: 468px) {
    .modal-content {
        padding: 15px;
        width: 90%;
    }
    .close {
        font-size: 20px;
    }
    .ga-door-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}




.filter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px 0;
}

.filter-button {
    background-color: #8F88FD;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.filter-button:hover {
    background-color: #6b5eea;
    transform: scale(1.05);
}




.extra-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.extra-filters select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #d1d1d1;
    font-size: 14px;
    min-width: 150px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
}

.extra-filters select:hover {
    border-color: #8F88FD;
}
#refresh {
    height: 50px;
    width: 100px;
}
.imgjson {
    height: 200px;
    width: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}




@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: center;
    }

    .extra-filters {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 468px) {
    .filter-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .extra-filters select {
        font-size: 13px;
        padding: 8px 12px;
    }

    #sortOptions {
        font-size: 13px;
        padding: 8px 12px;
    }
}

footer {
background-color: #f1f1f1;
padding: 20px 0;
text-align: center;
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.footer-content p {
margin: 0;
color: #333;
}

.footer-links {
list-style: none;
padding: 0;
margin: 10px 0 0;
}

.footer-links li {
display: inline;
margin: 0 15px;
}

.footer-links a {
text-decoration: none;
color: #8F88FD;
transition: color 0.3s; 
}

.footer-links a:hover {
color: #6b5eea;
}


@media (max-width: 768px) {
.footer-links li {
display: block; 
margin: 5px 0; 
}
.header-content {
flex-direction: column; 
align-items: flex-start; 
}

input[type="search"] {
width: 100%; 
margin-top: 10px; 
}
}

main {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}


#resultContainer {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
   
}

#resultContainer:hover {
   
}


.subject-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    background-color: #ffffff; 
    border-radius: 12px; 
    padding: 15px; 
    border: 1px solid #d1d1d1; 
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.subject-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


.subject-container img {
    width: 70px;
    height: 70px; 
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

.subject-container p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}


.subject-container button {
    margin-left: auto;
    padding: 10px 15px;
    background-color: #FD6555;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subject-container button:hover {
    background-color: #e65545;
}
