:root {
  --hc-primary: #1D6BEC;
  --hc-secondary: #C3C3C3;
  --hc-success: #24D548;
  --hc-danger: #E6152C;
  --hc-warning: #FFB138;
  --hc-info: #30D696;
  --hc-dark: #303030;
  --hc-light: #fafafa;
  --hc-power:  #8B34C3;
}

/* KeyFrames */
@keyframes kfNotificationIn {
  from {
    right: -50vw;
    opacity: 0;
  }

  80% {
    opacity: 1;
  }

  to {
    right: 0;
  }
}

@keyframes kfNotificationOut {
  from {
    right: 0vw;
    opacity: 1;
  }

  90% {
    opacity: .3;
  }

  to {
    right: -50vw;
  }
}

.hc--notification-animateIn {
  animation-name: kfNotificationIn;
  animation-duration: .46s;
  animation-fill-mode: forwards;
}

.hc--notification-animateOut {
  animation-name: kfNotificationOut;
  animation-duration: .74s;
  animation-fill-mode: forwards;
}

.hc--swiftBackground {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, .55);
  z-index: 3000;
}

.hc--notification {
  box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, .45);
  min-height: 80px;
  max-height: 140px;
  width: 410px;
  background-color: #ccc;
  color: var(--hc-dark);
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  cursor: pointer;
  padding: .55rem 1.1rem;
  user-select: none;
  border-radius: 4.5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  position: fixed;
  right: 0;
  bottom: 2.35rem;
  transition: .28s;
  font-size: .9rem;
  letter-spacing: .1px;
  z-index: 3005;
  font-size: 1.6rem;
  margin-right: .5rem;
}

.hc--notification:hover {
  box-shadow: 2px 2px 9px 1px rgba(0, 0, 0, .55);
}

.hc--notification:hover::before {
  content: ' ';
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(0, 0, 0, .07);
  border-radius: 4.5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.hc--dialog {
  box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, .45);
  width: 610px;
  background-color: #ccc;
  color: var(--hc-dark);
  padding: .55rem 1.1rem;
  border-radius: 4.5px;
  position: fixed;
  top: 3rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  transition: .28s;
  z-index: 11000;
}

.hc--dialog-lg {
  box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, .45);
  width: 80%;
  background-color: #ccc;
  color: var(--hc-dark);
  padding: .55rem 1.1rem;
  border-radius: 4.5px;
  position: fixed;
  top: 3rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  transition: .28s;
  z-index: 11000;
}

.hc--dialog-icon {
  position: absolute;
  top: 2px;
  right: 7px;
  color: var(--hc-danger);
  cursor: pointer;
}

/* KeyFrames */
@keyframes kfDialogIn {
  from {
    top: -50vw;
    opacity: 0;
  }

  80% {
    opacity: 1;
  }

  to {
    top: 3rem;
  }
}

@keyframes kfDialogOut {
  from {
    top: 3rem;
    opacity: 1;
  }

  90% {
    opacity: .3;
  }

  to {
    top: -50vw;
  }
}

.hc--dialog-animateIn {
  animation-name: kfDialogIn;
  animation-duration: .46s;
  animation-fill-mode: forwards;
}

.hc--dialog-animateOut {
  animation-name: kfDialogOut;
  animation-duration: .54s;
  animation-fill-mode: forwards;
}

.hc--window {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 85vw;
  height: 85vh;
  z-index: 10000;
  background: var(--hc-light);
  box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, .45);
  border-radius: 4px;
  padding: 2.5rem;
}

.hc--window-center {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hc--window img {
  max-width: 100%;
  max-height: 100%;
}

.hc--window-close-icon {
  position: absolute;
  top: 4px;
  right: 6.5px;
  color: var(--hc-danger);
}

.hc--window-animateIn {
  animation-name: kfWindowIn;
  animation-duration: .46s;
  animation-fill-mode: forwards;
}

.hc--window-animateOut {
  animation-name: kfWindowOut;
  animation-duration: .54s;
  animation-fill-mode: forwards;
}

@keyframes kfWindowIn {
  from {
    opacity: 0;
    transform: scale(0);
  }

  75% {
    opacity: 1;
  }

  to {
    transform: scale(1);
  }
}

@keyframes kfWindowOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  90% {
    opacity: 0;
  }

  to {
    transform: scale(0);
  }
}

/* Loading */
.hc--loading {
  position: fixed;
  bottom: 1rem;
  right: 0;
  width: 200px;
  height: 49px;
  z-index: 11001;
  background: var(--hc-light);
  box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, .45);
  border-radius: 4px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* .hc--loading img {
  max-width: 100%;
  max-height: 100%;
} */

.hc--loading-animateIn {
  animation-name: kfLoadingIn;
  animation-duration: .46s;
  animation-fill-mode: forwards;
}

.hc--loading-animateOut {
  animation-name: kfLoadingOut;
  animation-duration: .54s;
  animation-fill-mode: forwards;
}

@keyframes kfLoadingIn {
  from {
    right: -50vw;
    opacity: 0;
  }

  75% {
    opacity: 1;
  }

  to {
    right: 0;
  }
}

@keyframes kfLoadingOut {
  from {
    right: 0;
    opacity: 1;
  }

  90% {
    opacity: 0;
  }

  to {
    right: -10vw;
  }
}