@import url("https://fonts.googleapis.com/css2?family=Comfortaa");

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/lato/latoregular.ttf") format("truetype"),
    url("../fonts/lato/latoregular.woff") format("woff"),
    url("../fonts/lato/latoregular.woff2") format("woff2");
}

@-ms-viewport {
  width: device-width;
}

html {
  box-sizing: border-box;
}

body {
  -ms-overflow-style: scrollbar;
  margin: 0;
  padding: 0;
}

/* Typography */
html {
  font-family: Lato;
  font-size: 11pt;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0.03em;
}

h1 {
  font-family: Comfortaa;
  font-style: normal;
  font-weight: normal;
  font-size: 52px;
  line-height: 135%;
  letter-spacing: 0.05em;

  margin: 0;
}

h2 {
  font-family: Comfortaa;
  font-style: normal;
  font-weight: bold;
  font-size: 1.5em;

  margin: 0;
}

h3 {
  font-family: Comfortaa;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 110%;
}

/* Main Content */
body {
  background-color: #fafafa;
  color: #313131;
  height: 100%;
}

.px_wrapper {
  height: 100vh;
  overflow-x: hidden;
  perspective: 2px;
}

.parallax {
  transform-style: preserve-3d;
}

.parallax::after {
  content: "";

  background-size: cover;
  background-position: bottom center;

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -moz-transform: translateZ(-2px) scale(3);
  -ms-transform: translateZ(-2px) scale(3);
  -webkit-transform: translateZ(-2px) scale(3);
  -o-transform: translateZ(-2px) scale(3);
  transform: translateZ(-2px) scale(3);
  z-index: -1;
}

a {
  box-sizing: border-box;
  color: #a50010;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: #c91d22;
}

.light a {
  color: #fff;
}

.light a:hover {
  color: #facece;
}

.centered {
  margin: 0 auto;
}

.uppercase {
  text-transform: uppercase;
}

.light {
  color: #fafafa;
}

.red {
  color: #a50010;
}

.section {
  padding: 20px 0;
  position: relative;
}

.static {
  background: #fafafa;
  z-index: 1;
}

.gutter {
  height: 50px;
}

div.row {
  display: flex;
  flex-direction: row;
}

div.row-r {
  display: flex;
  flex-direction: row-reverse;
}

div.column {
  display: flex;
  flex-direction: column;
}

div.column-r {
  display: flex;
  flex-direction: column-reverse;
}

div.bordered {
  border-radius: 5px;
  position: relative;
}

div.bordered::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  content: "";
  border: 1px solid rgba(224, 47, 52, 0.5);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(224, 47, 52, 0.2);
  box-sizing: border-box;
  position: absolute;
  z-index: -1;
}

div.bordered.filled {
  background: #fafafa;
  z-index: 2;
}

div.spaced::before {
  top: -50px;
  left: -40px;
  bottom: -70px;
}

.self-center {
  align-self: center;
}

.flex-end {
  align-items: flex-end;
}

.substrate {
  position: absolute;
  background-color: #a50010;
  top: 0;
  right: 0;
  left: -100px;
  bottom: 0;
  z-index: -1;
}

.substrate.crop {
  left: -36px;
}

.text-right {
  text-align: right;
}

.header {
  min-height: 100vh;
}

.header::after,
.footer {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(../images/main_bg.jpg);
  background-size: cover;
}

