*, :after, :before {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #151515;
  color: white;
  transition: background-color 0.5s ease;
  font-family: aileron, sans-serif;
  height: 100%;
}

button {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.loader-wrapper {
  background-color: #3300ff;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 2s;
  transition-delay: 1s;
  position: absolute;
  z-index: 100;
  overflow: hidden;
}

.loader-wrapper--hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-svg {
  background-image: url('../ui/videoloader.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 7vw;
  height: 7vw;
  background-position: center;
  transition: 1s;
}

.loader-svg--hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-percentage {
  position: absolute;
  font-size: 1vw;
  opacity: 1;
  transition: 1s;
}

.loader-percentage--hidden {
  opacity: 0;
}

ul {
  list-style: none;
  padding-inline-start: 0;
  padding: 0;
}

a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  transition: 0.5s;
}

a:hover {
  opacity: 0.5;
}

.main {
  height: 100%;
  overflow: hidden;
}

.c-scrollbar {
  display: none;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
}

h2 {
  font-size: 100px;
}

.project-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project {
  width: 90vw;
  /* display: flex;
  flex-direction: column;
  align-items: center; */
  padding: 200px 0;
  flex-shrink: 0;
}

.title {
  width: 100%;
  font-size: 110px;
  line-height: 0.9;
  font-weight: 900;
}

.thumb {
  width: 100%;
  height: auto;
  /* min-height: 1px; */
}

.thumb--rounded {
  border-radius: 20px;
  overflow: hidden;
}

.page-fullscreen {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.animation-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
}

.page-animation {
  position: relative;
}

.title-container {
  position: absolute;
  z-index: 100;
}

.title-container--nudge {
  margin-left: 0.00001px;
}

.button-container {
  position: absolute;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 25px;
  z-index: 200;
  transition: 2s;
}

.button-container--hidden {
  opacity: 0;
  visibility: hidden;
}

.page-fullscreen__button {
  background: none;
  border: none;
  color: white;
  font-size: 25px;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  transition: 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  padding: 0;
}

.page-fullscreen__button:hover {
  background-color: white;
  color: #3300ff;
}

.page-fullscreen__button--active {
  /* background-color: white;
  color: #3300ff; */
  transform: rotate(180deg);
}

.contact-items {
  height: 30px;
  display: flex;
  align-items: center;
  line-height: 1em;
  transition: 1s;
  opacity: 1;
  visibility: visible;
}

.contact-items--hidden {
  visibility: hidden;
  opacity: 0;
}

.contact-items--hidden a {
  margin: 0 5px;
}

.fa.fa-bars {
  font-size: 15px;
}

.contact-container {
  display: flex;
}

.flex-horizontal {
  display: flex;
  justify-content: center;
}

.fade {
  opacity: 0;
  transform: translateY(100px);
  transition: 1.5s;
}

.is-inview {
  opacity: 1;
  transform: translateY(0px);
}

.image {
  width: 70vw;
}

.vid {
  width: 70vw;
}

.thumb-wide {
  width: 90vw;
}

.thumb-device {
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-phone .videoplayer {
  width: auto;
  height: 85%;
  border-radius: 20px;
  box-shadow: 0px 0px 11px 0px #00000075;
  box-shadow: 0px 65px 31px -50px #0000006e;
}

.thumb-desktop {
  height: auto;
  padding: 100px 0;
}

.thumb-desktop .videoplayer {
  width: 80%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0px 0px 11px 0px #00000075;
  box-shadow: 0px 40px 31px -30px #00000042;
  box-shadow: 0px 65px 31px -50px #0000006e;
}

.thumb-device--purple {
  background-image: linear-gradient(#292a5d, #202020);
}

.thumb-device--red {
  background-image: linear-gradient(#e84c81, #fc3131);
}

.thumb-device--blue {
  background-image: linear-gradient(#352955, #0289ff);
}

.thumb-device--turqoise {
  background: linear-gradient(#36aa9a, #0289ff);
}

.thumb-device--green {
  background-image: linear-gradient(#1096d6, #13c284);
}

.thumb-device--darkblue {
  /* background: linear-gradient(#068d68, #262648);
  background: linear-gradient(#529bdb, #4545a5);
  background: linear-gradient(#52badb, #1d9a6d);
  background: linear-gradient(#e1e1e1, #106ca3);
  background: linear-gradient(#ededed, #d8d8d8);
  background: #ffffff17; */
  background: linear-gradient(#1e4cc3, #0088ff);
}

.video-container::after {
  background-image: url('../ui/videoloader.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  width: 10vw;
  height: 10vw;
  color: white;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -5vw;
  margin-top: -5vw;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
}

.video-container--buffer::after {
  opacity: 1;
  visibility: visible;
}

.videoplayer--rounded {
  border-radius: 10px;
}

.shadow {
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.0784313725490196);
}

.title {
  font-family: aileron, sans-serif;
  margin-bottom: 50px;
}

.title-main, .title-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-main {
  height: 100%;
  opacity: 0;
}

.line {
  display: block;
  overflow: hidden;
  display: flex;
  padding-bottom: .15em;
  margin-bottom: -.15em;
  padding-left: .15em;
  padding-right: .15em;
  margin-left: -.15em;
  margin-right: -.15em;
  perspective: 500px;
  transform-style: preserve-3d;
}

.line--hidden>.word {
  transform: translateY(50px);
  opacity: 0;
}

.line .word {
  transition: opacity 2s, transform 1s;
  padding-left: 0.25em;
  transform-origin: top left;
}

.line .word:first-child {
  padding-left: 0em;
}

.title-main p {
  font-family: aileron, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 6vw;
  line-height: 1;
  width: 80vw;
}

.title-main--visible {
  opacity: 1;
}

.invert {
  color: #151515;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
  transition-duration: 1s, 1s, 2s, 2s;
  transition-property: transform, opacity, color, text-shadow;
  transition-delay: 0s, 0s, 0.5s, 0.25s;
}

.invert.is-inview {
  color: white;
  text-shadow: -1px -1px 0 rgba(255, 255, 255, 0), 1px -1px 0 rgba(255, 255, 255, 0), -1px 1px 0 rgba(255, 255, 255, 0), 1px 1px 0 rgba(255, 255, 255, 0);
}

.is-inview .invert {
  color: white;
  text-shadow: -1px -1px 0 rgba(255, 255, 255, 0), 1px -1px 0 rgba(255, 255, 255, 0), -1px 1px 0 rgba(255, 255, 255, 0), 1px 1px 0 rgba(255, 255, 255, 0);
}

.text {
  font-family: acumin-pro, sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 20px;
  padding: 70px 50px;
  line-height: 24px;
  width: 100%;
  margin: 0;
}

.reversetext {
  unicode-bidi: bidi-override;
  direction: rtl;
  text-align: left;
}

.text p {
  margin: 0;
}

.button-text-expand {
  display: none;
}

.thumb-scrolltext {
  width: 100%;
  overflow: hidden;
  display: none;
}

.scrollbar-track-y {
  top: 0;
  right: 0;
  width: 15px;
  height: 100%;
  cursor: pointer;
}

.scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 8px;
  background: rgb(255, 255, 255);
  border-radius: 0;
}

.scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.hidden {
  display: none;
}

.more-projects-head__h1 {
  font-size: 60px;
  margin: 0;
  padding-bottom: 20px;
}

.more-projects-password-block {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid white;
}

input[type="text"] {
  outline: none;
  width: 80%;
  background-color: #2a01d4;
  color: white;
  padding: 20px 0;
  border: none;
  box-sizing: border-box;
  font-size: 25px;
}

input::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1;
  /* Firefox */
}

input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: white;
}

input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: white;
}

.password-send {
  background: none;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 700;
}

.more-projects-wapper {
  padding: 10vw;
  display: flex;
  flex-direction: column;
  background-color: #2a01d4;
}

.more-projects-head__h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 100;
  cursor: pointer;
}

.more-projects-head__h2:hover {
  text-decoration: underline;
}

.page--blue {
  background-color: #3300ff;
  opacity: 0;
  transition: 2s;
  padding: 0;
  overflow: hidden;
}

.page--blue--collapse {
  height: 0px;
}

.page--blue.is-inview {
  opacity: 1;
}

.ending {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 30px;
}

video {
  max-width: 90vw;
}

.textbox {
  column-count: 2;
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

@media only screen and (max-width: 1000px) {
  .textbox {
    column-count: 1;
  }
}

@media only screen and (max-width: 600px) {
  video {
    max-width: 100vw;
  }

  .loader-svg {
    width: 20%;
    height: 20%;
  }

  .load-svg {
    width: 30vw;
    height: 30vw;
  }

  .loader-percentage {
    font-size: 4vw;
  }

  .title-main p {
    font-size: 10vw;
  }

  .contact-container {
    width: 100%;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  .contact-items {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-items a {
    margin: 0px 0px 10px 7px;
    display: block;
    background-color: white;
    color: #3300ff;
    padding: 7px 20px;
    border-radius: 60px;
  }

  .contact-items--hidden a {
    margin: -100px 0px;
  }

  h2 {
    font-size: 12vw;
  }

  .project {
    width: 100vw;
  }

  .thumb {
    width: 100%;
  }

  .title {
    padding: 0px 30px;
  }

  .thumb-phone .videoplayer, .thumb-desktop .videoplayer {
    border-radius: 10px;
  }

  .thumb-desktop {
    height: auto;
    padding: 50px 0;
  }

  .thumb-desktop .videoplayer {
    width: 90%;
  }

  /* .thumb-phone {
    width: 100vw;
  } */
  .text {
    display: flex;
    flex-direction: column;
    align-content: center;
    padding: 30px 30px;
    width: 100vw;
    font-size: 17px;
  }

  .image {
    width: 100vw;
  }

  .button-text-expand {
    display: block;
    color: white;
    z-index: 100;
    position: relative;
    padding: 10px 0;
    background: none;
    border: none;
    transition: 1s;
    transition-delay: 2s;
    text-align: right;
  }

  .button-text-expand--hidden {
    /* height:0px; */
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    /* padding:0; */
  }

  .text .textbox {
    height: 150px;
    overflow: hidden;
    transition: 1.5s;
  }

  .text .textbox:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 260px;
    background: linear-gradient(175deg, rgba(21, 21, 21, 0), rgb(21, 21, 21) 66%);
    transition: 1s;
    transition-delay: 1s;
  }

  .text-expand:after {
    opacity: 0;
  }

  .project {
    padding: 100px 0;
  }

  .page--blue {
    padding: 0;
  }

  /* .more-projects-wapper {
    padding: 100px 0;
  } */
  .more-projects-head__h1 {
    font-size: 7vw;
  }

  .more-projects-password-block {
    width: 70vw;
    margin-top: 30px;
  }

  input[type="text"] {
    font-size: 4.5vw;
  }

  .text p {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
  }

  .textbox {
    margin: 0;
  }
}

.load-svg {
  animation: turnstroke 1.4925373134328357s infinite linear;
}

.load-svg__white {
  animation: spinstroke 1.4925373134328357s infinite linear;
}

@keyframes turnstroke {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(720deg);
  }
}

@keyframes spinstroke {
  0% {
    stroke-dasharray: 20, 180;
  }

  50% {
    stroke-dasharray: 138, 64;
  }

  100% {
    stroke-dasharray: 20, 181;
  }
}

.span-perfa::after {
  content: 'perf';
}

.span-perfb::after {
  content: 'umery';
}

.span-perfc::after {
  content: 'Perf';
}

.contact-page {
  padding: 10vw;
  font-size: 60px;
}

@media only screen and (max-width: 1300px) {
  .more-projects-head__h1 {
    font-size: 40px;
  }

  .contact-page {
    padding: 10vw;
    font-size: 40px;
  }
}

@media only screen and (max-width: 900px) {
  .more-projects-head__h1 {
    font-size: 35px;
  }

  .contact-page {
    padding: 10vw;
    font-size: 35px;
  }
}

@media only screen and (max-width: 900px) {
  .more-projects-head__h1 {
    font-size: 35px;
  }

  .contact-page {
    padding: 10vw;
    font-size: 35px;
  }
}

@media only screen and (max-width: 600px) {
  .contact-page {
    padding: 10vw;
    font-size: 25px;
  }
}

.contact-page a {
  margin: 0;
  color: #ffffffb8;
  font-weight: 500;
  white-space: nowrap;
}

/* IE11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .loader-percentage {
    position: relative;
    width: 10vw;
    margin-right: -10vw;
    text-align: center;
  }
}