/*!
Theme Name: pizzanet
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pizzanet
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

pizzanet is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* clear */
.clear:before,.clear:after { content:' '; display:table; }
.clear:after { clear:both; }
.clear { zoom:1;}

ul, ol {
  list-style: none;
}

img {
  width: 100%;
}

a {
  text-decoration: none;
  color:var(--blanc);
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  background-color: var(--blanc);
}
.flex {
  display: flex;
}
.btn {
  padding: 1rem;
  background-color: var(--vert_fonce);
  border-radius: 5px;
  color: var(--blanc);
  font-size: 18px;
  font-weight: 500;
  transition: .4s;
}
.btn:hover {
  background-color: var(--vert_clair);
}
h2 {
  font-family: "Enriqueta", serif;
  font-weight: 500;
  font-size: 24px;
} 
h3 {
  font-family: "Enriqueta", serif;
  font-weight: 500;
  font-size: 20px;
}
h4 {
  font-family: "Enriqueta", serif;
  margin-bottom: 2rem;
  font-size: 20px;
  font-weight: 500;
}
html {
  scroll-behavior: smooth;
}

:root {
  --vert_clair : #049200;
  --vert_fonce : #037A00;
  --rouge : #AF0000;
  --noir : #000000;
  --blanc : #fff;
  --beige : #D2B285; /* bouton connexion*/
  --beige2 : #D3B68D; /* header rayure */
  --beige3 : #D0B084; /* header rayure */
  --gris : #F4F3ED; /* background */
  --gris_texte :#C4C4C4;
  --gris_texte_fonce: #2C2C2C;
}
/* /////////////////////////////////////////////////////// */
/* Menu burger  */
/* ///////////////////////////////////////////////////////// */
.menu_burger ul {
  text-align: center;
  justify-content: center;
  position: absolute;
  flex-direction: column;
  z-index: 2;
  top: 0;
  right: 6000px;
  bottom: 0;
  background: repeating-linear-gradient(
    to bottom,
    var(--beige2) 0px,
    var(--beige2) 2.5px,
    var(--beige3) 2.5px,
    var(--beige3) 5px
  );
}
.menu_burger ul li a.barre_nav {
  opacity: 80%;
  transition: .2s;
}
.menu_burger ul li a.barre_nav:hover {
  opacity: 100%;
}
.menu_burger ul li {
  border-bottom: 2px solid var(--blanc);
  padding: 2rem 0;
  font-size: 24px;
}
.menu_burger ul li.btn_connexion {
  border: none;
  padding: 0;
}
.menu_burger a.connex {
  justify-content: center;
  padding: 2rem;
}
.menu_burger .fermeture_menu {
  color: var(--blanc);
  font-size: 32px;
  text-align: end;
  padding: 1rem;
}

/* Header  */
#masthead {
  font-size: 18px;
  background: repeating-linear-gradient(
    to bottom,
    var(--beige2) 0px,
    var(--beige2) 2.5px,
    var(--beige3) 2.5px,
    var(--beige3) 5px
  );
}
#masthead .wrap {
  position: relative;
  justify-content: flex-end;
}
#masthead .logo {
  width: 231px;
  height: 73px;
  transition: .2s;
  position: absolute;
  top: 36px;
  left: 10px;
}
#masthead .logo:hover {
  filter: drop-shadow(0px 2px 2px #00000040);
}
#masthead nav ul {
  align-items: center;
  margin-right: 3rem;
  gap: 3rem;
}
#masthead nav ul li {
  opacity: 80%;
  height: 100%;
  padding-top: 2rem;
}
#masthead nav ul li:hover {
  opacity: 100%;
  border-bottom: 5px solid var(--blanc);
}
#masthead .ici {
  border-bottom: 5px solid var(--blanc);
  opacity: 100%;
}
#masthead .bouton {
  align-items: center;
  gap: 1rem;
}
.btn_connexion a {
  color: var(--beige3);
  background-color: var(--blanc);
  border-radius: 5px;
  padding: 1rem;
  align-items: center;
  opacity: 80%;
  gap: 1rem;
}
.btn_connexion a:hover {
  opacity: 100%;
}
.btn_connexion .logo_connexion {
  background: url('asset/img/profil_connexion.svg')no-repeat center;
  width: 30px;
  height: 30px;
}
#masthead .btn_panier {
  gap: 1rem;
  align-items: center;
  margin: .5rem 0;
}
#masthead .btn_panier .nb_articles {
  background-color: var(--blanc);
  color: var(--vert_fonce);
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}
#masthead .mobile {
  display: none;
}
#masthead .burger {
  padding: 1rem;
}

