.parentsbox{
    background-color: yellow;
    width: 80vmin;
    height: 80vmin;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    
}
.pighead{
    position: absolute;
    width: 50%;
    height: 60%;
    background-color: rgb(233, 134, 167);
    transform: translate(-50%,0);
    left: 50%;
    top: 10%;
    border-radius: 100%;
    z-index: 2;
    border: 0.4vmin solid grey;
    border-bottom-width: 2vmin;
    border-top-width: 12vmin;
    border-left-width: 0.8vmin ;
    border-right-width: 0.8vmin ;
}
.pigsmile{
    width: 20%;
    height: 5%;
    border-radius: 100%;
    position: absolute;
    background-color: black;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
   
}
    
.ear1{
    position: absolute;
    width: 10%;
    height: 30%;
    background-color:  rgb(233, 134, 167);
    transform: translate(-50%,0);
    left: 30%;
    top: 2%;
    border-radius: 100%;
    z-index: 2;
    border: 0.4vmin solid grey;
    border-bottom-width: 0vmin;
    border-top-width: 3vmin;
    border-left-width: 2vmin ;
    border-right-width: 0 vmin ;

}
.ear2 {
    position: absolute;
    width: 10%;
    height: 30%;
    background-color:  rgb(233, 134, 167);
    transform: translate(-50%,0);
    right: 20%;
    top: 2%;
    border-radius: 100%;
    z-index: 2;
    border: 0.4vmin solid grey;
    border-bottom-width: 0vmin;
    border-top-width: 3vmin;
    border-left-width: 0vmin ;
    border-right-width: 2vmin ;
}
.eye1 {
   
    width: 6%;
    height: 10%;
    background-color: #000;
    border: 2vmin solid white;
    border-radius: 50%;
    position: absolute;
    top: 40%;;
    right: 33%;
    text-align: center;
    font-weight: bold;
    z-index: 5;
      
}
.eye2 {
    width: 6%;
    height: 10%;
    background-color: #000;
    border: 2vmin solid white;
    border-radius: 50%;
    position: absolute;
    top: 40%;;
    left: 33%;
    text-align: center;
    font-weight: bold;
    z-index: 5;

}
.pignose {
  width: 20%;
  height: 10%;
  background-color: #87085f;
  border: bold white;
  border-radius: 50%;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}