/* Vars */

:root {
  --c-bright: white;
  --c-primary: #8c3478;
  --c-background: transparent;
  /* rest is unused for now */
  --c-secondary: #55a630;
  --c-active: #bfd200;
}

/* Animations */

@keyframes handFadeIn {
  0% {
    filter: opacity(0);
  }
  100% {
    filter: opacity(1);
  }
}
@keyframes handShakeLogo {
  0% {
    filter: opacity(1);
    width: 22px;
  }
  50% {
    filter: opacity(1);
    width: 35px;
  }
  100% {
    filter: opacity(1);
    width: 22px;
  }
}
@keyframes handShakeFooter {
  0% {
    filter: opacity(1);
    width: 5%;
  }
  50% {
    filter: opacity(1);
    width: 12%;
  }
  100% {
    filter: opacity(1);
    width: 5%;
  }
}
@keyframes spinLoader {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* HTML Color Changes */

::selection {
  background: var(--c-primary);
  color: var(--c-bright);
}

/* Page Elements */

.c-caption {
  font-style: italic;
  text-align: center;
}
.c-hero {
  background: var(--c-background);
  height: 100vh !important;
  font-family: "Comfortaa", cursive;
  white-space: nowrap;
  text-align: center;
  height: auto !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.c-hero * {
  color: var(--c-bright);
}
.c-subtitle {
  font-size: 20px;
  margin: 5px;
  font-family: "Comfortaa", cursive;
}
.c-banner {
  width: 270px;
  margin: 0;
}
.c-hand-logo {
  position: absolute;
  top: calc(50% - 6.5px);
  left: calc(50% + 37.9px);
  transform: translate(-50%, -50%);
  width: 23.1px;
  filter: opacity(0);
  animation-delay: 1s, 2s;
  animation-name: handFadeIn, handShakeLogo;
  animation-duration: 1s, 2s;
  animation-iteration-count: 1, infinite;
  animation-timing-function: linear, ease-in-out;
}
.c-bg-video {
  filter: blur(5px) brightness(0.3);
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  height: 100%;
  z-index: -1;
  background: #000;
}
.c-modal {
  background: rgb(42, 42, 42);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.c-link {
  text-decoration: none;
}
.c-section {
  padding-left: 15%;
  padding-right: 15%;
  padding-top: 60px;
  padding-bottom: 70px;
}
.c-title {
  font-family: "Comfortaa", cursive;
}
header .c-title {
  font-size: xx-large;
}
.c-paragraph {
  font-family: "Comfortaa", cursive;
  line-height: 1.5em;
}
.c-footer {
  position: fixed;
  bottom: 0;
  width: 100vw;
  height: 16px;
  z-index: 2;
  background: var(--c-primary);
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: "Comfortaa", cursive;
  font-size: min(1em, 2vw);
  text-align: center;
}
.c-anchor {
  color: var(--c-bright);
  text-decoration: underline;
}
.c-anchor:hover {
  background: var(--c-bright);
  color: var(--c-primary);
}
.c-bumper {
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
}
.c-hand-footer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5%;
  transform: translate(-50%, -50%);
  filter: opacity(0);
  animation-delay: 1s, 2s;
  animation-name: handFadeIn, handShakeFooter;
  animation-duration: 1s, 2s;
  animation-iteration-count: 1, infinite;
  animation-timing-function: linear, ease-in-out;
}
.c-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -55px;
  margin-left: -55px;
  width: 100px;
  height: 100px;
  border: 5px solid var(--c-background);
  border-radius: 50%;
  border-top: 5px solid var(--c-bright);
  animation: spinLoader 1s infinite linear;
}
.c-hidden {
  display: none;
}

/* Universal */

.c-fit {
  width: 100%;
}
.c-no-gap {
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}
.c-text-centered {
  text-align: center !important;
}
.c-borders {
  border-radius: 10px;
}
.c-no-overflow {
  overflow: hidden;
}
.c-padding-top-1cm {
  padding-top: 1cm;
}
.c-padding-top-2cm {
  padding-top: 2cm;
}
.c-offset-up-100px {
  transform: translate(0, -100px);
}
.c-relative {
  position: relative;
}
.c-text-justify {
  text-align: justify;
}
.c-primary {
  color: var(--c-primary);
}
.c-bottom-center {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 0);
}
