/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
  box-sizing: border-box;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Libraries, which is used in current project. */
/* Libraries, which is used in current project. */
/* Some styles, which is used for correct sprite-generation, vars, mixins and etc */
/* Please, do not edit with file! */
/* This file can be overwritten by update-project! */
/* Mixins, which are specific for current project */
/* Mixins and vars for sprite generation */
/* Scss for used fonts */
/* Vars, which are specific for current project */
/* Styles for UI-elements */
:root {
  --font-family: "Montserrat", sans-serif;
  --color-bg: #fff;
  --color-card-bg: #f5f3fb;
  --color-main: #000;
  --color-accent: #321CE8;
  --transition: .3s ease-out;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
  font-weight: 600;
  line-height: 1.1;
  font-family: var(--font-family);
}

a {
  outline: none;
  text-decoration: none;
  color: var(--color-main);
  -webkit-transition: var(--transition);
  transition: var(--transition);
}

.animate-it {
  opacity: 0;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
}
.animate-it:nth-child(2) {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
.animate-it:nth-child(3) {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}
.animate-it:nth-child(4) {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}
.animate-it_active {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
}

/* Common styles for current project */
html, body {
  height: 100%;
}

html {
  font-size: 16px;
}

body {
  background: var(--color-bg);
  color: var(--color-main);
  font-size: 1.25rem;
  font-family: var(--font-family);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-display: swap;
  font-variant-numeric: lining-nums;
}
@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }
}

.wrapper {
  width: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.container {
  max-width: 1616px;
  padding: 0 3rem;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 550px) {
  .container {
    padding: 0 1.25rem;
  }
}

.main .container {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  gap: 11.25rem;
}
@media (max-width: 768px) {
  .main .container {
    gap: 5rem;
  }
}

/*! Hero
----------------
 */
.hero {
  background: var(--color-accent);
  margin: 0 0 11.25rem;
  color: #fff;
  position: relative;
}
@media (max-width: 768px) {
  .hero {
    margin-bottom: 5rem;
  }
}
.hero__bg {
  position: absolute;
  right: 0;
  z-index: 1;
  bottom: 0;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
@media (max-width: 768px) {
  .hero__bg {
    display: none;
  }
}
.hero__bg img {
  position: absolute;
  bottom: 0;
  width: 1330px;
  height: 820px;
  min-width: 1330px;
  min-height: 820px;
  -webkit-transform: translateX(-20%);
          transform: translateX(-20%);
  left: 50%;
}
.hero__back {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding-top: 5rem;
}
@media (max-width: 550px) {
  .hero__back {
    padding-top: 2.5rem;
  }
  .hero__back svg {
    height: 1.5rem;
    width: auto;
  }
}
.hero__arrow {
  margin: 0 0 3.5rem;
  position: relative;
  z-index: 2;
}
.hero__arrow:hover {
  opacity: 0.7;
}
.hero__tags {
  position: absolute;
  left: 0;
  bottom: 0;
  padding-bottom: 6.25rem;
  width: 100%;
}
@media (max-width: 768px) {
  .hero__tags {
    padding: 0;
    position: initial;
  }
}
.hero__tags-list {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 3;
}
.hero__tags-item {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  border-radius: 35px;
  height: 42px;
  padding: 0 1.875rem;
  color: #fff;
  border: 1px solid #fff;
  font-size: 1.125rem;
  background: none;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  font-family: var(--font-family);
}
@media (max-width: 550px) {
  .hero__tags-item {
    height: 36px;
    font-size: 0.875rem;
  }
}
.hero__tags-item:hover, .hero__tags-item_current {
  background: #fff;
  color: var(--color-main);
}
.hero__slide {
  padding: 11.563rem 0 6.25rem;
  position: relative;
}
@media (max-width: 550px) {
  .hero__slide {
    padding: 6rem 0 1.25rem;
  }
}
.hero__block {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  max-width: 640px;
  min-height: 574px;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .hero__block {
    min-height: initial;
  }
}
.hero h1 {
  font-size: 4rem;
  margin: 0 0 1.875rem;
}
@media (max-width: 550px) {
  .hero h1 {
    font-size: 2.125rem;
    margin: 0 0 1.25rem;
  }
}
.hero__text {
  font-size: 1rem;
}
.hero__pics {
  display: none;
  padding-top: 2.875rem;
}
.hero__pics img {
  width: 100%;
}
@media (max-width: 768px) {
  .hero__pics {
    display: block;
  }
}

/*! About
----------------
 */
.about h2 {
  font-size: 2.25rem;
  -webkit-box-flex: 0;
          flex: none;
}
.about__grid {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 768px) {
  .about__grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }
}
@media (max-width: 550px) {
  .about__grid {
    gap: 1.875rem;
  }
}
.about__text {
  max-width: 870px;
  line-height: 1.2276;
}
@media (max-width: 768px) {
  .about__text {
    line-height: 1.5;
  }
}
.about__text p {
  margin: 0;
}
.about__text p:not(:last-child) {
  margin-bottom: 1.5rem;
}

/*! Section
----------------
 */
.section__top {
  margin: 0 0 5rem;
}
@media (max-width: 768px) {
  .section__top {
    margin: 0 0 1.875rem;
  }
}
.section h2 {
  font-size: 3.5rem;
}
@media (max-width: 768px) {
  .section h2 {
    font-size: 1.875rem;
  }
}
.section__note {
  margin-top: 2.5rem;
}
@media (max-width: 768px) {
  .section__note {
    margin-top: 1.875rem;
  }
}
.section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (max-width: 768px) {
  .section__grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .section__grid_small-gap {
    gap: 1.25rem;
  }
}
.section__item {
  display: -webkit-box;
  display: flex;
  gap: 1.25rem;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  height: 100%;
}
.section__item_full {
  grid-column: 1/-1;
}
.section__pic {
  background: var(--color-card-bg);
  position: relative;
  padding: 3.25rem;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  height: 100%;
  -webkit-box-pack: center;
          justify-content: center;
}
@media (max-width: 550px) {
  .section__pic {
    padding: 1.5rem;
    height: initial;
  }
}
.section__pic_top {
  -webkit-box-align: start;
          align-items: flex-start;
  padding-top: 0;
}
.section__pic_bottom {
  padding-bottom: 0;
  -webkit-box-align: end;
          align-items: flex-end;
}
.section__text_min {
  min-height: 90px;
}
@media (max-width: 550px) {
  .section__text_min {
    min-height: initial;
  }
}
.section__label {
  font-size: 2.25rem;
  font-weight: 600;
}
@media (max-width: 550px) {
  .section__label {
    font-size: 1.25rem;
    margin-bottom: -10px;
  }
}

/*! TV
----------------
 */
.tv {
  text-align: center;
}
.tv h2 {
  margin: 0 0 5rem;
  font-size: 3.5rem;
}
@media (max-width: 768px) {
  .tv h2 {
    margin: 0 0 1.875rem;
    font-size: 1.875rem;
  }
}
.tv__image {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  margin: 0 0 3.75rem;
}
.tv h3 {
  margin: 0 0 1.25rem;
  font-size: 2.25rem;
}
@media (max-width: 768px) {
  .tv h3 {
    font-size: 1rem;
  }
}
.tv__note {
  letter-spacing: -0.02em;
  color: #2a2a3c;
  line-height: 1.6;
  font-size: 1.375rem;
}
@media (max-width: 768px) {
  .tv__note {
    font-size: 1rem;
  }
}

/*! Image
----------------
 */
.image {
  margin: 11.25rem 0;
}
@media (max-width: 768px) {
  .image {
    margin: 5rem 0;
  }
}
@media (max-width: 550px) {
  .image_no-top-mobile {
    margin-top: 0;
  }
}
.image img, .image video {
  display: block;
  height: auto;
  width: 100%;
}

/*! Project
----------------
 */
.project__grid {
  gap: 4rem;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
}
@media (max-width: 1024px) {
  .project__grid {
    gap: 2.5rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }
}
.project__about {
  -webkit-box-flex: 0;
          flex: none;
}
.project__about h2 {
  font-size: 2.25rem;
  margin: 0 0 1.875rem;
}
.project__people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.875rem;
  grid-row-gap: 1.25rem;
}
@media (max-width: 550px) {
  .project__people {
    gap: 1.875rem;
    grid-template-columns: repeat(1, 1fr);
  }
}
.project__text {
  font-weight: 600;
  font-size: 2.75rem;
  -webkit-box-flex: 1;
          flex: auto;
  max-width: 870px;
  line-height: 1.2276;
}
@media (max-width: 1024px) {
  .project__text {
    font-size: 2rem;
  }
}
@media (max-width: 550px) {
  .project__text {
    font-size: 1.75rem;
  }
}

