
/** NAVBAR  **/

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  position: fixed;
  width: 100%;
  height: 80px;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #fff;
  z-index: 60;
  top: 0;
  -webkit-box-shadow:  0 2px 2px 0px rgba(0,0,0,0.1);
  	   -moz-box-shadow:  0 2px 2px 0px rgba(0,0,0,0.1);
  	        box-shadow:  0 2px 2px 0px rgba(0,0,0,0.1);
            }
@media screen and (max-width: 910px) {
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
  }
}
.navbar-links {
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 20;
}

@media (max-width: 910px) {
  .navbar-links {
    align-items: flex-start;
    height: 100%;
    background: #F0F0F0;
    height: 100vh;
  }
}

.navbar-links ul {
  display: flex;
  margin: 0 10px 0 0;
}

@media (max-width: 910px) {
  .navbar-links ul {
    padding-top: 50px;
  }
}

@media (max-width: 910px) {
  .navbar-links ul li {
    margin: 0 0 0 2px;
    opacity: 0;
  }
}

@media (max-width: 910px) {
  .navbar-links ul li::before {
    margin: 0px 0 0 2px;
    opacity: 0;
  }
}

@media (max-width: 910px) {
  .navbar-links ul li {
    margin: 0px 0 0 20px;
    visibility: visible;
    -webkit-animation: fadeIn .2s ease-out forwards;
    animation: fadeIn .2s ease-out forwards;
    -webkit-animation-delay: .05s;
    animation-delay: .05s;
    opacity: 0;
  }
}

@media (max-width: 910px) {
  .navbar-links ul li:nth-of-type(2) {
    -webkit-animation-delay: .10s;
    animation-delay: .10s;
  }
}

@media (max-width: 910px) {
  .navbar-links ul li:nth-of-type(3) {
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
  }
}

@media (max-width: 910px) {
  .navbar-links ul li:nth-of-type(4) {
    -webkit-animation-delay: .20s;
    animation-delay: .20s;
  }
}

.navbar-links li {
  list-style: none;
  line-height: 2;
}

@media (max-width: 910px) {
  .navbar-links li {
    left: 0;
  }
}

.navbar-links li a {
  display: flex;
  text-decoration: none;
  color: #DF8B15;
  padding: 1rem;
  transition: all 0.15s ease-in-out;
}

/* remove BG on click on touch devices */
.navbar-links li a {
  -webkit-tap-highlight-color: transparent;
}

.navbar-links li a:hover {
  color: #CC1239;
}

.navbar-links li.active>a {
  color: #CC1239;
  pointer-events: none;
}

@media (max-width: 910px) {
  .navbar-links li a {
    text-align: left;
  }
}

.navbar-links li:hover {
  background-color: transparent !important;
}

@media (max-width: 910px) {
  .navbar-links li {
    transition: all 0.15s ease-in-out;
    margin-left: -1.5em;
  }
}

@media (max-width: 910px) {
  .navbar-links li:hover {
    background-color: #fff;
    text-align: left;
    transition: all 0.15s ease-in-out;
  }
}


/* Burger */
.toggle-button {
  position: absolute;
  top: 2em;
  right: 1.6rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  -webkit-tap-highlight-color: transparent;
}


/* Passage au Burger */
@media (max-width:910px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .toggle-button {
    display: flex;
  }

  .navbar-links {
    display: none;
    width: 100%;
  }

  .navbar-links ul {
    flex-direction: column;
  }

  .navbar-links ul li {
    text-align: center;
  }

  .navbar-links.active {
    display: flex;
  }
}

.nav-item {
  padding: 0 0;
}

.nav-item a {
  display: flex;
  padding: 0 0;
  overflow: hidden;
}


/*** BURGER TO X  ***/

.menu-toggle {
  position: relative;
  display: block;
  width: 30px;
  height: 26px;
  background: transparent;
  border-top: 2px solid;
  border-bottom: 2px solid;
  color: #E54545;
  font-size: 0;
  -webkit-transition: all 0.05ss ease-in-out;
  transition: all 0.05s ease-in-out;
}

.menu-toggle:before, .menu-toggle:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  background: #E54545;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: -webkit-transform 0.05s ease-in-out;
  transition: -webkit-transform 0.05s ease-in-out;
  transition: transform 0.05s ease-in-out;
  transition: transform 0.05s ease-in-out, -webkit-transform 0.05s ease-in-out;
}


/*** BURGER LINES  ***/

button:hover {
  color: #E54545;
}

button.is-active {
  border-color: transparent;
}

button.is-active::before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}

button.is-active::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}

button {
  border: none;
  cursor: pointer;
  outline: none;
}


/** LOGO NAVBAR  **/

.logo {
  height:50px;
  margin: 5px 0 0px 40px;
  transition: all 0.15s ease-in-out;
}

@media(max-width:1500px) {
  .logo {
    height: 50px;
    margin: 15px 0 10px 25px;
    transition: all 0.15s ease-in-out;
  }
}


.logo:hover {
  transform: scale(1.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
