body {
    display: grid;                          /* Active CSS Grid */
    grid-template-columns: 180px 1fr;       /* Colonne nav + colonne contenu */
    grid-template-rows: auto 1fr auto;      /* Header / contenu / footer */
    grid-template-areas:                   /* Placement des zones */
        "nav header"
        "nav main"
        "nav footer";
}

header {
    grid-area: header;                      /* Place dans la zone header */
    background: grey;                       /* Fond */
    height: 40px;                           /* Hauteur fixe */
    text-align: center;                     /* Texte centré */
    font-size: 30px;                        /* Taille du texte */
    font-family: quick-sand, sans-serif;    /* Police */
    color: white;                           /* Couleur du texte */
}


nav {
    grid-area: nav;                         /* Place dans la zone nav */
    background: silver;                     /* Fond */
    padding: 10px;                          /* Espacement intérieur */
}

nav a {
    display: block;                         /* 1 lien = 1 “bouton” par ligne */
    text-decoration: none;                  /* Pas de soulignement */
    font-size: 20px;                        /* Taille du texte */
    background: slategray;                  /* Fond du bouton */
    padding: 10px;                          /* Espacement intérieur */
    margin-bottom: 10px;                    /* Espace entre boutons */
    border-radius: 5px;                     /* Coins arrondis */
    width: 150px;                           /* Largeur du bouton */
}


main {
    grid-area: main;                        /* Place dans la zone main */
    background: white;                      /* Fond */
    padding: 20px;                          /* Espacement intérieur */
    border: 1px solid #ddd;                 /* Bordure légère */
}

section {
    margin-bottom: 25px;                    /* Espace entre sections */
    padding-bottom: 15px;                   /* Espace avant la séparation */
    border-bottom: 1px solid #ccc;          /* Ligne de séparation */
}

h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

h3 {
    margin: 5px 0;
    font-size: 18px;
}

ul {
    padding-left: 20px;                     /* Décalage de la liste */
}

.fond-du-footer {
    grid-area: footer;                      /* Place dans la zone footer */
    background: grey;
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
}

.titre-du-footer {
    margin-bottom: 0px;                     /* Colle le contenu sous le titre */
}

.logo-image {
    width: 35px;
    margin: 0 8px;
}

.image-book-film {
    width: 300px;
    margin-right: 400px;
    height: auto;                           /* Conserve les proportions */
}

.texte-book-film {
    font-size: 18px;
}

.image-iut {
    width: 500px;
    margin-right: 400px;
    height: auto;
}

.batiment-iut {
    width: 1600px;
    margin-right: 120px;
    height: auto;
}

.titre-video {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
}

.trappes {
    margin-bottom: 30px;
    text-align: center;
}

.trappes img {
    width: 600px;
    height: auto;
}

.monfond {
    background-color: silver;
}

.fond {
    position: relative;                     /* Référence pour .image-fond en absolute */
    min-height: 800px;                      /* Hauteur mini du bloc */
}

.image-fond {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;                           /* L’image remplit le bloc */
}

.fond h1 {
    position: relative;                     /* Reste au-dessus de l’image */
    text-align: center;
    margin-top: 200px;
    font-size: 48px;
    color: white;
}