/* =========================================================
   PAGE LOADER
========================================================= */

.page-loader {
  position: fixed;
  inset: 0;

  width: 100%;
  height: 100vh;

  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 999999;

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.7s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0.7s ease;
}

/* =========================================================
   HIDE LOADER
========================================================= */

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* =========================================================
   LOADER CIRCLE
========================================================= */

.loader-circle {
  position: relative;

  width: 210px;
  height: 210px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   LOGO
========================================================= */

.loader-logo {
  position: relative;

  width: 145px;
  height: 145px;

  border-radius: 50%;

  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 2;

  overflow: hidden;

  animation: logoPulse 1.8s ease-in-out infinite;
}

.loader-logo img {
  width: 108px;
  height: auto;

  display: block;

  object-fit: contain;
}

/* =========================================================
   BLACK ANIMATED CIRCLE
========================================================= */

.loader-ring {
  position: absolute;

  width: 195px;
  height: 195px;

  border-radius: 50%;

  border: 2px solid #e5e5e5;

  border-top-color: #000000;

  animation: loaderRotate 1.1s linear infinite;

  z-index: 1;
}

/* =========================================================
   OUTER SUBTLE CIRCLE
========================================================= */

.loader-circle::before {
  content: "";

  position: absolute;

  width: 205px;
  height: 205px;

  border-radius: 50%;

  border: 1px solid #eeeeee;

  z-index: 0;
}

/* =========================================================
   ROTATING BLACK LINE
========================================================= */

@keyframes loaderRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   LOGO PULSE
========================================================= */

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(0.97);
  }

  50% {
    transform: scale(1);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .loader-circle {
    width: 175px;
    height: 175px;
  }

  .loader-logo {
    width: 125px;
    height: 125px;
  }

  .loader-logo img {
    width: 95px;
  }

  .loader-ring {
    width: 162px;
    height: 162px;
  }

  .loader-circle::before {
    width: 172px;
    height: 172px;
  }
}
/* =========================================================
   LOGO
========================================================= */

.loader-logo {
    position: relative;

    width: 165px;
    height: 165px;

    border-radius: 50%;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;

    overflow: hidden;

    animation: logoPulse 1.8s ease-in-out infinite;
}

.loader-logo img {
    width: 135px;
    height: auto;

    display: block;

    object-fit: contain;
}