/* Promotion  */
#promotion h1, #promotion p{
  font-size: 35px;
  font-weight: 700;
  color: var(--rouge);
}
#promotion {
  justify-content: space-between;
  border-top: solid 1px var(--rouge);
  border-bottom: solid 1px var(--rouge);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
}

/* diaporama  */
#diaporama {
  padding-bottom: 2rem;
 } 
#diaporama .splide {
  width: 60%;
 }
#diaporama .text_diapo {
  background-color: var(--gris);
  padding: 1rem;
  width: 40%;
  text-align: center;
}
#diaporama .text_vert {
  color: var(--vert_fonce);
  font-weight: 700;
}
#diaporama .text_diapo {
  flex-direction: column;
  justify-content: center;
}
#diaporama .text_diapo h2 {
  margin-bottom: 1rem;
}
#diaporama .text_diapo .text_vert {
  margin-bottom: 2rem;
}
#diaporama .text_diapo .text_noir {
  margin-bottom: 1rem;
}

/* Communication  */
#communications {
  justify-content: space-between;
}
#communications .infos_box {
  width: 24%;
  background-color: var(--gris);
}
#communications .communications_scroll {
  justify-content: space-between;
}
#communications .infos_text {
  padding: 1rem;
  text-align: center;
}
#communications .communications_title {
  margin-bottom: 1rem;
}

/* Preparation  */
#preparation {
  text-align: center;
  padding: 6rem 1rem;
}

/* Video */
#video {
  align-items: center;
  flex-direction: column;
  background-color: var(--gris);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  position: relative;
}
#video .logo {
  width: 160px;
  height: 42px;
  background: url('asset/img/logo_pizzanet.svg')no-repeat center;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-bottom: 2rem;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
#video h4 {
  padding-top: 3rem;
}

/* Carte  */
#carte .mobile {
  display: none;
}
#carte .picto {
  background: url('asset/img/picto.svg')no-repeat center;
  height: 55px;
  width: 40px;
}
#carte .carte_img, .carte_text {
  width: 50%;
}
#carte .carte_text {
  background-color: var(--gris);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  text-align: center;
}
#carte .titre_carte {
  padding-top: 2rem;
}
#carte p {
  padding: 0 1rem;
}
#carte img {
  width: 100%;
}
#carte .btn {
  margin-top: 2rem;
}
#map { 
  height: 454px; 
  width: 604px;
}
#carte .texte_de_fin {
  color: var(--gris_texte);
  margin: 3rem 0;
}
/* Bas de page  */
#bas_de_page {
  font-size: 10px;
  color: var(--gris_texte);
  text-align: center;
  margin-bottom: 1rem;
}

