html {
  height: 100%;
  width: 100%;
}

html, body {
  min-height: 100%;
  padding: 0;
  margin: 0;
  background-image: url("Images/image_principale.webp");
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  font-family: Consolas;
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: white;
}

#menu {
  text-decoration: none;
  padding-top: 50px;
  padding-right: 550px;
  padding-bottom: 50px;
  padding-left: 100px;
}

.headmenu {
  list-style-type: none;
  overflow: hidden;
  background-color: #333;
  margin-left: 5%;
  margin-right: 5%;
  border-radius: 8px;  
  text-align: center;
}

.headmenu a {
  display: inline-block;
  margin: 10px;
  padding: 14px 16px;
  color: white;
  font-size: 100%;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
}

.headmenu a:hover {
  background-color: #ff0000;
}

h1 {
  font-size: 600%;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
}

h2 {
  text-decoration: none;
  color:white ;  
  text-align: center;
  background-color: red;
  background-position: center;
  margin: 80px;
  padding: 10px;
}

h2 a {
  text-decoration: none ;
  color: white;
}

footer {
  font-size: 30px;
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: #0400ff;
  margin-left: -1%;
  margin-right: 0%;
  padding: 3%;
}

footer a {
  color: #171616;
}

#main {
  background-image : url("Images/fond2.webp");
  padding: 25px;
  width: 80%;
	border: 3px solid black;
	margin: auto;
}

#main img {
  margin: 80px;
  width: 400px;
  height: 450px; 
  border: 2px white solid;
  transition: transform 0.3s ease-in-out;
}

#main img:hover {
  transform: scale(1.1) rotate(10deg);
  opacity: 0.9;
}

.contain {
  display: flex;
  margin: 20px 0;
}

.contain p {
  color: white;
  font-size: 25px;
  margin-right: 80px;
  padding: 30px;
  background-color: #0a81db;
  border: 3px solid black;
}