* {
  box-sizing: border-box;
  transform: all 0.3s ease-in-out;
}

@font-face {
  font-family: "MyCustomFont";
  src: url("./fonts/GothamNarrow-Light.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: "MyCustomFont", sans-serif;
  font-size: 20px;
  letter-spacing: 0.1px;
  background-color: #000;
  color: #e0e0e0;
  margin: 0;
  background: url(./images/hero.jpg) no-repeat center center fixed;
  background-size: cover;
  box-shadow: inset 0 0 10vw 10px rgba(0, 0, 0, 0.5);
}

.content {
  position: relative;
  z-index: 1;
  width: 40vw;
  height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
}

.content .background {
  position: absolute;
  top: 0;
  left: 0;
  width: 125%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  animation: leftToRight 0.66s ease-out forwards;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.logotype {
  width: max(200px, 22vw);
  opacity: 0;
  animation: logoResize 0.66s ease-out forwards;
  animation-delay: 0.33s;
}

.para {
  font-size: max(14px, 1.5vw);
  opacity: 0;
  animation: fadeInText 0.66s ease-out forwards;
  animation-delay: 1s;
  width: max(200px, 22vw);
}

@keyframes logoResize {
  0% {
    transform: scale(20);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes leftToRight {
  0% {
    transform: translateX(-120%) skew(-12deg);
    opacity: 0;
  }
  100% {
    transform: translateX(-20%) skew(-12deg);
    opacity: 1;
  }
}

@keyframes fadeInText {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (orientation: portrait) {
  body {
    background-position: 70% center;
  }

  .content {
    width: 60vw;
    padding: 2em;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .content .background {
    width: 1750%;
    height: 120%;
  }

  .logotype {
    width: max(150px, 60vw);
  }

  .para {
    font-size: max(12px, 4.5vw);
    width: max(150px, 60vw);
  }
}
