@charset "UTF-8";
/**
  Нормализация блочной модели
 */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  border: none;
  box-sizing: border-box;
}

::before,
::after {
  display: inline-block;
}

button {
  border: none;
  background-color: transparent;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-size: inherit;
}

html, body {
  min-block-size: 100%;
}

:where(address[class]) {
  font-style: normal;
}

/**
Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

ul li {
  list-style: none;
}

html {
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
}

/**
Плавный скролл
 */
html,
:has(:target) {
  scroll-behavior: smooth;
}

/**
Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
  display: inline-flex;
}

/**
Курсор-рука при наведении на элемент
 */
button,
label {
  cursor: pointer;
}

/**
Приводим к единому цвету svg-элементы
(за исключением тех, у которых уже указан
атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not([fill=none],
[fill^=url])) {
  fill: currentColor;
}

/**
Приводим к единому цвету svg-элементы
(за исключением тех, у которых уже указан
атрибут stroke со значением 'none')
 */
:where([stroke]:not([stroke=none],
[stroke^=url])) {
  stroke: currentColor;
}

/**
Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  transition-property: fill, stroke;
}

/**
Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

/**
Удаляем все анимации и переходы для людей,
которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --blue-gray-900: #0f172a;
  --purple-600: #9333ea;
  --purple-400: #c084fc;
  --blue-gray-900: #0f172a;
  --pink-700: #be185d;
  --orange-700: #c2410c;
  --font-family: "Roboto", sans-serif;
  --main-size: 1.125rem;
  --max-width-figma: 90rem;
  --container-width: 80rem;
  --container-padding-x: 0.9375rem;
  --main-colo-text: #333333;
  --orande-button-color: #F07C52;
  --green-button-color: #52AA7F;
}
@media (width <= 47.99875rem) {
  :root {
    --main-size: 1rem;
  }
}

.wrapper {
  min-block-size: 100%;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.wrapper > main {
  flex-grow: 1;
}

[class*=__container] {
  max-inline-size: calc(var(--container-width) + var(--container-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}

[class*=page__]:not(.page__hero) {
  padding-block: clamp(2.8125rem, 2.0833333333rem + 3.2407407407vw, 5rem);
}

.header__container {
  max-width: 64.375rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  -webkit-clip-path: inset(100%) !important;
          clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

@media (width <= 30rem) {
  .hidden-mobile--s {
    display: none !important;
  }
}

@media (width > 30rem) {
  .visible-mobile--s {
    display: none !important;
  }
}

@media (width > 47.99875rem) {
  .visible-mobile {
    display: none !important;
  }
}

.button {
  background: var(--purple-600);
  border-radius: 0.5rem;
  padding-inline: 2.5rem;
  padding-block: 1rem;
  text-align: center;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: #fff;
  transition: all 0.3s;
}
.button:hover {
  background: #3a0d64;
}
@media (width <= 61.99875rem) {
  .button {
    padding-inline: 0.9375rem;
  }
}
.button--min {
  font-size: 1rem;
  padding-inline: 1.75rem;
  padding-block: 0.75rem;
  line-height: 1.5;
}
.button--transparent {
  background-color: transparent;
}
.button--transparent:hover {
  background: var(--purple-600);
}
.button--white-border {
  padding-block: 0.875rem;
  background-color: transparent;
  border: 0.125rem solid #fff;
}

html, body {
  block-size: 100%;
}

body {
  font-size: var(--main-size);
  font-family: var(--font-family);
  background-color: var(--blue-gray-900);
  color: #fff;
}

main {
  flex-grow: 1;
}

#burger {
  width: 45px;
  height: 45px;
}

dialog {
  display: block;
  border-radius: 25px;
  text-align: center;
  transform: scale(0.2);
  opacity: 0;
  transition: all 0.5s linear;
  visibility: hidden;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

dialog[open] {
  transform: scale(1);
  opacity: 1;
  width: 78vw;
  height: 70dvh;
  visibility: visible;
  background: var(--orande-button-color);
  color: #fff;
  display: flex;
  gap: 30px;
  flex-direction: column;
  justify-content: center;
}

dialog::backdrop {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
}

body.scroll-block {
  overflow: hidden;
}

.header {
  padding-block: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 50;
}
@media (width <= 61.99875rem) {
  .header {
    padding-block: 0rem;
  }
}
.header__body {
  position: relative;
  z-index: 40;
  background: rgba(23, 30, 46, 0.9882352941);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: grid;
  -moz-column-gap: 2.875rem;
       column-gap: 2.875rem;
  align-items: center;
  grid-template-columns: auto 1fr auto;
}
@media (width <= 61.99875rem) {
  .header__body {
    padding: 0.9375rem;
    -moz-column-gap: 1.5625rem;
         column-gap: 1.5625rem;
  }
}
@media (width <= 47.99875rem) {
  .header__body {
    padding-block: 0.5rem;
    padding-inline-start: 1.5rem;
    padding-inline-end: 0.5rem;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}
.header__logo {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  transition: all 0.3s;
  position: relative;
  z-index: 50;
}
.header__logo:hover {
  color: var(--purple-600);
}
.header__actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1rem;
  align-items: center;
}
@media (width <= 61.99875rem) {
  .header__actions {
    -moz-column-gap: 0.625rem;
         column-gap: 0.625rem;
  }
}
@media (width <= 30rem) {
  .header__actions-button {
    display: none;
  }
}

@media (width <= 47.99875rem) {
  .menu {
    position: fixed;
    inset-inline-start: -100%;
    inset-block-start: 0;
    block-size: 100%;
    inline-size: 100%;
    overflow: auto;
    background-color: var(--blue-gray-900);
    padding-block-start: 6.5625rem;
    padding-inline: 0.9375rem;
    padding-block-end: 1.875rem;
    transition: all 0.3s;
  }
  .menu::before {
    position: fixed;
    content: "";
    z-index: 2;
    block-size: 4rem;
    inset-block-start: 0.9375rem;
    inset-inline-end: 0.9375rem;
    visibility: hidden;
  }
}
.menu__list {
  display: flex;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
  flex-wrap: wrap;
}
@media (width <= 61.99875rem) {
  .menu__list {
    -moz-column-gap: 1.25rem;
         column-gap: 1.25rem;
  }
}
@media (width <= 47.99875rem) {
  .menu__list {
    flex-direction: column;
    align-items: end;
    row-gap: 1.5625rem;
    padding-inline-end: 1.125rem;
  }
}
.menu__link {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.05px;
  transition: all 0.3s;
}
.menu__link:hover {
  color: var(--purple-600);
}

.menu-burger {
  display: none;
  background-color: transparent;
}
.menu-burger span, .menu-burger::before, .menu-burger::after {
  content: "";
  position: absolute;
  block-size: 0.25rem;
  border-radius: 0.1875rem;
  inline-size: 0.9375rem;
  background-color: #fff;
}
.menu-burger::before {
  inset-inline-start: 0.625rem;
  inset-block-start: 0.875rem;
}
.menu-burger::after {
  inset-inline-end: 0.625rem;
  inset-block-end: 0.875rem;
}
.menu-burger span {
  inset-inline-start: 50%;
  inset-block-start: 50%;
  transform: translate(-50%, -50%);
  inline-size: 1.75rem;
}
@media (width <= 47.99875rem) {
  .menu-burger {
    display: flex;
    inline-size: 3rem;
    aspect-ratio: 1/1;
    position: relative;
  }
}

.open-menu .menu {
  inset-inline-start: 0;
}

.open-menu .menu::before {
  visibility: visible;
}

.block-header {
  display: grid;
  gap: 1rem;
  justify-content: center;
}
.block-header--center {
  text-align: center;
}
.block-header__title {
  font-size: clamp(2.5rem, 1.8333333333rem + 2.962962963vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
}
@media (width <= 47.99875rem) {
  .block-header__title {
    line-height: 1.3;
  }
}
.block-header__text {
  font-weight: 400;
  line-height: 1.6;
}
@media (width <= 47.99875rem) {
  .block-header__text {
    line-height: 1.4;
  }
}
.block-header__label {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.block-header__link {
  padding-right: 2.1875rem;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  justify-self: start;
  position: relative;
  transition: all 0.3s;
}
@media (width <= 47.99875rem) {
  .block-header__link {
    justify-self: center;
  }
}
@media (width <= 30rem) {
  .block-header__link {
    font-size: 1.125rem;
  }
}
@media (any-hover: hover) {
  .block-header__link:hover {
    color: var(--pink-700);
  }
  .block-header__link:hover::after {
    right: 0.125rem;
  }
}
@media (any-hover: none) {
  .block-header__link:active {
    color: var(--pink-700);
  }
  .block-header__link:active::after {
    right: 0.125rem;
  }
}
.block-header__link::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-30%);
  right: 0rem;
  background: url("../../images/arrow.svg") no-repeat;
  width: 1.5rem;
  aspect-ratio: 1/1;
}

.text-decor {
  position: relative;
  padding-inline: 0px;
  display: inline-block;
}
.text-decor--under::after, .text-decor--top::before {
  content: "";
  position: absolute;
  left: 0;
  height: 0.3125rem;
  width: 96%;
  background: var(--purple-400);
}
@media (width <= 47.99875rem) {
  .text-decor--under::after, .text-decor--top::before {
    height: 0.1875rem;
  }
}
.text-decor--top::before {
  top: 20%;
  left: 0.3125rem;
  z-index: -1;
}
.text-decor--under::after {
  bottom: 0;
  z-index: 2;
}

.text-decor--purputLieght {
  color: var(--purple-400);
}

.color-purpur {
  color: var(--purple-600);
}

.text--redBorder {
  position: relative;
  display: inline-block;
}
.text--redBorder::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 7%;
  left: -4%;
  width: 95%;
  height: 85%;
  background: transparent;
  border: 0.1875rem solid var(--orange-700);
}

.text--redІquare {
  position: relative;
  display: inline-block;
}
.text--redІquare::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 7%;
  left: -4%;
  width: 25%;
  height: 85%;
  background: var(--pink-700);
}

.hero__block .block-header__text {
  max-width: 47.5rem;
  text-align: center;
}

.hero {
  text-align: center;
  padding-block-start: clamp(2.5rem, 1.1458333333rem + 6.0185185185vw, 6.5625rem);
}
.hero__img {
  margin-top: clamp(2.1875rem, 1.25rem + 4.1666666667vw, 5rem);
  max-width: 100%;
  border-radius: 20px;
}
.hero-header__title {
  text-align: center;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
@media (width <= 30rem) {
  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }
}
.hero__buttons a.button {
  display: flex;
  justify-content: center;
}

.companies__title {
  font-weight: 800;
  font-size: clamp(2.25rem, 1.8333333333rem + 1.8518518519vw, 3.5rem);
  opacity: 0;
  line-height: 1.1;
  text-align: center;
  margin-bottom: clamp(1.75rem, 0.6666666667rem + 4.8148148148vw, 5rem);
  transition: all 1s;
}
.companies__title.--animate {
  opacity: 1;
}
.companies__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 1.5rem;
}
.companies__img {
  transform: scale(0.3);
  opacity: 0;
}
.companies__img:nth-child(1) {
  transition: all 0s;
}
.companies__img:nth-child(2) {
  transition: all 0.2s;
}
.companies__img:nth-child(3) {
  transition: all 0.4s;
}
.companies__img:nth-child(4) {
  transition: all 0.6s;
}
.companies__img:nth-child(5) {
  transition: all 0.8s;
}
.companies__img.--animate {
  transform: scale(1);
  opacity: 1;
}

@media (width <= 47.99875rem) {
  .discover__container {
    text-align: center;
  }
}
.discover__title {
  text-align: left;
  font-size: 72px;
}
@media (width <= 61.99875rem) {
  .discover__title {
    font-size: 45px;
  }
}
@media (width <= 47.99875rem) {
  .discover__title {
    text-align: center;
    font-size: 40px;
  }
}
@media (width <= 30rem) {
  .discover__title {
    text-align: center;
    font-size: 36px;
  }
}
.discover__text {
  text-wrap: balance;
}
.discover__body {
  display: grid;
  grid-template-columns: 1fr 30%;
  align-items: center;
}
@media (width <= 61.99875rem) {
  .discover__body {
    gap: 2.5rem;
  }
}
@media (width <= 47.99875rem) {
  .discover__body {
    grid-template-columns: auto;
    justify-items: center;
  }
}
.discover__block {
  text-align: left;
  justify-content: start;
}
@media (width <= 47.99875rem) {
  .discover__block {
    text-align: center;
  }
}
.discover__img {
  transform: translateX(130%);
  transform: rotate(180deg);
  transition: all 0.5s;
}
.discover__img.--animate {
  transform: translateX(0%);
  transform: rotate(0deg);
}
.discover__img img {
  max-width: 100%;
}
@media (width <= 47.99875rem) {
  .discover__img {
    max-width: 13.9375rem;
  }
}

@media (width <= 47.99875rem) {
  .powerful__container {
    text-align: center;
  }
}
.powerful__body {
  display: grid;
  grid-template-columns: 37% 1fr;
  align-items: center;
  gap: 5rem;
}
@media (width <= 61.99875rem) {
  .powerful__body {
    gap: 2.5rem;
  }
}
@media (width <= 47.99875rem) {
  .powerful__body {
    grid-template-columns: auto;
    justify-items: center;
  }
}
.powerful__block {
  text-align: left;
  justify-content: start;
}
@media (width <= 47.99875rem) {
  .powerful__block {
    text-align: center;
  }
}
.powerful__title {
  font-size: 3.5rem;
}
@media (width <= 61.99875rem) {
  .powerful__title {
    font-size: 3rem;
  }
}
@media (width <= 47.99875rem) {
  .powerful__title {
    font-size: 2.5rem;
  }
}
.powerful__img img {
  border-radius: 1.25rem;
  max-width: 100%;
}

.testimotials {
  background: #581c87;
}
.testimotials__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 5rem;
}
@media (width <= 61.99875rem) {
  .testimotials__body {
    gap: 2.5rem;
  }
}
@media (width <= 47.99875rem) {
  .testimotials__body {
    grid-template-columns: auto;
    justify-items: center;
  }
}
@media (width <= 47.99875rem) {
  .testimotials-label {
    text-align: center;
  }
}
.testimotials__title {
  font-size: 3.5rem;
}
@media (width <= 61.99875rem) {
  .testimotials__title {
    font-size: 3rem;
  }
}
@media (width <= 47.99875rem) {
  .testimotials__title {
    font-size: 2.5rem;
    text-align: center;
  }
}
.testimotials__img img {
  max-width: 100%;
  border-radius: 1.25rem;
}

.block-user {
  display: grid;
  gap: 1rem;
}
@media (width <= 47.99875rem) {
  .block-user {
    justify-self: start;
  }
}
.block-user__text {
  line-height: 1.6;
  max-width: 24.0625rem;
}
.block-user__user {
  display: flex;
  gap: 1rem;
  align-items: start;
}
.block-user__info {
  align-self: center;
}
.block-user__name {
  line-height: 1.6;
}
.block-user__profes {
  font-size: 1rem;
  line-height: 1.4;
}

.events {
  background: white;
  color: #0f172a;
}
.events__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (width <= 47.99875rem) {
  .events__header {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
.events__title {
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1.1;
}
@media (width <= 61.99875rem) {
  .events__title {
    font-size: 2.875rem;
  }
}
@media (width <= 47.99875rem) {
  .events__title {
    font-size: 2.5rem;
    text-align: center;
  }
}
.events__link {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  flex-shrink: 0;
  color: var(--purple-600);
  background: url("../../images/arrow--purp.svg") right 0.3125rem no-repeat;
  padding-right: 1.875rem;
}
@media (any-hover: hover) {
  .events__link:hover {
    color: #560994;
  }
}
@media (any-hover: none) {
  .events__link:active {
    color: #560994;
  }
}
.events__items {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
}
.events__item {
  position: relative;
}

.item-event__link-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #6b21a8;
  background: #f3e8ff;
  border-radius: 4px;
  padding: 0.125rem 0.5rem;
  transition: all 0.3s;
}
@media (any-hover: hover) {
  .item-event__link-category:hover {
    color: #f3e8ff;
    background: #6b21a8;
  }
}
@media (any-hover: none) {
  .item-event__link-category:active {
    color: #f3e8ff;
    background: #6b21a8;
  }
}
.item-event__link-img {
  display: block;
}
.item-event__img {
  border-radius: 5px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 410/220;
}
.item-event__body {
  padding-top: 1.5rem;
}

.body-item__link-category {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
@media (any-hover: hover) {
  .body-item__link-category:hover {
    text-decoration: underline;
  }
}
@media (any-hover: none) {
  .body-item__link-category:active {
    text-decoration: underline;
  }
}
.body-item__link-title {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.1;
  transition: color 0.3s;
}
@media (any-hover: hover) {
  .body-item__link-title:hover {
    color: #6b21a8;
  }
}
@media (any-hover: none) {
  .body-item__link-title:active {
    color: #6b21a8;
  }
}
@media (width <= 47.99875rem) {
  .body-item__link-title {
    font-size: 1.5rem;
  }
}
.body-item::not(:last-child) {
  margin-bottom: 1.75rem;
}
@media (width <= 47.99875rem) {
  .body-item::not(:last-child) {
    margin-bottom: 1rem;
  }
}

.footer {
  border-top: 1px solid #cbd5e1;
  background: white;
  color: #0f172a;
}
.footer__body {
  padding-block: 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
}
@media (width <= 61.99875rem) {
  .footer__body {
    flex-wrap: wrap;
    -moz-column-gap: 1.875rem;
         column-gap: 1.875rem;
    row-gap: 2.5rem;
  }
}
.footer__logo {
  flex-basis: 13.125rem;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
}
@media (width <= 61.99875rem) {
  .footer__logo {
    text-align: center;
    flex-basis: 100%;
    display: inline-block;
  }
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.875rem;
  border-top: 1px solid #cbd5e1;
  padding-block: clamp(1.5625rem, 1.0833333333rem + 2.1296296296vw, 3rem);
}
@media (width <= 30rem) {
  .footer__bottom {
    justify-content: center;
  }
}
.footer__social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-footer {
  flex-basis: 13.125rem;
}
@media (width <= 30rem) {
  .nav-footer {
    text-align: center;
    flex-basis: 100%;
  }
}
.nav-footer__title {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.1;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.nav-footer__list {
  display: grid;
  gap: 1.5rem;
}
.nav-footer__link {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
}
@media (any-hover: hover) {
  .nav-footer__link:hover {
    text-decoration: underline;
  }
}
@media (any-hover: none) {
  .nav-footer__link:active {
    text-decoration: underline;
  }
}/*# sourceMappingURL=main.css.map */