body {
    font-family: sans-serif;
    background-color: #f0f0f0;
}

h1 {
    text-align: center;
    color: #333;
    padding: 20px;
}
/*
#Z1{display: none !important;}
#troisieme{display: none !important;}
*/
#Z1,#Z2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}



#Z1>div {
    flex-grow: 1;
    width: 0;
}
#Z2>div {
    flex-grow: 1;
    width: 0;
}

@media (max-width: 768px) {
    #Z1,#Z2 {
            display: block;
            width: auto;
    }

    #Z1>.section {
            flex-grow: 0;
            width: auto;
    }
    #Z2>.section {
        flex-grow: 0;
        width: auto;
    }
}


.section {
    background-color: white;
    border-radius: 10px;
    margin: 20px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


#premiere {
    border-left: 5px solid #2a792c;

}

#premiere a {
    color: #2a792c !important;
    text-decoration: none !important;
}

#deuxieme {
    border-left: 5px solid #0f5d9c;
}

#deuxieme a {
    color: #0f5d9c !important;
    text-decoration: none !important;
}

#troisieme {
    border-left: 5px solid #7e0364;
}

#troisieme a {
    color: #7e0364 !important;
    text-decoration: none !important;
}

#quatrieme {
    border-left: 5px solid #8d0202;
}

#quatrieme a {
    color: #8d0202 !important;
    text-decoration: none !important;
}

#cinquième {
    border-left: 5px solid #6c460d;
}

#cinquième a {
    color: #6c460d !important;
    text-decoration: none !important;
}

nav {
    background-color: #333;
    padding: 10px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}