﻿.main-header {
  display: flex;
  justify-content: space-between;
  max-height: 40px;
  padding: 5px 0 5px 0;
}

.main-logo {
  display: flex;
}

.main-logo__img {
  width: 40px;
}

.main-logo__text {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 32px;
  text-align: left;
  color: #007cc2;
  margin: 0;
  height: 40px;
  line-height: 1.3;
  width: 400px;
  text-decoration: none;
}

.main-nav-menu {
  display: flex;
  text-align: center;
  align-items: center;
  gap: 10px;
}

.main-nav-menu__button {
  align-content: center;
  border-radius: 10px;
  width: 80px;
  height: 40px;
  background: #009ef9;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

  .main-nav-menu__button:hover {
    background: #007cc2;
  }

  .main-nav-menu__button:active {
    transform: scale(0.95);
  }

.main-nav-menu__button_transparent {
  border: 1px solid #009ef9;
  background: #fff;
}

  .main-nav-menu__button_transparent:hover {
    background: #e7f1ff;
  }

.main-nav-menu__link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-align: center;
  line-height: 1;
  color: #009ef9;
}

.main-nav-menu__link_animation {
  transition: color 0.3s, transform 0.2s;
}

  .main-nav-menu__link_animation:hover {
    color: #007cc2;
    transform: scale(1.05);
  }

  .main-nav-menu__link_animation:active {
    transform: scale(0.95);
  }

.main-nav-menu__link_without_underline {
  text-decoration: none;
}


.main-nav-menu__link_white {
  color: #fff;
}

.main-nav-menu__separator {
  width: 1px;
  height: 20px;
  margin: 0 10px 0 10px;
  background: #c7c7c7;
}

.main-nav-menu__dropdown {
  position: relative;
  display: inline-block;
}

.main-nav-menu__dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 210px;
  height: 40px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  top: 35px;
  border-radius: 0 0 15px 15px;
}

  .main-nav-menu__dropdown-content a {
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
    align-content: center;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #009ef9;
    border-radius: 0 0 15px 15px;
  }

    .main-nav-menu__dropdown-content a:hover {
      background-color: #f1f1f1;
    }

.main-nav-menu__dropdown-toggle {
  cursor: pointer;
  user-select: none;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #009ef9;
}

.main-nav-menu__svg-help:hover path {
  fill: #007cc2;
}

.main-nav-menu__dropdown-toggle-icon {
  rotate: 180deg;
}
