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.6em; 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: 30px; } 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; } #smile {background: url("images/smile.jpeg") no-repeat fixed; background-size: cover; height:689px; font-size: 5em; width: 100%; margin:auto; } #smile h1,#smile p {font-family: 'Corinthia', cursive; color: white; text-shadow: black 1px 1px,black -1px 1px,black -1px -1px,black 1px -1px; text-align: center; padding-top: 80px; margin:0px;} .bande {height:3px; width: 40%; background-color: rgb(102,217,249); margin-top: 50px; margin-left: 30%;} #acceuil {width:80%; display: flex; margin: auto; margin-top: 70px; margin-bottom: 70px; } #acceuil img { margin-left: 5%; margin-top: 20px; } #acceuil h3 { font-size: 1.2em; padding-left: 5%; } #acceuil p {font-size: 0.9em; text-align: center; margin-left: 2%; margin-right: 2%;} #horaires { width: 25%; color:white; background:rgb(54,168,235); border-radius: 4px; } #horaires table { margin-top: 20px; margin-left: 10%; font-size: 1em;} .icone {filter: invert(100%);} #accès { width: 25%; color:white; background:rgb(8,142,221); border-radius: 4px; } #accès p {margin-top: 20px; } #contact {width: 25%; color:white; background:rgb(16,99,175); border-radius: 4px; } #contact a {font-size: 1.5em; color: white; text-decoration: none;} #contact a:hover {color:rgb(193,65,82); text-decoration: underline; font-weight: bold;} #urgence {width: 25%; color:white; background:rgb(25,119,204); border-radius: 4px; } .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; } #presentation {display: flex; justify-content: space-between; width: 80%; margin: auto; padding-top: 40px; } #text_presentation {width: 50%;} #presentation img {width: 445px; height: 250px; border-radius: 50%; border:1px black solid; margin-top: 130px; margin-right: 40px;} #text_presentation h3 {font-size: 1.4em; color: rgb(25,119,204);} #text_presentation h4 {font-weight: normal; font-size: 1.3em;} #text_presentation p,#text_presentation ul {font-size: 1.2em;} #text_presentation ul {list-style-image: url("images/valid.png")} #liseret {width:20%; border-bottom: 1px black solid; margin: auto; padding-top: 80px;} #photos {width: 80%; margin: auto; padding-top: 60px;} #photos ul {display: flex; flex-wrap: wrap; width:100%; margin: auto; list-style-type: none;} #equipe {width: 80%; display: flex; margin-left: 10%; margin-top: 40px; padding-top: 30px; background:rgb(1,95,183,0.5); border-radius: 10px; } #lis {height: 400px; border-right: 1px black solid; width: 1%; margin-top: 50px;} #profil {display: inline-block; flex-direction: column; width: 49.5%; color:white; } #profil p {text-align: center; } #nom {display: flex; flex-direction: column; align-items: center; } #nom h2 {font-size: 1.6em;} #nom h3 {font-size: 1.3em; color:rgb(222,223,224); margin-top: -10px; font-weight: normal;} #exp {padding-left: 80px;} #exp h3 {font-size: 1.3em; padding-left: 20px; color: rgb(2,77,142);} #exp ul {list-style-image:url("images/valid.png") ; } #exp li {padding-top: 5px; } #traitements {display: flex; justify-content: space-between; margin: auto; width: 80%; margin-top: 50px; flex-wrap: wrap;} .ensemble {width: 30%;} .ensemble h2 {text-align: center; font-weight: normal; } article nav a {text-decoration: none; color: black;} article nav a:hover {text-decoration:underline; color:rgb(119,221,249);} iframe {margin-top: 50px; } #fin {width: 80%; margin: auto;} #fin h2 { font-size: 3em; width: 40%; margin:auto; margin-top: 150px; text-align: center; color: rgb(28,51,71); } #fin h3 {font-size: 2em; margin-top: 100px; width: 18%; margin-left: 39%; 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;} #smile {display: none;} .titre {margin-top: 35px;} .titre h2 {font-size: 1.4em;} #acceuil {width:80%; display: flex; flex-direction: column; margin-top: 40px; margin-bottom: 40px; } #acceuil img {margin-left: 47%; height: 25px;} #acceuil h3 {text-align: center; margin-top: 10px;} #horaires,#accès,#contact,#urgence {width: 80%; margin-left: 10%; margin-bottom: 40px; } #horaires table {margin:auto; padding-bottom: 15px;} #accès h3 {padding-right: 5%;} #presentation img {display: none;} #text_presentation {width: 100%;} #text_presentation h2 {font-size: 1.3em;} #text_presentation h3 {font-size: 1.1em;} #text_presentation h4 {font-size: 1.1em;} #text_presentation p,#text_presentation ul {font-size: 1em;} #text_presentation li {padding-bottom: 8px;} #photos {padding-top: 20px;} #photos h2 {font-size: 1.3em; text-align: center; padding-bottom: 20px; } #photos img {width:100%;} #photos ul {display: flex; flex-direction: column; width:80%; list-style-type: none;} #photos li {margin: auto; margin-bottom: 8px; width: 80%; } #equipe {flex-direction: column; background: rgb(189,244,252); } #lis {display: none;} #profil {width: 100%; color:black;} #nom h2 {font-size: 1.4em;} #nom h3 {font-size: 1.2em; color: rgb(8,142,221);} #exp {margin-bottom: 80px;} #exp h3 {font-size: 1.2em;} #traitements {flex-direction: column; } .ensemble {width: 100%;} .ensemble h2 {font-size: 1.4em; margin-top: -10px; } .ensemble img {width: 80%; } #img_traitement {text-align: center; } iframe {height:500px;} #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;} }