:root {
  --textcolor: #fff;
  --margins: 2em;
  --mixtura: url(img/mixtura.svg);
}

::-webkit-scrollbar {
  display: none;
}

* {
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  color: #0074d9;
}

nobr {
  user-select: auto;
}

sup {
  font-size: 60%;
}

body {
  -webkit-overflow-scrolling: touch;
  overflow: -moz-scrollbars-none;
  -ms-overflow-style: none;
  font-family: 'Roboto Slab', serif, "Noto Color Emoji";
  font-weight: 300;
  color: #fff;
}

body.pause {
  overflow: hidden;
}

.cover-main {
  width: 100%;
  height: 100vh;
  display: block;
  position: fixed;
  background-repeat: no-repeat;
  background-position: center;
  /* background-color: #656565; */
}

center {
  margin: 0 auto;
  transform: scale(0.94, 0.94);
}

.sponsor {
  position: fixed;
  top: 5vh;
  right: 6vw;
  width: 10vw;
  height: 8vh;
  display: block;
  background: url() no-repeat center center;
  background-size: contain;
  z-index: 1;
}

.all-events {
  padding: 1em 0;
  text-align: center;
  color: black;
  font-size: normal;
  font-family: sans-serif;
}

.all-events a {
  margin: 0 auto;
  padding: 4px 18px;
  font-family: sans-serif;
  font-size: normal;
  border: .5px #0074d9 solid;
  border-radius: 24px;
  transition: 0.1s;
}

.all-events a:hover {
  background: #0074d9;
  color: #fff;
}

.ad {
  padding: 0 2%;
  text-align: left;
  color: black;
  font-size: large;
  font-family: sans-serif;
}

.menu-hide iframe {
  width: 480px;
  height: 820px;
  margin: 45px 15px;
}

#social {
  display: flex;
  height: 20vh;
  width: 100%;
  padding: 0 50px 0 40px;
  align-items: center;
  justify-content: space-around;
}

#social a {
  display: block;
  width: 48px;
  height: 48px;
}

#social a:hover {
  filter: hue-rotate(15deg);
}

#social a:nth-child(4) {
  background: url(img/sc.svg) no-repeat center;
  background-size: contain;
}

#social a:nth-child(2) {
  background: url(img/ig.svg) no-repeat center;
  background-size: contain;
}

#social a:nth-child(3) {
  background: url(img/vk.svg) no-repeat center;
  background-size: contain;
}

#social a:nth-child(1) {
  background: url(img/tg.svg) no-repeat center;
  background-size: contain;
}







* {
  box-sizing: border-box;
}

.menu-tab {
  width: 72px;
  height: 64px;
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  cursor: pointer;
  user-select: none;
  transition: all .2s ease-in-out;
}

.menu-tab div {
  width: 34px;
  height: 2px;
  /* background-color: var(--textcolor); */
  background: linear-gradient(0deg, white 0%, black 100%);
  display: block;
  margin: 8px 19px;
  transition: all .2s ease-in-out;
}

.menu-tab div:nth-child(1) {
  margin-top: 20px;
}

.menu-tab.active {
  right: 510px;
  transition: all .2s ease-in-out;
  /* background: white; */
}

.menu-tab.active #one {
  -webkit-transform: translateY(10px) rotate(-135deg);
  transform: translateY(10px) rotate(-135deg);
  transition: all .2s ease-in-out;
}

.menu-tab.active #two {
  opacity: 0;
  transition: .2s ease;
}

.menu-tab.active #three {
  -webkit-transform: translateY(-10px) rotate(-45deg);
  transform: translateY(-10px) rotate(-45deg);
  transition: all .2s ease-in-out;
}

.menu-hide {
  display: none;
  width: 510px;
  right: -510px;
  height: 100vh;
  position: fixed;
  z-index: 10;
  top: 0;
  transition: all .2s ease-in-out;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  background: #FFF;
}

