@import url("general.css");

.section {
  font-size: 1em;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  background-color: rgb(255, 255, 255);
  border: 2px solid blue;
  margin: 0 auto;
  width: 80%;
  text-align: justify;
  border-radius: 8px;
  margin-top: 75px;
}

h1 {
  text-align: center;
}

#decompte {
  background-color: white;

  padding: 10px;
}
.img-echange-objets img {
  max-width: 100%;
  height: auto;
}

#caption {
  text-align: center;
  color: black;
  font-size: 2em;
  line-height: 2em;
}

#decompte {
  width: 24%;
  display: inline-block;
  margin: 26px;
  border: 35px solid gray;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
#decompte:nth-child(3n + 1) {
  transform: rotate(0);
  transition: alln0.35s ease-in-out;
}
.decompte {
  text-align: center;

  background: white;

  padding: 20px;

  border-radius: 10px;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#decompte {
  font-size: 2rem;

  margin-bottom: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

Body {
  background: lightgrey;
  font-family: sans-serif;
}

/*conteneur pour les cates*/

.liste-articles {
  margin: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

/*carte*/

.article {
  float: left;
  /*width : 30% */
  flex-basis: 100%;

  margin: 18px;
  margin-right: 25%;
  padding: 2px;
  background-color: #ffff;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  border: 3.5px solid;
  border-color: indianred;
}
#image1,
#image2,
#image3,
#image4 {
  width: 180px;
  height: 180px;
  border: 50px;
  /*shape-outside: circle(50%);*/
  margin: 0 30px 20px 0;
}
#image1,
#image3 {
  float: left;
}
#image2,
#image4 {
  float: right;
  margin: 0 10px 20px 0;
}
.bouton {
  display: block;
  text-align: center;
  margin: 4% auto 0 auto;
  background-color: #333;
  border-radius: 5px;
  width: 20%;
  color: #ffff;
  text-decoration: none;
  padding: 10px 10px;
  font-size: 1em;
  border: none;
}

.galerie {
  display: block;
  text-align: center;
  margin: 4% auto 0 auto;
  background-color: palevioletred;
  border-radius: 40px;
  border: 30px blue solid;
  width: 18%;
  color: #ffff;
  text-decoration: none;
  padding: 10px 10px;
  font-size: 3em;
}
.bouton:hover {
  background-color: pink;
  color: #333;
}

.galerie:hover {
  background-color: aquamarine;
  color: black;
}

.visiter-objets {
  margin: 15px;
  width: 82%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  display: block;

  float: left;
  /*width : 30% */
  flex-basis: 60%;
  flex: 1;

  margin: -230px;
  margin-left: 76%;
  padding: 50px;
  margin-right: 3%;
  background-color: aquamarine;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  border: 3.5px solid;
  border-color: blue;

  .bouton {
    display: block;
    text-align: center;
    margin: 5% auto 0 auto;
    background-color: #333;
    border-radius: 5px;
    width: 100%;
    color: #ffff;
    text-decoration: none;
    padding: 9px 23%;
    font-size: 1em;
    border: none;
  }
  .bouton:hover {
    background-color: pink;
    color: #333;
  }
}

body {
  background-color: deepskyblue;
}

.flex-container {
  display: flex;
  justify-content: center;
}

.vignette-objets {
  background-color: white;
  height: 205px;
  width: 205px;
  border: 10px black solid;
  border-radius: 100px;
  margin-right: 10px;
  cursor: pointer;
  overflow: hidden;
}

.vignette-objets:hover {
  opacity: 0.7;
  cursor: pointer;
}

.vignette-objets img {
  height: 200px;
}

#zone-affichage {
  background-color: white;
  display: flex;
  width: 700px;
  height: 500px;
  margin: 0 auto;
  margin-top: 10px;
  border: solid 3px #333333;
  border-radius: 30px;
}

.detail-objets {
  display: none;
  width: 700px;
  height: 500px;
  border: solid 1px black;
}

.objets-nom {
  font-size: 30px;
}

.objets-description {
  width: 300px;
}

.objets-images {
  width: 300px;
}
