@charset "UTF-8";
/* СБРОС СТИЛЕЙ */
/* Указываем box sizing */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul[class],
ol[class] {
  padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
  max-width: 100%;
  display: block;
}

/* Указываем понятную периодичность в потоке данных у article*/
article > * + * {
  margin-top: 1em;
}

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

button {
  cursor: pointer;
}

img, svg {
  display: block;
  height: auto;
}

/* Удаляем все анимации и переходы для людей, которые предпочитают их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Шрифт */
/* Стили для блоков */
body {
  background: #0a0a0a;
  font-family: "Inter", sans-serif;
}

.section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.container {
  max-width: 1004px;
  padding: 0 30px;
  width: 100%;
}

.header {
  padding: 24px 0;
}
.header__container {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.header__left {
  align-items: center;
  display: flex;
}
.header__left img {
  width: 100px;
  filter: drop-shadow(0 6px 50px rgba(243,63,63,.8));
}
.header__h1 {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 100%;
  margin-left: 8px;
}
.header__social-link {
  align-items: center;
  display: flex;
  text-decoration: none;
}
.header__social-link img {
  width: 20px;
}
.header__social-link span {
  color: #FFFFFF;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  margin-left: 8px;
}

.team {
  padding: 36px 0 80px;
}
.team__header {
  display: grid;
  grid-gap: 60px;
  grid-template-columns: 261px 1fr 77px 100px;
  margin-bottom: 12px;
}
.team__header span {
  color: #5C5C5C;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em;
}
.team__header span:nth-child(n+3) {
  text-align: right;
}
.team__block {
  display: grid;
  grid-gap: 40px;
  grid-template-columns: 201px 1fr;
}
.team__block + .team__block {
  margin-top: 32px;
}
.team__block:last-child .team__card:last-child {
  border-bottom: none;
}
.team__position-header {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.02em;
  margin-top: 21px;
}
.team__card {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-column-gap: 60px;
  grid-template-columns: 1fr 77px 100px;
  padding: 16px 0;
}
.team__info {
  align-items: center;
  display: grid;
  grid-gap: 24px;
  grid-template-columns: 56px 1fr;
}
.team__info img {
  border-radius: 4px;
  width: 56px;
}
.team__nickname {
  color: #FFFFFF;
  display: block;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 1px;
}
.team__position {
  color: #5C5C5C;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em;
}
.team__rebuke {
  color: #5C5C5C;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: -0.02em;
  text-align: right;
}
.team__rebuke span.active {
  color: #FFFFFF;
}
.team__activity {
  align-items: center;
  display: grid;
  justify-content: flex-end;
  grid-template-columns: repeat(2, auto);
}
.team__activity span:first-child {
  color: #FFFFFF;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: -0.02em;
}
.team__activity::after {
  content: "";
  height: 28px;
  width: 28px;
}
.team__activity.green span:first-child {
  color: #3DB960;
}
.team__activity.green::after {
  background: url("../img/activity_green.svg") no-repeat center;
  background-size: contain;
}
.team__activity.yellow span:first-child {
  color: #FFBC3B;
}
.team__activity.yellow::after {
  background: url("../img/activity_yellow.svg") no-repeat center;
  background-size: contain;
}
.team__activity.red span:first-child {
  color: #E13131;
}
.team__activity.red::after {
  background: url("../img/activity_red.svg") no-repeat center;
  background-size: contain;
}
.team__activity.blue span:first-child {
  color: #47DEFF;
}
.team__activity.blue::after {
  background: url("../img/activity_blue.svg") no-repeat center;
  background-size: contain;
}
.team__additional {
  display: none;
}

@media screen and (max-width: 840px) {
  .team {
    padding: 16px 0 60px;
  }
  .team__header {
    display: none;
  }
  .team__block {
    grid-gap: 16px;
    grid-template: repeat(2, auto)/1fr;
  }
  .team__position-header {
    margin-top: 0;
  }
  .team__card {
    background: #141313;
    border-radius: 8px;
    border-bottom: none;
    padding: 16px;
  }
  .team__card + .team__card {
    margin-top: 8px;
  }
  .team__activity {
    flex-wrap: wrap;
  }
  .team__additional {
    color: #5C5C5C;
    display: block;
    grid-column: 1 / -1;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-align: right;
    width: 100%;
    order: 1;
  }
}
@media screen and (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .team__card {
    grid-column-gap: 20px;
    grid-row-gap: 12px;
    grid-template: repeat(2, auto)/auto auto 1fr;
  }
  .team__info {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    grid-gap: 12px;
    grid-column: 1/-1;
    grid-template-columns: 1fr 40px;
    padding-bottom: 12px;
  }
  .team__text-info {
    order: -1;
  }
  .team__nickname {
    font-size: 16px;
    line-height: 20px;
  }
  .team__position {
    font-size: 14px;
    line-height: 18px;
  }
  .team__rebuke {
    font-size: 20px;
    text-align: left;
    order: 1;
  }
  .team__activity {
    display: grid;
    grid-template: repeat(2, auto)/repeat(2, auto);
    width: fit-content;
  }
  .team__activity span:first-child {
    font-size: 20px;
    width: fit-content;
  }
  .team__activity::after {
    height: 20px;
    width: 20px;
  }
  .team__additional {
    grid-column: 1/-1;
    width: fit-content;
  }
}
@media screen and (max-width: 480px) {
  .header {
    padding: 20px 0;
  }
  .header__left img {
    width: 78px;
  }
  .header__h1 {
    font-size: 18px;
    line-height: 20px;
  }
  .header__social-link img {
    width: 28px;
  }
  .header__social-link span {
    display: none;
  }

  .team {
    padding: 20px 0 60px;
  }
}

/*# sourceMappingURL=main.css.map */
