@import url(https://fonts.googleapis.com/css?family=Ubuntu);
:root {
  --offset: 6px;
}
* {
  box-sizing: border-box;
}

html {
  background: #242b42;
  font-family: "Ubuntu";

  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  padding: 0;
}
.container {
  background: #242b42;
  /*height: 100vh;*/

  min-height: 100vh;
  max-height: 100vh;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
}

.box {
  background: #343e5f;
  width: 95%;
  height: 80%;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.description {
  text-align: center;
  padding-top: 2vh;
  padding-bottom: 2vh;
  pointer-events: none;
}

.description .title {
  font-size: 24px;
  letter-spacing: 0.5px;
  font-weight: bold;
  color: white;
  padding-bottom: 30px;
  pointer-events: none;
}

.description p {
  color: #a9a8bd;
  pointer-events: none;
}

.actions {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}

.email-btn {
  background: #ffaa53;
  padding: 10px 20px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  border: 1px solid transparent;
  width: 100%;
  text-align: center;
  transition: transform 250ms ease-in-out;
}

.home-btn {
  background: transparent;
  padding: 10px 20px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  border: 1px solid white;
  width: 100%;
  text-align: center;
  transition: transform 250ms ease-in-out;
}

.email-btn:hover,
.home-btn:hover {
  transform: scale(1.1);
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5vw;
}
.footer div {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer div img {
  width: 80px;
}

.footer div::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 1px;
  background-color: #dbdcdf;
  top: calc(50% - 10px);
  left: -2.5vw;
}

.footer div:first-child::before {
  background-color: transparent;
}

.footer p,
.footer a {
  color: #d2d3d7;
  text-align: center;
  text-decoration: none;
  font-size: 1.5ch;
}

.mask {
  height: 45px;
  position: relative;
  overflow: hidden;
}

.mask span {
  display: block;
  box-sizing: border-box;
  position: absolute;
  top: 45px;
  width: 100%;
  padding-bottom: var(--offset);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-repeat: no-repeat;
  background-color: #a9a8bd;
  -webkit-font-smoothing: antialiased;
}

.mask span[data-show] {
  transform: translateY(-100%);
  transition: 0.5s transform ease-in-out;
}

.mask span[data-up] {
  transform: translateY(-200%);
  transition: 0.5s transform ease-in-out;
}
.ghost_wrapper {
  position: relative;
  height: 20vh;
  margin-top: 30px;
}
.ghost {
  padding: 15px 25px 25px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) scale(0.6);
}
.ghost .symbol:nth-child(1) {
  opacity: 0.2;
  animation: shine 4s ease-in-out 3s infinite;
}
.ghost .symbol:nth-child(1):before,
.ghost .symbol:nth-child(1):after {
  content: "";
  width: 12px;
  height: 4px;
  background: #fff;
  position: absolute;
  border-radius: 5px;
  bottom: 65px;
  left: 0;
}
.ghost .symbol:nth-child(1):before {
  transform: rotate(45deg);
}
.ghost .symbol:nth-child(1):after {
  transform: rotate(-45deg);
}
.ghost .symbol:nth-child(2) {
  position: absolute;
  left: -5px;
  top: 30px;
  height: 18px;
  width: 18px;
  border: 4px solid;
  border-radius: 50%;
  border-color: #fff;
  opacity: 0.2;
  animation: shine 4s ease-in-out 1.3s infinite;
}
.ghost .symbol:nth-child(3) {
  opacity: 0.2;
  animation: shine 3s ease-in-out 0.5s infinite;
}
.ghost .symbol:nth-child(3):before,
.ghost .symbol:nth-child(3):after {
  content: "";
  width: 12px;
  height: 4px;
  background: #fff;
  position: absolute;
  border-radius: 5px;
  top: 5px;
  left: 40px;
}
.ghost .symbol:nth-child(3):before {
  transform: rotate(90deg);
}
.ghost .symbol:nth-child(3):after {
  transform: rotate(180deg);
}
.ghost .symbol:nth-child(4) {
  opacity: 0.2;
  animation: shine 6s ease-in-out 1.6s infinite;
}
.ghost .symbol:nth-child(4):before,
.ghost .symbol:nth-child(4):after {
  content: "";
  width: 15px;
  height: 4px;
  background: #fff;
  position: absolute;
  border-radius: 5px;
  top: 10px;
  right: 30px;
}
.ghost .symbol:nth-child(4):before {
  transform: rotate(45deg);
}
.ghost .symbol:nth-child(4):after {
  transform: rotate(-45deg);
}
.ghost .symbol:nth-child(5) {
  position: absolute;
  right: 5px;
  top: 40px;
  height: 12px;
  width: 12px;
  border: 3px solid;
  border-radius: 50%;
  border-color: #fff;
  opacity: 0.2;
  animation: shine 1.7s ease-in-out 7s infinite;
}
.ghost .symbol:nth-child(6) {
  opacity: 0.2;
  animation: shine 2s ease-in-out 6s infinite;
}
.ghost .symbol:nth-child(6):before,
.ghost .symbol:nth-child(6):after {
  content: "";
  width: 15px;
  height: 4px;
  background: #fff;
  position: absolute;
  border-radius: 5px;
  bottom: 65px;
  right: -5px;
}
.ghost .symbol:nth-child(6):before {
  transform: rotate(90deg);
}
.ghost .symbol:nth-child(6):after {
  transform: rotate(180deg);
}
.ghost .ghost-container {
  background: #fff;
  width: 100px;
  height: 100px;
  border-radius: 100px 100px 0 0;
  position: relative;
  margin: 0 auto;
  animation: upndown 3s ease-in-out infinite;
}
.ghost .ghost-container .ghost-eyes {
  position: absolute;
  left: 15%;
  top: 45%;
  height: 12px;
  width: 70px;
}
.ghost .ghost-container .ghost-eyes .eye-left {
  width: 12px;
  height: 12px;
  background: #343e5f;
  border-radius: 50%;
  margin: 0 10px;
  position: absolute;
  left: 0;
}
.ghost .ghost-container .ghost-eyes .eye-right {
  width: 12px;
  height: 12px;
  background: #343e5f;
  border-radius: 50%;
  margin: 0 10px;
  position: absolute;
  right: 0;
}

.ghost .ghost-container .ghost-bottom {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}
.ghost .ghost-container .ghost-bottom div {
  flex-grow: 1;
  position: relative;
  top: -10px;
  height: 20px;
  border-radius: 100%;
  background-color: #fff;
}
.ghost .ghost-container .ghost-bottom div:nth-child(2n) {
  top: -12px;
  margin: 0 0px;
  border-top: 15px solid #343e5f;
  background: transparent;
}
.ghost .ghost-shadow {
  height: 20px;
  box-shadow: 0 50px 15px 5px #242b42;
  border-radius: 50%;
  margin: 0 auto;
  animation: smallnbig 3s ease-in-out infinite;
}

@keyframes upndown {
  0% {
    transform: translateY(5px);
  }
  50% {
    transform: translateY(15px);
  }
  100% {
    transform: translateY(5px);
  }
}
@keyframes smallnbig {
  0% {
    width: 90px;
  }
  50% {
    width: 100px;
  }
  100% {
    width: 90px;
  }
}
@keyframes shine {
  0% {
    opacity: 0.2;
  }
  25% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.2;
  }
}

@media (min-width: 540px) {
  .actions {
    flex-direction: row;
  }
  .box {
    width: 440px;
    padding: 60px;
  }

  .ghost_wrapper {
    height: 10vh;
  }

  .ghost {
    top: 20%;
  }
}
@media (min-width: 600px) {
  :root {
    --offset: 25px;
  }
  .box {
    width: 540px;
  }

  span br {
    display: none;
  }

  .mask span {
    font-size: 18px;
    top: 57px;
  }
}
@media (min-width: 992px) {
  .ghost_wrapper {
    height: 15vh;
    margin-top: 70px;
  }
  .ghost {
    transform: translate(-50%, -60%);
  }
}
