body {
    background: #f7f5ff;
    height: auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 100px;
}

p {
    color: #F9D1CD;
}

.parentsbox {
    background-color: #D98E95;
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 500px;
    height: 500px;
    background: #e8e0ff;
    border-radius: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: -3;
}

.pighead {
    position: absolute;
    top: 150px;
    bottom: 0;
    left: 160px;
    right: 0;
    width: 200px;
    height: 200px;
    border-radius: 90% 90% 70% 70% / 100% 100% 80% 80%;
    border: 3px solid #000;
    background: #F9D1CD;
    z-index: 1;
}

.pighead:before {
    content: '';
    display: block;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 60px;
    height: 20px;
    border-radius: 0% 0% 50% 50% / 0 0 70% 70%;
    background: #F598AA;
}

.pigsmile {
    position: absolute;
    width: 30px;
    height: 10px;
    border: 3px solid black;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    border-top: 0;
    top: 250px;
    left: 244px;
    z-index: 8;
}

.pigeye {
    position: absolute;
    width: 25px;
    height: 25px;
    background: #000;
    border-radius: 100px;
    z-index: 8;
    top: 220px;
}

.eye1 {
    background: #000;
    border-radius: 100px;
    left: 220px;
}

div.eye1 p {
    width: 10px;
    height: 10px;
    left: 10px;
    top: -3px;
    position: absolute;
    background-color: white;
    border-radius: 100%;
}

.eye2 {
    background: #000;
    border-radius: 100px;
    left: 280px;
}

div.eye2 p {
    width: 10px;
    height: 10px;
    left: 10px;
    top: -3px;
    position: absolute;
    background-color: white;
    border-radius: 100%;
}

.pigear {
    position: absolute;
    top: 100px;
    width: 50px;
    height: 70px;
    border: 3px solid #000;
    border-radius: 100% 100% 0 0 / 60% 60% 0 0;
    background: #F9D1CD;
}

.ear1 {
    left: 190px;
    transform: rotate(-20deg);
}

.ear2 {
    right: 170px;
    transform: rotate(20deg);
}

.pigear:before {
    content: '';
    display: block;
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border-radius: 100% 100% 0 0 / 40% 40% 0 0;
    background: #fff;
}

.pignose {
    position: absolute;
    top: 240px;
    left: 23px;
    right: 0;
    margin: 0 auto;
    width: 22px;
    height: 17px;
    border-radius: 22px;
    background: #000;
    z-index: 1;
}