html {
  height: 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-size: 16px;
  font-family: Consolas;
  line-height: 1.4;
  color: white;
}

* {
  box-sizing: border-box;
}

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

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

.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;
}

h2 {
  font-size: 300%;
  text-align: center;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
}

h3 {
  font-size: 2rem;
  color: white;
  text-align: center;
  margin-left: 3%;
  margin-right: 3%;
  padding: 2rem;
  line-height: 1.1;
  background-color: red;
}

.intro {
  font-size: 20px;
  color: white;
  text-align: center;
  margin: 70px;
  padding: 30px;
}

.stack > * + * {
  margin-top: 1.5rem;
}

section {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 1.5rem;
  margin: 5%;
  padding: 1%;
  font-size: 20px;
}

section:nth-child(2n) > *:first-child {
  order: 2;
}

section img {
  height: 350px;
  width: 300px;
  margin-left: 10%;
  margin-right: 10%;
  border: 2px white solid;
}

.size {
  height: 420px;
  width: 700px;
}

.size2 {
  height: 600px;
  width: 420px;
}

.size3 {
  height: 300px;
  width: 450px;
}

.p_only {
  margin: 5%;
  padding: 1%;
  font-size: 20px;
}