html {
  box-sizing: border-box;
  background-color: var(--color-white);
  scroll-behavior: smooth;
}


@font-face {
  font-family: 'OpenSans';
  src: local('OpenSans-bold');
  src: url('../fonts/OpenSans-Bold.woff2') format('woff2'),
    url('../fonts/OpenSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenSans';
  src: local('OpenSans-regular');
  src: url('../fonts/OpenSans-Regular.woff2') format('woff2'),
    url('../fonts/OpenSans-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenSans';
  src: local('OpenSans-semibold');
  src: url('../fonts/OpenSans-SemiBold.woff2') format('woff2'),
    url('../fonts/OpenSans-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KyivTypeSans';
  src: local('KyivTypeSans-Bold2');
  src: url('../fonts/KyivTypeSans-Bold2.woff2') format('woff2'),
    url('../fonts/KyivTypeSans-Bold2.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KyivTypeSans';
  src: local('KyivTypeSans-Heavy2');
  src: url('../fonts/KyivTypeSans-Heavy2.woff2') format('woff2'),
    url('../fonts/KyivTypeSans-Heavy2.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'OpenSans', sans-serif;
  font-weight: normal;
  position: relative;
  min-width: 320px;
  background-color: var(--color-white);
}

:root {
  --bg-color: #FAFAFF;
  --title-color: #0C0D10;
  --descr-color: #202127;
  --text-hover-color: #4E46EB;
  --border-color: #C5C9E4;
  --text-light-color: #F0F2FF;
  --bg-hero-color: #141C42;
  --border-gray-color: #A5A5A5;
  --dot-color: #000;
  --white-color: #fff;
  --disabled-color: #888BA8;
  --gray-text-color: #5A6080;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-reset {
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.btn-reset:focus-visible {
  outline: 0;
}

.link-reset {
  text-decoration: none;
}

.link-reset:focus-visible {
  outline: 0;
}

.title-reset,
.descr-reset {
  margin: 0;
}

.title-main {
  font-family: 'KyivTypeSans';
  font-weight: 700;
  font-size: 46px;
  line-height: 55px;
  color: var(--title-color);
}

.container {
  min-width: 320px;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 370px;
  box-sizing: border-box;
}

.common__link {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  column-gap: 15px
}

.common__item {
  padding: 10px 0;
}

.common__item:not(:last-child) {
  border-bottom: 1px solid var(--border-color)
}

.common__link svg {
  min-width: 24px;
}

.common__link path {
  transition: stroke .3s ease-in-out;
}

.common__link span {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--descr-color);
  transition: color .3s ease-in-out;
}

.common__link:hover span,
.common__link:hover path {
  color: var(--text-hover-color);
  stroke: var(--text-hover-color);
}

.common__block {
  display: flex;
  padding-top: 60px;
  column-gap: 40px
}

.common__menu {
  min-width: 40%;
}

.common__list-content {
  min-width: 55%;
}

.common__list-menu {
  display: flex;
  justify-content: center;
  column-gap: 60px;
  border-bottom: 1px solid var(--border-color);
}

.menu-tabs__btn {
  padding-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
  color: var(--title-color);
  transition: color .3s ease-in-out;
}

.menu-tabs__btn:hover,
.menu-tabs__btn-active {
  color: var(--text-hover-color);
}

.tabs__item,
.menu-tabs__item {
  display: none;
}

.tabs__item-active {
  display: block;
}

.menu-tabs__item-active {
  display: flex;
}

.tabs__btn {
  transition: color .3s ease-in-out;
}

.tabs__btn:hover {
  color: var(--text-hover-color);
}

.menu-tabs__btn-active {
  color: var(--text-hover-color);
  border-bottom: 2px solid var(--text-hover-color);
}

.mold__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.mold__title {
  margin-bottom: 30px;
}

.mold__title-sm {
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 21px;
  line-height: 29px;
  color: var(--title-color);
  max-width: 70%;
}

.mold__descr {
  max-width: 70%;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--descr-color);
}

/* header */
.header {
  position: sticky;
  top: 0;
  margin: 0 auto;
  z-index: 100;
  background-color: var(--bg-color);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 11px;
  padding-bottom: 4px;
}

.header-logo {
  width: 50px;
  height: 50px;
}

.nav__list {
  display: flex;
  justify-content: space-between;
  column-gap: 55px;
}

.nav__item {
  position: relative;
  padding-top: 17px;
  padding-bottom: 20px;
}

.nav__btn {
  display: flex;
  align-items: center;
  outline: none;
  column-gap: 7px;
}

.nav__btn span,
.nav__link-news {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: var(--title-color);
  transition: color .3s ease-in-out;
}

.nav__btn svg {
  padding-top: 3px;
}

.nav__btn svg path {
  transition: fill .3s ease-in-out,
    transform .3s ease-in-out;
}

/* dropdown */
.nav__dropdown {
  position: absolute;
  bottom: 0;
  left: -20px;
  display: none;
  transform: translateY(100%);
  z-index: 65;
}

.nav__dropdown.is-active {
  display: block;
  animation-name: dropdownOpen;
  animation-duration: 0.4s;
}

.nav__dropdown.is-disabled {
  display: block;
  animation-name: dropdownClose;
  animation-duration: 0.4s;
}

@keyframes dropdownOpen {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes dropdownClose {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.dropdown__list {
  box-shadow: 0px 0px 20px rgba(24, 26, 31, 0.15);
  border-radius: 5px;
  position: relative;
  padding: 47px 37px;
  background-color: var(--bg-color);
  z-index: 65;
}

.dropdown__list::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 23px;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background-color: var(--bg-color);
  transform: rotate(45deg);
}

.dropdown__link {
  position: relative;
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  color: var(--descr-color);
  transition: color .3s ease-in-out;
}

.dropdown__item {
  margin-bottom: 20px;
}

.dropdown__item:last-child {
  margin-bottom: 0;
}

.header__link {
  position: relative;
}


/* footer */
.footer {
  padding-top: 70px;
  padding-bottom: 60px;
}

.footer__title {
  color: var(--title-color);
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
}

.footer__top {
  padding-bottom: 27px;
  border-bottom: 1px solid var(--border-color);
}

.footer__logo {
  width: 80px;
  height: 80px;
}

.footer__top,
.footer__list,
.footer__list-sub {
  display: flex;
  justify-content: space-between;
}

.footer__top {
  column-gap: 30px;

}

.footer__list {
  column-gap: 142px;
}

.footer__list-sub {
  flex-direction: column;
  row-gap: 15px;
  align-items: flex-start;
}

.footer__item-sub:first-child {
  margin-bottom: 7px;
}

.footer__item-sub-last {
  padding-top: 15px;
}

.footer__link {
  color: var(--descr-color);
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  white-space: nowrap;
  position: relative;
  transition: color .3s ease-in-out;
}

.footer__bottom {
  padding-top: 30px;
  max-width: 60%;
}

.footer__descr {
  color: var(--descr-color);
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  padding-top: 20px;
}

.footer__link-title {
  position: relative;
}

.footer__link-title .footer__title {
  transition: color .3s ease-in-out;
}

/* conditions */

.nav__btn:hover span,
.nav__link-news:hover {
  color: var(--text-hover-color);
}

.nav__btn:focus-visible,
.nav__link-news:focus-visible {
  outline: 1px solid var(--text-hover-color);
  outline-offset: 3px;
}

.nav__btn:hover svg path {
  fill: var(--text-hover-color);
}

.is-active svg {
  transform: rotate(180deg);
}

.is-active svg path {
  fill: var(--text-hover-color);
}

.is-active span {
  color: var(--text-hover-color)
}

.dropdown__link::before,
.header__link::before,
.footer__link::before,
.footer__link-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  outline: 1px solid var(--text-hover-color);
  outline-offset: 3px;
  opacity: 0;
  transition: outline .3s ease-in-out;
}

.dropdown__link:focus-visible,
.footer__link:focus-visible,
.footer__logo-link:focus-visible,
.header__link:focus-visible,
.footer__link-title:focus-visible {
  outline: 0;
}

.dropdown__link:focus-visible::before,
.header__link:focus-visible::before,
.footer__link:focus-visible::before,
.footer__link-title:focus-visible::before {
  opacity: 1;
}

.dropdown__link:hover {
  color: var(--text-hover-color);
}

.dropdown__link:active {
  border-bottom: 1px solid var(--text-hover-color);
}

.footer__link:hover,
.footer__link-title:hover .footer__title {
  color: var(--text-hover-color);
}

/* answers */

.answ {
  background-color: var(--text-light-color);
}

.answ__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.answ__title {
  font-weight: 700;
  font-size: 21px;
  line-height: 29px;
  color: var(--title-color);
  margin-bottom: 30px;
}

.answ__descr {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--descr-color);
}
