/* STYLE GENERAL DE LA PAGE */

body {
    font-family: Arial, sans-serif;
    background-color: #f2f5f9;
    margin: 0;
    padding: 0;
}


/* HEADER : partie bleue en haut du site */

header {
    background-color: #12345a;
    color: white;
    text-align: center;
    padding: 25px;
}

/* Image du campus dans le header */

header img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}


/* TITRE PRINCIPAL */

h1 {
    font-size: 32px;
    margin: 10px;
}


/* MENU DE NAVIGATION */

nav {
    background-color: #2876c7;
    padding: 15px;
    text-align: center;
}

/* Liens du menu */

nav a {
    color: white;
    text-decoration: none;
    margin: 15px;
    font-weight: bold;
}
main a:hover {
    color: #e67e22;
    text-decoration: underline;
}

/* Quand on passe la souris sur un lien */

nav a:hover {
    color: #d3e8ff;
    text-decoration: underline;
}


/* CONTENU PRINCIPAL */

main {
    padding: 25px 5%;
}


/* DIFFERENTES PARTIES DU SITE */

section {
    background-color: white;
    padding: 25px 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px #cccccc;
}

section:hover {
    background-color: #f8fbff;
}

/* TITRES DES SECTIONS */

h2 {
    color: #12345a;
}
h2:hover {
    color: #2876c7;
}

h3 {
    color: #2876c7;
}
h3:hover {
    color: #12345a;
}


/* IMAGES DANS LES SECTIONS */

main img {
    width: 400px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}


/* LISTES */

li {
    margin: 10px;
}


/* TABLEAU */

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

/* Titres du tableau */

th {
    background-color: #2876c7;
    color: white;
}

/* Cellules du tableau */

td, th {
    border: 1px solid #cccccc;
    padding: 12px;
    text-align: center;
}

/* LARGEUR DU CONTENU */
section p {
    line-height: 1.6;
}

/* LIENS DANS LE CONTENU */

main a {
    color: #2876c7;
}


/* FOOTER : bas du site */

footer {
    background-color: #12345a;
    color: white;
    text-align: center;
    padding: 15px;
}                                      