.logo {
  filter: drop-shadow(0 0 50px #000);
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.logo:hover {
  filter: drop-shadow(0 0 20px rgba(250, 250, 250, 0.7));
}

.heading {
  text-shadow: 0 4px 10px #000;
}

.header .content {
  min-height: 90vh;
  justify-content: space-around;
}

.header_flex {
  align-items: flex-start;
  display: flex;
  padding: 10px;
}

.action_block {
  padding: 10px;
  width: inherit;
  text-align: center;
}

.action {
  text-shadow: 0 0 5px #000;
}

.action_btn {
  border: 3px solid #a50010;
  border-radius: 999px;
  box-sizing: border-box;
  display: inline-block;
  padding: 1.5rem 3rem;
  transition: 0.3s;
}

.filled {
  background-color: #a50010;
}

.action_btn.filled {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

.action_btn:hover {
  background-color: #c91d22;
  border-color: #c91d22;
  box-shadow: 0 0 20px #c91d22;
  color: #fafafa;
}

.indented {
  padding-left: 123px;
}

.content {
  height: 100%;
  margin: 20px auto;
  max-width: 960px;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.vector_back {
  position: absolute;
}

.vector_back.align_right {
  right: 0;
}

.vector_back.padded {
  top: 20%;
}

.card_block {
  align-items: flex-start;
  box-sizing: border-box;
  display: flex;
  margin: 60px 0;
  width: 100%;
}

.card_block.v1.bordered.shifted::before {
  left: 56px;
}

.card_block .simple.substrated {
  position: relative;
}

.card_block .simple.substrated .substrate {
  left: -368px;
  bottom: -92px;
}

.substrated {
  padding-right: 24px;
}
.person_container {
  position: relative;
}

.person_container .person {
  transform: translate(0, -34px);
}

.person {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.person .description {
  align-self: center;
  margin: 18px;
}

.person img {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  display: block;
  max-width: 50vw;
}

.person .name {
  margin: 10px 0;
  width: inherit;
}

.person .info {
  font-size: 10pt;
  margin: 0;
}

.person ul {
  letter-spacing: unset;
  list-style: none;
  padding: 0;
}

.person.covered {
  color: #fafafa;
  position: relative;
  width: 222px;
  z-index: 1;
}

.person.covered .photo::after {
  content: " ";
  background: #a50010;

  height: 72%;
  width: 280px;

  position: absolute;
  top: 148px;
  left: -58px;
  z-index: -1;
}

.person.covered.v2 .photo::after {
  height: 100%;
  width: 242px;
  top: 20px;
  left: -20px;
}

.person .padded {
  padding-top: 10px;
}

.dark_badge {
  background: rgba(34, 34, 34, 0.75);
  backdrop-filter: blur(10px);
  min-width: 246px;
  padding: 11px 7px;
}

.text_block {
  padding: 1em;
  position: relative;
}

.text_block .highlight {
  margin-top: 30px;
}

.text_block a {
  border-bottom: 1px dotted;
}

.text_block a:hover {
  border-bottom-color: transparent;
}

/* Card block v1 */
.card_block.v1 .text_block {
  justify-content: space-between;
  padding: 24px;
}
/* END Card block v1 */

/* Card block v2 */
.card_block.v2 {
  z-index: 1;
}

.card_block.v2::before {
  right: 0;
  bottom: 0;
  left: 123px;
}

.card_block.v2.row-r::before {
  left: 0;
  right: 123px;
}

.v2 .highlight {
  margin-bottom: 20px;
}

.card_block.v2 .person_container {
  min-height: 390px;
}

.card_block.v2 .person_container::before {
  background: #a50010;
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: -1;
}

.v2 .person_container .dark_badge {
  color: #fafafa;
  position: absolute;

  bottom: -60px;
  left: -123px;
  max-width: 100%;
}
/* END Card block v2 */

/* Card block v3 */
.card_block.v3 {
  align-items: unset;
}

.card_block.v3 .text_block {
  flex: 1;
  min-height: 100%;
  justify-content: space-around;
  position: relative;
}

.card_block.v3.framed::before {
  bottom: 30px;
}

.card_block.v3.framed .person .description::before {
  top: -50px;
  right: -10px;
  bottom: -50px;
  left: -18px;
}
/* END Card block v3 */

.line_block {
  display: flex;
  justify-content: space-between;
}

.line_block.baseline {
  align-items: flex-end;
}

.line_block.two-col div {
  max-width: 48%;
}

.line_block .text_block {
  padding: 0 10px;
}

.line_block .simple {
  margin: auto 0;
  position: relative;
  z-index: 1;
}

.line_block .simple::after {
  background: #a50010;
  content: " ";
  height: 100%;
  position: absolute;
  top: 0;
  left: -5000px;
  width: 10000px;
  z-index: -1;
}

.line_block .highlight {
  margin: 40px 0;
}

.line_block .person {
  min-width: 222px;
  z-index: 2;
}

.line_block.v1 {
  align-items: center;
}

.line_block.v1 .gutter {
  height: 5em;
}

/* Line block v2 */
.line_block.v2 .simple::after {
  display: none;
}

.line_block.v2::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.line_block.v2 .person_container {
  height: 100%;
  min-width: 322px;
}

.line_block.v2 .person.covered .photo::after {
  height: 100%;
  width: 105%;
  top: 70px;
  left: -24px;
}

.line_block.v2 .text_block {
  padding-right: 48px;
}
/* END Line block v2 */

/* Line block v3 */
.line_block.v3::after {
  background: #a50010;
  content: " ";
  height: 60%;
  position: absolute;
  top: 20%;
  left: -5000px;
  width: 10000px;
  z-index: -1;
}

.line_block.v3 .photo {
  margin: auto 0;
}

.line_block.v3 .text_block {
  background: #fafafa;
  border: 1px solid #e02f34;
  padding: 0 1.5em;
  max-width: 40%;
  z-index: 2;
}

.line_block.v3 .simple {
  margin-top: unset;
}

.line_block.v3 .simple::after {
  display: none;
}
/* END Line block v3 */

/* Swiper section */
:root {
  --swiper-navigation-size: 52px;
  --swiper-theme-color: #e02f34;
}

.swiper-pagination-bullet {
  background: var(--swiper-theme-color);
  border: solid 2px #fff;
  box-shadow: 0 0 2px #fff;
}

.swiper-wrapper {
  align-items: center;
  display: flex;
}

.swiper-slide {
  align-items: center;
  display: flex;
  height: 486px;
}

.swiper-slide img {
  border-radius: 1em;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  display: block;
  margin-left: 50%;
  max-height: 96%;
  max-width: 100%;
  transform: translateX(-50%);
}
/* END Swiper section */

.banner {
  height: 80vh;
}

.edu_help::after {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(../images/edu_help.jpg);
  background-position: 50% 20%;
}

.jazz_band::after {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(../images/jazz_band.jpg);
  background-position: 50% 35%;
}

.banner_action {
  align-items: flex-start;
  justify-content: center;
  max-width: 468px;
  height: 100%;
}

.banner_text {
  color: #fafafa;
  font-weight: normal;
  line-height: 1.3;
  margin: 30px 0;
  text-shadow: 0 4px 10px #000;
  text-transform: uppercase;
}

.footer_container {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  padding: 134px 10px;
}

.social_link {
  color: rgba(250, 250, 250, 0.8);
}

.social_link:hover {
  color: #fafafa;
}

.buttons_group .fab {
  color: #10211e;
}

.buttons_group .fa-stack {
  width: 2em;
}

.fab {
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.fa-vk:hover {
  color: #4a76a8;
}

.fa-facebook-f:hover {
  color: #3b5998;
}

.fa-instagram:hover {
  background: linear-gradient(180deg, #7f3cc0, #e19433);
  background-clip: text;
  color: #7f3cc0;
  display: initial;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fa-youtube:hover {
  color: #c91d22;
}

@media screen and (max-width: 1680px) {
  .line_block .person {
    margin-top: 0;
  }
}

@media screen and (max-width: 980px) {
  html {
    font-size: 12pt;
  }

  h1 {
    font-size: 4vh;
  }

  .logo img {
    width: 30vw;
  }

  .gutter {
    height: 48px;
  }

  .header .content {
    padding: 0;
  }

  .header .heading {
    margin: 40px 0;
    text-align: center;
  }

  .header_flex {
    align-items: center !important;
    flex-direction: column;
  }

  .banner_action {
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .line_block.v1 .gutter {
    height: 7em;
  }

  .line_block.v1.baseline {
    align-items: flex-start;
  }

  .card_block.v1.bordered.shifted .person_container {
    align-self: flex-end;
  }

  /* Swiper section */
  :root {
    --swiper-navigation-size: 48px;
  }

  .swiper-slide {
    height: 320px;
  }
  /* END Swiper section */
}

@media screen and (max-width: 568px) {
  html {
    font-size: 10pt;
  }

  h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.4em;
  }

  h3 {
    font-size: 1.3em;
  }

  .logo img {
    width: 10em;
  }

  .banner,
  .header {
    min-height: 100vh;
  }

  .banner_action {
    justify-content: center;
    padding: 20px;
  }

  .flex-end {
    align-items: center;
  }

  .gutter {
    display: none;
  }

  .photo img {
    max-width: 100vw;
  }

  div.row-r {
    flex-direction: column;
  }

  div.spaced::before {
    bottom: -34px;
  }

  .content {
    width: 100%;
  }

  .logo img {
    width: 150px;
  }

  .mobile-bg {
    background: #a50010;
  }

  .person.row-r {
    align-items: center;
    flex-direction: column;
  }

  .person .description {
    align-self: unset;
  }

  .person img {
    max-width: 100%;
  }

  .card_block {
    flex-direction: column;
  }

  .card_block.v1.bordered.shifted::before {
    left: 0;
  }

  .line_block {
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
  }

  .line_block.two-col div {
    max-width: unset;
    width: 85vw;
  }

  .line_block .person {
    margin-top: 0;
  }

  .line_block .simple {
    margin-top: 0 !important;
  }

  .line_block.v2 .person_container {
    margin: 10px;
    min-width: 90%;
  }

  .line_block.v2 .person.covered .photo::after {
    height: 90%;
  }

  .line_block.v2 .indented {
    padding: 10px;
  }

  .v2 .person_container .dark_badge {
    bottom: -34px !important;
  }

  .card_block.v2::before,
  .vector_back {
    display: none;
  }

  .line_block.v3 .person {
    flex-direction: column;
  }

  .line_block.v3 .person .description {
    align-self: flex-end;
  }

  .line_block.v3 .text_block {
    max-width: unset;
  }

  /* Swiper section */
  :root {
    --swiper-navigation-size: 42px;
  }

  .swiper-slide {
    height: 300px;
  }

  .swiper-slide img {
    border-radius: 10px;
    max-width: unset;
  }
  /* END Swiper section */

  .footer_container {
    align-items: center !important;
    flex-direction: column-reverse;
    padding: 0;
    text-align: center;
  }

  .social_links {
    padding: 60px 0;
  }
}
