/* ==========================================================================
   #ROOT / ПЕРЕМЕННЫЕ
   ========================================================================== */

:root {
  /* переменные подключаются отдельным файлом variables.css */
}

/* ==========================================================================
   #SITE TITLE
   ========================================================================== */

.siteTitle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  min-height: 850px;
  max-height: 930px;
  background: rgb(41, 155, 253) url(../images/title.png) 50% 50% / cover no-repeat;

  /* фикс pageNav */
  margin-bottom: 30px;
}

/* ==========================================================================
   #PAGE NAV
   ========================================================================== */

.container__pageNav {
  position: relative;
  transition: color 0.2s ease 0.2s;
}

.container__pageNav.pageNav__opened {
  color: #fff;
  transition: color 0.2s ease;
}

.pageNav {
  padding: 60px 0 40px;
  box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: -30px;
  background: #fff;
}

.pageNav__bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  margin-bottom: -30px;
  background: linear-gradient(45deg, #0da481 0%, #0da481 30%, #92d061 70%, #92d061 100%);
}

.pageNav__ul {
  display: flex;
  justify-content: space-around;
  margin: 0 15px;
  z-index: 2;
  position: relative;
}

.pageNav__li {
  margin: 10px;
  font-size: 1.25em;
  font-weight: 500;
}

.pageNav__menu {
  position: absolute;
  bottom: 100%;
  z-index: 4;
}

.pageNav__menu [data-menu-block-name] {
  display: none;
  max-width: 1260px;
  color: #fff;
  padding: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease 0.1s;
}

.pageNav__menu [data-menu-block-name] ul {
  columns: 2;
  column-gap: 50px;
  margin-top: 100px;
}

.pageNav__menu [data-menu-block-name] ul li {
  padding: 5px 0;
}

.\--active[data-menu-block-name] {
  opacity: 1;
  transform: translateY(0);
}

.pageNav__indicator {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  top: 40px;
  z-index: 2;
}

.pageNav__indicator-slider {
  width: 0;
  height: 3px;
  transition: all 0.3s ease;
  position: relative;
  background: #fff;
}

/* ==========================================================================
   #PANELS
   ========================================================================== */

.panels {
  width: 1230px;
  height: 1000px;
  position: relative;
  flex-shrink: 0;
}

.panel {
  position: absolute;
  box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: all 0.56s ease;
}

.panel__content {
  display: none;
  position: relative;
  overflow: hidden;
}

.panel__blackBlock {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 1;
  transition: all 0.4s ease;
  background-color: rgb(0, 0, 0);
  opacity: 0;
}

.panel__blackBlock.\--top-left {
  top: 0;
  left: 0;
  border-radius: 0 0 100000px 0;
}

.panel__blackBlock.\--top-right {
  top: 0;
  right: 0;
  border-radius: 0 0 0 100000px;
}

.panel__blackBlock.\--bottom-left {
  bottom: 0;
  left: 0;
  border-radius: 0 100000px 0 0;
}

.panel__blackBlock.\--bottom-right {
  bottom: 0;
  right: 0;
  border-radius: 100000px 0 0 0;
}

.panel__backgroundBlock {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.panel__texts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.13s ease;
  color: #fff;
  padding: 30px;
}

.panel__texts .blockName {
  margin: 0.25em 0;
}

.panel__texts p {
  font-size: 0.875em;
  margin: 0.25em 0;
}

.panel__texts hr {
  height: 1px;
  background: #fff;
  width: 100%;
  border: none;
  opacity: 0.4;
}

.panel--active .panel__backgroundBlock {
  opacity: 1;
}

.panel--active .panel__blackBlock {
  opacity: 0.7;
  width: 150%;
  height: 150%;
}

.panel--active .panel__texts {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.13s ease 0.3s;
}

/* ==========================================================================
   #PANEL GRID UTILITIES
   ========================================================================== */

.left-x-4 { left: -411.66668px; }
.left-x-3 { left: -308.75001px; }
.left-x-2 { left: -205.83334px; }
.left-x-1 { left: -102.91667px; }
.left-x0  { left: 0; }
.left-x1  { left: 102.91667px; }
.left-x2  { left: 205.83334px; }
.left-x3  { left: 308.75001px; }
.left-x4  { left: 411.66668px; }
.left-x5  { left: 514.58335px; }
.left-x6  { left: 617.50002px; }
.left-x7  { left: 720.41669px; }
.left-x8  { left: 823.33336px; }
.left-x9  { left: 926.25003px; }
.left-x10 { left: 1029.1667px; }
.left-x11 { left: 1132.08337px; }

