body {
  text-align: left;
  box-sizing: border-box;
}

#can {
  display: none;
}

.flexContainer img:nth-child(2n + 1) {
  padding-right: 0px;
}

nav {
  z-index: 4;
}

/********************************
            CARROUSEL
*********************************/

#carrousel article {
  display: none;

  width: 100%;
}

#carrousel article:first-child {
  display: inline-block;
}

#carrousel article img {
  width: 100%;
  border-radius: 0px;
}

main {
  padding: 0px;
  box-shadow: none;
}

.carrouselOverlay {
  position: relative;
}

.carrouselPagination {
  width: 18px;
  height: 18px;
  border-radius: 100%;
  background-color: #c4c4c4;

  cursor: pointer;
}

.carrouselPagination:first-child {
  background-color: #f3a41e;
}

#carrouselPagination {
  display: flex;
  height: 98%;
  width: 100%;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  padding-bottom: 20px;
}

#overlay {
  position: absolute;
  top: 0px;
  left: 0px;

  height: 285px;
  width: 100%;
}

#chevronLeft img {
  position: absolute;
  top: auto;
  left: 0px;
  height: 40px;
  width: 40px;
  transform: rotate(-90deg);
}

#chevronRight img {
  position: absolute;
  top: auto;
  right: 0px;
  height: 40px;
  width: 40px;
  transform: rotate(90deg);
}

#chevronLeft {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  position: absolute;
  height: 100%;
}

#chevronRight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  position: absolute;
  height: 100%;
  right: 40px;
}

#sectionOne {
  width: 1100px;
  height: 550px;
}

#titleSelection {
  margin-left: 90px !important;
}

#sectionOne h2 {
  font-weight: lighter;
  text-align: left;
  margin-top: 20px;
  margin-left: 60px;
  margin-bottom: 15px;
}

#sectionTwo {
  width: 100%;
  padding: 0px 20px 10px 20px;
  margin: 20px;
  height: 535px;

  border-left: solid 5px #f3a41e;
  border-radius: 3px;

  overflow: auto;
}

#sectionTwo section {
  max-height: 550px;
  overflow: hidden;
}

#selectionLivres {
  margin: 0px 25px;
}

#selectionLivres > div {
  width: 50%;
}

.selectionContainer {
  overflow: scroll;
  justify-content: flex-start;
  margin-left: 25px;

  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.selectionContainer::-webkit-scrollbar {
  /* Hide scrollbar for Chrome, Safari and Opera */
  display: none;
}

#separator {
  padding-left: 25px;
  border-left: solid 5px #f3a41e;
  border-radius: 3px;
}

.imageSelection {
  overflow: scroll;
  width: 115px;
  height: 180px;
  border-radius: 10px !important;
  margin: 0px !important;
  padding: 0px 5px 0px 0px !important;
}

.flexStart {
  align-items: flex-start;
}

h2 {
  color: black;
  font-size: 25px;
  text-align: center;
  font-style: italic;
}

h3 {
  color: black;
  font-size: 1em;
  display: inline;
}

#carrousel article img {
  height: 285px;
  width: 1100px;
}

.article {
  margin-bottom: 20px;
}

.article p {
  display: inline;
  text-align: left;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.article a {
  color: #f3a41e;
  text-align: right;
}

.buttonActu {
  background-color: black;
  padding: 0px;
  width: 100%;
  height: 34px;
  border-radius: 8px;
  margin-top: 10px;
}

.buttonActu a {
  text-decoration: none;
  font-weight: normal;
  font-size: 0.9em;
}

.buttonActu span {
  color: #f3a41e;
  font-weight: bold;
}

#buttonLibraire {
  width: 150px;
  border-radius: 14px;
  margin-top: 20px;
}

.enclose {
  height: 300px !important;
  width: 640px !important;
}

.enclose h2 {
  font-size: 30px;
  font-style: normal;
  margin-bottom: 30px;
}

.enclose > div > p {
  margin-bottom: 30px;
}

.enclose > div > div {
  justify-content: space-around !important;
}

.outilsPollen {
  height: 153px;
}

.outilsPollen img {
  width: 95px;
  height: 95px;
  margin-right: 0px !important;
  border-radius: 0%;
}

.outilsPollen p {
  margin-top: 15px;
  font-weight: bold;
  font-size: 16px;
}

.encloseLibraire img {
  border-radius: 0%;
}

@media only screen and (max-width: 1430px) {
  #sectionTwo > div {
    margin-top: 20px;
  }
}

@media only screen and (max-width: 375px) {
  #sectionOne {
    height: 690px !important;
    width: 375px !important;
  }

  #carrousel article img {
    height: 100%;
    width: 100%;
    margin-right: 0px;
  }

  #overlay {
    height: 90% !important;
  }

  #overlay div img {
    height: 20px;
    width: 20px;
  }

  #sectionTwo {
    box-sizing: border-box;
    height: 100%;
    margin: 0px;
    margin-bottom: 50px;
    /* width: 100%; */
    width: 375px;
  }

  footer {
    padding: 20px !important;
  }

  #partenaires {
    flex-direction: column;
  }

  .flexColumn {
    justify-content: flex-start;
  }

  .flexContainer {
    justify-content: flex-start;
  }

  .containerSection {
    flex-direction: column;
  }

  #selectionLivres {
    flex-direction: column;
    margin: 0px !important;
  }

  #selectionLivres > div {
    width: 100% !important;
  }

  #rightSelecLivres,
  #leftSelecLivres,
  #rightSelecRevues,
  #leftSelecRevues {
    display: none;
  }

  #separator {
    padding-left: 0px;
    border-left: none;
  }

  #titleSelection {
    margin-left: 60px !important;
  }

  .enclose {
    width: auto !important;
    height: 100% !important;
  }

  .encloseLibraire {
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px;
  }

  .encloseLibraire img {
    height: 90px !important;
    width: 90px !important;
  }
}

@media only screen and (max-width: 1439px) {
  .containerSection {
    width: 100vw;
    flex-direction: row !important;
  }

  #partenaires {
    flex-direction: row !important;
  }

  #sectionOne {
    height: 100% !important;
    width: 75vw !important;
  }

  #carrousel article img {
    height: 285px;
    max-width: 100%;
    margin-right: 0px;
  }

  #overlay {
    height: 90% !important;
  }

  #overlay div img {
    height: 20px;
    width: 20px;
  }

  #sectionTwo {
    box-sizing: border-box;
    height: 100%;
    margin: 0px;
    margin-bottom: 50px;
    /* width: 100%; */
    width: 375px;
    margin-left: 15px !important;
  }

  footer {
    padding: 20px !important;
  }

  #partenaires {
    flex-direction: column;
  }

  .flexColumn {
    justify-content: flex-start;
  }

  .flexContainer {
    justify-content: flex-start;
  }

  .containerSection {
    flex-direction: column;
  }

  #selectionLivres {
    flex-direction: column;
    margin: 0px !important;
  }

  #selectionLivres > div {
    width: 100% !important;
  }

  #rightSelecLivres,
  #leftSelecLivres,
  #rightSelecRevues,
  #leftSelecRevues {
    display: none;
  }

  #separator {
    padding-left: 0px;
    border-left: none;
  }

  #titleSelection {
    margin-left: 60px !important;
  }

  .enclose {
    width: auto !important;
    height: 100% !important;
  }

  .encloseLibraire {
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px;
  }

  .encloseLibraire img {
    height: 90px !important;
    width: 90px !important;
  }
}
