*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #49befe;
}

.container {
    height: 550px;
    width: 100vw;
    z-index: 1;
    overflow: hidden;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.chick {
    height: 300px;
    width: 80px;
    position: absolute;
    left: 0;
    right: 0;
    top: 260px;
    margin: auto;
}

.body {
    height: 65px;
    width: 100px;
    background-color: #ffec02;
    border-radius: 100px 100px 0 0;
    top: -2px;
    position: absolute;
    animation: body-walk 0.8s infinite;
}

@keyframes body-walk {
    50% {
        top: 7px;
    }
}

.body::before {
    content: '';
    position: absolute;
    height: 80px;
    width: 150px;
    background-color: #ffec02;
    top: 65px;
    right: 0;
    border-radius: 15px 0 150px 150px;
}

.eye {
    background-color: #1c1c1c;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 32px;
    left: 65px;
    border-radius: 50%;
    transform-origin: bottom;
    animation: blink 2.5s infinite;
}

@keyframes blink{
    30%{
        height: 2px;
        top: 40px;
    }
}

.blush {
    background-color: #f17c0080;
    height: 15px;
    width: 15px;
    position: absolute;
    border-radius: 50%;
    top: 48px;
    left: 46px;
}

.beak {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #f17c00;
    border-radius: 5px;
    top: 30px;
    left: 60px;
    transform: skewX(30deg) rotate(-25deg);
    z-index: -1;
}

.wing {
    height: 37px;
    width: 74px;
    background-color: #ffce08;
    position: absolute;
    top: 55px;
    left: -40px;
    border-radius: 10px 10px 74px 74px;
    transform-origin: right;
    animation: wing 1s infinite;
}

@keyframes wing {
    50% {
        transform: rotate(10deg);
    }
}

.feather {
    position: absolute;
    height: 35px;
    width: 12px;
    background-color: #ffec02;
    left: 30px;
    top: -20px;
    transform: rotate(-15deg);
    border-radius: 25px;
}

.feather::before {
    content: '';
    position: absolute;
    height: 25px;
    width: 12px;
    background-color: #ffec02;
    left: 10px;
    top: 5px;
    transform: rotate(25deg);
    border-radius: 25px;
}

.leg-l,
.leg-r {
    position: absolute;
    height: 50px;
    width: 13px;
    background-color: #f17c00;
    top: 100px;
    left: 35px;
    transform-origin: top;
    transform: rotate(-45deg);
    z-index: -1;
    animation: walk 1s infinite;
}

@keyframes walk {
    33.33%{
        transform: translateY(20px) rotate(0deg);
    }
    66.66%{
        transform: translate(-25px, 10px) rotate(30deg);
    }
}

.leg-r{
    animation-delay: 0.5s;
}

.leg-l::before,
.leg-r::before {
    content: '';
    position: absolute;
    height: 13px;
    width: 40px;
    background-color: #f17c00;
    right: -20px;
    top: 50px;
    border-radius: 40px;
}

.shadow {
    background-color: #39a4f0;
    height: 18px;
    width: 110px;
    border-radius: 20px;
    position: absolute;
    margin: auto;
    bottom: 99px;
    left: 0;
    right: 0;
    z-index: -2;
    animation: shadow 1s infinite;
}

@keyframes shadow{
    50%{
        transform: scaleX(1.13);
    }
}

.cloud {
    background-color: white;
    width: 120px;
    height: 35px;
    position: absolute;
    z-index: -3;
    border-radius: 120px;
    right: -130px;
}

.cloud::before {
    content: "";
    position: absolute;
    height: 65px;
    width: 65px;
    background-color: white;
    border-radius: 50%;
    bottom: 10px;
    left: 15px;
}

.cloud::after {
    content: "";
    position: absolute;
    background-color: white;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    bottom: 10px;
    right: 10px;
}

.cloud1 {
    top: 240px;
    animation: cloud 10s 18px infinite linear;
}

.cloud2 {
    top: 160px;
    animation: cloud 10s infinite linear;
}

.cloud3 {
    top: 60px;
    animation: cloud 10s 5s infinite linear;
}

.cloud4 {
    top: 300px;
    animation: cloud 10s 12s infinite linear;
}

@keyframes cloud {
    100% {
        transform: translateX(calc(-100vw - 130px));
    }
}