:root {
  --vert: #cee07a;
  --rouge: #d54436;
  --hauteurNav: 60px;
  --nextBack: 30px;
}

body {
  margin: 0;
  background-image: url("../_img/background.svg");
  background-repeat: no-repeat;
  font-family: "Lato";
}
.pointeur {
  cursor: pointer;
}
#modal {
  width: calc(100vw - 60px);
  height: calc(100vh - 60px);
  background-color: white;
  z-index: 101;
  position: fixed;
  left: 20px;
  top: 30px;
  display: none;
}
h1 {
  margin: 0;
}

.bottom {
  align-items: center;
  justify-content: center;
}
.flex {
  display: flex;
  flex-flow: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.onSmartPhone {
  width: calc(100% - 80px);
  justify-content: center;
  align-items: center;
  background-color: var(--rouge);
  text-align: center;
  display: none;
  padding: 40px;
}
/* ---- NAV --------------- */

#nav {
  background-color: black;
  z-index: 100;
  width: 100%;
  height: var(--hauteurNav);
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
}
.FixedTop {
  position: fixed;
  background-color: black !important;
  top: 0vh;
}

#margeTop {
  height: var(--hauteurNav);
  width: 100%;
}
.onglet {
  color: white;
  margin: 0 20px;
  font-family: "Lato", sans-serif;
  transition: all 0.5s;
}
.onglet:hover {
  background-color: white;
  padding: 5px 8px;
  border-radius: 10px;
  color: black;
  font-weight: bold;
}

/* HOME ------------------------------------*/

#home {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  flex-flow: row;
}

#logo {
  background-image: url("../_img/SVG/Cantine_longchamp_home.svg");
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 80%;
}
#logo:hover {
  background-image: url("../_img/SVG/Cantine_longchamp_home-hover.svg");
}
#adresse {
  background-image: url("../_img/SVG/ouverture.svg");
  background-repeat: no-repeat;
  background-position: center 10vh;
  background-size: 100%;
  margin: 20px;
  width: 30vw;
  height: calc(100% - 40px);
}
#adresse:hover {
  background-image: url("../_img/SVG/ouverture-hover.svg");
}
#info {
  background-image: url("../_img/SVG/infos.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100%;
  margin: 20px;
  width: 30vw;
  height: calc(100% - 40px);
}
#info:hover {
  background-image: url("../_img/SVG/infos-hover.svg");
}

/* FOOD ------------------------------------*/

#plats {
  padding-top: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
}
#dessert {
  width: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
}

/* témoignage ------------------------------------*/

#témoignage {
  background-color: var(--rouge);
  height: auto;
  padding: 40px;
}

.encadre {
  border: 4px solid white;
  width: 300px;
  text-align: center;
  display: flex;
  flex-flow: column;
  align-items: center;
}

.citation {
  color: white;
  font-size: 14px;
  margin: 0 20px;
}
.encadre .nom {
  margin-top: 40px;
  font-size: 12px;
  font-weight: 700;
}
.encadre p {
  color: black;
  font-size: 14px !important;
}
.etoile {
  width: 50px;
  height: 50px;
  background-color: white;
}

/* salles -------------*/
#salles {
  width: 100%;
  background-color: pink;
  height: 100vh;
  background-image: url("../_img/salles.jpg");
  background-size: cover;
  background-position: center;
}
/* contact -------------*/

#contact {
  width: 100%;
  background-color: var(--vert);
  display: flex;
  flex-flow: raw;
  justify-content: center;
  align-items: top;
}
#contact .demi {
  width: 40vw;
  padding: 2vw;
  max-width: 400px;
}

/* DIAPORAMA FOOD --------------------------------------------------  */

