/* General styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Container  */
#container {
    width: 85%;

    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}

.content {
    max-width: 545px;
    margin: 0 auto;
}

/* Header */
header {
    padding: 20px;
    border-bottom: 3px solid #0056b3;
    margin-bottom: 20px;
}

.header-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 20px;
    flex-wrap: wrap;
}

.logo img {
    width: 100px;
    height: auto;
    border-radius: 8px;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-text h1 {
    font-size: 28px;
    margin: 0;
    font-weight: bold;
    color: #222;
}

.tagline {
    font-size: 16px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

/* Navigation */
nav {
    background-color: #0056b8;
    padding: 0;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow-x: auto;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow-x: auto;
}

nav ul li {
    flex: 0 0 auto;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #003366;
    color: #ffcc00;
}

/* Main content */
main {
    margin-bottom: 40px;
}

/* Footer */
footer {
    text-align: right;
    padding: 20px;
    background-color: #f4f4f4;
    width: 100%;
}

footer a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

/* Intro Section */
.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    max-width: 500px;
}

.intro-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.feature-image {
    width: 400px;
    height: auto;
    border-radius: 10px;
}

.intro h2 {
    font-size: 26px;
    color: #0056b3;
    margin-bottom: 20px;
}

.intro p {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
}

/* Highlights Section */
.highlights {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.highlights h2 {
    font-size: 24px;
    color: #222;
    margin-bottom: 20px;
}

.highlights ul {
    list-style-type: disc;
    padding-left: 30px;
    text-align: left;
}

.highlights ul li {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

/* Highlight Box */
.highlight-box {
    background-color: #f2f8ff;
    border-left: 5px solid #3399cc;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

.highlight-box h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.overview {
    padding: 2em 1em;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

.overview h2 {
    text-align: center;
    margin-bottom: 0.5em;
}

.overview p {
    text-align: center;
    margin-bottom: 2em;
    color: #555;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5em;
    max-width: 900px;
    margin: 0 auto;
}

.overview-item {
    text-align: center;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.overview-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.overview-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5em;
}

.overview-item span {
    display: block;
    font-weight: 600;
}

.course-playlist {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.course-playlist h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.playlist-explanation ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    padding-top: 1rem;
}

.spotify-embed {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.student-example {
    margin-top: 2rem;
    font-style: italic;
    font-size: 1rem;
}

.student-example a {
    color: #2a5d9f;
    text-decoration: underline;
}

.student-example a:hover {
    text-decoration: none;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #0056b3;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #003366;
}


/* === Programmapagina specifieke styling === */
.program-day {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 16px;
    background-color: #f8fafc;
    border-left: 4px solid #005fa3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.program-day h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: #003f6b;
}

.session-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.session-list li {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.session-list li:hover {
    background-color: #f0f4f8;
}

.session-title {
    display: block;
    font-weight: 600;
    margin-top: 0.25rem;
    color: #222;
}

.session-desc {
    display: block;
    font-size: 0.95rem;
    color: #555;
    margin-top: 0.25rem;
}

time {
    font-weight: 500;
    color: #005fa3;
    font-family: 'Futura', arial, sans-serif;
}

/* === Registration Form Styling === */

.register-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group .required {
    color: #d00;
    margin-left: 0.25rem;
}

.register-form-modern input[type="text"],
.register-form-modern input[type="email"] {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.register-form-modern input:focus {
    border-color: #0077cc;
    outline: none;
}

.register-button {
    align-self: flex-start;
    background-color: #0077cc;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.register-button:hover {
    background-color: #005fa3;
    transform: translateY(-2px);
}

.register-button:active {
    background-color: #004a82;
    transform: translateY(0);
}

.register-form-modern select {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.register-form-modern select:focus {
    border-color: #0077cc;
    outline: none;
}

.register-form-modern textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
    background-color: #fff;
    color: #333;
}

.register-form-modern textarea:focus {
    border-color: #0077cc;
    outline: none;
}


/* Register page specific */
.register-button {
    margin-top: 20px;
}

/* Sponsor Intro Section */
.sponsor-intro {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 5px solid #4CAF50;
}

.sponsor-intro h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.sponsor-intro p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Sponsors Section */
.sponsors h2 {
    text-align: center;
    margin-bottom: 20px;
}

.sponsor-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.sponsor {
    text-align: center;
    width: 200px;
}

.sponsor img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Sponsor Call */
.sponsor-call {
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}

.sponsor-call a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.sponsor-call a:hover {
    text-decoration: underline;
}

/* News Bulletin */
.news-bulletin {
    background-color: #fff7e6;
    border-left: 6px solid #ff9900;
    padding: 20px 25px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 900px;
}

.news-bulletin h2 {
    font-size: 24px;
    color: #cc6600;
    margin-bottom: 15px;
}

.news-bulletin p {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* About Us Page */
.about {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.staff-member {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.5rem;
}

.staff-member img {
    width: 180px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.staff-info h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #2c3e50;
}

.staff-info p {
    margin: 0;
    line-height: 1.6;
}


/* Responsive menu */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .intro,
    .program {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .intro-text,
    .feature-image {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    #container {
        padding: 20px 15px;
    }
}

@media (max-width: 600px) {
    .header-text h1 {
        font-size: 22px;
    }

    .tagline {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .staff-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .staff-info {
        margin-top: 1rem;
    }

    .staff-member img {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 400px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
}
    
.register-form-modern input[type="text"],
.register-form-modern input[type="email"] {
    width: 100%;
    box-sizing: border-box;
}

nav ul {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 600px) {
    .register-form-modern {
        padding: 1.5rem;
    }

    .register-button {
        width: 100%;
        text-align: center;
    }
}