/*
Theme Name: Oberose
Author: Louise Obé
Version: 1.0
Description: css obérose
*/
@font-face {
  font-family: 'CAOOLI';
  src: url('./fonts/CAOOLIRegular.eot');
  src: url('./fonts/CAOOLIRegular.eot?#iefix') format('embedded-opentype'), url('./fonts/CAOOLIRegular.woff2') format('woff2'), url('./fonts/CAOOLIRegular.woff') format('woff'), url('./fonts/CAOOLIRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
html,
body {
  width: 100vw;
  overflow-x: hidden;
}
body {
  min-height: 100vh;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("img/motif-orange.png");
  background-repeat: repeat;
  background-size: 300px;
  opacity: 0.2;
}
p {
  text-align: justify;
  hyphens: auto;
  color: #3E3737;
}
a.button {
  border: 1px solid #a06767;
  padding: 10px 30px;
  border-radius: 30px;
  background-color: transparent;
  color: #a06767;
  font-size: 12px;
}
a.button:hover {
  background-color: white;
}
a.button.white {
  background-color: white;
  border-color: white;
}
a.button.white:hover {
  color: white;
  background-color: transparent;
}
h1 {
  color: #a06767;
  font-family: "CAOOLI";
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h2 {
  color: #a06767;
  letter-spacing: 0.08em;
}
.parallax {
  will-change: transform;
}
header {
  padding: 20px 100px;
  position: absolute;
  background-color: #a06767;
  margin: 20px;
  width: 95vw;
}
header nav ul {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}
header nav ul li a {
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1em;
}
div.section-container {
  flex-direction: row;
}
section.hero-min {
  height: 200px;
  background: url("img/hero-min.jpg");
  background-size: cover;
  background-repeat: none;
  background-position: bottom;
}
section.hero {
  min-height: 50vw;
  height: 500px;
  background: url("img/buffet.jpg");
  background-size: cover;
  background-repeat: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
section.hero #logo {
  width: 350px;
}
section.hero h1 {
  color: white;
  font-size: 18px;
  text-align: center;
  margin-top: 15px;
  letter-spacing: 0.1em;
}
section.hero h2 {
  color: white;
  margin-top: 20px;
  text-align: center;
}
@keyframes apparition {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
section.intro {
  flex-direction: column;
  align-items: center;
}
section.intro h1 {
  margin: 40px 0 0 0;
  font-size: 50px;
  opacity: 0;
  transform: translateY(30px);
  animation: apparition 0.6s ease-out forwards;
}
section.intro h2 {
  opacity: 0;
  transform: translateY(30px);
  animation: apparition 0.6s ease-out forwards 0.2s;
}
section.intro div.section-container {
  flex-direction: row;
  gap: 50px;
}
section.intro div.section-container p {
  text-align: justify;
  text-justify: inter-word;
  /* plus naturel que "inter-character" */
  hyphens: auto;
  max-width: 350px;
}
section.intro div.section-container img {
  max-width: 350px;
}
section.prestations {
  flex-direction: column;
  align-items: center;
  background-color: #a06767;
  color: white;
}
section.prestations h2 {
  margin: 40px 0 0 0;
  font-size: 35px;
  color: white;
  font-family: "CAOOLI";
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
section.prestations .button {
  margin-bottom: 40px;
}
section.prestations p {
  color: white;
}
section.prestations div.section-container {
  gap: 50px;
  align-items: flex-start;
  padding-bottom: 20px;
}
section.prestations div.section-container a.item {
  display: flex;
  width: 300px;
  flex-direction: column;
  color: white;
  text-decoration: none;
}
section.prestations div.section-container a.item.box img {
  filter: brightness(0.9);
}
section.prestations div.section-container a.item h3 {
  font-size: 20px;
  letter-spacing: 0.07em;
}
section.prestations div.section-container a.item h4 {
  margin-bottom: 20px;
  font-size: 18px;
  margin-top: -6px;
  font-style: italic;
}
section.prestations div.section-container a.item div.img {
  width: 100%;
  height: 400px;
  margin-bottom: 20px;
  transition: all 0.3s ease-out;
}
section.prestations div.section-container a.item div.img:hover {
  transform: scale(1.04);
}
section.prestations div.section-container a.item div.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section.about .section-container {
  max-width: 1000px;
  gap: 40px;
  align-items: center;
  padding: 100px 0;
}
section.about .section-container div {
  max-width: 350px;
}
section.about .section-container img {
  max-width: 350px;
}
section.about .section-container h2 {
  font-size: 35px;
  font-family: "CAOOLI";
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 40px;
}
section.about .section-container p.lou {
  font-family: "CAOOLI";
  font-size: 24px;
  color: #a06767;
  margin-top: 30px;
}
section.buffet-bottom {
  height: 400px;
}
section.buffet-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#box .duo {
  margin: 70px 0;
}
#box .past-boxes .section-container {
  gap: 0;
}
#box .intro .section-container .noel {
  background-color: #a06767;
  text-transform: uppercase;
  width: 100%;
  max-width: 90vw;
  font-size: 20px;
  color: white;
  padding: 20px 50px;
  text-align: center;
  hyphens: manual;
}
#box .intro .section-container div.photo div {
  flex-direction: column;
}
#box .intro .section-container div.photo div img {
  height: 450px;
  width: fit-content;
}
#box .intro .section-container div.photo div .detail {
  text-align: center;
  margin-top: -20px;
  display: block;
}
#box .intro .section-container div.photo div .detail h5 {
  font-size: 20px;
  color: #a06767;
  margin-bottom: 20px;
}
#box .intro .section-container div.photo div .detail ul li {
  margin-bottom: 6px;
}
#cheffe .button {
  margin-bottom: 50px;
}
#cheffe .button:hover {
  background-color: #a06767;
  color: white;
  border-color: #a06767;
}
#buffet a.button.pink {
  z-index: 1;
}
#buffet a.button.pink:hover {
  background-color: #a06767;
  color: white;
}
#buffet .intro h2,
#cheffe .intro h2,
#box .intro h2 {
  letter-spacing: 0em;
  max-width: 800px;
  text-align: center;
  font-weight: 500;
}
#buffet .intro .section-container,
#cheffe .intro .section-container,
#box .intro .section-container {
  flex-direction: column;
}
#buffet .intro .section-container div,
#cheffe .intro .section-container div,
#box .intro .section-container div {
  display: flex;
  flex-direction: row;
  gap: 50px;
}
#buffet .intro .section-container div.photo,
#cheffe .intro .section-container div.photo,
#box .intro .section-container div.photo {
  gap: 30px;
  margin-top: 40px;
}
#buffet .intro .section-container div.photo div img,
#cheffe .intro .section-container div.photo div img,
#box .intro .section-container div.photo div img {
  object-fit: cover;
}
#contact .pink-section {
  border-bottom: 5px solid white;
}
#contact .pink-section h1 {
  color: white;
  font-size: 35px;
}
#contact .pink-section .mail,
#contact .pink-section a {
  color: white;
  text-decoration: none;
  font-size: 22px;
  margin: 10px 0;
}
#contact .pink-section .mail {
  margin-top: 50px;
}
#buffet .pink-section,
#cheffe .pink-section,
#contact .pink-section {
  background-color: #a06767;
  width: 100vw;
  color: white;
  display: flex;
  flex-direction: row;
}
#buffet .pink-section p,
#cheffe .pink-section p,
#contact .pink-section p,
#buffet .pink-section h2,
#cheffe .pink-section h2,
#contact .pink-section h2 {
  color: white;
}
#buffet .pink-section div,
#cheffe .pink-section div,
#contact .pink-section div {
  max-height: 500px;
}
#buffet .pink-section div.txt,
#cheffe .pink-section div.txt,
#contact .pink-section div.txt {
  width: 50%;
  padding: 0 2vw 0 10vw;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}