.diapo {
  width: 450px;
  height: 500px;
  background-image: url("");
  background-size: 400px 400px;
  background-repeat: no-repeat;
  background-position: bottom right;
  margin-bottom: 100px;
}
.swap {
  z-index: 9;
  height: var(--nextBack);
  margin: 280px 0 0 50px;
  display: flex;
  justify-content: center;
}
.swap .back {
  width: var(--nextBack);
  height: 100%;
  background-color: var(--vert);
  background-image: url("../_img/SVG/back.svg");
}
.swap .back:hover {
  background-image: url("../_img/SVG/back_over.svg");
}
.swap .next {
  width: var(--nextBack);
  height: 100%;
  background-color: var(--rouge);
  background-image: url("../_img/SVG/next.svg");
}
.swap .next:hover {
  background-image: url("../_img/SVG/next_over.svg");
}
#bulle {
  background-color: black;
  width: 300px;
  height: 300px;
  z-index: 10;
}

.text {
  margin-top: 100px;
  width: 250px;
  flex-flow: column nowrap;
  height: auto;
}
.text p {
  font-size: 12px;
}

.bkWhite {
  background-color: white;
  padding: 20px;
  -webkit-box-shadow: 7px 7px 15px -4px rgba(173, 173, 173, 1);
  -moz-box-shadow: 7px 7px 15px -4px rgba(173, 173, 173, 1);
  box-shadow: 7px 7px 15px -4px rgba(173, 173, 173, 1);
}

/*  --------------------------------------------------  */

.encadre {
  width: calc(100% - 80px);
  display: flex;
  justify-content: center;
  align-content: center;
  padding: 40px;
}
.encadre p {
  font-size: 12px;
  font-weight: 300;
}
.encadre hr {
  border: 0;
  border-bottom: 1px solid white;
  width: 90%;
  margin-bottom: 20px;
}
.encadre h2 {
  margin: 0;
  color: white;
}

.shadow {
  -webkit-box-shadow: 7px 7px 15px -4px rgba(173, 173, 173, 1);
  -moz-box-shadow: 7px 7px 15px -4px rgba(173, 173, 173, 1);
  box-shadow: 7px 7px 15px -4px rgba(173, 173, 173, 1);
}

.spaceMini {
  height: 4px;
  width: 100%;
}
.bt {
  color: white;
  border-radius: 10px;
  padding: 6px 12px 8px 12px;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  background-color: var(--rouge);
  cursor: pointer;
}
.btBig {
  color: white;
  border-radius: 10px;
  padding: 6px 16px 8px 16px;
  display: inline-block;
  font-size: 26px;
  font-weight: 700;
  background-color: var(--rouge);
  cursor: pointer;
  margin: 0 4px 10px 4px;
}
.bt:hover,
.btBig:hover {
  background-color: black;
  color: white;
  text-align: center;
}

.bkRouge {
  background-color: var(--rouge);
}
.bkVert {
  background-color: var(--vert);
  color: black;
}
.bkVert:hover {
  color: white;
}
.bt:hover {
  background-color: black;
}
footer {
  background-color: black;
  color: var(--vert);
  padding: 20px;
  font-size: 10px;
}

.boutton {
  background-color: white;
  display: inline-block;
  padding: 10px 12px;
  border-radius: 10px;
}
.boutton:hover {
  background-color: black;
  color: white;
}
/* */
@media only screen and (max-width: 600px) {
  :root {
    --nextBack: 60px;
  }
  .notSmartphone {
    display: none;
  }
  .onSmartPhone {
    display: flex;
  }

  #adresse,
  #info {
    display: none;
  }
  #logo {
    height: 80vh;
  }
  .onglet {
    margin: 0 10px;
  }
  .onglet:hover {
    background-color: black;
    padding: 0;
    font-weight: bold;
    color: white;
  }

  .diapo {
    width: 90vw;
    height: calc(100vw + 100px);
    background-size: 100% auto;
    margin-bottom: 100px;
    align-items: center;
  }
  .text {
    display: none;
  }

  .swap {
    margin: calc(100vw - 120px) 0 0 0px;
  }

  .encadre {
    height: auto;
    width: auto;
    padding: 40px 20px;
  }
  #contact {
    flex-flow: column;
    align-items: center;
  }
  #contact .demi {
    width: 90vw;
    padding: 5vw;
    max-width: 100%;
  }
  #contact .demi:nth-child(1) {
    width: 250px;
  }
  .demi {
    text-align: center;
  }
  .swap {
    margin: calc(100vw - 130px) 0 0 0px;
  }
}
