@font-face {
  font-family: 'VCR OSD Mono';
  font-style: normal;
  font-weight: normal;
  src: local('VCR OSD Mono'), url('../fonts/VCR_OSD_MONO_1.001[1].woff') format('woff');
}

/* poppins-regular - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v19-latin-regular.eot');
  /* IE9 Compat Modes */
  src: local(''),
    url('../fonts/poppins-v19-latin-regular.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/poppins-v19-latin-regular.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/poppins-v19-latin-regular.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/poppins-v19-latin-regular.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/poppins-v19-latin-regular.svg#Poppins') format('svg');
  /* Legacy iOS */
}

/* poppins-500 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v19-latin-500.eot');
  /* IE9 Compat Modes */
  src: local(''),
    url('../fonts/poppins-v19-latin-500.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/poppins-v19-latin-500.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/poppins-v19-latin-500.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/poppins-v19-latin-500.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/poppins-v19-latin-500.svg#Poppins') format('svg');
  /* Legacy iOS */
}

/* poppins-700 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v19-latin-700.eot');
  /* IE9 Compat Modes */
  src: local(''),
    url('../fonts/poppins-v19-latin-700.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/poppins-v19-latin-700.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/poppins-v19-latin-700.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/poppins-v19-latin-700.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/poppins-v19-latin-700.svg#Poppins') format('svg');
  /* Legacy iOS */
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v19-latin-600.eot');
  /* IE9 Compat Modes */
  src: local(''),
    url('../fonts/poppins-v19-latin-600.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/poppins-v19-latin-600.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/poppins-v19-latin-600.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/poppins-v19-latin-600.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/poppins-v19-latin-600.svg#Poppins') format('svg');
  /* Legacy iOS */
}

#background video {
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  filter: brightness(20%);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins';
  margin: 0;
  color: white;
}

.main {
  position: fixed;
  height: 100%;
  width: 100%;
}

.container {
  font-family: 'Poppins';
  position: absolute;
  width: 100%;
  height: 100%;
}

.overlay {
  z-index: 1;
}

.overlay {
  background-color: black;

  .logo-top {
    white-space: nowrap;
    font-weight: 600;
    font-size: 80px;
  }

  .logo-top sup {
    position: relative;
    top: -0.25em;
    font-weight: 400;
    font-size: 30px;
  }

  .logo-bottom {
    text-align: center;
    font-weight: 400;
    font-size: 25px;
    color: rgba(255, 255, 255, 0.3);
  }

  position: absolute;
  width: 100%;
  height: 100%;
}

.menu {
  padding: 70px;
  list-style-type: none;
  font-family: 'Poppins';
  font-size: 30px;
  font-weight: 600;
}

.item {
  margin-bottom: 16px;
  width: fit-content;
  transition: font-size .2s ease-in-out, font-family .2s ease-in-out;
  cursor: pointer;
  height: 45px;
  position: relative;
}

.item:hover {
  /**/
  font-family: 'VCR OSD Mono';
  font-weight: normal;
  font-size: 30px;
  margin-bottom: 16px;
  color: #FFF500;
  transform: translate(0, -7px);
}

.item span {
  position: absolute;
  bottom: 0;
  left: 0;
}

.logo {
  position: absolute;
  font-family: 'Poppins';
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 40px;
}

.logo-top {
  white-space: nowrap;
  font-weight: 600;
  font-size: 80px;
}

.logo-top sup {
  position: relative;
  top: -0.25em;
  font-weight: 400;
  font-size: 30px;
}

.logo-bottom {
  text-align: center;
  font-weight: 400;
  font-size: 25px;
  color: rgba(255, 255, 255, 0.3);
}

.logo-corner {
  font-size: 35px;
  font-weight: 600;
  cursor: pointer;
  position: absolute;
  z-index: 1;
}

.logo-corner sup {
  position: relative;
  top: -0.25em;
  left: 0.3em;
  font-weight: 400;
  font-size: 13px;
}

.photolink {
  z-index: 1;
}

.padding {
  padding: 70px;
}

