.header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 50;
}

.header__logo {
  position: relative;
  z-index: 5;
}

.header__container {
  display: flex;
  align-items: center;
  min-height: 114px;
}

.header__menu {
  flex: 1 1 auto;
}

.header__button {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  flex: 0 0 252px;
  align-items: center;
}

.menu {
  display: flex;
  justify-content: flex-end;
}

.menu__list {
  display: flex;
}

.menu__item {
  margin-right: 40px;
}

.menu__link {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: black;
  text-transform: uppercase;
}

.menu__link:hover {
  text-decoration: underline;
}

.icon-menu,
.close-icon-menu {
  display: none;
}

@media (max-width: 991.98px) {
  .header__container {
    min-height: 80px;
  }

  .header__button {
    flex: 0 0 170px;
  }

  .menu__item {
    margin-right: 30px;
  }
}

@media (max-width: 767.98px) {
  .menu__body {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #DBE8FF;
    padding: 120px 15px 30px 15px;
    transition: left 0.4s ease 0s;
  }

  .header:target .menu__body {
    left: 0;
  }

  .header:target .menu__body:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    background-color: rgba(219, 232, 255, 0);
  }

  .menu__list {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .menu__item {
    margin-right: 0;
    margin-bottom: 25px;
  }

  .menu__item:last-child {
    margin-bottom: 0;
  }

  .menu__link {
    font-size: 20px;
    color: #616161;
  }

  /* Icon menu-burger */
  .icon-menu {
    position: relative;
    flex: 0 0 30px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 20px;
  }
  
  .icon-menu::before,
  .icon-menu::after {
    content: '';
    background-color: #000000;
    height: 2px;
  }
  
  .icon-menu span {
    height: 2px;
    background-color: #000000;
  }

  .close-icon-menu {
    flex: 0 0 30px;
    height: 30px;
    position: relative;
    margin: 0px 0px 0px 20px;
  }

  .close-icon-menu::before,
  .close-icon-menu::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    background-color: #000000;
    height: 2px;
  }

  .close-icon-menu::before {
    transform: rotate(45deg);
  }

  .close-icon-menu::after {
    transform: rotate(-45deg);
  }

  .header:target .icon-menu {
    display: none;
  }

  .header:target .close-icon-menu {
      display: flex;
  }
}

@media (max-width: 479.98px) {
  .header__logo {
    flex: 0 0 40px;
    overflow: hidden;
  }
}