/* Quick and dirty ^^ */
:root {
    --smaller: .75;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html, body {
    height: 100%;
    overflow: hidden;
    margin: 0;
  }
  
  body {
    align-items: center;
    background-image: url("../mountains.png");
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    font-family: -apple-system, 
      BlinkMacSystemFont, 
      "Segoe UI", 
      Roboto, 
      Oxygen-Sans, 
      Ubuntu, 
      Cantarell, 
      "Helvetica Neue", 
      sans-serif;
  }
  
  .container {
    color: #333;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30%;
  }
  
  h1 {
    font-weight: normal;
    letter-spacing: .125rem;
    text-transform: uppercase;
  }
  
  li {
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 1em;
    text-transform: uppercase;
  }
  
  li span {
    display: block;
    font-size: 4.5rem;
  }
  
  @media all and (max-width: 768px) {
    h1 {
      font-size: calc(1.5rem * var(--smaller));
    }
    
    li {
      font-size: calc(1.125rem * var(--smaller));
    }
    
    li span {
      font-size: calc(3.375rem * var(--smaller));
    }
  }


  .penguin {
    /* change code below */
    --penguin-skin: black;
    --penguin-belly: white;
    --penguin-beak: orange;
    /* change code above */
  
    position: relative;
    margin: auto;
    display: block;
    margin-top: 5%;
    width: 300px;
    height: 300px;
  }


  .penguin-top {
    top: 10%;
    left: 25%;
    background: var(--penguin-skin, gray);
    width: 50%;
    height: 45%;
    border-radius: 70% 70% 60% 60%;
  }
  
  .penguin-bottom {
    top: 40%;
    left: 23.5%;
    background: var(--penguin-skin, gray);
    width: 53%;
    height: 45%;
    border-radius: 70% 70% 100% 100%;
  }

  .shadow {
    top: 90%;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 27%;
    border-radius: 100%;
  }
  
  .right-hand {
    top: 5%;
    left: 25%;
    background: var(--penguin-skin, black);
    width: 30%;
    height: 60%;
    border-radius: 30% 30% 120% 30%;
    transform: rotate(110deg);
    z-index: -1;
  }

  .right-hand-secondanimation {
    transform: rotate(53deg);
    left: -9%;
    animation: right-hand-animation 2s infinite;
  }

  .right-hand-animation {
    animation-duration: 2s;
    animation-name: wave;
    animation-iteration-count: infinite;
    transform-origin: 0% 0%;
    animation-timing-function: linear;
  }
  
  .left-hand {
    top: 20%;
    left: 57%;
    background: var(--penguin-skin, gray);
    width: 30%;
    height: 60%;
    border-radius: 30% 30% 30% 120%;
    transform: rotate(296deg);
    transform-origin: top;
    z-index: -1;
  }

  .left-hand-animation {
    animation: left-hand-animation 2s infinite;
  }
  
  .right-cheek {
    top: 15%;
    left: 35%;
    background: var(--penguin-belly, white);
    width: 60%;
    height: 70%;
    border-radius: 70% 70% 60% 60%;
  }
  
  .left-cheek {
    top: 15%;
    left: 5%;
    background: var(--penguin-belly, white);
    width: 60%;
    height: 70%;
    border-radius: 70% 70% 60% 60%;
  }
  
  .belly {
    top: 60%;
    left: 9.5%;
    background: var(--penguin-belly, white);
    width: 77%;
    height: 100%;
    border-radius: 120% 120% 100% 100%;
  }
  
  .right-feet {
    top: 85%;
    left: 60%;
    background: var(--penguin-beak, orange);
    width: 15%;
    height: 30%;
    border-radius: 50% 50% 50% 50%;
    transform: rotate(-80deg);
    z-index: -2222;
  }
  
  .left-feet {
    top: 85%;
    left: 25%;
    background: var(--penguin-beak, orange);
    width: 15%;
    height: 30%;
    border-radius: 50% 50% 50% 50%;
    transform: rotate(80deg);
    z-index: -2222;
  }
  
  .right-eye {
    top: 45%;
    left: 60%;
    background: black;
    width: 15%;
    height: 17%;
    border-radius: 50%;
  }
  
  .left-eye {
    top: 45%;
    left: 25%;
    background: black;
    width: 15%;
    height: 17%;
    border-radius: 50%;
  }
  
  .sparkle {
    top: 25%;
    left: 15%;
    background: white;
    width: 35%;
    height: 35%;
    border-radius: 50%;
  }
  
  .blush-right {
    top: 65%;
    left: 15%;
    background: rgb(231, 91, 114);
    width: 15%;
    height: 10%;
    border-radius: 50%;
  }
  
  .blush-left {
    top: 65%;
    left: 70%;
    background: rgb(231, 91, 114);
    width: 15%;
    height: 10%;
    border-radius: 50%;
  }
  
  .beak-top {
    top: 60%;
    left: 40%;
    background: var(--penguin-beak, orange);
    width: 20%;
    height: 10%;
    border-radius: 50%;
  }
  
  .beak-bottom {
    top: 61%;
    left: 42%;
    background: var(--penguin-beak, orange);
    width: 16%;
    height: 10%;
    border-radius: 50%;
  }
 
  .penguin * {
    position: absolute;
  }
  .penguin1 {
    width: 150px;
    height: 150px;
    bottom: 0px;
    right: 145px;
    position: absolute;
    animation-duration: 10s;
    animation-name: loop;
    animation-iteration-count: infinite;
    transform-origin: 0% 0%;
    animation-timing-function: linear;
  }

  .penguin2 {
    width: 165px;
    height: 165px;
    bottom: 0px;
    right: 30px;
    position: absolute;
  }
  
  @keyframes wave {
    10% {
      transform: rotate(110deg);
    }
    30% {
      transform: rotate(130deg);
    }
    50% {
      transform: rotate(110deg);
    }
    80% {
      transform: rotate(130deg);
    }
    100% {
      transform: rotate(110deg);
    }
  }
  
  @keyframes loop {
    0% {
      transform: rotateY(0deg);
    }
    25% {
      transform: rotateY(-10deg);
    }
    50% {
      transform: rotateY(0deg);
    }
    75% {
      transform: rotateY(10deg);
    }
    100% {
      transform: rotateY(0deg);
    }
  }
  .heart {
    background-color: red;
    display: inline-block;
    height: 20px;
    position: absolute;
    top: 29px;
    left: 84%;
    transform: rotate(40deg);
    width: 20px;
    z-index: 6;
  }
  
  .heart:before,
  .heart:after {
    content: "";
    background-color: red;
    border-radius: 50%;
    height: 20px;
    position: absolute;
    width: 20px;
  }
  
  .heart:before {
    top: -10px;
    left: 0;
  }
  
  .heart:after {
    left: 10px;
    top: 0;
  }

  .animated-top {
    transform-origin: bottom;
    animation: wiggle 2s infinite;
  }

  .animated-top2 {
    transform-origin: bottom;
    animation: wiggle 2s infinite;
    animation-direction: reverse;
  }

  @keyframes wiggle {
    0%,
    100% {
      transform: rotate(5deg);
    }
    50% {
      transform: rotate(-5deg);
    }
  }


  @keyframes left-hand-animation {
    0%,
    100% {
      transform: rotate(296deg);
    }
    50% {
      transform: rotate(300deg);
    }
  }


  @keyframes right-hand-animation {
    0%,
    100% {
      transform: rotate(53deg);
    }
    50% {
      transform: rotate(63deg);
    }
  }
