
body{
    background-color: lightslategray;
}

.parentsbox{
height: 1000px;
width: 1000px;
position: absolute;
}
.pighead{
    z-index: 1;
    background-color: tomato;
    height: 540px;
    width: 550px;
    position: relative;
    border: 15px solid black;
    border-radius: 280px 280px 200px 200px;
    left: 20%;
    top: 20%;
    bottom: 0;
    right: 0;
}

.eye1{
    z-index: 2;
    background-color: white;
    height: 140px;
    width: 140px;
    border: 5px solid black;
    border-radius: 200px;
    position: relative;
    top: -630px;
    left: 280px;
}
.eye1 p{
    font-size: 700px;
    font-weight: bolder;
    position: relative;
    left: -4%;
    top: -1270px;
}

.eye2{
    z-index: 3;
    background-color: white;
    height: 140px;
    width: 140px;
    border: 5px solid black;
    border-radius: 200px;
    position: relative;
    top: -778px;
    left: 54%;
}

.eye2 p{
    font-size: 700px;
    font-weight: bolder;
    position: relative;
    top: -1270px;
    right: 25px;
}

.pignose{

    z-index: 3;
    height: 320px;
    width: 30px;
    background-color: gray;
    border: 5px solid black;
    position: relative;
    left: 47%;
    top: -1055px;

}

.parentsbox::before{

    content: "";
    z-index: 0;
    height: 130px;
    width: 390px;
    border: 100px solid black;
    border-radius: 30px;
    position: absolute;
    left: 19%;
    top: 2%;
    
}

.pignose p{
    color: darkgray;
    font-size: 200px;
    position: relative;
    top: -25%;
    left: 220%;
    transform: rotate(90deg);
}

.pignose p:before{

    content: ".....";
    color: darkgray;
    font-size: 200px;
    position: absolute;
    right: 100%;
    transform: rotate(0deg);
    
}

.pigsmile{
    
    z-index: 2;
    height: 90px;
    width: 90px;
    border: 5px solid black;
    background-color: red;
    border-top: none;
    border-left: none;
    border-radius: 50px;
    position: relative;
    right: -445px;
    top: -1080px;
    transform: rotate(50deg);
}

.pigsmile:before{

    content: "";
    height: 90px;
    width: 90px;
    border: 5px solid black;
    background-color: tomato;
    border-top: none;
    border-left: none;
    border-radius: 50px;
    position: absolute;
    right: 60%;
    top: 20%;
    transform: rotate(30deg);
    
}

.pigsmile:after{

    content: "";
    height: 90px;
    width: 90px;
    border: 5px solid black;
    background-color: tomato;
    border-top: none;
    border-left: none;
    border-radius: 50px;
    position: absolute;
    left: 7%;
    top: -60%;
    transform: rotate(-30deg);
    
}

.ear1{

    z-index: 3;
    height: 180px;
    width: 130px;
    background-color: tomato;
    border: 15px solid black;
    border-top: none;
    border-radius: 0 0 70px 50px;
    position: relative;
    top: 135px;
    left: 29%;
    transform: rotate(-10deg);
}

.ear1::after{

    content: "";
    z-index: 3;
    height: 180px;
    width: 130px;
    background-color: tomato;
    border: 15px solid black;
    border-top: none;
    border-radius: 0 0 50px 70px;
    position: absolute;
    top: 40px;
    left: 225px;
    transform: rotate(20deg);
}

.ear2{
    z-index: -1;
    height: 200px;
    width: 150px;
    background-color: tomato;
    border: 15px solid black;
    border-top: none;
    border-radius: 0 0 50px 70px;
    position: relative;
    top: -140px;
    left: 240px;
    transform: rotate(0deg);
}

.ear2::before{
    content: "";
    z-index: 0;
    height: 200px;
    width: 150px;
    background-color: tomato;
    border: 15px solid black;
    border-top: none;
    border-radius: 0 0 70px 50px;
    position: absolute;
    top: 0px;
    left: 300px;
    transform: rotate(0);
}

p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}