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

a {
  color: white;
  text-decoration: none;
  text-shadow: 0px 0px 1rem rgba(0, 0, 0, 0.9);
  transition: all 0.3s;
}
a:hover {
  text-decoration: underline;
}

p {
  font-size: 1.4rem;
}

html {
  font-size: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  color: white;
}

.container {
  background-color: black;
  display: grid;
  grid-template-columns: [full-start] minmax(3rem, 1fr) [center-start] 8fr [center-end] minmax(3rem, 1fr) [full-end];
}

.bg-black {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(1, 1, 1, 0.8);
  z-index: 801;
}

.header {
  z-index: 900;
  position: fixed;
  grid-column: full-start/full-end;
  background: black;
  display: grid;
  grid-gap: 3rem;
  width: 100vw;
  grid-template-columns: 1fr;
  padding: 3rem 3rem;
}
@media only screen and (max-width: 900px) {
  .header {
    display: none;
  }
}
.header__nav {
  align-self: center;
}
.header__logo {
  max-width: 20rem;
  align-self: center;
}
.header__contacts {
  align-self: center;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2rem;
}

.link:hover, .link active {
  color: gray;
}

.contacts {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.contacts__items-box {
  display: flex;
  gap: 1rem;
}
.contacts__title {
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
  font-weight: 500;
  text-shadow: 0px 0px 1rem rgba(0, 0, 0, 0.9);
}
.contacts__item {
  font-size: 1.6rem;
  text-shadow: 0px 0px 1rem rgba(0, 0, 0, 0.9);
}

.footer {
  grid-column: full-start/full-end;
}
@media only screen and (max-width: 900px) {
  .footer {
    display: none;
  }
}

.nav {
  display: flex;
  justify-content: center;
  width: 100%;
}
.nav__list {
  transition: 0.3s all;
  display: flex;
  align-content: center;
  list-style-type: none;
  gap: 3rem;
}
@media only screen and (max-width: 900px) {
  .nav__list {
    display: none;
  }
}
.nav__item {
  display: block;
}
.nav__item a:link, .nav__item a:visited {
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2rem;
  color: white;
  transition: all 0.3s;
}
.nav__item a:hover, .nav__item active {
  color: gray;
}

.title-1 {
  font-size: 2.4rem;
  font-weight: 300;
  text-transform: uppercase;
}
@media only screen and (max-width: 470px) {
  .title-1 {
    font-size: 1.8rem;
  }
}

.title-2 {
  font-size: 20vw;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
@media only screen and (max-width: 470px) {
  .title-2 {
    font-size: 30vw;
  }
}

.title-3 {
  font-size: 2.8rem;
  font-weight: 500;
}

.title-4 {
  font-size: 2rem;
  font-weight: 500;
}

.text {
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: justify;
}

.bold {
  font-weight: 700;
}

.hidden {
  display: none;
}

.center {
  text-align: center;
}

.mb3rem {
  margin-bottom: 3rem;
}
@media only screen and (max-width: 470px) {
  .mb3rem {
    margin-bottom: 1rem;
  }
}

.mb1rem {
  margin-bottom: 1rem;
}

.small {
  font-size: 1.2rem;
}

.portfolio {
  padding-bottom: 10rem;
  grid-column: center-start/center-end;
  display: grid;
  grid-template-rows: repeat(2, max-content);
}
@media only screen and (max-width: 470px) {
  .portfolio {
    grid-column: full-start/full-end;
  }
}
.portfolio__title {
  text-align: center;
  padding-bottom: 3rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.projects {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-flow: row dense;
  grid-gap: 6rem 3rem;
  margin-bottom: 3rem;
}
@media only screen and (max-width: 1201px) {
  .projects {
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 5rem 1rem;
  }
}
@media only screen and (max-width: 900px) {
  .projects {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 7rem 1rem;
  }
}
@media only screen and (max-width: 470px) {
  .projects {
    grid-gap: 7rem 0.5rem;
  }
}

.project {
  transition: all 0.5s;
  opacity: 0;
  transform: translateY(20px);
}
.project__img {
  backface-visibility: hidden;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s all;
}
@media only screen and (max-width: 900px) {
  .project__img {
    margin-bottom: 1rem;
  }
}
.project__img:hover {
  transform: scale(1.01);
}
.project__title {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.35;
}
.project__type {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.35;
}
.project_video {
  grid-column: span 4;
}
.project_photo {
  grid-column: span 2;
}
@media only screen and (max-width: 470px) {
  .project_photo {
    grid-column: span 4;
  }
}
@media only screen and (max-width: 470px) {
  .project__textarea {
    margin-left: 2rem;
  }
}

.main {
  background: url(img/bg.jpg) cover;
  margin-bottom: 3rem;
  grid-column: full-start/full-end;
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding: 0 10rem;
  display: grid;
  align-content: flex-end;
  transition: 0.3s all;
}
@media only screen and (max-width: 900px) {
  .main {
    padding: 0 5rem;
  }
}
.main__wrapper {
  position: relative;
  z-index: 10;
  align-content: center;
  transition: 0.3s all;
}
.main__second-wrapper {
  display: flex;
  justify-content: space-between;
  transition: 0.3s all;
}
@media only screen and (max-width: 470px) {
  .main__second-wrapper {
    flex-direction: column;
  }
}
.main__running {
  font-size: 1.2rem;
}
.main__youtube {
  transition: 0.5s all;
  margin-right: 3rem;
}
@media only screen and (max-width: 470px) {
  .main__youtube {
    width: 20%;
    height: auto;
  }
}
.main__youtube:hover {
  transform: scale(1.1);
}
.main__maintext {
  animation: fadeIn 2s ease;
  backface-visibility: hidden;
  animation-fill-mode: backwards;
}
.main__maintext h1 {
  text-align: left;
}
.main__maintext h2 {
  opacity: 1;
  text-align: left;
}
.main__showreel {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main__text {
  font-size: 2rem;
  font-weight: 300;
}
.main__title {
  width: 60vw;
  margin-bottom: 5rem;
}
.main__about {
  margin-bottom: 10rem;
}
@media only screen and (max-width: 470px) {
  .main__about {
    margin-bottom: 15rem;
  }
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  object-fit: cover;
  z-index: 1;
}

.bg-grad {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(1, 1, 1, 0.7);
  z-index: 2;
}

.bg-showreel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  z-index: 800;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
.position-fixed {
  position: fixed;
  z-index: 100;
}

.display-none {
  display: none;
}

.clickable:hover {
  cursor: pointer;
}

.element-show {
  opacity: 1;
  transition: all 1.5s;
  transform: translateY(0%);
}

.tl {
  transform: translateX(-2.7%);
}

.fixed-left {
  position: fixed;
  left: 2rem;
  top: 50%;
  z-index: 999;
}
.fixed-left .contacts__item a {
  display: block;
  font-size: 1.8rem;
  writing-mode: vertical-rl;
}

.fixed-right {
  position: fixed;
  right: 2rem;
  top: 50%;
  z-index: 999;
}
.fixed-right .contacts__item a {
  display: block;
  font-size: 1.8rem;
  writing-mode: vertical-lr;
}

.video-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  grid-column: full-start/full-end;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player {
  position: fixed;
  z-index: 900;
}

.exit {
  cursor: pointer;
  width: 4rem;
  height: 4rem;
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 999;
}
@media only screen and (max-width: 900px) {
  .exit {
    width: 5rem;
    height: 5rem;
    top: 10rem;
    right: 3rem;
  }
}

.carousel-container {
  position: absolute;
  top: 0;
  rigth: 0;
  width: 100%;
  height: 100%;
  grid-column: full-start/full-end;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper {
  position: fixed;
  z-index: 900;
  width: 80%;
  height: 80%;
  transition: 0.3s all;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-slide img {
  display: flex;
  width: auto;
  height: 100%;
}
@media only screen and (max-width: 470px) {
  .swiper-slide img {
    width: 100%;
    height: auto;
  }
}

.swiper-button-next, .swiper-button-prev {
  color: white;
}

.burger-menu__button {
  display: none;
  position: fixed;
  top: 3rem;
  right: 3rem;
  z-index: 999;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}
@media only screen and (max-width: 900px) {
  .burger-menu__button {
    display: block;
  }
}

.burger-menu__button:hover .burger-menu__lines {
  filter: brightness(0.7);
}

.burger-menu__button:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.burger-menu__lines::before,
.burger-menu__lines::after,
.burger-menu__lines {
  position: absolute;
  z-index: 999;
  width: 2.5rem;
  height: 0.3rem;
  background-color: black;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.burger-menu__lines {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.burger-menu__lines::before {
  content: "";
  top: -0.8rem;
}

.burger-menu__lines::after {
  content: "";
  top: 0.8rem;
}

.burger-menu_active .burger-menu__lines {
  background-color: transparent;
}

.burger-menu_active .burger-menu__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.burger-menu_active .burger-menu__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.burger-menu__nav {
  padding-top: 8rem;
  position: fixed;
  top: 0;
  z-index: 901;
  display: flex;
  flex-flow: column;
  justify-content: space-around;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  right: -150%;
  -webkit-transition: 0.8s;
  -moz-transition: 0.8s;
  -o-transition: 0.8s;
  transition: 0.8s;
}

.burger-menu_active .burger-menu__nav {
  right: 0;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.burger-menu__link {
  padding: 1.2rem 3rem;
  font-size: 1.6rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  font-weight: 400;
  color: black;
}

.burger-menu__link:last-child {
  margin-bottom: 2rem;
}

.burger-menu__link:hover {
  filter: brightness(0.9);
}

.burger-menu__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 900;
}

.burger-menu_active .burger-menu__overlay {
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
}/*# sourceMappingURL=style.css.map */