@font-face {
  font-family: spacelight;
  src: url("/fonts/SpaceGrotesk-Light.ttf");
}
@font-face {
  font-family: spaceregular;
  src: url("/fonts/SpaceGrotesk-Regular.ttf");
}
@font-face {
  font-family: spacemedium;
  src: url("/fonts/SpaceGrotesk-Medium.ttf");
}
@font-face {
  font-family: spacesemibold;
  src: url("/fonts/SpaceGrotesk-SemiBold.ttf");
}
@font-face {
  font-family: spacebold;
  src: url("/fonts/SpaceGrotesk-Bold.ttf");
}

:root {
  --menu-left: 30px;
  --menu-left-d: 50px
}

::-webkit-scrollbar {
  display: none;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "spaceregular";
}

html {
  background-color: black;
  scroll-behavior: smooth;
}

header {
  position: absolute;
  top: 0;
  z-index: 100;
  height: 50px;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  z-index: 999 !important;
  pointer-events: all;
}

menu button {
  position: absolute;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  font-family: "spacesemibold";
  font-size: 18px;
  outline: inherit;
  margin-top: 30px;
  transition: all 0.5s;
  pointer-events: all !important;
}

menu button:hover {
  color: white;
  cursor: pointer;
}

#logotype {
  left: 50%;
  transform: translate(-50%, 0);
  color: white !important;
}

#contact {
  left: 50px;
}

#work {
  right: 50px;
}

@media (orientation: portrait) {
  menu button {
    font-size: 14px;
    position: relative;
  }

  #contact {
    left: var(--menu-left);
    margin-left: 0px;
  }

  #logotype {
    left: 0;
    transform: translate(-2%, 0);
  }

  #work {
    right: var(--menu-left);
    margin-right: 0px;
  }
}

#gradient {
  opacity: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 20vh;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none !important;
  z-index: 0;
  transition: all 1s;
}

#black {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: -1;
  transition: all 0s;
  pointer-events: none;
}

.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.1) !important;
  transition: all .5s;
}

header menu button:hover ~ header #black {
  opacity: 1 !important;
}

a {
  text-decoration: none;
  white-space: normal;
  color: white;
}

nav {
  position: fixed;
  height: 100%;
  width: 100vw;
}

#works {
  transform: scale(1);
  transition: all 0.5s;
}

#works div {
  position: absolute;
  display: block;
  width: 50vw;
  height: 100%;
  top: 0;
}

#works .categories {
  top: 15vh;
  left: 0;
  padding-left: var(--menu-left-d);
  position: absolute;
  display: block;
  text-align: left;
  z-index: 999 !important;
}

#works .names {
  top: 0;
  left: 50vw;
  overflow-y: scroll;
}

#works .categories label {
  display: flex;
  width: max-content;
  height: max-content;
  margin: 10px 0;
}

#works .categories label span {
  font-size: 4.5vw;
  font-weight: bolder;
  text-transform: uppercase;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.5s;
}

#works .categories label span:hover {
  color: white;
}

#works .categories label:nth-child(1) {
  margin-top: 0;
}

.list {
  padding-top: 15vh;
  display: none;
  padding-bottom: 50px;
}

.list li {
  list-style: none;
  margin: 20px 0px;
  padding: 0;
  text-align: left;
}

.list li a {
  font-size: 20px;
  font-family: "spacesemibold";
  color: white;
  text-transform: uppercase;
}

.list li a:hover {
  color: rgba(255, 255, 255, 0.5);
}

@media (orientation: portrait) {
  #works .categories {
    width: 100%;
    height: 15vh;
    top: 11vh;
    margin: 5px 0;
    padding-left: var(--menu-left);
  }

  #works .categories label span {
    font-size: 30px;
  }

  #works .names {
    left: 0;
    padding: 0 var(--menu-left);
    width: 100%;
  }

  .list {
    padding-top: 35vh;
  }

  .list li a {
    font-size: 16px;
    font-family: "spacesemibold";
    color: white;
    text-transform: uppercase;
  }

  #gradient {
    height: 40vh;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 1) 80%,
      rgba(0, 0, 0, 0) 100%
    );
  }
}

input {
  display: none;
  opacity: 0;
  pointer-events: none;
}

input[value="music"]:checked ~ header #content-music {
  display: block;
}

input[value="commercials"]:checked ~ header #content-commercials {
  display: block;
}

input[value="narrative"]:checked ~ header #content-narrative {
  display: block;
}

.white {
  color: white !important;
}

#contacts {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .5s;
}

#contacts ul li {
  list-style: none;
  padding: 0;
  text-align: center;
  margin: 50px;
}






footer {
  position: fixed;
  right: 10px;
  bottom: 10px;
}

footer a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

footer a:hover {
  color: white;
}

.frame {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
}

iframe {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 80%;
  height: 100%;
}

.frame h1 {
  font-size: 70px;
  color: white;
  text-align: center;
  position: absolute;
  top: 100vh;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-weight: bolder;
  text-transform: uppercase;
}

.frame aside {
  position: relative;
  height: 100%;
  top: 120vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 100px;
}

.frame aside div {
  display: flex;
  width: 100vw;
}

.frame aside img {
  display: inline;
  object-fit: cover;
  margin: 3px;
}

.frame aside .f1 {
  height: 60vh;
}

.frame aside .f2 {
  height: 40vh;
}

.frame aside .f1 img {
  width: 50%;
}

.frame aside .f2 img {
  width: 33%;
}

@media (orientation: portrait) {
  .frame h1 {
    font-size: 30px;
  }

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

  .frame aside .f1,
  .frame aside .f2 {
    height: 100%;
  }

  .frame aside .f1 img,
  .frame aside .f2 img {
    display: inline-block;
    width: 100%;
  }

}





#homepage {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100vw;
  height: 100%;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-y: scroll;
  overflow-x: hidden;
  font-size: 0;
}

video {
  display: inline-block;
  position: relative;
  height: 100vh;
  width: 100vw;
  object-fit: cover;
  z-index: -1;
  margin: 0;
  padding: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  opacity: 1;
  /* filter: blur(10px); */
  transition: all .5s
}

video.active {
  /* opacity: 1; */
  /* filter: blur(0px); */
  transition: all .5s;
}

svg {
  pointer-events: none !important;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30vw;
  height: auto;
  z-index: 1;
  fill: rgba(255, 255, 255, 0.7);
  background-color: transparent;
}

#index{
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 5px;
  right: 50px;
  top: 50%;
  transform: translate(0, -50%);
}

#index > div {
  position: relative;  margin: 5px;
  width: 4px;
  height: 3vh;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.5s;
}

.rect {
  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px;
  background: rgba(255, 255, 255, 1);
}

.rect:hover {
  background: rgba(255, 255, 255, 1);
}

.anim {
  background-color: red;
  height: 0;
  transition: height 30s;
}

@media (orientation: portrait) {
  #index {
    width: 3px;
    right: 20px;
  }

  svg {
    width: 60vw;
  }
}