/* подключение палитры цветов */
@import url("../css/colors.css");
@import url("../css/fonts.css");


/* HEADER */

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 100px;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
}

.header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 218, 234, 0.5);
  backdrop-filter: blur(12.5px);
  z-index: 2;
}

.header-body {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: auto;
  align-items: center;
}

.header-list {
  display: flex;
  position: relative;
  z-index: 2;
}

.header-list li {
  list-style: none;
  margin-left: 100px;
}

.header-link {
  font-family: 'FixelText-Medium';
  color: var(--dark-blue);
  font-size: 16px;
  /* font-weight: 500; */
  text-decoration: none;
}

.header-logo {
  width: 50px;
  height: 60px;
  overflow: hidden;
  position: relative;
  z-index: 3;
  border-radius: 5px;
}

ul {
  padding: 0;
}

.header-logo img {
  max-width: 100%;
  display: block;
}

.logo-and-name {
  display: flex;
  gap: 15px;
  align-items: center;
}

.name-and-portfolio {
  font-family: 'FixelText-Medium';
  position: relative;
  z-index: 2;
}
.name-word:hover,
.portfolio-word:hover {
  color: var(--dark-blue);
}

.name-word {
  font-size: 16px;
  color: var(--dark-blue);
}

.portfolio-word {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--dark-blue);
}

.header-burger {
  display: none;
}

.active {
  color: var(--blue) !important;
}

a:hover {
  color: var(--blue);
}

.menu-line {
  width: auto;
  margin-left: 0px;
  margin-right: 16px;
  border: 0;
  height: 1px;
  background: var(--blue);
  display: none;
}

/* END HEADER */

/* /////////////////////////////// */
/* ///////////   MEDIA   ///////// */
/* /////////////////////////////// */

/* iPad */
@media screen and (max-width: 1212px) {
  /* HEADER IPAD */
  .container {
    padding: 15px 50px;
  }

  .header-list li {
    list-style: none;
    margin-left: 50px;
  }
  .header-link {
    font-size: 14px;
  }
  
  /* END HEADER IPAD */
}

/* iPhone */
@media screen and (max-width: 820px) {
  /* блокировка скролла */
  body.active-burger {
    overflow: hidden;
  }

  /* HEADER IPHONE */

  .header-burger {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    z-index: 3;
  }

  .header.active-burger:before {
    background-color: var(--blue);
  }

  .header-body {
    height: 25px;
  }

  .header-logo {
    height: 50px;
  }

  .container {
    padding: 30px 16px;
  }

  .header-menu {
    position: fixed;
    top: -120%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-blue);
    z-index: 1;
    padding-top: 125px;
    transition: 0.4s;
  }

  .name-word.active-burger {
    color: var(--bg-white);
  }

  .portfolio-word.active-burger {
    color: var(--bg-white);
  }

  .header-menu.active-burger {
    top: 0;
    transition: 0.5s;
  }

  .header-menu ul {
    padding-left: 16px;
  }

  .header-list {
    display: block;
  }

  .header-list li a {
    color: var(--bg-white);
    letter-spacing: 0.05em;
  }

  .header-list li a span {
    color: var(--bg-white);
  }

  .header-list li {
    list-style: none;
    margin: 30px 0px;
  }
  .header-link {
    font-size: 24px;
  }
  .active {
    color: #4a9dff !important;
  }

  /* стилизация горизонтальных полосок */

  .menu-line.line-show {
    display: block;
  }

  /* END HEADER IPHONE */
}
