.topheader {
  box-shadow: 0 4px 5px var(--shadow-color);
  position: fixed;
  background-color: var(--menu-background-color);
  left: 0;
  top: 0;
  width: 100%;
  z-index: 100;
  height: 12vh;
  padding: 0.5vh 4vw;
  box-sizing: border-box;
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  width: 30vh;
}

.headerLogo {
  width: 25vh;
  height: 10vh;

}

.pulse-effect {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  padding: 0 0px;
  transition: ease 0.3s;
  animation: call-logo-effect 2s infinite;
  height: 4vh;
  gap: 0 1vw;
  padding: 0 2vh;
}

.pulse-effect:hover {
  animation: call-logo-effect-hover 1s infinite;
  font-size: 1.3rem;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 2vw;
  gap: 10vh;
  box-sizing: border-box;
}

.menu li {
  padding: 0 15px;
}

.menu a {
  color: var(--menu-text-color);
  font-size: 18px;
  font-weight: 500;
  line-height: 50px;
  text-transform: uppercase;
  position: relative;
}

.menu a::after {
  content: "";
  background-color: var(--secundary-color);
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  width: 100%;
  height: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}

.menu a.selected::after,
.menu a:hover::after {
  opacity: 0.8;
}

.menu a:hover {
  color: var(--secondary-color);
}

.open-menu,
.close-menu {
  display: none;
}

.logotype {
  color: var(--primary-color);
  font-size: 10px;
  position: absolute;
  top: 72%;
  left: 16.5vh;
}

@keyframes call-logo-effect {
  0% {
    box-shadow: 0 0 0 0 rgba(214, 238, 0, 0.8);
  }

  100% {
    box-shadow: 0 0 0 2vh rgba(0, 0, 0, 0);
  }
}

@keyframes call-logo-effect-hover {
  0% {
    box-shadow: 0 0 0 0 rgba(43, 165, 57, 0.8);
  }

  100% {
    box-shadow: 0 0 0 2vh rgba(0, 0, 0, 0);
  }
}

@media (max-width: 950px) {
  .menu {
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    align-items: center;
    background-color: var(--menu-background-color);
    height: 100%;
    overflow-y: auto;
    padding: 20px 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .menu li {
    padding: 0;
  }

  .pulse-effect {
    width: 60vw;
    height: 6vh;
    gap: 0 4vw;
  }

  .menu a {
    color: var(--menu-text-color);
    line-height: 70px;
    font-size: 25px;
  }

  .open-menu,
  .close-menu {
    display: block;
    border: none;
    background: none;
    cursor: pointer;
  }

  .close-menu {
    align-self: flex-end;
    padding: 40px 15px;
  }

  .menu_opened {
    opacity: 1;
    pointer-events: all;
  }

  .open-menu:focus:not(:focus-visible),
  .close-menu:focus:not(:focus-visible) {
    outline: none;
  }

  .menu a::after {
    content: none;
  }

  .menu a:hover,
  .menu a.selected {
    color: var(--secundary-color);
  }
}