* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: all 0.3s ease-out;
}

body {
  background-color: #E4E4F1;
  font-family: var(--font-family);
  font-optical-sizing: auto;
  font-style: normal;
}

:root {
  --third-family: "Manrope", sans-serif;
  --font3: "Raleway", sans-serif;
  --font-family: "Roboto", sans-serif;
}

/* font-family: "Roboto", sans-serif; */
/* font-family: "Manrope", sans-serif; */
/* font-family: "Inter", sans-serif; */
/* font-family: "Raleway", sans-serif; */
/* font-family: "Montserrat", sans-serif; */

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

ul {
  list-style-type: none;
}

video,
img {
  max-width: 100%;
}

.container {
  max-width: 1720px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.header {
  padding-top: 50px;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 50px;
}

.header__nav {
  display: none;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  text-transform: uppercase;
  color: #141414;
}

.wrapper {
  animation: fade 0.5s ease-out;
}

.footer__right a:hover,
.footer__link:hover,
.header__link:hover {
  opacity: 0.6;
}

.mla {
  margin-left: auto;
}


.mt30 {
  margin-top: 30px;
}

.btn {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  text-transform: uppercase;
  color: #141414;
  padding: 11px 35px;
  border: 1px solid #141414;
  border-radius: 3px;
}

.full svg {
  width: 100%;
  height: auto;
}

.hero {
  padding: 60px 0;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero__inner p {
  max-width: 367px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 105%;
  color: #141414;
}

.works__grid {
  display: flex;
  gap: 25px;
  justify-content: space-between;
}

.works__grid-item {
  flex: 0 1 calc(33% - 16px);
  max-width: 380px;
  aspect-ratio: 0.6;
}

.works__grid-item p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 30px;
  line-height: 105%;
  color: #141414;
  margin-top: 14px;
}

.works__grid-item img,
.works__grid-item video {
  width: 100%;
  height: 100%;
}

.footer {
  padding: 300px 0 60px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 340px;
}

.footer__right,
.footer__left {
  display: flex;
  flex-direction: column;
}

.footer__left {
  gap: 10px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 35px;
  line-height: 180%;
  letter-spacing: 0.03em;
  color: #141414;
}

.footer__right {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 41px;
  line-height: 180%;
  letter-spacing: 0.03em;
  color: #141414;
}

.marquee {
  width: 100%;
  overflow: hidden;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 50px;
  line-height: 95%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #141414;
}

.marquee__track {
  display: flex;
  white-space: nowrap;
  gap: 10px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  animation-play-state: running;
  will-change: transform;
  animation-name: scroll-left;
  animation-duration: 35s;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}



.about {
  padding-top: 120px;
}

.about__title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 50px;
  line-height: 95%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #141414;
  margin-top: 20px;
}

.about__inner {
  display: flex;
  align-items: flex-end;
  margin-top: -50px;
  gap: 10px;
}

.about__inner p {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 35px;
  line-height: 92%;
  letter-spacing: 0.02em;
  color: #141414;
}

.about__inner span {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 40px;
  line-height: 95%;
  letter-spacing: 0.05em;
  color: #141414;
  margin: 80px 0 60px 0;
  display: inline-block;
}

.about__text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 40px;
  line-height: 95%;
  letter-spacing: 0.05em;
  color: #141414;
  margin-top: 100px;
}

.about__text span {
  display: inline-block;
  width: 140px;
}

@media (min-width:640px) {
  .about__inner img {
    width: 386px;
    height: 459px;
    object-fit: cover;
  }
}


.work {
  margin-top: 80px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 30px;
  line-height: 105%;
  color: #141414;
}

.work__title {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 65px;
  line-height: 100%;
  color: #141414;
  max-width: 971px;
}

.work__title strong {
  font-weight: 400;
}

.work__line,
.work__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  justify-content: space-between;
}

.work__line {
  margin-top: 30px;
}



.box-item,
.work__line-item,
.work__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.mra {
  margin-right: auto;
}


.work__line-item:nth-child(1) {
  max-width: 297px;
}

.work__line-item:nth-child(4) {
  max-width: 443px;
}

.work__line-item.boxed {
  gap: 75px;
  margin-top: -15%;
}

.yanyx {
  max-width: 360px;
  height: auto;
  margin-left: 60px;
}

.about-page {
  background-color: #F2F2F2;
}

.intro__inner {
  margin-bottom: 110px;
}


canvas {
  display: block;
}

