* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100vw;
  height: 100vh;
  background: #2b2b2b;
  color: #e1e1e1;
  font-family: sans-serif;
  font-size: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  padding: 10px;
  background: #3b3b3b;
}

main {
  height: 100%;
}

h1 {
  margin: 0;
  font-size: 24px;
  font-weight: normal;
}

#gateway {
  width: 100%;
  height: 100%;
  background: url('futuristic.png') no-repeat center center;
  background-size: cover;
}

#sponge-container {
  width: 50vw;
  position: absolute;
  top: calc(50% - 25vw);
  left: calc(50% - 25vw);
  animation: sponge-spin 3s linear infinite;
  transform-origin: 25vw 25vw;
}

#sponge {
  width: 50vw;
  position: absolute;
  animation: sponge-pulse 2.4s ease-in-out infinite;
}

#enter {
  position: absolute;
  bottom: 5%;
  left: calc(50% - 100px);
  width: 200px;
  font-size: 24px;
  cursor: pointer;
}

@keyframes sponge-spin {
  0%   { transform: rotate(0deg);   }
  100% { transform: rotate(360deg); }
}

@keyframes sponge-pulse {
  0%   { transform: scale(1);   }
  50%  { transform: scale(0.7); }
  100% { transform: scale(1);   }
}

#application {
  width: 100vw;
  height: 100vh;
}

#video {
  width: 100%;
  height: 100%;
}
