@font-face {
  font-family: 'PPMori-Regular';
  src: url('PPMori-Regular.woff2') format('woff2'),
    url('PPMori-Regular.woff') format('woff'),
    url('PPMori-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: "PPMori-Regular";
  background: #000;
  color: #fff;
  overflow: hidden;
  /* page itself won't scroll; container will */
}

h1 {
  font-size: 2.75rem;
  line-height: 1.1;
}

h2 {
  font-size: 2rem;
}

ul {
  list-style: none;
}

.container {
  height: 100vh;
  width: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y mandatory;
}

.page {
  background-color: #000;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
}

.page, #header {
  padding: 4.5rem 4rem 4rem;
}

#header {
  position:fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s linear;
}

#header h1 {
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

#header h1.fade-out {
  opacity: 0;
}

/* page backgrounds */
.landing, .ending {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.logo-landing, .logo-ending {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.landing .logo-landing img {
  height: 100%;
  object-fit: contain;
  max-width: 47%
}

.ending .logo-ending img {
  height: 100%;
  object-fit: contain;
  max-width: 65%
}

.home {
  /* justify-content: center; */
  padding: unset!important;
}

.home video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.home .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.logo-header {
  width: 150px;
}

.logo-header img{
  width: 100%;
}

.content {
  padding-left: 15%;
  padding-top: 1rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  font-size: 2.25rem;
  line-height: 3.25rem;
  width: 80%;
  margin: 0 auto;
  position: relative;
  z-index: 4;
}

.contact-item {
  display: flex;
  margin-bottom: 3rem;
}

.contact-title {
  width: 350px;
  flex-shrink: 0;
}

.contact-detail a {
  color: #fff;
  text-decoration: none;
  display: block;
  transition: all 0.4s ease;
}

.contact-detail a:hover {
  color: #f05a28;
  text-decoration: underline;
}

.copyright {
  position: absolute;
  bottom: 5%;
  align-self: flex-start;
}

.scroll-info {
  animation: blinker 5s linear infinite;
  color: #f05a28;
  position : absolute;
  bottom: 15%;
  font-size: 1.25rem;
  text-align: center;
  /* 2s duration, linear timing, infinite loop */
}

.video-mobile {
  display: none;
}

@keyframes blinker {
  0% {
    opacity: 1;
  }

  /* Fully visible at the start */
  50% {
    opacity: .1;
  }

  /* Fully invisible at the midpoint */
  100% {
    opacity: 1;
  }

  /* Fully visible at the end */
}


@media only screen and (max-width: 1600px) {
  html {
    font-size: 75%;
  }

    .page,
    #header {
      padding: 3.75rem 3.5rem 3.5rem;
    }

    .logo-header {
      width: 125px;
    }

    .content {
      padding-left: 10%;
      line-height: 3rem;
      width: 75%;
    }

    .contact-title {
      width: 275px;
    }
}

@media only screen and (max-width: 1279px) {
  html {
    font-size: 70%;
  }

  .page,
  #header {
    padding: 3.5rem 3.25rem 3.25rem;
  }

  .content {
    padding-left: 10%;
    width: 72.5%;
  }

  .contact-title {
    width: 250px;
  }
}

@media only screen and (max-width: 1023px) {
  html {
    font-size: 65%;
  }

  .page,
  #header {
    padding: 3.5rem 3.25rem 3.25rem;
  }
  .logo-header {
    width: 115px;
  }

  .content {
    padding-top: 1.25rem;
    padding-left: 7.5%;
    width: 67.5%;
  }

  .contact-title {
    width: 170px;
  }
}

@media only screen and (max-width: 768px) {
  html {
    font-size: 60%;
  }

  .page,
  #header {
    padding: 3.25rem 3rem 3rem;
  }

  .logo-header {
    width: 105px;
  }

  .content {
    padding-top: 1.5rem;
    padding-left: 7.5%;
    width: 67.5%;
  }

  .contact-title {
    width: 130px;
  }
}

@media only screen and (max-width: 640px) {

  .landing .logo-landing img {
    max-width: 80%
  }

  .page,
  #header {
    padding: 3.25rem 3rem 3rem;
  }

  #header {
    background-color: #000;
    z-index: 9;
  }

  .home #header {
    background-color: transparent;
  }

  .logo-header {
    width: 100px;
  }

  .content {
    padding-top: 11rem;
    padding-left: unset;
    width: 100%;
  }

  .contact-item {
    flex-direction: column;
  }

  .contact-title {
    width: 100%;
    margin-bottom: 10px;
  }

  .copyright {
    bottom: 15%;
  }

  .video-desktop {
    display: none;
  }

  .video-mobile {
    display: block;
  }
}
