:root {
    --wpig: #f2eeee;
    --wpig-accent: #f3d6ce;
    --wpig-background-color: #048877
}

.wpig {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    height: 200px
}

.wpighead {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50% 50% 50% 50%;
    background: var(--wpig);
    box-shadow: 0 1px 0 0 var(--wpig-accent)
}

.wpigearleft {
    content: '';
    position: absolute;
    left: -5px;
    top: -5px;
    width: 50px;
    height: 40px;
    background: var(--wpig-accent);
    border-radius: 50%;
    clip-path: polygon(30% 100%, 0% 0%, 100% 10%);
    z-index: 2;
}


.wpigearright {
    content: '';
    position: absolute;
    right: -5px;
    top: -5px;
    width: 50px;
    height: 40px;
    background: var(--wpig-accent);
    border-radius: 50%;
    clip-path: polygon(60% 100%, 0% 0%, 100% 10%);
    z-index: 2;
}

.wpignose {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -60%);
    background: var(--wpig-accent);
    width: 25px;
    height: 20px;
    border-radius: 40%
}

.wpignose::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    height: 10px;
    width: 5px;
    background: var(--wpig);
    border-radius: 50%
}

.wpignose::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 5px;
    height: 10px;
    width: 5px;
    background: var(--wpig);
    border-radius: 50%
}


.wpigeye{
  position: absolute;
  top: 25%;
  left: 10%;
  width: 5rem;
  height: 1rem;
  /*z-index: 8;*/
}
.wpigeye span{
  position: absolute;
  left: 1rem;
  width: .4rem;
  height: .9rem;
  background-color: #27221e;
  border-radius: 60%;
}

.wpigeye span:nth-child(2){
  left: 3.5rem
}

.wpigeye span:before{
  width: .12rem;
  height: .12rem;
  border-radius: .12rem;
  background-color: #fff;
  top: .2rem;
  left: .15rem;
  position: absolute;
  content: "";
}
.wpigeye span:after{
  left: -.2rem;
  top: -1rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--wpig);
  border-radius: 50%;
  z-index: 1;
  position: absolute;
  content: "";
  -webkit-animation:eye 1.4s ease-in infinite;
}

@-webkit-keyframes eye {
  0% { transform: translate3d(0, 0, 0);}
  40% { transform: translate3d(0, 0, 0);}
  50% { transform: translate3d(0, 60%, 0);}
  60% { transform: translate3d(0, 0, 0);}
  100% { transform: translate3d(0, 0, 0);}
}


.wpigsmile {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 10px;
    border-bottom: 3px solid var(--wpig-accent);
    border-radius: 50%
}

.wpigbody {
    position: absolute;
    left: 15%;
    top: 30%;
    width: 160px;
    height: 120px;
    background: var(--wpig);
    border-radius: 50% 50% 50% 50%;
}

.wpigbody::before {
    content: '';
    position: absolute;
    right: -16px;
    top: 25px;
    width: 20px;
    height: 25px;
    border-radius: 50%;
    box-shadow: 5px 2px 0 0 var(--wpig);
    transform: rotate(45deg)
}

.wpigbody::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -34px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: -3px -1px 0 0 var(--wpig);
    transform: rotate(-45deg)
}

.wpigleg {
    position: absolute;
    bottom: 0;
    height: 40px;
    width: 20px;
    background: var(--wpig-accent);
    border-radius: 0 0 20% 20%
}

.wpigleg.left {
    left: 50px;
    bottom: 15px
}

.wpigleg.right {
    right: 60px;
    bottom: 15px
}

.wpigleg::before {
    content: '';
    position: absolute;
    left: 10px;
    height: 40px;
    width: 20px;
    background: var(--wpig);
    border-radius: 0 0 20% 20%
}