body {
  background-image: url("images/fondecran.png");
  background-size: cover;
  background-repeat: no-repeat;
}
.container-fluid {
  display: flex;
  justify-content: center;
  padding: 20px;
}
.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  font-size: 14px;
}
.main {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: white;
  padding: 100px;
}
.tarifs {
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 20px;
  color: black;
  background-color: white;
}
footer {
  display: flex;
  justify-content: center;
  background-color: white;
  padding: 5px;
}
footer a {
  padding: 10px;
  font-size: larger;
  text-decoration: none;
  border: 2px solid;
}
li:first-child::before {
  content: "\0020 \2302";
}

nav,
ul > li {
  display: inline;
  padding: 10px;
  margin: 10px;
  font-size: larger;
}
nav a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
h1 {
  height: 25px;
  line-height: 25px;
  text-align: center;
  vertical-align: middle;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: aliceblue;
  font-size: 20px;
}
main h2 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: black;
  padding: 50px;
  border: 25px solid black;
  border-radius: 20px;
}
main div h3 {
  color: rgb(0, 123, 255);
  font-weight: 500;
}
main div span {
  color: green;
  font-weight: 700;
}
/*page galerie*/
.content {
  padding: 20px;
  margin-top: 5px;
  margin-bottom: 20px;
  background-color: aliceblue;
}
#filtre {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}
#filtre div {
  padding: 10px;
  margin: 10px;
  border: 2px solid tomato;
  border-radius: 20px;
  cursor: pointer;
}
.text-center {
  text-align: center;
}
#galerie {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  flex-wrap: wrap;
  gap: 10px;
}
#galerie .active {
  transition: widht 0.3s;
}
#galerie .inactive {
  width: 0;
  padding: 0;
  transition: widht 0.3s;
}

/*pages contact*/
main.tarifs {
  form {
    legend {
      em {
        font-size: medium;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  main {
    font-size: 50%;
    h2 {
      font-size: medium;
    }
  }
}
@media screen and (max-width: 450px) {
  .container {
    height: 50%;
  }
  .h2 {
    flex-wrap: nowrap;
  }
  .tarifs {
    font-size: 50%;
  }
  nav ul > li {
    display: block;
  }
}
