/* GENERAL */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source sans pro", sans-serif;
  font-size: 18px;
  line-height: 135%;
  color: #1A3C40;
  font-weight: 300;
  background-color: #F7F3EE;
}

ul {
  padding-left: 0;
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  max-width: 400px;
}

.cacher {
  display: none;
}

/* HEADER */
.background {
  background-image: url(../images/boisback.jpg);
  width: 100%;
  height: 190px;
  max-width: 1000px;
  margin: 0 auto;
  background-size: cover;
  margin-bottom: 25px;
}

.header {
  background-image: url(../images/bannemobile.jpg);
  width: calc(100% - 80px);
  height: calc(100vh - 80px);
  background-position: center;
  position: relative;
  padding: 40px;
  background-size: cover;
  margin-bottom: 104px;
}

/* SECTION */
.center {
  width: 85%;
  margin: 0 auto;
}

.section, .section--box {
  width: 85%;
  margin: 0 auto;
  margin-bottom: 104px;
}

.section--margin {
  margin-bottom: 104px;
}

.section--background {
  background-color: #95A792;
  padding-bottom: 20px;
  margin-bottom: 104px;
}

.section--bottom {
  margin-bottom: 0;
}

.section__logo {
  width: 290px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section__logo--info {
  max-width: none;
}

/* IMAGES */
.image {
  margin-bottom: 15px;
}

/* .test02 {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.test {
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  width: 100%;
  height: 140%;
  background-image: url(../images/horse.jpg);
  background-size: cover;
  background-repeat: no-repeat;
} */
.picto {
  width: 40%;
  max-width: 200px;
  margin: 0 auto;
  padding: 50px;
  padding-bottom: 10px;
}

.rotate {
  transform: rotate(90deg);
}

/* BOUTONS */
#burger-container {
  position: absolute;
  top: 29px;
  right: 26px;
  z-index: 15;
}

#burger {
  cursor: pointer;
  display: block;
}

#burger span {
  background: #F7F3EE;
  display: block;
  border-radius: 2px;
  width: 39px;
  height: 3px;
  margin-bottom: 5px;
  position: relative;
  top: 0;
  transition: all ease-in-out 0.3s;
}

#burger-container.open span:nth-child(2),
#burger-container.open span:nth-child(3) {
  width: 0;
  opacity: 0;
}

#burger-container.open span:nth-child(1) {
  transform: rotate(-45deg);
  top: 10px;
  border-radius: 2px;
}

#burger-container.open span:nth-child(4) {
  transform: rotate(45deg);
  top: -14px;
  border-radius: 2px;
}

