.page-trouver {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 75px;
}
.page-trouver .container_img {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.cover_bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
  background-image: url("/images/index-header-r.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 33%;
  transition: background-position 1s ease-in-out;
}
.cover_bg_white {
  position: absolute;
  width: 66%;
  height: 13%;
  bottom: 0;
  z-index: 3;
  background-color: white;
}
.header_text {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  top: 50%;
  color: var(--white);
  z-index: 2;
  transform: translateY(-50%);
  text-transform: uppercase;
  font-style: italic;
  padding: 5%;
}
.header_text h2 {
  text-transform: none;
}
h1 span {
  font-size: 3rem;
  display: block;
}
h2 {
  color: var(--gold);
}
input[type="file"] {
  display: none;
}
label[for="upload"] {
  margin-right: 15px;
  cursor: pointer;
}
.checkbox-container label {
  cursor: pointer;
}
button {
  font-size: 16px;
  font-family: "roboto", sans-serif;
}
.header_text .a_button {
  margin-top: 5%;
}
.section-1 {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 45%;
  min-width: 500px;
  margin: 5% 5% 0 5%;
}
h2 {
  font-style: italic;
}
.section-1 {
  margin-top: 70px;
}
.section-1 .grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 60px;
  row-gap: 46px;
  margin-top: 24px;
}
.section-1 .emploi {
  background-color: #edebeb;
  padding: 14px 30px 76px;
  max-width: 500px;
}
.section-1 .emploi h3 {
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 800;
}
.section-1 .emploi .details {
  color: var(--gold);
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 1em;
}
.section-1 .emploi p {
  color: var(--gold);
}
.section-2 {
  margin-top: 100px;
}
.section-2 .container .col-1 {
  width: 100%;
}
.section-2 .container .col-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  padding: 3%;
  background-color: var(--gold);
}
.section-2 .container .col-2 h2 {
  color: black;
}
.section-3 {
  margin-top: 80px;
  margin-bottom: 50px;
}
.section-3 .liste-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 56px;
  row-gap: 80px;
  margin-top: 70px;
}
.section-3 .liste-container .qualite {
  width: 250px;
}
.section-3 .liste-container .qualite p {
  text-transform: uppercase;
  text-align: center;
  color: #b89037;
  font-weight: bold;
  font-size: 1em;
  margin-top: 20px;
}
.section-3 .liste-container img {
  height: 110px;
  margin: auto;
}
.section-5 article {
  display: flex;
  flex-direction: row-reverse;
  padding: 5%;
  transition: padding 1s ease-in-out;
}
.page-trouver .section-5 article .container_img {
  height: 100%;
}
article h2 {
  color: black;
}
.page-trouver > .a_button {
  align-self: center;
}
.section-4 {
  margin-top: 64px;
  display: none;
  /* Temporaire, jusqu'à tant qu'il aille des emplois */
}
.section-4 {
  margin-bottom: 40px;
}
.section-4 .grid-container {
  margin-top: 32px;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 78px;
  row-gap: 60px;
}
.section-4 .grid-container .emploi {
  display: flex;
  flex-direction: column;
  background-color: #edebeb;
  color: var(--gold);
  padding: 24px 24px;
  cursor: pointer;
}
.section-4 .grid-container .emploi h3 {
  font-size: 1.6em;
}
.section-4 .grid-container .emploi .details {
  font-weight: bold;
  font-size: 1.1em;
}
.section-4 .grid-container .emploi p:not(.details) {
  display: none;
  margin-top: 20px;
  margin-bottom: 50px;
}
.section-4 .grid-container .emploi.actif p:not(.details) {
  display: block;
}
.section-4 .grid-container .emploi .row-3 {
  margin-top: auto;
}
.section-4 .grid-container .plus-container {
  position: relative;
  width: 26px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.section-4 .grid-container .plus-vertical,
.section-4 .grid-container .plus-horizontal {
  position: absolute;
  background-color: black;
  /* Color of the plus */
  border-radius: 5px;
  /* Optional, rounds the edges */
}
.section-4 .grid-container .plus-vertical {
  width: 4px;
  height: 100%;
}
.section-4 .grid-container .plus-horizontal {
  width: 100%;
  /* Full width for horizontal line */
  height: 4px;
  /* Thickness of the plus */
}
.section-5 {
  margin-top: 100px;
  margin-bottom: 90px;
}
.section-5 .layout-1 {
  flex-direction: row-reverse;
}
.section-5 .layout-1 .col-1 {
  width: 39%;
}
.section-5 .layout-1 .col-2 {
  width: 62%;
}
.section-6 {
  margin-top: 64px;
}
.section-6 .row-1 {
  margin-bottom: 20px;
}
.section-6 .row-1 h2 {
  font-weight: 800;
  text-transform: none;
}
.section-6 .row-3 {
  margin-top: 92px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 45%;
  min-width: 500px;
  margin: 5% 5% 0 0;
}
.section-6 .buttons {
  flex-wrap: wrap;
  row-gap: 20px;
}
@media only screen and (min-width: 2000px) {
  .page-trouver .container_img img {
    max-width: unset;
    height: 900px;
    object-fit: cover;
  }
  .section-1 {
    margin: 2% 5% 90px 13%;
  }
  .section-3 h2 {
    margin-left: 9%;
  }
  .section-5 .layout-1 .col-1 {
    width: 22%;
  }
  .section-5 .layout-1 .col-2 {
    width: 60%;
  }
}
@media only screen and (max-width: 1499px) {
  h1 span {
    font-size: 2.5rem;
  }
  .cover_bg.active {
    background-position: right -500%;
  }
  .section-2 .container .col-1 {
    width: 36%;
  }
  .section-2 .container .col-2 {
    width: 60%;
  }
  .section-5 article {
    padding: 0%;
  }
  .wrapper-text {
    padding: 1% 5%;
  }
  .section-4 .grid-container {
    column-gap: 40px;
  }
  .section-4 .grid-container .emploi h3 {
    font-size: 1.5em;
  }
}
@media only screen and (max-width: 1300px) {
  .section-1 .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  }
  .section-5 article {
    flex-direction: column;
    padding: 0;
  }
  .wrapper-text {
    padding: 5%;
  }
  .page-trouver .flex_reverse {
    flex-direction: column;
  }
}
@media only screen and (max-width: 1023px) {
  h1 span {
    font-size: 2rem;
  }
  .section-4 .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-5 {
    margin-bottom: 0;
  }
  .section-5 .layout-1 {
    flex-direction: column;
  }
  .section-5 .layout-1 .col-1 {
    width: 100%;
  }
  .section-5 .layout-1 .col-2 {
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
  h2 {
    font-size: 1.5rem;
  }
  .header_text {
    top: 35%;
  }
  .header_text .a_button {
    margin-top: 0;
    font-size: 0.8rem;
    padding: 5px 30px;
    border-width: 3px;
    border-radius: 13px;
  }
  .page-trouver .header_text .a_button {
    background-color: red;
    display: none;
  }
  .section-3 .liste-container {
    column-gap: 22px;
    row-gap: 44px;
  }
  .section-3 .liste-container .qualite {
    width: 194px;
  }
  .section-3 .liste-container .qualite p {
    font-size: 0.9em;
  }
  .section-4 .grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .section-4 .grid-container .emploi h3 {
    font-size: 1.2em;
  }
  .section-4 .grid-container .emploi p {
    font-size: 0.9em;
  }
  .section-4 p {
    font-size: 1.5em;
  }
}
@media only screen and (max-width: 600px) {
  .section-1 {
    width: 100%;
    margin: 0;
    margin-top: 50px;
    padding: 5%;
    min-width: auto;
  }
  .section-6 .row-3 {
    width: 100%;
    margin: 64px 5% 0 0;
    min-width: auto;
  }
  p {
    font-size: 0.9rem;
  }
}
@media only screen and (max-width: 500px) {
  h1 span {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 475px) {
  .carousel-article article {
    width: 250px;
    min-width: 250px;
  }
}
