html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  background-color: transparent;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
  text-transform: inherit;
}

.disable-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.compensate-for-scrollbar {
  padding-right: 16px;
}

.menu {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.menu__item {
  position: relative;
  width: 199px;
  padding-top: 5px;
  margin-right: 35px;
  border-top: 2px solid rgba(0, 155, 142, 0.7);
  color: rgb(0, 0, 0);
  transition: all 0.5s;
}

.menu__item:hover {
  color: rgba(0, 155, 142, 1)
}


.menu__item:hover::after {
  opacity: 1;
  transform: rotateX(180deg);
}

.menu__item--active {
  color: #ffffff;
}

.menu__item--active::after {
  opacity: 1;
  transform: rotateX(180deg);
}

.menu__link {
  position: relative;
  z-index: 10;
  transition: all 0.5s;
}

.menu__link:hover {
  opacity: 0.5;
}

.menu__wrapper {
  position: absolute;
  left: 0;
  min-width: 204px;
  width: max-content;
  max-width: 810px;
  padding-top: 35px;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s ease-in-out;
  overflow: hidden;
  z-index: 1;
}

.menu__submenu {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  transform: translateY(-200%);
  transition: 0.4s ease-in-out;
}

.menu__wrapper--right {
  right: 0;
  left: auto;
}

.menu__wrapper--center {
  right: -150%;
  left: auto;
}

.menu__item:hover .menu__wrapper {
  visibility: visible;
  opacity: 1;
}

.menu__item:hover .menu__submenu {
  transform: translateY(0);
}

.menu__subitem {
  padding: 20px;
  margin-right: 2px;
  margin-bottom: 2px;
  width: 200px;
  height: 200px;
  color: #394854;
  background-color: rgba(255, 255, 255, 0.95);
  transition: all .3s ease-in-out;
  border-radius: 25px;
}

.menu__subitem:hover {
  background-color: rgba(0, 155, 142, 0.8);
  color: #FFFFFF;
}

.menu__subitem-title {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.menu__text {
  font-size: 12px;
}

.menu__text p+p {
  margin-top: 15px;
}