/* Footer  */
#colophon .colophon_1, .colophon_2 {
    background: repeating-linear-gradient(
    to bottom,
    var(--beige2) 0px,
    var(--beige2) 2.5px,
    var(--beige3) 2.5px,
    var(--beige3) 5px
  );
  color: var(--blanc);
}
#colophon .colophon_separateur {
  background-color: var(--blanc);
  height: 2.5px;
}
.colophon_1 {
  font-family: "Enriqueta", serif;
  font-weight: 700;
  font-size: 18px;
}
.colophon_1 .flex {
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}
.colophon_1 .facebook {
  background: url('asset/img/facebook.svg')no-repeat center;
  height: 39px;
  width: 39px;
}
.colophon_1 .twitter {
  background: url('asset/img/twitter.svg')no-repeat center;
  height: 40px;
  width: 40px;
}
.colophon_1 .instagram {
  background: url('asset/img/insta.svg')no-repeat center;
  height: 50px;
  width: 50px;
}
.colophon_2 ul {
  font-weight: 700;
  justify-content: center;
  padding: 2rem;
  gap: 4rem;
}
.colophon_2 ul a{
  opacity: 100%;
  transition: .2s;
}
.colophon_2 ul a:hover {
  opacity: 80%;
}
.colophon_3 .flex {
  justify-content: space-between;
  align-items: center;
  color: var(--gris_texte);
}
.colophon_3 .mastercard {
  background: url('asset/img/mastercard.svg')no-repeat center;
  width: 45px;
  height: 27px;
}
.colophon_3 .visa {
  background: url('asset/img/visa.svg')no-repeat center;
  width: 45px;
  height: 27px;
}
.colophon_3 .cb {
  gap: .5rem;
  align-items: center;
  padding: 1rem 0;
}
/* ////////////////////////////////////////////////////////////////////////// */
/* Template pizzas 
////////////////////////////////////////////////////////////////////////*/
#liste_pizzas h2 {
  text-align: center;
  margin-bottom: 2rem;
}
#liste_pizzas .prix_pizza {
  font-size: 18px;
}
#liste_pizzas img {
  width: 130px;
  height: 130px;
}
#liste_pizzas a.box_pizza {
  width: 49%;
  justify-content: space-between;
  margin-top: -1px ;
  color: var(--gris_texte_fonce);
}
#liste_pizzas .titre_pizza {
  width: 100%;
  justify-content: space-between;
  
}
#liste_pizzas .details_pizza {
  width: 100%;
  padding: 1rem 1rem;
  border-top: 1px solid var(--gris_texte);
  border-bottom: 1px solid var(--gris_texte);
}
#liste_pizzas .all_pizzas {
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 3rem;
}
/* /////////////////////////////////////////////////////// */
/* Modal  */
/* ////////////////////////////////////////////////// */
.modal__header {
  flex-direction: column;
}
.modal__close {
  font-size: 24px;
  margin: 1rem 1rem;
}
.modal__container {
  padding: 0;
}
.modal__content {
  padding: .5rem;
  margin: 0;
}
.supplement {
  border-top: 1px solid var(--gris_texte);
  border-bottom: 1px solid var(--gris_texte);
  padding: 1rem;
  justify-content: space-between;
  align-items: center;
}
.quantite {
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.bandeau_haut {
  justify-content: space-between;
  align-items: center;
}
.modal_nom {
  padding-bottom: 0;
  
}
.modal_prix {
  font-size: 18px;
  font-weight: 400;
}
.part_1 {
  padding: 1rem;
}
.maodal_compo {
  padding-top: 1rem;
}
.plus a{
  font-size: 32px;
  font-weight: 300;
  color: var(--gris_texte_fonce);
}
.sup {
  font-size: 20px;
  font-weight: 400;
}
.quantite {
  font-size: 20px;
  font-weight: 700;
  padding: 1rem;
}
.quantite a {
  color: var(--vert_fonce);
}
.nb_quantite {
  padding: 0 1rem;
}
.modal_ajouter {
  font-size: 1rem;
  justify-content: space-between;
  width: 48%;
}
.boutons_modal {
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.modal_annuler a {
  background-color: var(--blanc);
  color: var(--vert_fonce);
  border: 1px solid var(--vert_fonce);
  transition: .2s;
  padding: 1rem;
  border-radius: 5px;
  width: 100%;
  text-align: center;
}
.modal_annuler {
  width: 48%;
}
.modal_annuler a:hover {
  color: var(--blanc);
  border: 1px solid var(--vert_fonce);
  background-color: var(--vert_fonce);
}
.btn_moins {
  background: url('asset/img/-.svg')no-repeat center;
  color: var(--vert_fonce);
  width: 44px;
  height: 44px;
  align-items: center;
}
.btn_plus {
  background: url('asset/img/+.svg')no-repeat center;
  color: var(--vert_fonce);
  width: 44px;
  height: 44px;
  align-items: center;
}


















/* /////////////////////////////////////////////////////////////////////////////////////
 Responsive  1200px
//////////////////////////////////////////////////////////////////////////////////// */
 @media (max-width: 1200px) {
  /* .wrap {
    padding: 0 1rem;
  } */
   /* Header  */
  #masthead .mobile {
    display: block;
    font-size: 32px;
  }
  #masthead .desk, #masthead .bouton {
    display: none;
  } 
  #masthead .wrap {
    justify-content: flex-end;
  }
  #masthead .logo {
    top: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .menu_burger ul.opened {
    left: 0;
    right: 0;
  }
  /* Promoton  */ 
  #promotion {
    margin-top: 4rem;
  }
  /* diaporama  */
  #diaporama {
    flex-direction: column;
  }
  #diaporama .text_diapo {
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  #diaporama .splide {
  width: 100%;
 }
 /* Video  */
  #video iframe {
  width: 100%;
  }
  #video {
    padding-bottom: 6rem;
  }
 /* Carte  */
 #carte .desk {
  display: none;
 }
 #carte .mobile {
  display: block;
  text-align: center;
 }
 #carte {
  position: relative;
 }
 #carte .picto {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translate(-50%, -50%);
 }
 #carte .texte_de_fin {
  padding: 1rem;
 } 
 #carte .carte {
  flex-direction: column;
 }
 #carte .carte_img, .carte_text {
  width: 100%;
}
#carte .carte_text {
  padding: 2rem ;
}
#map { 
  width: 100%;
}
 /* Bas de page  */
 #bas_de_page {
  padding: 1rem;
 }
 /* Footer  */
 .colophon_3 .wrap {
  padding: 0 1rem;
 }
 /* ///////////////////////////////////////////////
 Template pizza responsive
 ///////////////////////////////////////////////////// */
 .box_pizza:last-child {
  border-bottom: 1px solid var(--gris_texte);
  }
  /* ////////////////////////////////////////////////////
  Modal responsive
  ////////////////////////////////////////////////// */
  .boutons_modal {
    flex-direction: column;
  }
  .modal_ajouter, .modal_annuler {
    width: 100%;
  }
  .modal_ajouter {
    margin-bottom: 1rem;
  }
}