.fade {
  animation: fade 0.5s ease-out;
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


@media (min-width:1080px) {

  .work__item img,
  .work__item video {
    height: 404px;
    width: auto;
  }

  .h380 video,
  .h380 img {
    max-height: 380px;
    width: auto;
  }

  .header__nav {
    display: flex;
  }

  .tablet {
    display: none;
  }
}

.mob {
  display: none;
}

@media (max-width:1080px) {
  .mob {
    display: flex;
  }

  .work__line {
    display: none;
  }

  .boxed {
    display: none;
  }

  .works__grid {
    display: flex;
    gap: 25px 35px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .works__grid-item {
    position: relative;
    flex: 0 1 calc(50% - 18px);
    max-width: 100%;
    aspect-ratio: 0.6;
    margin-bottom: 30px;
  }

  .works__grid-item:first-child {
    margin-left: 30%;
  }

  .works__grid-item video,
  .works__grid-item img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .works__grid-item p {
    position: absolute;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 105%;
    color: #141414;
    left: 0;
    bottom: -30px;
  }

  .footer__right,
  .footer__left {
    font-size: 25px;
  }

  .btn {
    margin: 0 auto;
  }

  .footer {
    padding: 240px 0 160px 0;
  }

  .intro__inner {
    margin-bottom: 50px;
  }

  .about__inner {
    flex-direction: column-reverse;
    gap: 80px;
  }

  .about__title {
    font-size: 40px;
    line-height: 95%;
    letter-spacing: 0.05em;
  }

  .about__inner p {
    font-weight: 300;
    font-size: 35px;
    line-height: 94%;
    letter-spacing: 0.02em;
    color: #141414;
  }

  .work__inner {
    gap: 30px 24px;
  }

  .work__item {
    font-size: 20px;
  }

  .work__item:nth-child(1) {
    order: 1;
  }

  .work__item:nth-child(17) {
    order: 2;
  }

  .work__item:nth-child(7) {
    order: 3;
  }

  .work__item:nth-child(2) {
    order: 4;
    flex: 0 1 calc(50% - 12px);
  }

  .work__item:nth-child(2) video,
  .work__item:nth-child(9) video {
    height: 195px;
    object-fit: cover;
  }

  .work__item:nth-child(9) {
    order: 5;
    flex: 0 1 calc(50% - 12px);
  }

  .work__item:nth-child(10) {
    order: 6;
  }

  .work__item:nth-child(14) {
    order: 7;
  }

  .work__item:nth-child(4) video {
    height: 195px;
    object-fit: cover;
    width: 100%;
  }

  .work__item:nth-child(4) {
    order: 8;
    width: 100%;
    flex: 0 1 100%
  }

  .work__item:nth-child(3) {
    order: 9;
    flex: 0 1 calc(50% - 12px);
  }

  .work__item:nth-child(13) {
    order: 10;
    flex: 0 1 calc(50% - 12px);
  }

  .work__item:nth-child(3) img,
  .work__item:nth-child(13) img {
    height: 195px;
    object-fit: cover;
  }

  .work__item:nth-child(12) {
    order: 11;
  }

  .work__item:nth-child(18) {
    order: 12;
  }

  .work__item:nth-child(16) {
    order: 13;
    flex: 0 1 calc(50% - 12px);
  }

  .work__item:nth-child(6) {
    order: 14;
    flex: 0 1 calc(50% - 12px);
  }

  .work__item:nth-child(15) {
    order: 15;
    flex: 0 1 calc(50% - 12px);
  }

  .work__item:nth-child(5) {
    order: 16;
    flex: 0 1 calc(50% - 12px);
  }

  .work__item:nth-child(16) video,
  .work__item:nth-child(6) img,
  .work__item:nth-child(15) video,
  .work__item:nth-child(5) img {
    height: 195px;
    object-fit: cover;
  }

  .work__item:nth-child(11) {
    order: 17;
  }

  .work__item:nth-child(8) {
    order: 18;
  }
}

.footer__right .footer__link {
  display: none;
}

@media (max-width:667px) {
  .header {
    padding-top: 20px;
  }

  .footer__right,
  .footer__left {
    font-size: 15px;
    line-height: 180%;
    letter-spacing: 0.03em;
  }

  .header__inner {
    gap: 10px;
  }

  .about__title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 22px;
    line-height: 94%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #141414;
  }

  .about__inner p {
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .about__text span {
    width: 35px;
  }

  .about {
    padding-top: 36px;
  }

  .about__text {
    font-size: 15px;
    margin-top: 60px;
    line-height: 95%;
    letter-spacing: 0.05em;
  }

  .about__inner {
    margin-top: -10px;
  }

  .about__inner img {
    width: 141px;
    height: auto;
  }

  .footer {
    padding: 140px 0 50px 0;
  }

  .footer__left .footer__link {
    display: none;
  }

  .footer__right .footer__link {
    display: block;
    font-weight: 700;
  }

  .works__grid-item p {
    white-space: nowrap;
    font-size: 13px;
    bottom: -23px;
    line-height: 105%;
  }

  .btn {
    font-size: 15px;
    line-height: 100%;
    padding: 7px 25px;
  }

  .works__grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }

  .works__grid-item {
    position: relative;
    flex: 0 1 calc(50% - 8px);
    max-width: 100%;
    aspect-ratio: 0.6;
    margin-bottom: 23px;
  }

  .hero__inner p {
    font-size: 10px;
  }

  .mt30 {
    margin-top: 0;
  }
}

.header__menu {
  position: fixed;
  width: 100svw;
  height: 100svh;
  transform: translateX(100%);
  left: 0;
  z-index: 999;
  top: 0;
  background-color: #F2F2F2;
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
}

.header__menu.opened {
  transform: translateX(0);
  opacity: 1;
}

.header__menu-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header__menu-left {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.header__menu-left ul {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  text-transform: uppercase;
  color: #141414;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.header__menu-wrap {
  display: flex;
  height: 100%;
  gap: 57px;
  padding: 0 30px 0 120px;
}

.header__menu-right {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 25px;
  line-height: 180%;
  letter-spacing: 0.03em;
  color: #141414;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.langs {
  display: flex;
  align-items: center;
  margin-top: auto;
  gap: 17px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 180%;
  letter-spacing: 0.03em;
  color: #c9c9c9;
}

.langs .active {
  color: #141414;
}

.mobile {
  display: none;
}

@media (max-width:667px) {
  .header__menu {
    padding: 48px 20px 10px 20px;
  }

  .header__menu-left ul {
    font-size: 20px;
    gap: 40px;
  }

  .header__menu-wrap {
    flex-direction: column;
    gap: 90px;
    padding: 0;
  }

  .header__menu-right br {
    display: none;
  }

  .header__menu-right {
    font-size: 20px;
  }

  .langs {
    display: none;
    gap: 12px;
    font-size: 17px;
  }

  .langs.mobile {
    display: flex;
  }

  .langs .active-lang {
    color: #141414;
  }
}


.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  opacity: 0.7;
}

.corner-plus {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.3;
}

.corner-plus::before,
.corner-plus::after {
  content: '';
  position: absolute;
  background: white;
}

.corner-plus::before {
  width: 1px;
  height: 100%;
  left: 50%;
}

.corner-plus::after {
  width: 100%;
  height: 1px;
  top: 50%;
}

.top-left {
  top: 20px;
  left: 20px;
}

.top-right {
  top: 20px;
  right: 20px;
}

.bottom-left {
  bottom: 20px;
  left: 20px;
}

.bottom-right {
  bottom: 20px;
  right: 20px;
}

.hero__bottom {
  display: none;
}

@media (max-width:1080px) {
  .desctop {
    display: none;
  }

  .full {
    display: none;
  }

  .vector.mobile {
    display: block;
  }

  .vector.mobile svg {
    width: 100%;
    height: auto;
  }

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

  .hero__bottom svg {
    width: 60%;
    height: auto;
  }

  .hero__bottom p {
    margin-left: -9%;
  }
}

@media (min-width:1080px) {

  .works__grid-item {
    max-width: 100%;
  }

  .works__grid-item img,
  .works__grid-item video {
    object-fit: cover;
  }
}



@media (min-width:1440px) {

  .work__item img,
  .work__item video {
    height: 484px;
  }

  .artbliss video {
    max-height: 480px;
  }
}

@media (min-width:1520px) {

  .work__item img,
  .work__item video {
    height: 560px;
  }

  .work__line-item:nth-child(1) {
    max-width: 403px;
  }

  .h380 video,
  .h380 img {
    max-height: 555px;
    width: auto;
  }

  .work__line-item:nth-child(4) {
    max-width: 530px;
  }

  .artbliss video {
    max-height: 480px;
  }
}

.header__menu-top {
  padding-right: clamp(10px, 2vw, 20px);
}

.hero {
  position: relative;
  z-index: 2;
}

.works {
  position: relative;
  z-index: 2;
}



.wrapper {
  position: relative;
}

.animation-container {
  position: absolute;
  height: 150svh;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 3.15 !important;
  background-color: #E4E4F1;
  width: 100svw;
  z-index: 1;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  height: 250svh;
  width: 100svw;
}

.header {
  position: relative;
  z-index: 3;
}

.wrapper {
  width: 100svw;
  overflow-x: hidden;
}

*::-webkit-scrollbar {
  width: 0;
}

@media (max-width:1080px) {
  .footer__inner {
    margin-bottom: 50px;
  }

  .marquee {
    font-size: 20px;
  }

  .animation-container {
    height: 100svh;
    aspect-ratio: unset !important;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    width: 100svh;
  }

  canvas {
    position: absolute;
    top: 0;
    left: 0;
    height: 100svh;
    width: calc(100svw - 40px);
  }
}

@media (min-width:1080px) {
  .header__menu-top {
    margin-top: 20px;
  }
}

.btn {
  background-color: #b230fe5c;
  background-color: rgba(228, 228, 241, 0.333);
}

.btn:hover {
  background-color: rgba(102, 1, 165, 0.1);
}

.reload {
  transition: all 0.05s linear;
  opacity: 0;
}

@media (min-width:1080px) {
  .header__menu-left ul {
    font-size: 45px;
    gap: 57px;
  }

  .header__menu-right {
    font-size: 47px;
    margin-left: 10%;
  }

  .header__menu-top {
    margin-top: 40px;
  }

  .header__menu-top svg {
    height: 36px;
    width: auto;
  }

  .langs {
    font-size: 28px;
  }

  .header__menu-wrap {
    padding: 0 6%;
  }
}