/* Header*/

.header {
  padding: 10px 0;
  -webkit-box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
  box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
}

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

/* Logo*/

.logo {
  display: inline-block;
  width: 120px;
}

.logo img {
  max-width: 100%;
}

/* Navbar*/

.nav__list {
  display: flex;
}

.nav__link {
  margin-right: 20px;
  color: var(--polynesiumBleu);
  font-weight: bold;
  position: relative;
}

.nav__link:after {
  position: absolute;
  content: "";
  width: 0;
  height: 3px;
  left: 0;
  bottom: -6px;
  background-color: var(--polynesiumBleu);
  transition: width 0.3s;
}

.nav__link:hover:after {
  width: 100%;
}

.nav__item:last-child .nav__link,
.nav__item--footer:last-child .nav__link {
  margin-right: 0;
}

/* Divider*/

.divider {
  background-color: var(--polynesiumBleu);
  width: 100%;
  height: 1px;
}

.divider--vertical {

  width: 2px;
  height: 30px;
  margin: 0 30px;
}

.burger {
  display: none;
}

/* Mobile view*/

@media screen and (max-width: 768px) {
  .logo {
    position: absolute;
    transform: translateX(-50%);
    width: 80px;
    left: 50%;
  }

  .header {
    position: relative;
    height: 60px;
  }

  .divider--vertical {
    display: none;
  }

  .nav {
    border-top: 1px solid var(--polynesiumBleu);
    position: absolute;
    top: 60px;
    left: -100%;
    width: 100%;
    background-color: var(--antiFlashWhite);
    padding: 20px 0;
    -webkit-box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
    transition: left 0.3s;
    z-index: 100;
  }

  .nav--open {
    left: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
  }

  .nav__link {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .nav__item:last-child .nav__link {
    margin-bottom: 0;
  }

  .burger {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 38px;
    height: 38px;
    padding: 8px 6px;
    border: 2px solid var(--polynesiumBleu);
    margin-left: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }

  .burger--open .line--2 {
    display: none;
  }

  .burger--open .line--1 {
    position: absolute;
    transform-origin: left;
    top: 3px;
    transform: rotate(45deg);
  }

  .burger--open .line--3 {
    position: absolute;
    transform-origin: left;
    bottom: 3px;
    transform: rotate(-45deg);
  }

  .burger:hover {
    background-color: var(--polynesiumBleu);
  }

  .burger:hover .line {
    background-color: var(--antiFlashWhite);
  }

  .line {
    height: 4px;
    width: 100%;
    border-radius: 4px;
    background-color: var(--polynesiumBleu);
  }

}