html,
body {
  background-color: #111;
  margin: 0;
  color: #fafafa;
}

div {
  box-sizing: border-box;
}

img {
  vertical-align: top;
}

svg {
  width: 100%;
  height: auto;
}

.main {
  box-sizing: border-box;
  margin: 0 auto;
  background: #222;
}

.main-padding {
  padding: 2em;
}

.max-width {
  box-sizing: border-box;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.vpd-header {
  background: #111;
  display: flex;
  align-items: center;
  position: relative;
}

.header-icon {
  display: block;
  width: 40px;
  height: 40px;
  transition: opacity 0.3s;
  animation: wiggle 2s linear infinite;
  box-shadow: 10px 10px rgba(0,0,0,0.5);
}

.header-icon:hover {
  opacity: 0.8;
}

.header-store {
  font-size: 1.5em;
  display: block;
}

.pointer-events-none {
  pointer-events: none;
}

.font-size-1point5em {
  font-size: 1.5em;
}

.font-size-0point5em {
  font-size: 0.5em;
}

@keyframes wiggle {
  0%, 7% {
    transform: rotateZ(0);
  }
  15% {
    transform: rotateZ(-10deg);
  }
  20% {
    transform: rotateZ(5deg);
  }
  25% {
    transform: rotateZ(-5deg);
  }
  30% {
    transform: rotateZ(3deg);
  }
  35% {
    transform: rotateZ(-3deg);
  }
  40%, 100% {
    transform: rotateZ(0);
  }
}

.vpd-footer {
  background: #000;
  color: #ccc;
}

.vpd-link {
  color: #ccc;
  text-decoration: none;
}

.vpd-link:visited {
  opacity: 0.8;
}

.dev-logo {
  display: block;
  max-width: 128px;
  transition: color 0.3s;
}

.dev-logo:hover {
  color: #ccc;
  animation: wiggle 1s linear;
}

.ml-auto {
  margin-left: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-0point5em {
  margin-top: 0.5em;
}

.mt-1em {
  margin-top: 1em;
}

.mt-2em {
  margin-top: 2em;
}

.mt-3em {
  margin-top: 3em;
}

.mt-5em {
  margin-top: 5em;
}

.my-2em {
  margin-top: 2em;
  margin-bottom: 2em;
}

.my-5em {
  margin-top: 5em;
  margin-bottom: 5em;
}

.mb-1em {
  margin-bottom: 1em;
}

.mb-2em {
  margin-bottom: 2em;
}

.mb-3em {
  margin-bottom: 3em;
}

.mb-5em {
  margin-bottom: 5em;
}

.img-stretch {
  width: 100%;
  height: auto;
}

.relative {
  position: relative;
}

.absolute-left-center {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.absolute-xy-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.text-align-center {
  text-align: center;
}

.hero-text {
  font-size: 3rem;
}

.hero-overlay {
  background-image: linear-gradient(to right, rgba(255,255,255,0.5), 20%, rgba(0,0,0,0), 70%, rgba(0,0,0,1));
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  animation: overlay-anim 2s linear infinite;
}

.inner-shadow {
  box-shadow: inset 0 0 1em rgba(0,0,0,0.75);
}

.shadow {
  box-shadow: 0 0 1em rgba(0,0,0,0.75);
}

@keyframes overlay-anim {
  0% { opacity: 1; }
  75% { opacity: 0.5; }
  80% { opacity: 0.75; }
  90% { opacity: 0.6; }
  100% { opacity: 1; }
}

.image-link {
  display: block;
  width: 100%;
  height: auto;
}

.image-overlay {
  background-image: radial-gradient(rgba(0,0,0,0.2), 80%, rgba(0,0,0,1));
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.section-headline {
  border-left: solid 0.75em currentColor;
  padding: 0.5em;
}

.primary-link {
  min-width: 200px;
  padding: 0.75em;
  border: solid 1px #fafafa;
  background: #fafafa;
  border-radius: 0.5em;
  color: #000;
  font-weight: bold;
  font-size: 1.5em;
  box-shadow: 0.5em 0.5em rgba(0,0,0,0.3);
  transition: box-shadow 0.3s;
}

.inline-flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.flex-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em;
}

.flex-item {
  width: calc(33% - 1em);
}

.border-solid-color {
  border: solid 1px currentColor;
}
.card {
  display: block;
}

.card-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  border-bottom: solid 1px currentColor;
}

.card-desc {
  padding: 1em;
}

.card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1em;
}

.card-desc p:last-child {
  margin-bottom: 0;
}

.primary-link svg {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
}

.secondary-link {
  padding: 0.75em;
  border: solid 1px currentColor;
  background: transparent;
  border-radius: 0.25em;
  color: currentColor;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0.5em 0.5em rgba(0,0,0,0.3);
  transition: box-shadow 0.3s;
}

.secondary-link svg {
  display: inline-block;
  width: 1em;
  height: 1em;
}

.primary-link:hover,
.secondary-link:hover {
  box-shadow: 0.75em 0.75em rgba(0,0,0,0.75);
}

.hero-logo {
  width: 35vw;
  height: auto;
  max-width: 300px;
  min-width: 128px;
  border-radius: 0 1em 1em 0;
}

.hero-logo-wrapper {
  background-color: #111;
  padding: 1em;
  border-radius: 0 2em 2em 0;
}

@media screen and (max-width: 768px) {
  .main-padding {
    padding: 1em;
  }
  .hero-text {
    font-size: 2rem;
  }
  .flex-wrapper {
    justify-content: center;
  }
  .flex-item {
    width: calc(50% - 1em);
  }
}


@media screen and (max-width: 512px) {
  .flex-item {
    width: 100%;
  }
}

.white-link {
  color: #fafafa;
  text-decoration: underline;
}

.white-link:visited {
  color: #eaeaea;
}
