body {width: auto; margin:auto;} #bloc_page {width: 100%; margin:auto; background: rgb(189,244,252); } #haut_de_page {height:200px; display:flex; justify-content: space-between; align-items: center; font-family: 'El Messiri', sans-serif; width: 80%; margin: auto; } #titre {display: flex; flex-direction: column; } #titre h2 { margin-top:-25px; } #titre h1 {font-size: 2em; font-weight: bold; font-style: italic; } #titre h2 {font-weight:normal; } #logo_titre {display: flex;} #logo_titre img { height:100px;} .adresse {list-style-image: url("images/map.png")} .tel {list-style-image: url("images/tel.png")} #haut_de_page li {margin-top: 3px;} #haut_de_page a {color: black; text-decoration: none;} #haut_de_page a:hover { text-decoration: underline; color:rgb(193,65,82); } header nav { height: 70px; font-size:1.4em; text-align: center; padding-top: 35px; background-color: rgb(16,99,175); } header nav ul {display: flex; flex-wrap: wrap; justify-content: center; margin:auto;} header nav li {list-style-type: none; padding-right: 20px; } header nav a {color: white; text-decoration:none; } header nav a:hover {color:rgb(193,65,82); border-bottom: 3px rgb(193,65,82) solid; } .titre {display: block; margin-top: 90px; margin-left: 10%; width: 80%; } .titre span {display:table-cell; vertical-align: middle; width: 50%; } .lign1 {display:inline-block; border-bottom: 1px rgb(159,160,160) solid; width: 100%;} .titre h2 { display: table-cell; padding-left: 5px; padding-right: 5px; font-size:1.9em; white-space: nowrap; } section img {width: 80%; margin: auto; } #img {text-align: center; margin-top: 50px;} .text {margin-top: 50px; font-size: 1.4em; width: 80%; margin-left: 10%; color: rgb(2,77,142);} section ol,section ul {font-size: 1.4em; width: 80%; margin-left: 10%; color: rgb(2,77,142);} section li {margin-top: 7px;} #fin {width: 80%; margin: auto;} #fin h2 {padding-top: 150px; font-size: 3em; width: 40%; margin:auto; text-align: center; color: rgb(28,51,71); } #fin h3 {font-size: 2em; margin-top: 80px; width: 18%; margin-left: 40%; font-weight: initial; text-align: center; padding: 10px; background:rgb(8,142,221);} #fin a {text-decoration: none; color:white; } #fin a:hover {color:rgb(8,142,221);} #fin h3:hover {background: white; border:1px rgb(8,142,221) solid;} footer {margin-top: 100px; background-color: rgb(81,98,114); height: 300px;} footer h1 {color: white; text-align: center; font-weight: initial; font-size: 1.6em; padding-top: 40px; } footer p { color:white; text-align: center; font-size: 1.3em; padding-top: 20px; } footer a { text-decoration: none; } #mention {color:white; text-align: center; font-size: 1.3em; padding-top: 20px; padding-bottom: 50px;} @media all and (max-width: 1200px) { #block_page {width: auto;} #haut_de_page {display:flex; flex-direction: column; width: 100%; padding-top: 25px; height: 170px;} #logo_titre img { height:50px; margin-top: 16px; } #titre h1 {font-size: 1.5em; padding-left: 10px;} #titre h2 {font-size: 1.2em; padding-left: 10px;} .adresse {list-style-image: url("images/map16.png")} .tel {list-style-image: url("images/tel16.png")} #haut_de_page ul {display: flex; justify-content: space-between;} #haut_de_page li {width: 40%;} header nav {font-size: 1.2em; height: 50px; padding-top: 26px;} header nav ul {margin: auto;} header nav li {padding-right: 15px;} .titre {margin-top: 35px;} .titre h2 {font-size: 1.4em;} .text,section ul,section ol {font-size: 1.2em;} #fin h2 {width: 100%; margin-top: 80px; margin-bottom: 80px; font-size: 2.4em; } #fin h3 {width: 45%; margin: auto; font-size: 1.6em;} footer {height: 200px;} footer h1 {font-size: 1.1em; padding-top: 20px;} footer p {font-size: 1em; padding-top: 10px;} #mention {font-size: 1em; padding-bottom: 20px; padding-top: 10px;} } }