.contacts {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.contacts a, .contacts p {
  color: white;
  text-decoration: none;
  text-align: center;
  font-size: 50px;
  font-weight: 600;
}

@media only screen and (max-width: 800px) and (min-width: 600px) {
  .contacts a, .contacts p {
    font-size: 35px;
  }
}

.contacts a:hover {
  font-family: 'VCR OSD Mono';
  font-weight: normal;
  margin-bottom: 16px;
  color: #FFF500;
  transform: translate(0, -7px);
}

.contacts-image {
  position: absolute;
  height: 30%;
  bottom: -5%;
  left: 10%;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.contacts-image:hover {
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  height: 100%;
  left: -8%;
  bottom: 0%;
}

.video-container {
  width: 100%;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  display: flex;
  height: 60%;
  margin-top: 1%;
  scroll-snap-type: x mandatory;
  overflow-x: scroll;
  cursor: grab;
}

.mobile {
  display: none !important;
}

.desktop {
  display: block;
}

@media only screen and (max-width: 600px) {
  .photo-item:first-child {
    margin-top: 120px;
  }

  .mobile {
    display: block !important;
  }

  .desktop {
    display: none !important;
  }

  .video-container {
    flex-direction: column;
    top: 15%;
    height: 85%;
    transform: none;
  }

  .video-block {
    padding-left: 0px !important;
    width: 100%;
    padding-right: 0px !important;
    margin: 5% 0;
  }

  .padding {
    padding: 40px !important;
  }

  .video-title {
    margin-top: 5px !important;
    font-size: 20px !important;
    text-align: center;
  }

  .video-desc {
    font-size: 15px !important;
    text-align: center;
  }

  .video-preview {
    height: auto !important;
    width: 100% !important;
  }

  .contacts-image {
    display: none;
  }

  .contacts {
    width: 100%;
  }

  .contacts p, a {
    font-size: 4vw !important;
  }

  #infoframe {
    background: none;
  }

  .photo-item img {
    width: 100% !important;
    padding: 0 !important;
    aspect-ratio: 1;
    height: unset !important;
  }

  .photo-container {
    grid-auto-flow: row dense !important;
    width: 100% !important;
    padding: 0 !important;
    /*top: 15% !important;
    height: 85% !important;*/
    top: 0% !important;
    height: 100% !important;
    transform: none !important;
    left: 0 !important;
  }

  .photo-item {
    padding: 20px 0;
  }

  #video-iframe-div-2 {
    padding: 0px !important;
  }

  .photo-content {
    display: block !important;
  }

  .photo-text-container {
    width: 100%;
    position: relative;
    margin: 0 !important;
    height: unset !important;
  }

  .photo-text {
    position: relative !important;
    top: 0 !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    text-align: center;
    margin: 40% 10% 10% 10% !important;
  }

  .photo {
    width: 100% !important;
    height: auto !important;
  }

  .photo-div {
    margin: 0 !important;
    height: fit-content !important;
    display: grid;
  }

  .photo-text p {
    word-wrap: unset;
    line-height: 10px;
  }

  .photo-text p:first-child {
    font-size: 40px !important;
  }

  .photo-text p:nth-child(2) {
    font-size: 25px !important;
  }

  .photo-text p:nth-child(3) {
    font-size: 15px !important;
  }

  .logo-top {
    font-size: 40px;
  }

  .logo-top sup {
    top: -0.3em;
    font-size: 15px;
  }

  .logo-bottom {
    font-size: 15px;
    line-height: 5px;
  }

  .menu {
    margin-top: -1500px;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #arrow {
    display: block !important;
    margin: 0;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 15%;
    transition: all .2s ease-in-out;
  }

  .item span {
    position: relative;
    text-align: center;
  }

  .item {
    width: 100%;
    text-align: center;
  }

  .arrowup {
    bottom: unset !important;
    -webkit-transform: translateX(-50%) rotate(180deg) !important;
    -moz-transform: translateX(-50%) rotate(180deg) !important;
    -ms-transform: translateX(-50%) rotate(180deg) !important;
    -o-transform: translateX(-50%) rotate(180deg) !important;
    transform: translateX(-50%) rotate(180deg) !important;
    top: 5%;
  }
}

#arrow {
  display: none;
}

#photo-post {
  background-color: black;
}

.photo-container {
  width: 90%;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  margin-top: 1%;
  scroll-snap-type: x mandatory;
  overflow-x: scroll;
  display: grid;
  cursor: grab;
  padding: 0% 5% 0% 5%;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-auto-flow: column dense;
  /* column flow with "dense" to fill all the cells */
  grid-template-rows: 1fr 1fr;
  /* 2 rows */
  grid-auto-columns: 1fr;
  counter-reset: num;
  grid-gap: 5px;
}
}

.photo-container span:nth-child(4n + 2) {
  grid-row: 1;
}

.photo-container span {
  background: yellow;
  font-size: 25px;
}

.photo-container span::before {
  content: counter(num);
  counter-increment: num;
}

.photo-item img {
  object-fit: cover;
  width: 250px;
  height: 250px;
  padding: 30px;
  transition: all .2s ease-in-out;
}

.video-container::-webkit-scrollbar {
  display: none;
}

.photo-container::-webkit-scrollbar {
  display: none;
}

.video-preview {
  height: 430px;
  width: auto;
}

.video-block {
  padding-left: 70px;
  padding-right: 70px;
}

.video-block a {
  color: white;
  text-decoration: none;
}

.video-title {
  margin-top: 20px;
  font-size: 25px;
  font-weight: 600;
}

.video-desc {
  font-size: 22px;
  line-height: 25px;
  font-weight: 400;
}

#video-iframe-div {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

#video-iframe-div iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#video-iframe-div-2 {
  padding: 100px;
  top: 50%;
  position: relative;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

#video-iframe-div-3 {
  position: relative;
  height: 100%;
  z-index: 3;
}

.photo-text {
  color: white;
  text-decoration: none;
  /* text-align: left; */
  /* font-size: 30px; */
  font-weight: 600;
  margin: 0 15%;
  /* position: relative; */
  /* display: inline; */
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  /* transform: translate(-50%, -50%); */
  /*position: absolute;*/
  position: relative;
}

.photo-text p {
  line-height: 10px;
  white-space: nowrap;
}

.photo-text p:first-child {
  font-size: 60px;
  font-weight: 600;
}

.photo-text p:nth-child(2) {
  font-size: 30px;
  font-weight: 500;
}

.photo-text p:nth-child(3) {
  font-size: 20px;
  font-weight: 500;
}

.photo-content {
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: scroll;
}

.photo-content::-webkit-scrollbar {
  display: none;
}

.photo-div:last-child {
  margin-right: 10%;
}

.photo {
  height: 100%;
}

.photo-div {
  margin-left: 8%;
  height: 100%;
}

.photo-text-container {
  height: 100%;
  position: sticky;
  /* width: 200px; */
  /*margin-left: 20%;*/
  /*margin-right: 8%;*/
  margin-left: 15%;
  margin-right: 0%;
}

#arrow2 {
  position: absolute;
  bottom: 50%;
  height: 100px;
  right: 1%;
  opacity: 0.3;
  transform: rotate(270deg) translateX(-45px);
}

.copy {
  position: absolute;
  /* top: 50%; */
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: 5%;
}
