/* HEADER */

header {
  display: flex;
  align-items: flex-start;
  gap: 4em;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5em;
  padding: 8px;
}

.header-img {
  width: 80%;
}

.header-img img {
  width: 100%;
}

.header-img figure {
  margin: 0;
}

.header-img figcaption {
  font-size: 0.8rem;
}

.header-descr h1 {
  margin-top: 0;
}

.header-descr {
  display: flex;
  flex-direction: column;
}

.link-descr {
  padding: 0.7em 2em;
  background-color: #6b7456;

  color: #f8f8f8;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
}

@media (max-width: 945px) {
  header {
    gap: 2em;
  }

  .header-descr h1 {
    font-size: 1.7rem;
  }
  .header-descr p {
    font-size: 0.9rem;
  }
  .link-descr {
    padding: 0.5em 1.6em;
    font-size: 0.9rem;
  }
}

@media (max-width: 780px) {
  .header-descr {
    width: 100%;
  }
}

@media (max-width: 575px) {
  header {
    flex-direction: column;
    align-items: center;
  }
  .header-img {
    width: 100%;
  }
}

/* MAIN */
main {
  max-width: 1280px;
  margin: auto;
}

main h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Accueil oeuvres */
main h2 {
  font-size: 2rem;
  margin-top: 2.75em;
  text-align: center;
}

main h2::after {
  display: block;
  content: "";
  width: 60px;
  height: 4px;
  margin-top: 16px;
  margin-left: auto;
  margin-right: auto;
  background-color: #6b7456;
  border-radius: 4px;
}

main .aft-h3 {
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  margin-top: 1.5em;
  position: relative;
}

main .aft-h3 a {
  position: absolute;
  right: 0;
  color: #6b7456;
}

main .oeuvres {
  display: flex;
  justify-content: space-between;
}

.oeuvres a {
  width: 30%;
  color: #6b7456;
}

.oeuvres a img {
  max-width: 100%;
}

@media (max-width: 945px) {
  main .aft-h3 a {
    position: static;
    display: block;
  }
}
@media (max-width: 575px) {
  main .oeuvres {
    flex-direction: column;
    gap: 2em;
  }
  .oeuvres a {
    width: 100%;
  }
  .oeuvres img {
    width: 100%;
  }
}

/* footer NUMBER */
.number {
  background-image: url(./medias/footer-pots-aux-oeufs.jpg);
  background-position: center;
  background-size: cover;
  height: 310px;
  margin-top: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.number ul {
  padding-left: 0;
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.number ul li {
  list-style-type: none;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 400;
  text-align: center;
}

.number ul li span {
  font-size: 3.75rem;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 945px) {
  .number ul li {
    font-size: 1rem;
  }

  .number ul li span {
    font-size: 3.25rem;
  }
}

@media (max-width: 575px) {
  .number ul {
    flex-direction: column;
    gap: 2em;
  }
  .number {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
}
