﻿@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic");
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web&display=swap');
@import url("roots.css");



div.header {
  display: flex;
  justify-content: center;
}

div.header img {
  top: 50%;
  left: 50%;
  width: 500px;
  margin-top: 150px;
}

.nav-logo {
  display: flex;
  align-items: center;
  color: #62757c;
  font-size: 17px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px;
  background-color: white;
  position: relative;
  top: 0;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 30;
}


nav img {
  width: 20px;
}

nav .onglets {
  display: flex;
  flex-wrap: wrap;
}


nav .onglets p {
  color: black;
  text-decoration: none;
  font-size: 17px;
  margin-right: 10px;
  cursor: pointer;
}


a.link {

  text-decoration: none;
}


a.link:hover {
  text-decoration: underline;
  color: #b34b32;
}


nav .onglets p#page-actuel {
  color: #b34b32;
}

/* menu burger */
#page-actuelle-menu {
  color: #b34b32;
}

.menuburger {
  display: none;
}

.menuburger .nav-logo img {
  border-radius: 10px;
}

.burger-icon {
  margin: auto 0;
  color: #b34b32;
}

.sidenav {
  height: 100%;
  width: 100vw;
  position: fixed;
  z-index: 150;
  top: 0;
  right: -500px;
  background-color: #e8e8e8;
  padding-top: 60px;
  transition: right 0.5s ease;
}



/* Sidenav menu links */
.sidenav a {
  padding-top: 25px;
  text-decoration: none;
  color: #666;
  font-size: 25px;
  display: block;
  transition: 0.3s;
  text-align: center;
}

.sidenav a:hover {
  color: #111;
}

.sidenav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}



/* Active class */
.sidenav.active {
  right: 0;
}


/* Close btn */
.sidenav .close {
  /* position: absolute; */
  top: 0;
  right: 25px;
  font-size: 36px;
}


.btn-navbar {
  background-color: #b34b32;
  color: #fff;

  border-radius: 5px;
  border: none;

  font-size: x-small;
  width: 370px;

  padding: 0px;
  z-index: 31;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.btn-navbar a {
  text-decoration: none;
  color: #fff;
}




.btn-navbar i {
  font-size: small;
  padding: 8px;
}

.btn-navbar p {
  text-align: center;
  text-decoration: none;
}

.btn-navbar:hover {
  background-color: #682717;
  text-decoration: none;
}


@media screen and (max-width: 1241px) {
  .btn-navbar {
    font-size: smaller;
    width: 350px;
    height: auto;
  }
}

@media screen and (max-width: 524px) {
  nav {
    display: none;
    position: fixed;
  }

  .menuburger {
    display: contents;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;

    position: sticky;
    top: 0px;
    z-index: 100;
    /* Assurez-vous que le z-index est élevé pour que le menu reste au-dessus du reste du contenu */
    background-color: #fff;
    width: 100%;
  }

  .burger-icon {
    padding-right: 21px;
  }

  .btn-navbar {
    top: 89px;
  }

  .btn-navbar {
    width: 80%;
  }

  .btn-navbar i {
    font-size: 12px;
  }

}

@media screen and (max-width: 480px) {
  header {
    width: 100vw;
    background-color: white;
  }

  div.header img {
    max-width: 75%;
  }
}



@media screen and (min-width: 650px) and (max-width: 1450px) {

  .btn-navbar {
    top: 115px;
  }
}

@media screen and (min-width: 532px) and (max-width: 650px) {

  .btn-navbar {
    top: 190px;
  }
}

@media screen and (min-width: 524px) and (max-width: 532px) {

  .btn-navbar {
    top: 290px;
  }
}