:root {
  --color-yellow: #ffed02;
  --color-light-orange-1: #fece00;
  --color-light-orange-2: #fcaa1d;
  --color-orange: #f57a00;
  --color-blue-1: #48befd;
  --color-blue-2: gray;
  --makey-speed: 1s;
  --makey-speed-half: calc(var(--makey-speed) / 2);
}

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


body {
  background-color: transparent;
  height: 100vh;
  display: grid;
  place-content: center;
  overflow: hidden;
  padding-bottom: 30px;
}

.makey {
  display: flex;
  flex-direction: column;
  position: relative;
  
}
.makey__wrapper {
  display: grid;
  place-content: center;
}
.makey__head {
  align-self: flex-end;
  width: 6rem;
  height: 4rem;
  border-radius: 8rem 8rem 0 0;
  background-color: red;
  position: relative;
  transform: translateY(1px);
  z-index: 1;
}
.makey__white {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  width: 0.6rem;
  height: 1.3rem;
  transform: rotate(40deg);
  border-radius: 50%;
  border-left: 0.2rem solid #fff;
}
.makey__eye {
  position: absolute;
  bottom: 0.8rem;
  right: 0.2rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background-color: #fff;
  animation: eye-animation 1s infinite linear;
}
.makey__eye--shadow {
  position: absolute;
  bottom: 0.8rem;
  right: 2rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background-color: #fff;
  z-index: 1;
  animation: eye-animation 1s infinite linear;
}
.makey__logo {
  position: absolute;
  bottom: -2.4rem;
  right: 0.2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  color: red;
  font-weight: 900;
}
.makey__line {
  position: absolute;
  bottom: 0rem;
  right: 0rem;
  width: 6rem;
  height: 0.1rem;
  border-radius: 0%;
  background-color: #fff;
}
.makey__body {
  width: 6rem;
  height: 4rem;
  border-radius: 0rem 0 2rem 2rem;
  background-color: red;
  position: relative;
  overflow: hidden;
}
.makey__body::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  right: 0rem;
  width: 6rem;
  height: 0.1rem;
  border-radius: 0%;
  background-color: #fff;
}
.makey__wing {
  position: absolute;
  left: 0.6rem;
  top: 55%;
  width: 2rem;
  height: 1.5rem;
  border-radius: 4rem 4rem 0rem 0rem;
  border-bottom: 0.15rem solid white;
  background-color: #c40000;
  transform: translate(0, -50%);
  transform-origin: right;
  animation: wing-animation var(--makey-speed) linear infinite;
  z-index: 1;
}
.makey__wing::after {
  content: "";
  position: absolute;
  width: 1.8rem;
  height: 1.5rem;
  bottom: -2.5rem;
  left: 0;
  border-radius: 1rem 1rem 0rem 10rem;
  background-color: #c40000;
  border-top: 0.15rem solid white;
  animation: wing-animation var(--makey-speed) linear infinite;
  z-index: 1;
}
.makey__foot {
  position: absolute;
  width: 1.2rem;
  height: 2rem;
  background-color: red;
  z-index: -1;
}
.makey__foot::after {
  content: "";
  position: absolute;
  width: 1.8rem;
  height: 1rem;
  bottom: 0rem;
  left: 0rem;
  background-color: red;
  border-top: 0.15rem solid white;
  border-radius: 0 1rem 0 0;
}
.makey__foot--1, .makey__foot--2 {
  left: 25%;
  bottom: 0;
  transform: translate(-50%, 80%);
}
.makey__foot--1 {
  animation: foot-ans var(--makey-speed) linear infinite;
}
.makey__foot--2 {
  animation: foot-ans var(--makey-speed) var(--makey-speed-half) linear infinite;
}

.surface {
  position: absolute;
  bottom: -1.9rem;
  left: 55%;
  transform: translateX(-50%);
  background-color: #eb8e46;
  width: 8rem;
  height: 0.5rem;
  border-radius: 1rem;
  animation: surface-animation var(--makey-speed-half) linear infinite;
}

@keyframes surface-animation {
  0%, 100% {
    transform: translateX(-50%) scaleX(0.9);
  }
  50% {
    transform: translateX(-50%) scaleX(1);
  }
}
@keyframes foot-ans {
  0% {
    transform: translate(-50%, 80%) rotate(0deg);
  }
  10% {
    transform: translate(-100%, 80%) rotate(10deg);
  }
  20% {
    transform: translate(-100%, 10%) rotate(10deg);
  }
  40% {
    transform: translate(100%, 10%) rotate(-20deg);
  }
  60% {
    transform: translate(300%, 60%) rotate(-20deg);
  }
  70% {
    transform: translate(200%, 60%) rotate(0deg);
  }
}
.makey__inner {
  animation: bird-up-down var(--makey-speed-half) linear infinite;
}

@keyframes bird-up-down {
  0%, 100% {
    transform: translateY(0.4rem);
  }
  50% {
    transform: translateY(0rem);
  }
}
@keyframes wing-animation {
  0%, 100% {
    transform: translate(0, -50%) rotate(16deg);
  }
  50% {
    transform: translate(0, -50%) rotate(-2deg);
  }
}
@keyframes eye-animation {
  0%, 20% {
    transform: scaleY(1);
  }
  10% {
    transform: scaleY(0);
  }
}