/* Reset en basis stijlen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f9f7f2;
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Baloo 2', cursive;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #ff8a3d;
}

/* Container */
.container,
.header-container,
.nav-container,
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #ff8a3d;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

/* Navigatie - NIEUW */
.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.nav-container {
    position: relative;
}

.nav-items {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-items li {
    position: relative;
}

.nav-items a {
    display: block;
    padding: 15px 20px;
    color: #444;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-items a:hover,
.nav-items a.active {
    color: #ff8a3d;
}

.nav-items li.has-dropdown {
    position: relative;
}

.arrow {
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 0 0 4px 4px;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
    padding: 12px 20px;
    font-weight: normal;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-content a:hover {
    background-color: #f9f7f2;
}

.has-dropdown:hover .dropdown-content {
    display: block;
}

/* Main content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 180px);
}

/* Test intro */
.test-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.test-intro h1 {
    color: #ff8a3d;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.test-intro p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.test-intro ul {
    text-align: left;
    margin: 0 auto 2rem;
    max-width: 500px;
    padding-left: 1.5rem;
}

.test-intro li {
    margin-bottom: 0.5rem;
}

/* Start button */
.start-button-container {
    margin: 2rem 0 1rem;
}

.start-button,
.restart-button {
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Baloo 2', cursive;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.start-button:hover,
.restart-button:hover {
    background-color: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.restart-button {
    background-color: #2196f3;
}

.restart-button:hover {
    background-color: #1976d2;
}

/* Test container */
.test-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.image-container {
    margin-bottom: 1.5rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Progress bar */
.progress-container {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #ff8a3d;
    transition: width 10s linear;
}

.counter-container {
    font-size: 1.2rem;
    font-weight: 600;
    color: #555;
}

/* Test complete */
.test-complete {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.test-complete h2 {
    color: #4caf50;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Voorpagina stijlen */
.hero-section {
    background-color: #ff8a3d;
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('images/woordenwolk.png');
    background-size: cover;
    z-index: 1;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: #ff8a3d;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2.2rem;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff8a3d;
    margin: 1rem auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-box {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff8a3d;
    text-align: center;
}

.feature-title {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: #333;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.content-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.content-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-info {
    padding: 1.5rem;
}

.content-title {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.content-desc {
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: #ff8a3d;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.cta-section {
    background-color: #f1f9ff;
    text-align: center;
    padding: 4rem 0;
    margin-top: 3rem;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #666;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    margin-top: 2rem;
}

/* Responsive stijlen */
@media (max-width: 1024px) {

    .features-grid,
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-items {
        flex-direction: column;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        min-width: 100%;
        padding-left: 20px;
    }

    .dropdown-content a {
        padding-left: 30px;
    }

    .has-dropdown .dropdown-content {
        display: none;
    }

    .has-dropdown.active .dropdown-content {
        display: block;
    }

    .nav-dropdown-button.active+.dropdown-content {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .features-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .test-intro h1 {
        font-size: 2rem;
    }

    .start-button,
    .restart-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }

    .image-container {
        min-height: 200px;
    }
}

/* Main content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 180px);
}

/* Test intro */
.test-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.test-intro h1 {
    color: #ff8a3d;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.test-intro p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.test-intro ul {
    text-align: left;
    margin: 0 auto 2rem;
    max-width: 500px;
    padding-left: 1.5rem;
}

.test-intro li {
    margin-bottom: 0.5rem;
}

/* Start button */
.start-button-container {
    margin: 2rem 0 1rem;
}

.start-button,
.restart-button {
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Baloo 2', cursive;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.start-button:hover,
.restart-button:hover {
    background-color: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.restart-button {
    background-color: #2196f3;
}

.restart-button:hover {
    background-color: #1976d2;
}

/* Test container */
.test-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.image-container {
    margin-bottom: 1.5rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Progress bar */
.progress-container {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #ff8a3d;
    transition: width 10s linear;
}

.counter-container {
    font-size: 1.2rem;
    font-weight: 600;
    color: #555;
}

/* Test complete */
.test-complete {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.test-complete h2 {
    color: #4caf50;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    margin-top: 2rem;
}

/* Voorpagina stijlen */
.hero-section {
    background-color: #ff8a3d;
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('images/woordenwolk.png');
    background-size: cover;
    z-index: 1;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: #ff8a3d;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2.2rem;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff8a3d;
    margin: 1rem auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-box {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff8a3d;
    text-align: center;
}

.feature-title {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: #333;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.content-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.content-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-info {
    padding: 1.5rem;
}

.content-title {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.content-desc {
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: #ff8a3d;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.cta-section {
    background-color: #f1f9ff;
    text-align: center;
    padding: 4rem 0;
    margin-top: 3rem;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #666;
}

/* Responsive stijlen */
@media (max-width: 1024px) {

    .features-grid,
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }

    .nav-menu a {
        padding: 0.8rem 1rem;
    }

    .nav-menu a.active:after {
        height: 100%;
        width: 3px;
        top: 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        background-color: #f9f7f2;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-toggle:after {
        float: right;
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .features-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .test-intro h1 {
        font-size: 2rem;
    }

    .start-button,
    .restart-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }

    .image-container {
        min-height: 200px;
    }
}