* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Arial", sans-serif;
  font-size: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
a {
  margin: 0 0 20px 0;
  color: black;
  font-size: 24px;
  line-height: 36px;
}

.container {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  background: white;
}

.content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content--inner {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.ani-ball {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 100px;
  height: 100px;
  background: #2f3640;
  transform: scale(0.1);
  transform-origin: center center;
  border-radius: 50%;
  transition: all 1000ms ease;
}

.ani-ball.expand {
  transform: scale(50) !important;
  opacity: 1;
}

.canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  outline: 10px solid red;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  padding: 20px 0;
  opacity: 0;
  overflow: hidden;
  background: #7f8fa6;
  transition: opacity 500ms ease;
}

.overlay.hidden {
  display: none;
}

.overlay.fadeIn {
  opacity: 1;
}

.overlay__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 11;
  display: block;
  width: 50px;
  height: 50px;
  border: 10px solid;
  cursor: pointer;
}

.overlay__close::before,
.overlay__close::after {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 1px;
  background: white;
  content: "";
  transform-origin: center;
}

.overlay__close::before {
  transform: rotate(45deg);
}

.overlay__close::after {
  transform: rotate(-45deg);
}

.overlay__inner {
  max-width: 700px;
  padding: 0 20px;
  margin: 0 auto;
  background: white;
}