<html>
  <head>
    <link rel="stylesheet" type="text/css" href="style.css" />
  </head>
  <body>
    <div class="card">
      <div class="wrapper">
        <h1>Design</h1>
        <p class="dim">Sed ut perspiciatis unde</p>
        <p>
          Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
          eiusmod tempor
        </p>
        <p class="dim">
          At vero eos et accusamus et iusto odio dignissimos ducimus qui
          blanditiis praesentium voluptatum
        </p>
      </div>
    </div>
  </body>
</html>
/** original design https://dribbble.com/shots/4941238-One-Minimal-Festival-Homepage-Alternative-Version-Animation */
:root {
  font-size: 16px;
  font-family: Futura;
  --bg-color: #010101;
  --w: 370px;
  --h: 450px;
  --gap: 2rem;
  --c1-color: #f8a3bc;
  --c2-color: #fec2d4;
}
body {
  padding: 0;
  margin: 0;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
.card {
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.card {
  position: relative;
  max-width: var(--w);
  color: white;
  animation: pausing-pendulum 4s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.card .wrapper {
  padding: 4rem 2rem;
  background: var(--bg-color);
}
.card h1 {
  font-size: 3rem;
  font-weight: bold;
}
.card p {
  font-weight: 200;
  line-height: 2;
}
.dim {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4rem;
}

@keyframes pausing-pendulum {
  0%,
  20% {
    transform: translateY(0);
  }
  40%,
  50% {
    transform: translateY(1500px);
  }
  70%,
  100% {
    transform: translateY(0);
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.