/*! QA
----------------
 */
.qa {
  padding: 5.625rem 0;
  margin-top: 11.25rem;
  background: #f5f5f5;
  text-align: center;
}
@media (max-width: 768px) {
  .qa {
    margin-top: 5rem;
    padding: 3.5rem 0;
  }
}
.qa a {
  color: var(--color-main);
  font-size: 3.438rem;
  line-height: 0.8;
  font-weight: 600;
  display: table;
  margin: 1.875rem auto 0;
}
@media (max-width: 768px) {
  .qa a {
    font-size: 2.5rem;
  }
}
@media (max-width: 550px) {
  .qa a {
    margin-top: 1rem;
    font-size: 2rem;
  }
}
.qa a:hover {
  color: var(--color-accent);
}

/* Plugins, which is used in current project. */
/* Components, which is used in current project. */
/*! Footer
-------------------
 */
.footer {
  padding: 3.75rem 0;
}
@media (max-width: 550px) {
  .footer {
    padding: 2.5rem 0;
  }
}
.footer__nav {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
}
@media (max-width: 550px) {
  .footer__nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }
}
.footer__column {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  gap: 2.5rem;
}
.footer__block {
  padding: 1.25rem 0;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  gap: 1.25rem;
}
@media (max-width: 550px) {
  .footer__block {
    padding: 0;
  }
}
.footer__label {
  color: var(--color-main);
  font-weight: bold;
  font-size: 1.063rem;
}
.footer__label a {
  color: var(--color-main);
}
.footer__label a:hover {
  color: var(--color-accent);
}
.footer__menu {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  gap: 1.25rem;
}
.footer__links {
  color: var(--color-main);
}
.footer__links:hover {
  color: var(--color-accent);
}
.footer__bottom {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
          align-items: center;
  margin-top: 5rem;
}
.footer__together-label {
  font-weight: bold;
  opacity: 0.3;
  margin: 0 0 0.5rem;
  font-size: 1.063rem;
}
.footer__together-list {
  display: -webkit-box;
  display: flex;
  gap: 0.5rem;
}
.footer__together-item:hover {
  opacity: 0.7;
}