/* General page styling */
body {

  align-items: center;
  justify-content: center;

}

/* CATKEEPER */   /* USE TO CENTER CATHEAD ELEMENT  */


.catkeeper {
  font: 1.2em sans-serif;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;         
}


.cat-head {
  position: absolute;
  margin-top: 10%;
  background-color: #101010;
  height: 350px;
  width: 400px;
  border: 20px solid #101010;  
  border-radius: 50%;
 /*  margin: auto;                 margin: 20px auto;  */
}

.ear {
  position: absolute;
  top: -30%;
  height: 60%;
  width: 40%;    /* WAS 25%  */
  background: #fff;
  border: 20px solid #101010; /* ADDED TO DEFINE THE EARS ON A WHITE BACKGROUND */
}
.ear::before, .ear::after {
  content: "";
  position: absolute;
  bottom: 24%;
  height: 10%;
  width: 5%;
  border-radius: 50%;
  background: #101010;
}


.ear::after {
  transform-origin: 50% 100%;
}


.ear--left {
  left: -7%;
  border-radius: 70% 30% 0% 0%/100% 100% 0% 0%;
  transform: rotate(-15deg);
  background:  #fff;     /* WAS #FF10F0; PINK   GREEN #00ff13; */
}


.ear--left::before, .ear--left::after {
  right: 10%;
  height: 50%;
}

.ear--right {
  right: -7%;
  border-radius: 30% 70% 0% 0%/100% 100% 0% 0%;
  transform: rotate(15deg);
  background:  #fff;     /* WAS #FF10F0; PINK   GREEN #00ff13; */
}


.ear--right::before, .ear--right::after {
  left: 10%;
  height: 50%;
}


.face {
  position: absolute;
  height: 100%;
  width: 100%;
  background: #101010;
  border-radius: 50%;

}

.eye {
  position: absolute;
  top: 25%;
  height: 30%;
  width: 31%;
  background: #fff;
  border: 7px solid #101010;  /* ADDED TO MAKE THE EYE LIDS FIT */
  border-radius: 50% 50% 50% 50%/60% 60% 40% 40%;
}
.eye::after {   /* EYE LIDS */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 100%;
  border-radius: 0 0 50% 50%/0 0 40% 40%;
  background: #101010;
  -webkit-animation: blink 4s infinite ease-in;
          animation: blink 4s infinite ease-in;
}
@-webkit-keyframes blink {
  0% {
    height: 0;
  }
  90% {
    height: 0;
  }
  92.5% {
    height: 100%;
  }
  95% {
    height: 0;
  }
  97.5% {
    height: 100%;
  }
  100% {
    height: 0;
  }
}
@keyframes blink {
  0% {
    height: 0;
  }
  90% {
    height: 0;
  }
  92.5% {
    height: 100%;
  }
  95% {
    height: 0;
  }
  97.5% {
    height: 100%;
  }
  100% {
    height: 0;
  }
}
.eye::before {
  content: "";
  position: absolute;
  top: 60%;
  height: 10%;
  width: 15%;
  background: #fff;
  border-radius: 50%;
}

.eye--left {
  left: 0;
}
/*
.eye--left::before {
  right: -5%;
  width: 25%;
  height: 15%;
}
*/
.eye--right {
  right: 0;
}

/*
.eye--right::before {
  left: -5%;
  width: 25%;
  height: 15%;
}
*/
.eye-pupil {
  position: absolute;
  top: 25%;
  height: 50%;
  width: 20%;
  background: #101010;
  border-radius: 50%;
  -webkit-animation: look-around 4s infinite;
          animation: look-around 4s infinite;
}
@-webkit-keyframes look-around {
  0% {
    transform: translate(0);
  }
  5% {
    transform: translate(50%, -25%);
  }
  10% {
    transform: translate(50%, -25%);
  }
  15% {
    transform: translate(-100%, -25%);
  }
  20% {
    transform: translate(-100%, -25%);
  }
  25% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes look-around {
  0% {
    transform: translate(0);
  }
  5% {
    transform: translate(50%, -25%);
  }
  10% {
    transform: translate(50%, -25%);
  }
  15% {
    transform: translate(-100%, -25%);
  }
  20% {
    transform: translate(-100%, -25%);
  }
  25% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}
.eye--left .eye-pupil {
  right: 30%;
}
.eye--right .eye-pupil {
  left: 30%;
}
.eye-pupil::after {
  content: "";
  position: absolute;
  top: 30%;
  right: -5%;
  height: 20%;
  width: 35%;
  border-radius: 50%;
  background: #fff;
}

.nose {
  position: absolute;
  top: 55%;
  left: 50%;
  height: 6%;
  width: 10%;
  background: #fff;
  transform: translateX(-50%);
  border-radius: 50% 50% 50% 50%/30% 30% 70% 70%;
  background:#FF10F0;
}

.details {

  position: absolute;
  top: 60%;
  left: 50%;
  height: 6%;
  width: 10%;
  background: #fff;
  transform: translateX(-50%);
  background:#FF10F0;
}

.mouth {
  position: absolute;
  top: 70%;    /* ADJUST to MOVE SMILE UP AND DOWN ON THE FACE */
  left: 30%;   /* ADJUST to MOVE SMILE LEFT OR RIGHT */
  width: 40%;     /* ADJUST to MAKE A WIDER SMILE */
  height: 20%;      /* ADJUST UP TO MAKE A HAPPIER SMILE */
  border-radius: 50%;
  border-bottom: 8px solid white;  /* ADJUST UP TO MAKE A BOLDER LINE FOR THE SMILE */
}

.cheek {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #ffccd4;
  border-radius: 50%;
}

.cheek.left {
  bottom: 130px;
  left: 10px;
}

.cheek.right {
  bottom: 160px;
  left: 160px;
}

.whisker {
  position: absolute;
  width: 110px;
  height: 5px;
  margin: 60px;  /* ADJUST TO MOVE WHISKERS FURTHER IN TOWARDS THE NOSE  */
  border: 1px solid #101010;
  border-radius: 50px;
  background-color: #fff;
}

.whisker.leftone {
  top:     40%;
  bottom:  70px;
  left:   -30px;
  transform: rotate(-5deg);
}

.whisker.lefttwo {
  top:     48%;
  bottom:  45px;
  left:   -30px;
  transform: rotate(-22deg);
}

.whisker.leftthree {
  top:     55%;
  bottom:  25px;
  left:   -10px;
  transform: rotate(-45deg);
}

.whisker.rightone {
  top:     40%;
  bottom:  70px;
  right:  -30px;
  transform: rotate(5deg);
}

.whisker.righttwo {
  top:     48%;
  bottom:  45px;
  right:  -30px;
  transform: rotate(22deg);
}

.whisker.rightthree {
  top:     55%;
  bottom:  25px;
  right:  -10px;
  transform: rotate(45deg);
}