@keyframes slideInTop {
  from {
    transform: translateY(-200%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100vw);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100vw);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(-50%);
  }
  
  to {
    transform: translateX(0);
  }
}


@keyframes appear {
  from {
    opacity: 0
  }

  to {
    opacity: 1;
  }
}

@keyframes startLefter {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes bounceFromTop {
  0% {
    transform: translateY(-50vh);
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes moveAwayUp {
  to {
    transform: translateY(-100%)
  }
}

@keyframes moveAwayDown {
  to {
    transform: translateY(100%)
  }
}

@keyframes moveAwayLeft {
  to {
    transform: translateX(-100%)
  }
}

@keyframes moveAwayRight {
  to {
    transform: translateX(100%)
  }
}





.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5vh 0 5vh 0;
  animation: startLefter 0.1s ease-in-out,
   slideLeft 0.75s ease-in-out 4s;
  animation-fill-mode: forwards;
  flex: 2;
  max-width: 50%;
  z-index: 3;
  position: relative;
}

.logo img {
  flex-wrap: nowrap;
  user-select: none;
}

.less-than, .bigger-than {
  object-fit: contain;
  z-index: 3;
}

.entire-w {
  animation: slideInTop 3s ease-in-out;
  z-index: 3;
}

.less-than {
  animation: slideInLeft 3s ease-in-out;
}

.bigger-than {
  animation: slideInRight 3s ease-in-out;
}






header {
  display: flex;
  justify-content: center;
  font-family: Ubuntu;
}

/* .logo-ctner {
  display: flex;
  justify-content: start;
  flex: 2;
} */

.catch-phrase {
  display: flex;
  justify-content: flex-end;
  flex: 2;
  margin-top: 50px;
  position: relative;
}

.slide-catch-phrase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.04;
  font-size: 17px;
  margin-bottom: 1rem;
}

.catch-phrase-description {
  line-height: 1.6;
  font-size: 18px;
}

.catch-phrase div {
  max-width: 472px;
}

.catch-phrase h1 {
  margin: 0 0 0 0;
}

.catch-phrase-description p {
  margin: 0 0 0 0;
  text-align: justify;
  animation: bounceFromTop 1s ease-in-out;
  animation-delay: 5s;
  animation-fill-mode: both;
}

.first-catch-phrase,
.second-catch-phrase {
  margin: 0 0 0 0;
}

.first-catch-phrase {
  flex: 2;
  opacity: 0;
  animation: appear 2s ease-out, slideInLeft 2s ease-in-out;
  animation-delay: 4s;
  animation-fill-mode: forwards;
}

.second-catch-phrase {
  flex: 2;
  opacity: 0;
  animation: appear 2s ease-out, slideInRight 2s ease-in-out;
  animation-delay: 4s;
  animation-fill-mode: forwards;
}


.catch-phrase-and-description {
  display: flex;
  flex-direction: column;
}



.vertical-logo-seperator {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 4px;
  height: 100%;
  /* right: 600px; */
  left: 1vw;
}

.vertical-logo-seperator .line {
  position: absolute;
  left: 1px;
  background-color: black;
  width: 2px;
  height: 100%;
  z-index: -1;
}

.vertical-logo-seperator .top-block {
  height: 50%;
  background-color: white;
  animation: moveAwayUp 0.5s ease-out 6s forwards;
}

.vertical-logo-seperator .bottom-block {
  height: 50%;
  background-color: white;
  animation: moveAwayDown 0.5s ease-in-out 6s forwards;
}



.horizontal-logo-seperator {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: -50px;
  display: none;
  margin: 0 15px 0 15px;
}

.horizontal-logo-seperator .line {
  height: 2px;
  width: 100%;
  background-color: black;
  position: absolute;
  top: 1px;
}

.horizontal-logo-seperator .top-block {
  background-color: white;
  width: 50%;
  height: 4px;
  z-index: 2;
  animation: moveAwayLeft 0.5s ease-in-out 6s forwards;
  margin: auto;
}

.horizontal-logo-seperator .bottom-block {
  background-color: white;
  width: 50%;
  height: 4px;
  z-index: 2;
  animation: moveAwayRight 0.5s ease-in-out 6s forwards;
  margin: auto;
}



@media screen and (max-width: 1250px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin-top: 100px;
    animation: none;
  }

  .catch-phrase {
    justify-content: center;
  }

  .catch-phrase div {
    max-width: 850px;
    margin: 0 15px 0 15px;
  }

  .vertical-logo-seperator {
    display: none;
  }

  .horizontal-logo-seperator {
    display: flex;
  }

}