/* CSS Variabelen voor thema */
:root {
    --background-color: #e6f4f9;
    --text-color: #333;
    --card-background: #ffffff;
    --header-background: #63b3ed;
    --button-background: #63b3ed;
    --footer-background: #d3d3d3; /* Volledig grijze achtergrond voor de footer */
    --contact-background: #d3d3d3;
}

/* Dark Mode Variabelen */
.dark-mode {
    --background-color: #1e1e1e;
    --text-color: #f0f0f0;
    --card-background: #2b2b2b;
    --header-background: #3a3a3a;
    --button-background: #4a4a4a;
    --footer-background: #2b2b2b;
    --contact-background: #3a3a3a;
}

/* Algemene instellingen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Zorgt ervoor dat de pagina minimaal de volledige hoogte van het scherm bedekt */
}

main {
    flex: 1; /* Zorgt ervoor dat het main-gedeelte de resterende ruimte inneemt */
    padding: 20px;
    display: flex;
    justify-content: center;
}

.content {
    display: flex;
    gap: 20px;
    max-width: 1000px;
}

/* Header styling */
header {
    background-color: var(--header-background);
    padding: 20px;
    color: white;
    text-align: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Thema schakelaar */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* Rate us styling */
.rate-us {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
}

.rate-us span {
    font-size: 20px;
    cursor: pointer;
}

.smiley {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.smiley:hover {
    transform: scale(1.2);
}

/* Profielicoon styling */
.profile-icon {
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.profile-icon:hover {
    transform: scale(1.2);
}

/* Search bar */
.search-bar input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: none;
}

/* Kaart styling */
.card {
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.card h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

.card p {
    font-size: 0.9em;
    margin-bottom: 20px;
}

.card button {
    background-color: var(--button-background);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.card button:hover {
    background-color: #4a90e2;
}

/* Footer styling */
footer {
    background-color: var(--footer-background);
    padding: 20px 0;
    display: flex;
    justify-content: flex-start; /* Plaatst inhoud naar links */
    text-align: left;
    width: 100%; /* Zorgt ervoor dat de footer de volledige breedte bedekt */
}

.contact-container {
    padding: 20px;
    max-width: 300px;
    margin-left: 20px;
    
}

.contact-container h3 {
    margin-bottom: 10px;
}

.contact-container p {
    margin: 5px 0;
}
