/* @import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Megrim&display=swap');

body {
  background: #ffd32a;
  padding: 0;
  margin: 0;
  color: #fff;
  font-family: 'Major Mono Display', sans-serif;
  text-transform: lowercase;
}

.topLeft {
  z-index: 1;
  width: 200%;
  height: 200%;
  position: fixed;
  background: #303030;
  top: -150%;
  left: -150%;
  transform-origin: bottom right;
  transition: transform 2.5s cubic-bezier(.59,.01,0,1.02) .5s;
}

.topRight {
  width: 50%;
  height: 50%;
  left: 50%;
  position: fixed;
  background: #303030;
}

.bottomLeft {
  width: 50%;
  height: 50%;
  position: fixed;
  background: #333;
  top: 50%;
  z-index: 2;
  border-top: 5px solid #ffd32a;
}

.bottomRight {
  z-index: 1;
  width: 200%;
  height: 200%;
  position: fixed;
  background: #333;
  top: 50%;
  left: 50%;
  transform-origin: top left;
  border-top: 5px solid #ffd32a;
  transition: transform 2.5s cubic-bezier(.59,.01,0,1.02) .5s;
}

.topLeftContent {
  position: fixed;
  text-align: left;
  height: 30%;
  opacity: 0;
  width: 35%;
  transition: opacity 3s cubic-bezier(.59,.01,0,1.02) 1s;
  color: #5f5226;
}

.topLeftContent h1 {
  line-height: 1.3em;
}

.topLeftContent h2 {
  font-size: .8em;
  line-height: 2em;
}

.topRightContent {
  position: fixed;
  text-align: center;
  height: 45%;
  width: 45%;
  left: 50%;
  top: 5%;
  z-index: 1;
  text-align: right;
  line-height: 1.2em;
  opacity: 0;
  transition: opacity 3s cubic-bezier(.6,0,.2,1.2) 1s;
}

.bottomLeftContent {
  z-index: 2;
  top: 60%;
  position: fixed;
  width: 30%;
  height: 40%;
  text-align: left;
  transition: opacity 1s ease-in-out;
  padding-left: 10%;
  line-height: 2em;
  color: #fff;
  font-size: 10pt;
  opacity: 0;
}

.bottomContent {
  width: 100%;
  top: 50%;
  height: 50%;
  position: fixed;
  z-index: 0;
  background-image: url('./images/3.jpg');
  background-size: cover;
  transition: background-position 10s ease-in-out 2s;
}

.move {
  background-position: 600px 80%;
  animation-duration: 20s;
  animation-name: updown;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(.59,.01,0,1.02);
}

.loaded {
  transform: rotate(60deg);
}

.ring {
  width: 100px;
  height: 100px;
  position: fixed;
  left: calc(50% - 50px);
  top: calc(50% - 50px);
  z-index: 2;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 2.6s cubic-bezier(.6,0,.2,1.2) .5s;
}

.fullRotate {
  transform: rotate(240deg);
}

.halfRotate {
  transform: rotate(60deg);
}

.appear {
  z-index: 3;
  opacity: 1 !important;
  display: inline-block !important;
}

.contactForm {
  z-index: 2;
  top: 55%;
  position: fixed;
  width: 35%;
  height: 40%;
  text-align: left;
  padding-left: 5%;
  line-height: 2em;
  color: #fff;
  opacity: 0;
  transition: all .5s ease-in-out .8s;
}

.inputGroup {
  padding: .5rem 0;
  text-align: right;
}

input {
  background-color: rgba(0,0,0,0.05);
  border: none;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  width: 100%;
  padding: 1.4em 1.8em;
  font-size: .8em;
  color: #fff;
  font-family: 'Major Mono Display', sans-serif;
  text-transform: lowercase;
  outline: none;
  border-radius: 2em / 50%;
}

input:focus,
textarea:focus {
  border-bottom: 2px solid rgba(0,0,0,0.3);
}

textarea:focus::placeholder {
  color: transparent;
}

textarea {
  background-color: rgba(0,0,0,.1);
  border: none;
  border-bottom: 2px solid rgba(0,0,0,0.05);
  padding: 1.4em 1.8em;
  width: 100%;
  height: 30%;
  outline: none;
  font-family: 'Major Mono Display', sans-serif;
  text-transform: lowercase;
  color: #fff;
  border-radius: 2em / 50%;
}

::placeholder {
  color: #ffd32a;
}

button {
  padding: 1.4em;
  font-family: 'Major Mono Display', sans-serif;
  text-transform: lowercase;
  cursor: pointer;
  transition: all .2s ease-in-out;
  background-color: rgba(0,0,0,0);
  border: 2px solid #ffd32a;
  color: #ffd32a;
  border-radius: 2em / 50%;
  outline: none;
}

button:hover {
  color: #5f5226;
  background-color: #ffd32a;
  border: 2px solid rgba(0,0,0,0);
}

a {
  text-decoration: none;
  color: #ffd32a;
  transition: color .3s ease-in-out,
              letter-spacing .3s ease-in-out;
  letter-spacing: 0;
}

a:hover {
  color: #fff;
  letter-spacing: 5px;
}

@media screen and (max-width: 1440px) {
  .topLeftContent {
    top: 10%;
    left: 3%;
  }

  .topLeftContent h1 {
    font-size: 1.5em;
    padding-right: 2em;
  }
}

@media screen and (min-width: 1440px) {
  .topLeftContent {
    top: 10%;
    left: 5%;
  }

  .topLeftContent h1 {
    font-size: 2em;
  }
}

@keyframes updown {
  0% {
    background-position: 200px 30%;
  }

  25% {
    background-position: 200px 35%;
  }

  50% {
    background-position: 700px 50%;
  }

  75% {
    background-position: 700px 80%;
  }

  100% {
    background-position: 200px 30%;
  }
}