.page-propos {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.page-propos .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 .banner img {
  height: 945px;
  object-fit: cover;
}
.section-2 .banner .banner-content {
  left: 0%;
  top: 12%;
  padding-left: 5%;
  width: 42%;
  max-width: 686px;
}
.section-2 .banner .banner-content > div {
  min-width: 281px;
  margin-bottom: 34px;
}
.section-2 .banner .banner-content h3 {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 1.7em;
}
.section-2 .banner .banner-content .p-container {
  margin-top: 24px;
}
.section-2 .banner .banner-content .p-container p {
  color: white;
  margin-bottom: 20px;
}
@media only screen and (max-width: 1500px) {
  .cover_bg.active {
    background-position: right -500%;
  }
  .section-2 .banner .banner-content {
    top: 10%;
    width: 46%;
  }
}
@media only screen and (max-width: 1300px) {
  h1 span {
    font-size: 2.5rem;
  }
  .section-1 .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  }
}
@media only screen and (max-width: 1023px) {
  h1 span {
    font-size: 2rem;
  }
  .section-2 .banner img {
    height: 790px;
  }
  .section-2 .banner .banner-content {
    width: 100%;
    padding-right: 5%;
  }
  .section-2 .banner .banner-content > div {
    min-width: unset;
  }
}
@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-propos .header_text .a_button {
    background-color: red;
    display: none;
  }
  .banner img {
    height: 790px;
  }
}
@media only screen and (max-width: 600px) {
  .section-1 {
    width: 100%;
    margin: 0;
    margin-top: 50px;
    padding: 5%;
    min-width: auto;
  }
  .section-2 .banner {
    background-color: #000;
  }
  .section-2 .banner img {
    display: none;
  }
  .section-2 .banner .banner-content {
    position: unset;
    padding: 40px 5%;
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 500px) {
  h1 span {
    font-size: 1rem;
  }
  h2 {
    font-size: 1rem;
  }
}
@media only screen and (min-width: 2000px) {
  .page-propos .container_img img {
    max-width: unset;
    height: 900px;
    object-fit: cover;
  }
  .section-2 .banner .banner-content {
    max-width: 850px;
  }
}
