@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;500&display=swap');

* {
  margin: 0;
  padding: 0;
}

body {
  background: #282c34;
  font-size: 2vmin;
  font-family: 'JetBrains Mono', monospace;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e4bb68;
}

.string {
  display: flex;
  flex-direction: column;
  text-align: center;
  animation: move 8s infinite;
}

.greeting {
  position: relative;
  top: 8.6vmin;
  animation: white-out 5s infinite;
}

.closure::after {
  content: '';
  position: absolute;
  height: 25vmin;
  width: 40vmin;
  background: #282c34;
  transform: translate(-45vmin, -24.5vmin);
}

.closure::before {
  content: '';
  position: absolute;
  height: 25vmin;
  width: 40vmin;
  background: #282c34;
  transform: translate(-40vmin, 5vmin);
}

.en {
  color: #fa8231;
}

.es {
  color: white;
}

.de {
  color: #c678dd;
}

.it {
  color: #a9b0bd;
}

@keyframes move {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  25% {
    transform: translateY(-5.8vmin);
    opacity: 1;
  }
  50% {
    transform: translateY(-11vmin);
    opacity: 1;
  }
  75% {
    transform: translateY(-16.5vmin);
    opacity: 1;
  }
  100% {
    transform: translateY(-22vmin);
    opacity: 1;
  }
}

@keyframes white-out {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}