/*                  */
/* MENTIONS LEGALES */
/*                  */
.mentions-legales-container {
  margin: 4rem auto;
  margin-top: 6rem;
  padding: 4rem;
  width: 1000px;
  background: var(--bg-grey);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

@media screen and (max-width: 1000px) {
  .mentions-legales-container {
    width: 100%;
  }
}

@media screen and (max-width: 800px) {
  .mentions-legales-container {
    position: initial;
    padding: 2rem;
    margin: 2rem auto;
    margin-top: 0;
  }
}

.mentions-legales-container h1 {
  color: var(--text-grey);
  background: var(--bg-green);
  margin: 0 auto;
  padding: 1rem;
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, -50%);
}

@media screen and (max-width: 800px) {
  .mentions-legales-container h1 {
    width: 60%;
    position: initial;
    top: initial;
    right: initial;
    transform: initial;
  }
}

@media screen and (max-width: 500px) {
  .mentions-legales-container h1 {
    width: 100%;
  }
}

.mentions-legales-container h4 {
  margin: 1rem auto;
  margin-top: 2rem;
  text-align: initial;
}

.mentions-legales-container h4:first-of-type {
  margin-top: 0;
}

.mentions-text {
  margin: 0 auto;
  margin-top: 2rem;
  width: 100%;
  padding: 2.5rem;
  position: relative;
}

@media screen and (max-width: 500px) {
  .mentions-text {
    padding: 0;
  }
}

.mentions-text::before, .mentions-text::after {
  content: '';
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-style: solid;
  border-color: var(--text-green);
}

@media screen and (max-width: 500px) {
  .mentions-text::before, .mentions-text::after {
    display: none;
  }
}

.mentions-text::before {
  top: 0;
  left: 0;
  border-width: .2rem 0 0 .2rem;
}

.mentions-text::after {
  bottom: 0;
  right: 0;
  border-width: 0 .2rem .2rem 0;
}

@media screen and (max-width: 450px) {
  .mentions-text::before, .mentions-text::after {
    display: none;
  }
}

.mentions-text p {
  margin-bottom: 1rem;
}

.mentions-text p:last-child {
  margin-bottom: 0;
}

.mentions-text li {
  margin-top: 1rem;
  list-style: inside;
}


@media screen and (max-width: 500px) {
  .mentions-text ul {
    padding-left: 0;
  }
}