.burger, .btn, .btndeux, .btntrois, .btnquatre, .btnpizza, .btn--secondun, .btn--seconddeux {
  width: 35px;
  height: 35px;
  display: inline-block;
  background-image: url(../images/menu.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent;
  padding: 0;
  border: none;
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
  outline: none;
  position: absolute;
  top: 11px;
  right: 20px;
  z-index: 15;
  transition: transform 0.2s;
}

.contact__btn {
  border-radius: 7px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2.3px;
  background-color: #435451;
  cursor: pointer;
  padding: 5px 18px;
  text-decoration: none;
  display: flex;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 4px;
  margin-top: 20px;
  transition-duration: 0.3s;
}

.contact__btn--pizza {
  background-color: #42543F;
}

.btn, .btndeux, .btntrois, .btnquatre, .btnpizza, .btn--secondun, .btn--seconddeux {
  background-image: url(../images/arrow.svg);
  width: 10px;
  height: 19px;
  top: 47px;
}

/* TEXTE */
.p--light {
  color: #ffffff;
}

.p--phone {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.p--center {
  text-align: center;
}

.p--big {
  font-weight: 400;
}

.city__valide {
  font-weight: 400;
  color: #8aae92;
  position: relative;
}

.city__valide:after {
  display: inline-block;
  content: '';
  background-image: url(../images/checked.svg);
  background-size: contain;
  margin-left: 10px;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 0px;
}

/* TITLE */
.title {
  font-family: "Cabin", sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 26px;
  margin-top: 0px;
}

.title--color {
  color: #5A6C68;
}

.title--big {
  font-size: 27px;
  margin-bottom: 49px;
}

.title--big::before {
  content: "";
  display: block;
  width: 43px;
  height: 4px;
  background-color: #1A3C40;
  top: 34px;
  position: relative;
}

.title--tarif {
  font-size: 20px;
  margin-bottom: 7px;
}

.title--light {
  font-family: "Source sans pro", sans-serif;
  font-weight: 300;
  font-size: 16px;
  margin-bottom: 7px;
}

.price {
  font-weight: 400;
  font-size: 21px;
  margin: 0px;
}

.price--light {
  font-weight: 300;
  font-size: 12px;
}

.tarifBox__hidde--liste {
  font-size: 17px;
  display: flex;
}

.tarifBox__hidde--liste:before {
  content: "";
  background-image: url(../images/check.svg);
  background-repeat: no-repeat;
  display: block;
  background-size: cover;
  width: 15px;
  height: 15px;
  position: relative;
  top: 4px;
  margin-right: 5px;
}

.tarifBox__hidde--first {
  padding-top: 20px;
  border-top: 1px solid #525E5C;
}

.tarifBox__hidde--last {
  padding-bottom: 19px;
}

.tarifBox {
  padding: 16px 25px;
  border-radius: 4px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  -ms-flex-align: center;
  align-items: center;
  background-color: #566C68;
  color: white;
  position: relative;
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: 10px;
}

.tarifBox--pizza {
  background-color: #5C7658;
}

.contact {
  border-top: 1px solid #525E5C;
}

.contact--pizza {
  border-top: 1px solid #435451;
}

/* CACHER */
.hidden {
  display: none;
}

.block {
  display: block;
}

/* FOOTER */
.footer {
  background-image: url(../images/illlu.svg);
  width: 100%;
  height: 25vw;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* MENU */
.navMenu {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 10;
  transform: translateY(-100%);
  transition: all .5s cubic-bezier(0.68, 0.55, 0.265, 1);
  will-change: transform;
}

.navMenu--open {
  transform: translateY(0);
  background: #566C68;
}

.menu {
  width: 90%;
  margin: 0 auto;
  margin-top: 35vh;
}

.menu__el {
  font-size: 25px;
  margin-bottom: 30px;
  text-align: center;
  color: #fff;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.search__field {
  border-style: none;
  border-bottom: 1px solid darkgrey;
  background-color: #F7F3EE;
  outline: 0;
  width: 100%;
  height: 36px;
  display: block;
  padding-top: 29px;
  font-size: 26px;
  margin-bottom: 40px;
  max-width: 392px;
}

@media (min-width: 600px) {
  p {
    max-width: 466px;
  }

  .section, .section--box {
    max-width: 466px;
  }
}

@media (min-width: 1024px) {
  .section {
    max-width: 1000px;
  }

  .image {
    margin-right: 30px;
  }

  .p--phone {
    font-size: 24px;
  }

  .p--auto {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 18px;
  }

  .section__flex {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
  }

  .section__flex--second {
    display: -webkit-box;
  }

  .section__flex--start {
    align-items: flex-start;
  }

  .section__logo {
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .logo {
    max-width: none;
  }

  .title {
    font-size: 26px;
    margin-bottom: 33px;
  }

  .title--big {
    font-size: 33px;
    margin-bottom: 65px;
  }

  .title--big::before {
    top: 37px;
  }

  .title--tarif {
    font-size: 20px;
    margin-bottom: 7px;
  }

  .title--light {
    font-size: 16px;
    margin-bottom: 7px;
  }

  .tarifBox {
    width: 19%;
    max-width: 230px;
  }

  .tarifBox--second {
    margin-right: 1.2%;
  }

  .section__box {
    width: 90%;
    margin: 0 auto;
    max-width: 1000px;
    margin-bottom: 100px;
  }

  .section__pizza {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn, .btndeux, .btntrois, .btnquatre, .btnpizza, .btn--secondun, .btn--seconddeux {
    display: none;
  }

  .header {
    background-image: url(../images/banner.jpg);
    height: calc(65vh - 80px);
  }

  .hidden {
    display: block;
  }

  .image {
    max-width: 500px;
  }

  .hamburger {
    display: none;
  }

  .navMenu {
    transform: translateY(0);
    position: inherit;
    height: inherit;
    transform: inherit;
    transition: inherit;
  }

  .menu {
    display: flex;
    align-items: center;
    margin-top: 0px;
    justify-content: space-between;
    width: 370px;
    margin: 0;
    margin-left: auto;
    margin-right: 30px;
  }

  .menu__el {
    font-size: 15px;
  }

  .section--margin {
    margin-bottom: 138px;
  }

  .background {
    height: 300px;
  }

  .menu__el {
    transition: .5s cubic-bezier(0.68, 0.55, 0.265, 1);
  }

  .menu__el:hover {
    transform: scale(1.2);
  }

  .navMenu--open {
    display: initial;
  }
}