/*---------------VARIABLES----------------*/
/*---------------RESET-------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  display: block;
}
a {
  text-decoration: none;
}
/*-----------------FONT------------------*/
@font-face {
  font-family: "Essence Sans";
  src: url(../font/Essence\ Sans.ttf);
}
@font-face {
  font-family: "Roboto";
  src: url(../font/Roboto-Regular.ttf);
}
/*---------------RECURRENT---------------*/
.center {
  width: 960px;
  margin: 0 auto;
}
body {
  font-family: "Roboto", "Essence Sans", sans-serif;
  position: relative;
}
h2 {
  font-family: "Essence Sans";
  font-size: 30px;
}
/*---------------BURGER-----------------*/
div.burger {
  display: none;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 50px;
  height: 50px;
  background-color: #380407;
  z-index: 9999;
  cursor: pointer;
  border-radius: 10px;
}
div.burger i {
  font-size: 30px;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 2px;
  color: #fed3a8;
  display: block;
  transition: all 0.3s ease-in-out;
}
/*------------NAVBAR-------------------*/
nav {
  position: absolute;
  z-index: 999;
  left: 50%;
  transform: translateX(-50%);
}
nav ul {
  font-size: 0;
}
nav ul li {
  display: inline-block;
  width: calc(20% - 10px);
  margin: 0 5px;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  padding-top: 50px;
}
nav ul li a {
  line-height: 30px;
  display: block;
  background-color: #380407;
  color: #fed3a8;
  transition: all 0.3s;
}
nav ul li a:hover {
  color: #380407;
  background-color: #fed3a8;
}
/*-----------HEADER--------------*/
header {
  background-image: url(../img/backgroundheader.jpg);
  background-position: center;
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
header img {
  height: 340px;
}
/*----------NOTRE EQUIPE-------------*/
section.equipe {
  background-image: url(../img/bg-bois.jpg);
  background-position: center;
  background-size: cover;
  padding: 70px 0 70px;
}
section.equipe .contenu img {
  margin: 0 auto;
  padding-bottom: 30px;
  filter: drop-shadow(4px 4px 4px #000);
}
section.equipe .contenu .texte {
  padding: 80px 20px 105px;
  margin-bottom: 10px;
  position: relative;
}
section.equipe .contenu .texte:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(254, 211, 168, 0.7);
  border-radius: 30px;
}
section.equipe .contenu .texte p {
  padding: 20px 0;
  font-size: 18px;
  color: #130e0a;
  filter: drop-shadow(4px 4px 4px #000);
}
section.equipe .contenu .texte a {
  text-transform: uppercase;
  color: #130e0a;
  filter: drop-shadow(3px 3px 3px #000);
  font-size: 30px;
  transition: color 0.3s;
  position: absolute;
  bottom: 30px;
  right: 20px;
}
section.equipe .contenu .texte a:hover {
  color: white;
}
/*------------------SECTION PRODUITS----------------*/
section.produits {
  background-image: url(../img/bg-spiritueux.jpg);
  background-position: center;
  background-size: cover;
  padding: 200px 0;
}
section.produits .center .texte {
  position: relative;
  padding: 10px 20px 215px;
}
section.produits .center .texte:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(56, 4, 7, 0.7);
  border-radius: 30px;
}
section.produits .center .texte h2 {
  padding: 10px 0;
  color: #fed3a8;
  position: relative;
}
section.produits .center .texte p {
  padding: 10px 0;
  color: #fed3a8;
  position: relative;
  font-size: 18px;
}
section.produits .center .texte a {
  text-transform: uppercase;
  color: #fed3a8;
  filter: drop-shadow(3px 3px 3px #000);
  font-size: 30px;
  position: absolute;
  bottom: 30px;
  right: 20px;
  transition: color 0.3s;
}
section.produits .center .texte a:hover {
  color: white;
}
/*------------------SECTION EVENEMENTS-----------------*/
section.evenements {
  background-image: url(../img/bg-degustation.jpg);
  background-position: center;
  background-size: cover;
  padding: 200px 0;
}
section.evenements .center {
  margin: 0 auto;
}
section.evenements .center .texte {
  padding: 130px 0;
  position: relative;
}
section.evenements .center .texte h2 {
  color: #fed3a8;
  padding: 80px 0;
  text-align: center;
}
section.evenements .center .texte img {
  height: 90px;
  margin: 0 auto 40px;
}
section.evenements .center .texte p {
  padding: 20px 0;
  color: #fed3a8;
  text-align: center;
}
section.evenements .center .texte a {
  text-transform: uppercase;
  color: #fed3a8;
  filter: drop-shadow(3px 3px 3px #000);
  font-size: 30px;
  position: absolute;
  bottom: 10px;
  right: 10px;
  transition: color 0.3s;
}
section.evenements .center .texte a:hover {
  color: white;
}
/*---------------SECTION CONTACT-------------------------*/
section.contact {
  background-image: url(../img/bg-contact.jpg);
  background-position: center;
  background-size: cover;
  padding: 200px 0;
}
section.contact .center .texte {
  padding: 10px 20px 210px;
  position: relative;
}
section.contact .center .texte:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(56, 4, 7, 0.7);
  border-radius: 30px;
}
section.contact .center .texte h2 {
  padding: 10px 0;
  color: #fed3a8;
  position: relative;
  margin-bottom: 20px;
}
section.contact .center .texte p {
  padding: 10px 0;
  color: #fed3a8;
  position: relative;
  font-size: 18px;
}
section.contact .center .texte a {
  text-transform: uppercase;
  color: #fed3a8;
  filter: drop-shadow(3px 3px 3px #000);
  font-size: 30px;
  position: absolute;
  bottom: 30px;
  right: 20px;
  transition: color 0.3s;
}
section.contact .center .texte a:hover {
  color: white;
}
/*----------------FOOTER---------------------------*/
footer {
  background-color: #380407;
  padding: 90px 0;
}
footer .center {
  display: flex;
  justify-content: space-between;
}
footer .center img {
  height: 120px;
  margin: auto 0;
}
footer .center .adresse {
  display: flex;
  flex-direction: column;
}
footer .center .adresse .adr-postale {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
}
footer .center .adresse .adr-postale img {
  margin-right: 30px;
  height: 30px;
}
footer .center .adresse .adr-postale p {
  color: #fed3a8;
}
footer .center .adresse .tel {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
}
footer .center .adresse .tel img {
  height: 33px;
  margin-right: 30px;
}
footer .center .adresse .tel p {
  color: #fed3a8;
}
footer .center .adresse .mail {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
}
footer .center .adresse .mail img {
  height: 30px;
  margin-right: 30px;
}
footer .center .adresse .mail a {
  color: #fed3a8;
}
footer .center .reseaux-sociaux {
  display: flex;
  justify-content: space-between;
  width: 120px;
  margin: auto 0;
}
footer .center .reseaux-sociaux img {
  height: 30px;
}
/*---------------------------------------------MEDIA QUERY 960px---------------------*/
@media screen and (max-width: 960px) {
  /*----------------RECURRENTS---------*/
  .center {
    width: 600px;
    padding: 0 10px;
  }
  .texte {
    padding: 0 10px;
  }
  /*---------------NAVBAR-------------*/
  nav ul li {
    width: calc(20% - 10px);
    margin: 0 5px;
  }
  /*---------------HEADER------------*/
  header img {
    height: 170px;
  }
  /*------------SECTION EVENEMENTS--------*/
  section.evenements .center {
    padding: 0 20px;
  }
  /*---------FOOTER------------------*/
  footer .center img {
    height: 80px;
  }
}
/*-----------------------------------------MEDIA QUERY 600px-------------------------*/
@media screen and (max-width: 600px) {
  /*----------------RECURRENTS-----------------------------*/
  .center {
    width: 100%;
  }
  .section {
    padding: 10px;
  }
  .adr-postale img {
    margin-right: 0;
  }
  /*-----------------------BURGER-----------------------------*/
  div.burger {
    display: block;
  }
  div.burger.burger-open i {
    background-color: transparent;
    transform: rotate(-315deg);
    top: 0;
  }
  /*----------------------NAVBAR--------------------------------*/
  nav.menu {
    position: fixed;
    height: 100vh;
    background-color: rgba(19, 14, 10, 0.4);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  nav.menu ul li {
    display: block;
    width: 100%;
  }
  nav.menu ul li a {
    font-size: 24px;
    padding: 15px 30px;
  }
  nav.menu.is-open {
    transform: translateX(-50%);
  }
  /*----------------HEADER----------------*/
  header {
    height: 100vh;
  }
  header img {
    width: 100%;
  }
  /*-----------SECTION EQUIPE-----------------*/
  section.equipe .contenu img {
    width: 90%;
    height: auto;
  }
  section.equipe .contenu .texte {
    padding: 10px 10px 30px;
  }
  section.equipe .contenu .texte p {
    font-size: 14px;
    filter: none;
    position: relative;
  }
  section.equipe .contenu .texte a {
    font-size: 16px;
    bottom: 10px;
    filter: none;
  }
  /*-----------SECTION PRODUITS-----------------*/
  section.produits .center .texte {
    padding: 10px 10px 30px;
  }
  section.produits .center .texte p {
    font-size: 14px;
  }
  section.produits .center .texte a {
    font-size: 16px;
    bottom: 10px;
  }
  /*-----------SECTION EVENEMENTS------------*/
  section.evenements {
    padding: 10px;
  }
  section.evenements .center .texte p {
    font-size: 14px;
  }
  section.evenements .center .texte a {
    font-size: 16px;
  }
  /*--------------SECTION CONTACT--------------*/
  section.contact {
    padding: 10px;
  }
  section.contact .center .texte {
    padding: 10px 10px 30px;
  }
  section.contact .center .texte p {
    font-size: 14px;
    padding: 5px 0;
  }
  section.contact .center .texte a {
    font-size: 16px;
    bottom: 10px;
  }
  /*---------------FOOTER--------------------*/
  footer {
    padding: 0;
  }
  footer .center .adresse {
    margin: 10px;
  }
  footer .center .adresse .adr-postale {
    padding: 0;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
  }
  footer .center .adresse .adr-postale img {
    margin-bottom: 10px;
    margin-right: 0;
    height: 20px;
  }
  footer .center .adresse .adr-postale p {
    font-size: 11px;
    text-align: center;
  }
  footer .center .adresse .tel {
    display: flex;
    flex-direction: column;
  }
  footer .center .adresse .tel img {
    margin-bottom: 5px 0;
    height: 20px;
    margin-right: 10px;
  }
  footer .center .adresse .tel p {
    font-size: 11px;
    line-height: 20px;
  }
  footer .center .adresse .mail {
    display: flex;
    flex-direction: column;
  }
  footer .center .adresse .mail img {
    margin-bottom: 5px 0;
    height: 20px;
    margin-right: 10px;
  }
  footer .center .adresse .mail a {
    font-size: 11px;
    line-height: 20px;
  }
  footer .center .reseaux-sociaux {
    display: flex;
    flex-direction: column;
  }
  footer .center .reseaux-sociaux img {
    margin: 5px;
  }
}
/*------------------------SCROLLTOP------------------------*/
a#scrolltop {
  position: fixed;
  color: #fed3a8;
  bottom: 30px;
  left: 30px;
  font-size: 40px;
  display: none;
}
