/* Preloader */
.ctn-preloader {
    align-items: center;
    cursor: none;
    display: flex;
    height: 100%;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 99999999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ctn-preloader .animation-preloader {
    position: absolute;
    z-index: 100;
}

.ctn-preloader .animation-preloader .spinnerr {
    animation: spinnerr 1s infinite linear;
    border-radius: 50%;
    border: 3px solid #2d9e00;
    border-top-color: #ec0402;
    height: 9em;
    margin: 0 auto 3.5em auto;
    width: 9em;
}

.ctn-preloader .animation-preloader .txt-loading {
    font: bold 5em 'Montserrat', sans-serif;
    text-align: center;
    user-select: none;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:before {
    animation: letters-loading 4s infinite;
    color: #ec0402;
    content: attr(data-text-preloader);
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transform: rotateY(-90deg);
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading {
    color: #2d9e00;
    position: relative;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(2):before {
    animation-delay: 0.2s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(3):before {
    animation-delay: 0.4s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(4):before {
    animation-delay: 0.6s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(5):before {
    animation-delay: 0.8s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(6):before {
    animation-delay: 1s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(7):before {
    animation-delay: 1.2s;
}

.ctn-preloader .loader-section {
    background-color: #ffffff;
    height: 100%;
    position: fixed;
    top: 0;
    width: calc(50% + 1px);
}

.loaded .animation-preloader {
    opacity: 0;
    transition: 0.3s ease-out;
}

@keyframes spinnerr {
    to {
        transform: rotateZ(360deg);
    }
}

@keyframes letters-loading {
    0%,
    75%,
    100% {
        opacity: 0;
        transform: rotateY(-90deg);
    }

    25%,
    50% {
        opacity: 1;
        transform: rotateY(0deg);
    }
}

@media screen and (max-width: 767px) {
    .ctn-preloader .animation-preloader .spinnerr {
        height: 8em;
        width: 8em;
    }

    .ctn-preloader .animation-preloader .txt-loading {
        font: bold 3.5em 'Montserrat', sans-serif;
    }
}

@media screen and (max-width: 500px) {
    .ctn-preloader .animation-preloader .spinnerr {
        height: 7em;
        width: 7em;
    }

    .ctn-preloader .animation-preloader .txt-loading {
        font: bold 2em 'Montserrat', sans-serif;
    }
}


  .custom-preloader {
    background-color: #002424;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
    color: var(--fg);
    font: 1em / 1.5 "Varela Round", Helvetica, sans-serif;
    height: 100vh !important;
    z-index: 9999999;
    min-height: 360px;
    position: fixed;
    display: grid;
    place-items: center;
    transition: background-color var(--trans-dur), color var(--trans-dur);
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: hidden !important;
  }
  
  .pl {
    /* box-shadow: inset 8px 8px 15px #005151, inset -12px -1px 16px #007878; */
    display: flex;
    box-shadow: inset 8px 8px 16px rgb(0 0 0 / 60%), inset -8px -8px 16px rgb(255 255 255 / 20%);
    background: #002424;
    justify-content: center;
    align-items: center;
    position: relative;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: rotateX(0deg) rotateZ(45deg);
    width: 28em;
    height: 28em;
  }
  .pl, .pl__dot {
    border-radius: 50%;
  }
  .pl__dot {
    animation-name: shadow;
    box-shadow: 0.1em 0.1em 0 0.1em black, 0.3em 0 0.3em rgba(0, 0, 0, 0.5);
    top: calc(50% - 0.75em);
    left: calc(50% - 0.75em);
    width: 1.5em;
    height: 1.5em;
  }
  .pl__dot, .pl__dot:before, .pl__dot:after {
    animation-duration: 2s;
    animation-iteration-count: infinite;
    position: absolute;
  }
  .pl__dot:before, .pl__dot:after {
    content: "";
    display: block;
    left: 0;
    width: inherit;
    transition: background-color var(--trans-dur);
  }
  .pl__dot:before {
    animation-name: pushInOut1;
    background-color: var(--bg);
    border-radius: inherit;
    box-shadow: 0.05em 0 0.1em rgba(255, 255, 255, 0.2) inset;
    height: inherit;
    z-index: 1;
  }
  .pl__dot:after {
    animation-name: pushInOut2;
    background-color: var(--primary1);
    border-radius: 0.75em;
    box-shadow: 0.1em 0.3em 0.2em rgba(255, 255, 255, 0.4) inset, 0 -0.4em 0.2em #2e3138 inset, 0 -1em 0.25em rgba(0, 0, 0, 0.3) inset;
    bottom: 0;
    clip-path: polygon(0 75%, 100% 75%, 100% 100%, 0 100%);
    height: 3em;
    transform: rotate(-45deg);
    transform-origin: 50% 2.25em;
  }
  
  .pl__dot:nth-child(1) {
    transform: rotate(0deg) translateX(12em) rotate(0deg);
    z-index: 5;
}
.pl__dot:nth-child(1), .pl__dot:nth-child(1):before, .pl__dot:nth-child(1):after {
    animation-delay: 0s;
}

.pl__dot:nth-child(2) {
    transform: rotate(-15deg) translateX(12em) rotate(15deg);
    z-index: 4;
}
.pl__dot:nth-child(2), .pl__dot:nth-child(2):before, .pl__dot:nth-child(2):after {
    animation-delay: -0.0833333333s;
}

.pl__dot:nth-child(3) {
    transform: rotate(-30deg) translateX(12em) rotate(30deg);
    z-index: 3;
}
.pl__dot:nth-child(3), .pl__dot:nth-child(3):before, .pl__dot:nth-child(3):after {
    animation-delay: -0.1666666666s;
}

.pl__dot:nth-child(4) {
    transform: rotate(-45deg) translateX(12em) rotate(45deg);
    z-index: 2;
}
.pl__dot:nth-child(4), .pl__dot:nth-child(4):before, .pl__dot:nth-child(4):after {
    animation-delay: -0.2499999999s;
}

.pl__dot:nth-child(5) {
    transform: rotate(-60deg) translateX(12em) rotate(60deg);
    z-index: 1;
}
.pl__dot:nth-child(5), .pl__dot:nth-child(5):before, .pl__dot:nth-child(5):after {
    animation-delay: -0.3333333332s;
}

.pl__dot:nth-child(6) {
    transform: rotate(-75deg) translateX(12em) rotate(75deg);
    z-index: 1;
}
.pl__dot:nth-child(6), .pl__dot:nth-child(6):before, .pl__dot:nth-child(6):after {
    animation-delay: -0.4166666665s;
}

.pl__dot:nth-child(7) {
    transform: rotate(-90deg) translateX(12em) rotate(90deg);
    z-index: 2;
}
.pl__dot:nth-child(7), .pl__dot:nth-child(7):before, .pl__dot:nth-child(7):after {
    animation-delay: -0.4999999998s;
}

.pl__dot:nth-child(8) {
    transform: rotate(-105deg) translateX(12em) rotate(105deg);
    z-index: 3;
}
.pl__dot:nth-child(8), .pl__dot:nth-child(8):before, .pl__dot:nth-child(8):after {
    animation-delay: -0.5833333331s;
}

.pl__dot:nth-child(9) {
    transform: rotate(-120deg) translateX(12em) rotate(120deg);
    z-index: 4;
}
.pl__dot:nth-child(9), .pl__dot:nth-child(9):before, .pl__dot:nth-child(9):after {
    animation-delay: -0.6666666664s;
}

.pl__dot:nth-child(10) {
    transform: rotate(-135deg) translateX(12em) rotate(135deg);
    z-index: 5;
}
.pl__dot:nth-child(10), .pl__dot:nth-child(10):before, .pl__dot:nth-child(10):after {
    animation-delay: -0.7499999997s;
}

.pl__dot:nth-child(11) {
    transform: rotate(-150deg) translateX(12em) rotate(150deg);
    z-index: 6;
}
.pl__dot:nth-child(11), .pl__dot:nth-child(11):before, .pl__dot:nth-child(11):after {
    animation-delay: -0.833333333s;
}

.pl__dot:nth-child(12) {
    transform: rotate(-165deg) translateX(12em) rotate(165deg);
    z-index: 6;
}
.pl__dot:nth-child(12), .pl__dot:nth-child(12):before, .pl__dot:nth-child(12):after {
    animation-delay: -0.9166666663s;
}

.pl__dot:nth-child(13) {
    transform: rotate(-180deg) translateX(12em) rotate(180deg);
    z-index: 5;
}
.pl__dot:nth-child(13), .pl__dot:nth-child(13):before, .pl__dot:nth-child(13):after {
    animation-delay: -0.9999999996s;
}

.pl__dot:nth-child(14) {
    transform: rotate(-195deg) translateX(12em) rotate(195deg);
    z-index: 4;
}
.pl__dot:nth-child(14), .pl__dot:nth-child(14):before, .pl__dot:nth-child(14):after {
    animation-delay: -1.0833333329s;
}

.pl__dot:nth-child(15) {
    transform: rotate(-210deg) translateX(12em) rotate(210deg);
    z-index: 3;
}
.pl__dot:nth-child(15), .pl__dot:nth-child(15):before, .pl__dot:nth-child(15):after {
    animation-delay: -1.1666666662s;
}

.pl__dot:nth-child(16) {
    transform: rotate(-225deg) translateX(12em) rotate(225deg);
    z-index: 2;
}
.pl__dot:nth-child(16), .pl__dot:nth-child(16):before, .pl__dot:nth-child(16):after {
    animation-delay: -1.2499999995s;
}

.pl__dot:nth-child(17) {
    transform: rotate(-240deg) translateX(12em) rotate(240deg);
    z-index: 1;
}
.pl__dot:nth-child(17), .pl__dot:nth-child(17):before, .pl__dot:nth-child(17):after {
    animation-delay: -1.3333333328s;
}

.pl__dot:nth-child(18) {
    transform: rotate(-255deg) translateX(12em) rotate(255deg);
    z-index: 1;
}
.pl__dot:nth-child(18), .pl__dot:nth-child(18):before, .pl__dot:nth-child(18):after {
    animation-delay: -1.4166666661s;
}

.pl__dot:nth-child(19) {
    transform: rotate(-270deg) translateX(12em) rotate(270deg);
    z-index: 2;
}
.pl__dot:nth-child(19), .pl__dot:nth-child(19):before, .pl__dot:nth-child(19):after {
    animation-delay: -1.4999999994s;
}

.pl__dot:nth-child(20) {
    transform: rotate(-285deg) translateX(12em) rotate(285deg);
    z-index: 3;
}
.pl__dot:nth-child(20), .pl__dot:nth-child(20):before, .pl__dot:nth-child(20):after {
    animation-delay: -1.5833333327s;
}

.pl__dot:nth-child(21) {
    transform: rotate(-300deg) translateX(12em) rotate(300deg);
    z-index: 4;
}
.pl__dot:nth-child(21), .pl__dot:nth-child(21):before, .pl__dot:nth-child(21):after {
    animation-delay: -1.666666666s;
}

.pl__dot:nth-child(22) {
    transform: rotate(-315deg) translateX(12em) rotate(315deg);
    z-index: 5;
}
.pl__dot:nth-child(22), .pl__dot:nth-child(22):before, .pl__dot:nth-child(22):after {
    animation-delay: -1.7499999993s;
}

.pl__dot:nth-child(23) {
    transform: rotate(-330deg) translateX(12em) rotate(330deg);
    z-index: 6;
}
.pl__dot:nth-child(23), .pl__dot:nth-child(23):before, .pl__dot:nth-child(23):after {
    animation-delay: -1.8333333326s;
}

.pl__dot:nth-child(24) {
    transform: rotate(-345deg) translateX(12em) rotate(345deg);
    z-index: 6;
}
.pl__dot:nth-child(24), .pl__dot:nth-child(24):before, .pl__dot:nth-child(24):after {
    animation-delay: -1.9166666659s;
}

.pl__dot:nth-child(25) {
    transform: rotate(-360deg) translateX(12em) rotate(360deg);
    z-index: 1;
}
.pl__dot:nth-child(25), .pl__dot:nth-child(25):before, .pl__dot:nth-child(25):after {
    animation-delay: -1.9999999992s;
}

  .pl__text img {
    width: 160px !important;
    height: auto !important;
    position: relative !important;
    filter: drop-shadow(6px 5px 0px #000) !important;
    left: -45px !important;
    top: -5px !important;
  }
  
  .pl__text {
    font-size: 0.75em;
    max-width: 5rem;
    position: relative;
    text-shadow: 0 0 0.1em var(--fg-t);
    transform: rotateZ(-45deg);
  }

  /* Animations */
  @keyframes shadow {
    from {
      animation-timing-function: ease-in;
      box-shadow: 0.1em 0.1em 0 0.1em black, 0.3em 0 0.3em rgba(0, 0, 0, 0.3);
    }
    25% {
      animation-timing-function: ease-out;
      box-shadow: 0.1em 0.1em 0 0.1em black, 0.8em 0 0.8em rgba(0, 0, 0, 0.5);
    }
    50%, to {
      box-shadow: 0.1em 0.1em 0 0.1em black, 0.3em 0 0.3em rgba(0, 0, 0, 0.3);
    }
  }
  @keyframes pushInOut1 {
    from {
      animation-timing-function: ease-in;
      background-color: var(--bg);
      transform: translate(0, 0);
    }
    25% {
      animation-timing-function: ease-out;
      background-color: var(--primary2);
      transform: translate(-71%, -71%);
    }
    50%, to {
      background-color: var(--bg);
      transform: translate(0, 0);
    }
  }
  @keyframes pushInOut2 {
    from {
      animation-timing-function: ease-in;
      background-color: var(--bg);
      clip-path: polygon(0 75%, 100% 75%, 100% 100%, 0 100%);
    }
    25% {
      animation-timing-function: ease-out;
      background-color: var(--primary1);
      clip-path: polygon(0 25%, 100% 25%, 100% 100%, 0 100%);
    }
    50%, to {
      background-color: var(--bg);
      clip-path: polygon(0 75%, 100% 75%, 100% 100%, 0 100%);
    }
  }