.menu-hide h1 {
  font-weight: 300;
  padding: 3em .6em 1.5em;
  color: black;
}

.menu-hide.show {
  right: 0;
  transition: all .2s ease-in-out;
}

.events {
  width: 510px;
  height: 400px;
  position: relative;
  overflow-x: scroll;
  overflow-y: hidden;
  user-select: none;
}

.thumbs {
  display: flex;
  flex-direction: row;
  user-select: none;
}

.events div {
  padding: 0 8px;
}

.events div.arhive {
  padding: 0 11px;
  margin: 0 22px;
  border-left: solid 1px rgba(0,0,0,0.5);
}

.events div:last-child {
  padding-right: 14px;
}

.events img {
  height: 240px;
  width: 136px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 10px 10px 31px -11px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 10px 10px 31px -11px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 31px -11px rgba(0, 0, 0, 0.75);
}

.events a:hover {
  filter: brightness(90%);
}

.events p {
  width: 160px;
  padding: 1em 0 0 1em;
  font-size: 1.1em;
  color: black;
}


.wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 2;
}

section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

section:first-of-type {
  background: none
}

.section {
  width: 100vw;
  height: 100vh;
  z-index: 2;
}

.section.pause {
  filter: blur(24px);
  -ms-transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
  transition: all .2s ease-in-out;
}

.shade {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, .12);
}

.nav__wrapper {
  position: fixed;
  /* x */
  bottom: -10vh;
  height: 100%;
  width: 640px;
  padding: 30px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
  z-index: 10;
}

.nav {
  margin: 0 0 100px 30px;
}

.nav__counter {
  font-size: 24px;
  transition: all 0.15s ease-out;
}

.nav__title {
  font-size: 32px;
  font-weight: 300;
  margin: 0 0 0.25em;
  width: 460px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s ease-out, opacity 0.2s ease-out;
}

.nav__body {
  font-weight: 100;
  font-size: 18px;
  max-width: 460px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s ease-out, opacity 0.2s ease-out;
}

.nav li {
  /* ad too many */
  position: relative;
  transition: all 0.3s ease-out;
  margin-bottom: .7em;
  border-radius: .65em;
  background-color: rgba(255, 255, 255, 0);
}

.nav__body span {
  background: #222;
  color: #fff;
}

.nav li:after {
  content: '';
  display: block;
  border-left: 2px solid var(--textcolor);
  border-top: 2px solid var(--textcolor);
  height: 250px;
  width: 20px;
  position: absolute;
  left: -30px;
  top: 15px;
}

.nav li a {
  display: block;
  padding: 0;
  margin-left: .5em;
  color: var(--textcolor);
  transition: all 0.15s ease-out;
}

.nav li a:hover {
  padding-left: 1em;

}

.nav li a:focus {}

.nav li.active {
  pointer-events: none;
  padding-left: 1em;
}

.nav li.active p {
  pointer-events: all;
}

.nav li.active:after {
  width: 35px;
  height: 400px;
  top: 35px;
}

.nav li.active .nav__counter {
  font-size: 48px;
}

.nav li.active .nav__title {
  height: 40px;
  opacity: 1;
  overflow: visible;
}

.nav li.active .nav__body {
  height: 100px;
  opacity: 1;
  overflow: visible;
}

.mixtura {
  position: fixed;
  display: block;
  top: 70vh;
  right: 64px;
  height: 40px;
  width: 20px;
  background: var(--mixtura) no-repeat center;
  background-size: contain;
  z-index: 10;
}

.credit {
  font-family: sans-serif;
  font-size: large;
  position: fixed;
  display: block;
  bottom: 0;
  right: 2em;
  height: 40px;
  width: 70vw;
  color: var(--textcolor);
  z-index: 1;
  text-align: right;
}










#sc {
  margin: 48px auto 36px;
  width: 546px;
}

.qa {
  margin: 0 auto 50px;
  width: 480px;
  color: #222233;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 20px;
}

.qa h1,
.qa p {
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
}