/* /////////////////////////////////////////////////////////////////////////////////////
 Responsive  900px
//////////////////////////////////////////////////////////////////////////////////// */

@media (max-width: 900px) {
  .btn {
    font-size: 1rem;
  }
  /* Promotion  */
    #promotion h1,#promotion p {
    font-size: 20px;
    line-height: 25px;
    text-align: center;
  }
   /* Communications  */
  #communications .infos_box {
    overflow-x: auto;
    align-items: center;
    min-width: 80%;
    margin-left: 1rem;
    box-shadow: 10px 9px 15px -3px rgba(0,0,0,0.47);
  }
  #communications .communications_scroll {
    display: flex;
    width: 100%;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0;
  }
  #communications .infos_box .infos_text {
    padding: 3rem;
  }
  #communications .communications_scroll::-webkit-scrollbar {
    display: none;
  }
  /* Video  */
  #video h4 {
    text-align: center;
    padding: 2rem 2rem 0 2rem;
  }
   /* Footer  */
 .colophon_2 .flex {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
 }
 /* Page commande  */
 #liste_pizzas .all_pizzas {
  flex-direction: column;
 }
 #liste_pizzas a.box_pizza {
  width: 100%;
  margin: 0;
}
 #liste_pizzas .details_pizza {
  border-bottom: none;
 }
 #liste_pizzas h2 {
  margin-bottom: 2rem;
 }
}