:root {
  --mpcs-loader-time: 3s;

  /* LIGHT THEME */
  --mpcs-loader-primary-color: #1a1a18;
  --mpcs-loader-secondary-color: #e8e8e8;
  --mpcs-loader-background-color: #fefefe;
  --mpcs-loader-icon-text-color: #e8e8e8;

  /* DARK THEME */
  /* --mpcs-loader-icon-text-color: #1a1a18;
    --mpcs-loader-primary-color: #fefefe;
    --mpcs-loader-secondary-color: #e8e8e8;
    --mpcs-loader-background-color: #202020; */
}

* {
  margin: 0;
  padding: 0%;
  box-sizing: border-box;
}
/* 
body {
    font-family: 'Hurricane', cursive;
} */

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.fill-current {
  fill: currentColor;
}

.mpcs-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000000;
  transition: all 0.3s ease;
}

.mpcs-loader.page-loaded {
  opacity: 0;
  pointer-events: none;
}

.mpcs-loader-content {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--mpcs-loader-background-color);
  color: var(--mpcs-loader-primary-color);
}

.mpcs-loader-icon {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mpcs-loader-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 30px);
  grid-gap: 5px;
}

@media (min-width: 1536px) {
  .mpcs-loader-icon-grid {
    grid-template-columns: repeat(2, 50px);
    grid-gap: 10px;
  }
}

.mpcs-icon-svg {
  width: 30px;
  height: 30px;
  background-color: var(--mpcs-loader-icon-text-color);
  transform-origin: center;
  position: relative;
  overflow: hidden;
}

.mpcs-icon-svg svg {
  position: relative;
  z-index: 2;
}

.mpcs-icon-svg::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 200%;
  height: 200%;
  animation: rotation 3s linear infinite;
}

.mpcs-icon-svg::before,
.mpcs-icon-svg::before {
  background: var(--mpcs-loader-primary-color);
}

@media (min-width: 1536px) {
  .mpcs-icon-svg {
    width: 50px;
    height: 50px;
  }
}

.mpcs-icon-svg svg {
  color: var(--mpcs-loader-secondary-color);
  mix-blend-mode: difference;
}

.mpcs-icon-svg.icon-top-left::before {
  transform-origin: bottom right;
  bottom: -5px;
  right: -5px;
}

.mpcs-icon-svg.icon-top-right::before {
  transform-origin: bottom left;
  bottom: -5px;
  left: -5px;
}

.mpcs-icon-svg.icon-bottom-left::before {
  transform-origin: top right;
  top: -5px;
  right: -5px;
}

.mpcs-icon-svg.icon-bottom-right::before {
  transform-origin: top left;
  top: -5px;
  left: -5px;
}

.mpcs-icon-svg.icon-top-left,
.mpcs-icon-svg.icon-top-left::before,
.mpcs-icon-svg.icon-top-left svg {
  animation-delay: 1s;
}

.mpcs-icon-svg.icon-top-right,
.mpcs-icon-svg.icon-top-right::before,
.mpcs-icon-svg.icon-top-right svg {
  animation-delay: 2.5s;
}

.mpcs-icon-svg.icon-bottom-left,
.mpcs-icon-svg.icon-bottom-left::before,
.mpcs-icon-svg.icon-bottom-left svg {
  animation-delay: 2.5s;
}

.mpcs-icon-svg.icon-bottom-right,
.mpcs-icon-svg.icon-bottom-right::before,
.mpcs-icon-svg.icon-bottom-right svg {
  animation-delay: 1s;
}

.mpcs-loader-icon-text {
  margin-top: 10px;
  width: 100%;
  height: 10px;
  /* transform: translateY(-200%); */
  /* animation: 0.5s backtoplace forwards 0.5s; */
}

@media (min-width: 1536px) {
  .mpcs-loader-icon-text {
    margin-top: 16px;
    height: 15px;
  }
}

.mpcs-icon {
  transition: all 1s ease;
  /* animation: backtoplace 1s ease forwards 1s; */
}

/* .mpcs-icon.top-left {
    z-index: 10;
    transform: translate(calc(50% + 2.5px), calc(50% + 2.5px));
}

.mpcs-icon.top-right {
    z-index: 9;
    transform: translate(calc(-50% - 2.5px), calc(50% + 2.5px));
}

.mpcs-icon.bottom-left {
    z-index: 8;
    transform: translate(calc(50% + 2.5px), calc(-50% - 2.5px));
}

.mpcs-icon.bottom-right {
    z-index: 7;
    transform: translate(calc(-50% - 2.5px), calc(-50% - 2.5px));
} */

/* @media (min-width: 1536px) {
    .mpcs-icon.top-left {
        z-index: 10;
        transform: translate(calc(50% + 5px), calc(50% + 5px));
    }

    .mpcs-icon.top-right {
        z-index: 9;
        transform: translate(calc(-50% - 5px), calc(50% + 5px));
    }

    .mpcs-icon.bottom-left {
        z-index: 8;
        transform: translate(calc(50% + 5px), calc(-50% - 5px));
    }

    .mpcs-icon.bottom-right {
        z-index: 7;
        transform: translate(calc(-50% - 5px), calc(-50% - 5px));
    }
} */

@keyframes rotation {
  to {
    transform: rotate(360deg);
  }
}

/* @keyframes backtoplace {
    to {
        transform: translate(0);
    }
} */
