/* Global */
* {
    box-sizing: border-box;
    text-align: center;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', serif;
    background-color: #f4f7f9;
    color: #333;
    line-height: 1.6;
}

a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.footer {
    color: #fbfbfb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1258b2;
}

/* Header+footer */
header,
footer {
    background-color: #1a73e8;
    padding: 20px 0;
    text-align: center;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: #fff;
}

/* Main content */
main {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.intro p {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 10px;
    font-size: 1.1em;
}

/* Titres */
.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    color: #1a73e8;
    margin: 40px 0 20px;
    font-weight: bold;
}

/* Projects */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 40px;
}

.project-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 300px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #1a73e8;
}

.project-description {
    font-size: 1em;
    color: #555;
}

/* Year Buttons */
.year-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.year-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(45deg, #1a73e8, #4285f4);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.year-btn:hover {
    background: linear-gradient(45deg, #4285f4, #1a73e8);
}

/* Classes */
.classes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
    margin-top: 20px;
}

.class-container {
    width: 90%;
    max-width: 600px;
    margin: auto;
}

.class-container h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #1a73e8;
    margin-bottom: 10px;
}

/* Courses in a grid de 2 colonnes */
.classes-display {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
