/* page-loader.css */

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060b10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease;
}

#page-loader.loader-hide {
  opacity: 0;
  pointer-events: none;
}

.loader-head {
  width: 108px;
  height: 108px;
  box-sizing: border-box;
  border-radius: 50%;
  padding: 11px;
  background-color: #cc0000;
  display: flex;
  position: relative;
  overflow: hidden;
}

.loader-head::before {
  width: 100px;
  height: 100px;
  content: "";
  display: block;
  background-color: #cc0000;
  position: absolute;
  margin-top: 44px;
}

.loader-face {
  width: 86px;
  height: 86px;
  background-color: white;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.loader-eye-left,
.loader-eye-right {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-top: 15px;
  position: absolute;
  display: block;
  background-color: #cc0000;
}

.loader-eye-left  { margin-left: 13px; }
.loader-eye-right { margin-left: 50px; }

.loader-eye-left::before,
.loader-eye-right::before {
  content: "";
  display: block;
  background-color: white;
  position: absolute;
  left: 2px;
  top: -2px;
  border-radius: 50%;
  width: 11px;
  height: 11px;
  animation: loader-pupil 1s infinite alternate;
}

.eye-ko-v,
.eye-ko-h {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.eye-ko-v::before,
.eye-ko-v::after,
.eye-ko-h::before,
.eye-ko-h::after {
  width: 11px;
  height: 11px;
  content: "";
  display: block;
  background-color: white;
  position: absolute;
  transform: rotate(45deg);
  top: 5.5px;
  left: -6px;
  animation: loader-eyes 1s infinite alternate;
}

.eye-ko-h::after {
  top: 6px;
  left: 18px;
}

.eye-ko-v::before {
  top: -5px;
  left: 6px;
}

.eye-ko-v::after {
  top: 17px;
  left: 6px;
  border-bottom-right-radius: 100px;
}

.loader-punch-area {
  background-color: #cc0000;
  width: 108px;
  height: 48px;
  margin-top: 45px;
  position: absolute;
  left: 0;
}

.loader-punch {
  width: 57px;
  height: 57px;
  position: relative;
  background-color: white;
  border-radius: 50%;
  margin-left: 22px;
  top: 8px;
  animation: loader-punch 1s infinite alternate;
}

.loader-punch::before {
  width: 20px;
  height: 20px;
  content: "";
  display: block;
  background-color: white;
  margin-left: -13px;
  position: absolute;
  margin-top: 17px;
  border-radius: 50%;
}

@keyframes loader-eyes {
  0%   { opacity: 0; }
  30%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes loader-punch {
  0%   { top: 300px; }
  5%   { top: 60px; }
  100% { top: 8px; }
}

@keyframes loader-pupil {
  0%   { opacity: 1; }
  30%  { opacity: 1; }
  100% { opacity: 0; }
}