.qa h3 {
  padding: 10px;
  margin: 0;
  cursor: pointer;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 24px;
  font-weight: normal;
  user-select: none;
  color: #222233;
}

.qa div {
  padding: 0 16px 0;
  margin: 0 0 32px;
  display: none;
  white-space: pre-line;
  border-left: 1px dotted black;
}

.fb-events {
  background: white;
  text-align: center;
  margin: -1px auto -52px;
}




























@media screen and (max-aspect-ratio: 1/1) {

  :root {
    /* --textcolor: #ccc; */
  }

  center {
    margin: 4em auto;
    transform: scale(0.9, 0.9);
  }

  #social a {
    display: block;
    width: 48px;
    height: 48px;
  }

  .sponsor {
    display: block;
    top: 7.5vh;
    right: 6vw;
    width: 28vw;
    height: 6vh;
  }

  .mixtura {
    display: none;
  }

  .credit {
    font-size: 14px;
  }

  .cover-main {
    display: block;
  }

  .menu-hide iframe {
    width: 90vw;
    height: 158vw;
    margin: 15vw 5vw;
  }

  #social {
    height: 22vh;
    padding: 1vh 24px 1vh 20px;
    align-items: center;
  }

  #social a {
    width: 36px;
    height: 36px;
  }

  .menu-tab.active {
    right: 0;
    background: #656565;
  }

  .menu-tab {
    width: 54px;
    height: 48px;
  }

  .menu-tab div {
    width: 24px;
    height: 2px;
    margin: 6px 13px;
    background: none;
    background-color: var(--textcolor);
  }

  .menu-tab.active div {
    margin: 6px 16px;
    background-color: white
  }

  .menu-tab div:nth-child(1) {
    margin-top: 14px;
  }

  .menu-tab.active #one {
    -webkit-transform: translateY(8px) rotate(-135deg);
    transform: translateY(8px) rotate(-135deg);
  }

  .menu-tab.active #three {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-tab.active #one,
  .menu-tab.active #two,
  .menu-tab.active #three {
    /* background-color: #777; */
  }

  .menu-hide {
    width: 100vw;
    right: -100vw;
  }

  .section.pause {
    filter: none;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
    transition: none;
  }

  .section {
    background: none;
    /* height: 100; */
  }

  .shade {
    display: none;
  }

  section img {
    display: none
  }

  .nav {
    margin: 0 0 0 30px;
  }

  .nav__wrapper {
    /* ad */
    bottom: 0;
    height: 100%;
    padding: 26px;
  }

  .nav li {
    /* ad too many .02em */
    margin-bottom: var(--margins);
    background: none;
  }

  .nav li a {
    margin-left: 0;
  }

  .nav__counter {
    font-size: 24px;
    transition: all 0.15s ease-out;
  }

  .nav__body {
    width: 84vw;
    font-weight: 200;
    font-size: 15px;
    margin-left: -2em;
  }

  .nav__body span {
    /* background: none; */
  }

  .nav li.active .nav__counter {
    font-size: 26px;
  }

  .nav li.active .nav__title {
    height: 28px;
    font-size: 26px;
  }

  .nav li.active .nav__body {
    height: 80px;
    overflow-y: hidden;

  }

  .events {
    width: 100%;
  }


  #sc {
    margin: 42px auto 0;
    width: 92vw;
  }

  .qa {
    margin: 10px auto 50px;
    width: 96vw;
    font-size: 16px;
  }

  .qa h3 {
    /* font-family: 'IBM Plex Sans', sans-serif; */
    font-weight: normal;
    font-size: 20px;
  }

  .qa div {
    border: none;
  }

  .fb-events {
    text-align: left;
    margin: -1px 0 -48px;
  }

  .all-events {
    padding: 16px 0;
    font-size: large;
  }

  .all-events a {
    padding: 4px 18px;
    font-size: 16px;
    border: 1px #0074d9 solid;
  }
}