*{ 
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

html{
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 200vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%),
        url("../images/background.jpg") no-repeat center center fixed;
    background-size: cover;
    color: #222;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #56DDEF;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header img {
    width: 140px;
    height: auto;
}

.random-text {
    color: #56DDEF;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

nav a {
    text-decoration: none;
    padding: 8px 12px;
    margin: 5px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(0,76,53,255);
    transition: all 0.3s ease;
}

nav a:hover {
    background: white;
    color: #0077cc;
    border-radius: 8px;
}

main {
    border-radius: 25px;
    margin: 80px auto;
    max-width: 1000px;
    padding: 40px;
    background-color: rgb(86, 221, 239, 0.8);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

main h2 {
    font-size: 1.8rem;
    color: rgba(0,76,53,255);
    margin-bottom: 15px;
    text-align: center;
}

main h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: rgba(0,76,53,255);
}

.info {
    border: 2px solid #0077cc;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
    background: #f0faff;
}

.Versnellen {
    border: 2px solid #0077cc;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
    background: #f0faff;
}

.subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.subject {
    border: 2px solid #0077cc;
    border-radius: 12px;
    padding: 20px;
    width: 220px;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
}

.subject:hover {
    transform: scale(1.05);
    background: #e6f3ff;
}

.schedule,
.blocks {
    margin-bottom: 40px;
    text-align: center;
}

.schedule img,
.blocks img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.teachers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.teacher {
    border: 2px solid #0077cc;
    border-radius: 12px;
    padding: 20px;
    width: 220px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #e6f3ff;
}

.teacher img {
  width: 50px;
  height: auto;
}

.teacher:hover {
    background: #e6f3ff;
    transform: scale(1.05);
}

footer {
    display: flex;
    justify-content: center;
    color: white;
    padding: 15px;
    font-size: 0.9rem;
    background: #003366;
}

footer a {
    color: white;
    text-decoration: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    header {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    main {
        margin: 20px;
        padding: 20px;
        border-radius: 15px;
    }

    .subjects, .teachers {
        flex-direction: column;
        align-items: center;
    }

    .subject, .teacher {
        width: 100%;
        max-width: 300px;
    }

    footer {
        font-size: 0.8rem;
        padding: 10px;
        text-align: center;
    }
}