.top-x-4 { top: -411.66668px; }
.top-x-3 { top: -308.75001px; }
.top-x-2 { top: -205.83334px; }
.top-x-1 { top: -102.91667px; }
.top-x0  { top: 0; }
.top-x1  { top: 102.91667px; }
.top-x2  { top: 205.83334px; }
.top-x3  { top: 308.75001px; }
.top-x4  { top: 411.66668px; }

.width-x1 { width: 97.91667px; }
.width-x2 { width: 200.83334px; }
.width-x3 { width: 303.75001px; }
.width-x4 { width: 406.66668px; }
.width-x5 { width: 509.58335px; }
.width-x6 { width: 612.50002px; }

.height-x1 { height: 97.91667px; }
.height-x2 { height: 200.83334px; }
.height-x3 { height: 303.75001px; }
.height-x4 { height: 406.66668px; }
.height-x5 { height: 509.58335px; }
.height-x6 { height: 612.50002px; }

.panels.height-x1 { height: 107.91667px; }
.panels.height-x2 { height: 210.83334px; }
.panels.height-x3 { height: 313.75001px; }
.panels.height-x4 { height: 416.66668px; }
.panels.height-x5 { height: 519.58335px; }
.panels.height-x6 { height: 622.50002px; }

/* ==========================================================================
   #BENEFITS
   ========================================================================== */

.benifits {
  display: flex;
  justify-content: space-between;
  padding-bottom: 7px;
}

.benifit {
  display: flex;
  align-items: center;
  color: #fff;
  transition: all 0.2s ease;
}

.benifit__text {
  font-weight: 900;
  font-size: 1.125em;
  background: linear-gradient(0deg, currentColor, currentColor) bottom left no-repeat;
  background-size: 0 1px;
  transition: background-size 0.3s ease;
}

.benifit__image svg {
  height: 70px;
  fill: currentColor;
}

.benifit--events .benifit__image {
  padding-left: 14px;
}

.benifit--events:hover .benifit__text {
  background-size: 100% 1px;
}

/* ==========================================================================
   #PANEL CONTENT (FULL PAGE)
   ========================================================================== */

.panelContent {
  display: flex;
  height: 100vh;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: auto 75%;
}

