header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 98px;
  background: linear-gradient(270deg, #00b9d8 0%, #0081bb 62.5%, #0081bb 100%);
  position: fixed;
  z-index: 9999;
  top: 0px;
  left: 0px;
  width: 100%;
  border-bottom: 1px solid white;
}

.header_block {
  display: flex;
  align-items: center;
}

.header_menu {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 40px;
}

.header_menu_item:not(div:first-of-type) {
  margin-left: 40px;
}

.header_menu_item > a {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

@media (pointer: fine) {
  .header_menu_item > a:hover {
    color: #fff61d;
  }
}

.header_menu_item > a:active {
  color: white;
}

.header_logo > a {
  display: flex;
}

/* Media queries */

@media (max-width: 1580px) {
  header {
    height: 92px;
  }

  .header_menu_item > a {
    font-size: 18px;
  }

  .header_logo img {
    height: 64px;
  }
}

@media (max-width: 1248px) {
  header {
    height: 109px;
  }

  .header_logo img {
    height: 68px;
  }

  .header_menu_item:not(div:first-of-type) {
    margin-left: 30px;
  }

  .header_menu {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 994px) {
  header {
    height: 102px;
  }

  .header_logo img {
    height: 62px;
  }

  .header_menu_item:not(div:first-of-type) {
    margin-left: 30px;
  }

  .header_menu {
    display: none;
  }


  /* TEST */

  .header_menu_small_screen{
    display: block;
  }

  .header_menu_small_screen > .header_menu{
    display: flex;

  }

  /* TEST */

  .header_block {
    justify-content: space-between;
  }

  a.header_button {
    height: 51px;
    width: 153px;
    font-size: 21px;
  }
}

@media (max-width: 746px) {
  header {
    height: 99px;
  }

  .header_logo img {
    height: 52px;
  }
}