#buffet .pink-section div.txt h2,
#cheffe .pink-section div.txt h2,
#contact .pink-section div.txt h2 {
  font-family: "CAOOLI";
  text-transform: uppercase;
  font-size: 35px;
  margin-bottom: 30px;
}
#buffet .pink-section div.txt p,
#cheffe .pink-section div.txt p,
#contact .pink-section div.txt p {
  max-width: 350px;
}
#buffet .pink-section div.photo,
#cheffe .pink-section div.photo,
#contact .pink-section div.photo {
  width: 50%;
}
#buffet .pink-section div.photo img,
#cheffe .pink-section div.photo img,
#contact .pink-section div.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#buffet .signatures div.txt,
#cheffe .signatures div.txt {
  padding: 0 150px 0 100px;
}
#buffet .signatures ul li,
#cheffe .signatures ul li {
  list-style-type: circle;
  margin: 5px 0;
}
#buffet .signatures div.photo,
#cheffe .signatures div.photo {
  display: flex;
}
#buffet img.top {
  margin: 50px auto;
  display: block;
  max-width: 1000px;
}
#buffet {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
#buffet a.button {
  max-width: 300px;
  text-align: center;
}
section.duo {
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
section.duo .section-container {
  gap: 30px;
}
section.duo .section-container img {
  max-width: 500px;
}
section.duo h4 {
  max-width: 800px;
  text-align: center;
}
section.box-fetes {
  display: flex;
  background-color: #a06767;
  margin-top: 50px;
}
section.box-fetes .section-container {
  justify-content: space-evenly;
}
section.box-fetes .section-container .left {
  width: 55%;
  border: 1px solid #ffffff63;
  position: relative;
  transform: translateY(-10%);
}
section.box-fetes .section-container .left .photo {
  height: 400px;
}
section.box-fetes .section-container .left .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section.box-fetes .section-container .left p.price {
  position: absolute;
  right: 20px;
  bottom: 30px;
  color: white;
  font-size: 30px;
  font-family: "CAOOLI";
}
section.box-fetes .section-container .left p.price span {
  font-size: 12px;
}
section.box-fetes .section-container .left .detail {
  padding: 40px;
  color: white;
}
section.box-fetes .section-container .left .detail h3 {
  font-family: "CAOOLI";
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 0.1em;
}
section.box-fetes .section-container .left .detail ul li {
  font-size: 16px;
  margin-top: 10px;
}
section.box-fetes .section-container .left .detail p.mention {
  margin-top: 30px;
  font-style: italic;
  color: white;
  opacity: 0.8;
  max-width: 80%;
  text-align: left;
  hyphens: manual;
}
section.box-fetes .section-container .right {
  width: 35%;
  transform: translateY(-20%);
}
section.box-fetes .section-container .right p.info,
section.box-fetes .section-container .right p.info a {
  color: white;
  margin-top: 20px;
  font-size: 20px;
}
footer {
  background-color: #a06767;
  padding: 100px 30px 30px 30px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .footer-container {
  display: flex;
  flex-direction: row;
  gap: 80px;
}
footer .footer-container div {
  flex: 1;
}
footer .footer-container #logo-bottom {
  width: 100px;
  max-width: 80vw;
}
footer .footer-container #insta {
  width: 30px;
  height: 30px;
}
footer .footer-container a,
footer .footer-container p {
  color: white;
  text-align: left;
  text-decoration: none;
  margin: 10px 0;
  display: block;
}
footer .footer-container h4 {
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
}
footer .footer-container .insta {
  display: flex;
  gap: 20px;
}
footer .footer-bottom {
  margin-top: 20px;
}
footer .footer-bottom p,
footer .footer-bottom a {
  color: white;
  font-size: 11px;
}
#logo-mobile {
  width: 50vw;
  padding: 20px;
  max-width: 200px;
}
body.home #logo-mobile {
  display: none !important;
}
@media screen and (max-width: 1300px) {
  section.intro h1 {
    font-size: 30px;
    max-width: 80vw;
  }
  section.prestations div.section-container {
    gap: 20px;
  }
  .section-container {
    padding: 50px 0;
    max-width: 90vw;
  }
  section.intro div.section-container img {
    max-width: 30vw;
  }
}
@media screen and (max-width: 1200px) {
  #buffet .pink-section div.txt,
  #cheffe .pink-section div.txt {
    padding: 7vw;
    width: 60%;
  }
  #buffet .pink-section div.photo,
  #cheffe .pink-section div.photo {
    width: 40%;
  }
  #cheffe .pink-section.signatures div.photo img:nth-child(1) {
    display: none;
  }
}
@media screen and (max-width: 1000px) {
  footer .footer-container {
    flex-wrap: wrap;
  }
  footer .footer-container div {
    flex: auto;
    width: 90vw;
  }
  #buffet img.top {
    max-width: 100vw;
  }
  #contact .pink-section div.txt {
    padding: 30px;
  }
  #contact .pink-section div.photo {
    width: 35%;
  }
  section.box-fetes .section-container {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 0;
  }
  section.box-fetes .section-container .left .detail {
    padding: 20px;
  }
  section.box-fetes .section-container .left .detail h3 {
    font-size: 30px;
  }
  section.box-fetes .section-container .right {
    width: 40%;
    transform: translateY(-30%);
  }
}
@media screen and (max-width: 900px) {
  #box .intro .section-container .photo {
    flex-wrap: nowrap;
    /* Tout sur une seule ligne */
    overflow-x: auto;
    /* Scroll horizontal */
    overflow-y: hidden;
    /* Pas de scroll vertical */
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 0 30px;
    cursor: grab;
    align-items: flex-start;
    width: 100vw;
  }
  #box .intro .section-container div.photo > * {
    flex: 0 0 auto;
    /* Les enfants gardent leur taille */
  }
}
@media screen and (max-width: 850px) {
  section.hero-min,
  header {
    height: 80px;
  }
  #buffet .pink-section div.txt h2,
  #cheffe .pink-section div.txt h2 {
    font-size: 30px;
  }
  section.intro div.section-container p {
    max-width: 90vw;
  }
  section.intro h1 {
    max-width: 90vw;
  }
  section.intro div.section-container {
    padding: 30px 0;
  }
  section.intro div.section-container img {
    max-width: 90vw;
  }
  #buffet section.intro div.section-container img,
  #cheffe section.intro div.section-container img {
    max-width: 43vw;
  }
  #buffet .intro .section-container div.photo div:nth-child(3),
  #cheffe .intro .section-container div.photo div:nth-child(3) {
    display: none;
  }
  #buffet .intro .section-container div,
  #cheffe .intro .section-container div {
    flex-wrap: wrap;
    gap: 20px;
  }
  #buffet .intro .section-container div.photo,
  #cheffe .intro .section-container div.photo {
    gap: 10px;
    margin-top: 0;
  }
  section.intro h1 {
    text-align: center;
  }
  section {
    padding: 0 20px;
  }
  section.pink-section {
    padding: 20px 0;
  }
  div.section-container,
  section.intro div.section-container {
    flex-direction: column;
  }
  section.prestations div.section-container a.item {
    width: 90vw;
  }
  section.hero #logo {
    width: 70vw;
  }
  section.hero h2 {
    font-size: 16px;
    width: 80vw;
  }
  section.intro div.section-container p {
    margin-top: 20px;
  }
  .intro h1 {
    line-height: 40px;
  }
  h2 {
    font-size: 20px;
  }
  .mobile {
    display: block;
  }
  .desktop {
    display: none;
  }
  header {
    padding: 0;
    width: 100vw;
    margin: 0;
  }
  section.prestations h2 {
    font-size: 35px;
    text-align: center;
    line-height: 1.1em;
    margin-bottom: 30px;
  }
  section.prestations div.section-container {
    justify-content: center;
    align-items: center;
  }
  section.about .section-container {
    padding: 10px 0;
    gap: 0;
  }
  section.about .section-container h2 {
    margin-top: 0;
  }
  section.buffet-bottom {
    padding: 0;
  }
  header {
    background-color: transparent;
  }
  .ham {
    top: 10px;
  }
}
@media screen and (max-width: 750px) {
  section.box-fetes .section-container .left .detail p.mention {
    max-width: 60%;
    font-size: 12px;
  }
  section.box-fetes .section-container {
    flex-direction: column;
  }
  section.box-fetes .section-container .left,
  section.box-fetes .section-container .right {
    width: 100%;
  }
  section.box-fetes .section-container .right {
    transform: translateY(-30px);
  }
  section.box-fetes .section-container .right p.info {
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 700px) {
  #buffet .pink-section div.photo,
  #cheffe .pink-section div.photo,
  .pink-section div.photo {
    display: none;
  }
  #buffet .pink-section div.txt,
  #cheffe .pink-section div.txt {
    width: 100%;
  }
  #box .intro .section-container div.txt {
    flex-direction: column;
    gap: 0;
  }
  #contact .pink-section div.txt {
    width: 100vw;
  }
}
@media screen and (max-width: 650px) {
  section {
    padding: 0 20px;
  }
  div.section-container,
  section.intro div.section-container {
    flex-direction: column;
  }
  section.hero #logo {
    width: 70vw;
  }
  section.hero h2 {
    font-size: 16px;
    width: 80vw;
  }
  section.intro div.section-container p {
    margin-top: 20px;
  }
  .intro h1 {
    line-height: 40px;
  }
  h2 {
    font-size: 20px;
  }
  .mobile {
    display: block;
  }
  .desktop {
    display: none;
  }
  section.prestations h2 {
    font-size: 35px;
    text-align: center;
    line-height: 1.1em;
    margin-bottom: 30px;
  }
  section.prestations div.section-container {
    justify-content: center;
    align-items: center;
  }
  section.about .section-container {
    padding: 10px 0;
    gap: 0;
  }
  section.about .section-container h2 {
    margin-top: 0;
  }
  section.buffet-bottom {
    padding: 0;
  }
  header {
    background-color: transparent;
  }
}