.panelContent_group {
  margin-top: 100px;
  width: 38%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.panelContent_group.panelContent_group--large {
  width: auto;
}

.panelContent_title {
  margin: 20px 0;
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}

.panelContent_subTitle {
  margin: 20px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

.panelContent_description {
  margin: 20px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
  color: #fff;
}

.panelContent_more {
  margin-top: 30px;
  color: #fff;
}

.panelContent_more a {
  color: #ffea00;
}

/* ==========================================================================
   #PANEL BG (SMALL CARD)
   ========================================================================== */

.panel__bg {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  background: linear-gradient(45deg, #0da481 0%, #0da481 30%, #92d061 70%, #92d061 100%);
}

.panel__bg:hover .panel__icon {
  transform: scale(1.1);
}

.panel__bg:hover .panel__title span {
  background-size: 100% 1px;
}

.panel__icon {
  width: 80px;
  height: 80px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

.panel__icon svg {
  width: 80px;
  height: 80px;
}

.panel__title {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.panel__title span {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* ==========================================================================
   #PANELS MOBILE
   ========================================================================== */

.panelsMobile {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px 20px;
}

.panelsMobile .panel {
  flex-basis: 30%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 5px;
  padding: 25px;
  position: static;
}

.panelsMobile .panel__icon {
  flex: none;
  width: 55px;
  height: 55px;
  margin-bottom: 20px;
  position: static;
}

@media (max-width: 478px) {
  .mobile .panelsMobile .panel {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
  }

  .mobile .panelsMobile .panel__icon {
    width: 50px;
    height: 50px;
    margin: 0;
    margin-right: 20px;
  }
}

/* ==========================================================================
   #BALL CLICK (VIDEO MODAL)
   ========================================================================== */

[data-ball-click] > div {
  width: 100vw;
  height: 100vh;
  position: relative;
  left: 0;
  top: 0;
}

[data-ball-click] {
  position: fixed;
  overflow: hidden;
  left: 0;
  top: 0;
  display: none;
  border-radius: 10000px;
  z-index: 10;
}

[data-ball-click] .container {
  position: relative;
}

[data-ball-close] {
  color: #fff;
  position: absolute;
  right: 15px;
  top: 120px;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  border: 3px solid currentColor;
  transition: color 0.12s ease;
  cursor: pointer;
}

[data-ball-close]:hover {
  color: rgba(255, 255, 255, 0.7);
}

[data-ball-close]::before,
[data-ball-close]::after {
  content: '';
  width: calc(100% - 12px);
  height: 3px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background: currentColor;
}

[data-ball-close]::before {
  transform: rotate(45deg);
}

[data-ball-close]::after {
  transform: rotate(-45deg);
}

[data-ball-click] .video {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

[data-ball-click] .video__progress {
  z-index: 100;
  position: fixed;
  bottom: 0;
  height: 10px;
  background: #fff;
  width: 100%;
  cursor: pointer;
}

[data-ball-click] .video__progress-actual {
  height: 100%;
  position: relative;
  background: #ffae00;
  width: 0%;
}

[data-ball-click] .video__controls {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  align-items: center;
}

[data-ball-click] .video__controls > * {
  margin: 10px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.19s ease;
}

[data-ball-click] .video__controls > *:hover {
  opacity: 1;
}

[data-ball-click] .video__stop {
  width: 30px;
  height: 30px;
  background: url(../images/icon-pause1.svg) 50% 50% / contain no-repeat;
}

[data-ball-click] .video__stop.video__stop--stopped {
  background: url(../images/icon-play1.svg) 50% 50% / contain no-repeat;
}

[data-ball-click] .video__mute {
  position: relative;
  width: 30px;
  height: 30px;
  background: url(../images/icon-mute1.svg) 50% 50% / contain no-repeat;
}

[data-ball-click] .video__mute::after {
  content: '';
  width: 0%;
  height: 1px;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  transform: rotate(-45deg);
  transition: all 0.3s ease;
}

[data-ball-click] .video__mute.video__mute--muted {
  opacity: 1;
}

[data-ball-click] .video__mute.video__mute--muted::after {
  width: 120%;
}

[data-ball-click] .video__time {
  color: #fff;
}

[data-ball-click] .video__time .video__actualTime-minutes,
[data-ball-click] .video__time .video__actualTime-seconds,
[data-ball-click] .video__time .video__fullTime-minutes,
[data-ball-click] .video__time .video__fullTime-seconds {
  width: 21px;
  display: inline-block;
}

/* ==========================================================================
   #CATEGORIES
   ========================================================================== */

.categories {
  height: 520px;
  margin-top: 120px;
  margin-bottom: 80px;
  display: flex;
  position: relative;
}

@media (max-width: 660px) {
  .categories {
    height: 630px;
  }
}

.categories__image {
  
  position: relative;
  
  width: calc(33.33333% - 15px);
  z-index: 4;
  height: 100%;
  box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.25);
}

.categories__cardsContainer {
  position: relative;
  height: 100%;
  width: calc(66.66667% + 15px);
}

.category {
  width: 100%;
  height: 100%;
  padding: 0 50px;
  transition: all 0.6s ease;
  color: #fff;
}

.category__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transition: all 0.9s ease;
}

.category__close {
  width: 50px;
  height: 50px;
  position: absolute;
  cursor: pointer;
  right: 40px;
  top: 40px;
  z-index: 5;
}

.category__close::before,
.category__close::after {
  content: '';
  width: 100%;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: rgba(255, 255, 255, 1);
  transition: width 0.1s ease-in-out;
}

.category__close::before {
  transform: rotate(45deg);
}

.category__close::after {
  transform: rotate(-45deg);
}

.category__close:hover::before,
.category__close:hover::after {
  width: 80%;
}

.category__otherCategories {
  z-index: 4;
  position: relative;
}

.category__otherCategories-indicator {
  height: 9px;
  width: 60px;
  background: #fff;
}

.category__otherCategories-items {
  margin: 40px 0;
  display: flex;
}

.category__otherCategories-items li {
  transition: transform 0.3s ease, fill 0.14s ease;
  transform: scale(0.9);
  cursor: pointer;
  margin-right: 15px;
}

.category__otherCategories-items li svg {
  fill: #fff;
}

.category__otherCategories-items li.active:nth-child(1) svg { fill: #005c9d; }
.category__otherCategories-items li.active:nth-child(2) svg { fill: #f05805; }
.category__otherCategories-items li.active:nth-child(3) svg { fill: #438862; }
.category__otherCategories-items li.active:nth-child(4) svg { fill: #760c88; }

.category__otherCategories-items li:hover,
.category__otherCategories-items li.active {
  transform: scale(1);
}

.category__head {
  margin: 60px 0 40px;
  opacity: 1;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.category__head--animate {
  opacity: 1;
  transform: translateX(0);
}

.category__text {
  line-height: 1.4em;
  opacity: 1;
  transform: translateY(20px);
  transition: all 0.3s ease 0.2s;
}

.category__text a {
  text-decoration: underline;
}

.category__text--animate {
  opacity: 1;
  transform: translateY(0);
}

.category__bg::before,
.category__bg::after {
  position: absolute;
  top: 0;
  left: 0;
}

/*.category--business { background: linear-gradient(45deg, #0498d5, #00b4ff); }*/
/*.category--tech     { background: linear-gradient(45deg, #fd9d14, #ffb142); }*/
/*.category--student  { background: linear-gradient(45deg, #3bcf56, #59e472); }*/
/*.category--gos      { background: linear-gradient(45deg, #d654fc, #df72ff); }*/

.category__titleCards {
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.category__card {
  float: left;
  width: 50%;
  height: 174px;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #fff;
  cursor: pointer;
}

.category__card:hover svg {
  fill: #fff;
  transform: scale(0.9);
}

.category__card svg {
  transform: scale(0.8);
  transition: transform 0.3s ease, fill 0.14s ease;
}

/*.category__card.category--business { fill: #005c9d; }*/
/*.category__card.category--gos      { fill: #760c88; }*/
/*.category__card.category--tech     { fill: #f05805; }*/
/*.category__card.category--student  { fill: #438862; }*/

/* ==========================================================================
   #NEWS
   ========================================================================== */

.news {
  /*margin-top: 100px;*/
  margin-top: 0;
  margin-bottom: 100px;
}

/* ==========================================================================
   #EVENTS
   ========================================================================== */

.events {
  margin-top: 60px;
  margin-bottom: 60px;
}

.events .sectionName {
  margin-bottom: 25px;
  color: #009cff;
  font-size: 36px;
}

/* ==========================================================================
   #MOBILE SITE TITLE
   ========================================================================== */

.mobile .siteTitle--mobile {
  background-color: rgb(41, 155, 253);
  background-image: url(../images/title.png);
  background-position: left top;
  background-size: auto;
  background-repeat: repeat;
}

.mobile .siteTitle--mobile .mainPage__headerMobile .headerMobile {
  background-size: auto;
  background-position: left top;
  background-repeat: repeat;
}

.mobile .siteTitle--mobile .headerMobile {
  height: auto;
  padding: 0;
}

.mobile .siteTitle--mobile .mainPage__headerMobile .siteHeader__ifFixedHeader {
  height: 100px;
}

/* ==========================================================================
   #MEDIA QUERIES
   ========================================================================== */

@media (max-width: 991px) {
  .mobile .category {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mobile .categories__image {
    display: none;
  }

  .mobile .categories__cardsContainer {
    width: 100%;
  }

  .mobile .category__card-head {
    font-weight: 600;
  }

  .mobile .category__head {
    margin-top: 0;
  }

  .mobile .category__close {
    top: 10px;
    right: 10px;
  }

  .mobile .categories {
    margin-top: 60px;
    margin-bottom: 60px;
    padding-left: 30px;
    padding-right: 30px;
    overflow: hidden;
  }

  .mobile .category {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .mobile .category__card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mobile .category__card .blockName {
    font-size: 20px;
  }

  .mobile .category__otherCategories {
    height: 125px;
  }

  .mobile .category__dinamic {
    height: 372px;
    margin: 0 -20px;
    padding-top: 10px;
  }

  .mobile .category__dinamic > div {
    padding: 5px 20px 20px;
    overflow-y: auto;
  }

  .mobile .category__otherCategories-items {
    padding-right: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .mobile .category__otherCategories-items li svg {
    max-width: 100%;
  }

  .mobile .news {
    /*margin-top: 70px;*/
    margin-bottom: 70px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .events {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 660px) {
  .mobile .category__card {
    float: none;
    width: 100%;
    height: 105px;
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 10px;
  }

  .mobile .category__card svg {
    flex: none;
    height: 70px;
    width: 70px;
    margin-right: 5px;
  }

  .mobile .category__card-head {
    font-size: 16px;
  }

  .mobile .category__close {
    width: 40px;
    height: 40px;
  }

  .mobile .category__head {
    margin: 0;
    margin-bottom: 10px;
  }

  .mobile .category__dinamic {
    height: 482px;
  }
}

@media (max-width: 478px) {
  .mobile .categories {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .mobile .category__head {
    font-size: 20px;
  }

  .mobile .category__card .blockName {
    font-size: 17px;
    margin: 0;
  }

  .mobile .category__otherCategories-indicator {
    display: none;
  }

  .mobile .category__otherCategories-items {
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 250px;
  }

  .mobile .category__otherCategories-items li {
    width: 33%;
    display: flex;
    justify-content: flex-start;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .mobile .category__otherCategories-items li svg {
    height: 30px;
    width: 30px;
  }

  .mobile .category__text {
    font-size: 14px;
  }

  .mobile .news {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-left: 0;
    padding-right: 0;
  }

  .events {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
  }
}