@font-face {
    font-family: 'DepartureMono';
    src: url('../../fonts/DepartureMono-1.500/DepartureMono-Regular.woff2') format('woff2'),
        url('../../fonts/DepartureMono-1.500/DepartureMono-Regular.woff') format('woff');
}

:root {
    --fontMono: 'DepartureMono';
}

.left-side-world {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background-color: rgb(255, 255, 255); */
}

.animation-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.animation-wrapper div {
    position: absolute;
    box-sizing: border-box;
    background: rgb(0, 0, 0);
    /* border-radius: 2px; */
}

.back {
    bottom: 0;
    right: -40%;
    background: rgb(0, 0, 0) !important;
}

.back.one {
    width: 30%;
    height: 8%;
    animation: elem 2.6s linear infinite;
}

.back.two {
    width: 40%;
    height: 16%;
    animation: elem 3.3s linear infinite 1.6s;
}

.back.three {
    width: 7%;
    height: 24%;
    animation: elem 2.2s linear infinite 1s;
}

.back.four {
    width: 18%;
    height: 13%;
    animation: elem 2.8s linear infinite 0.2s;
}

.floor {
    width: 100%;
    height: 4px;
    bottom: 0;
    position: absolute;
}

.rock {
    bottom: 0;
    right: -20px;
    position: absolute;
    background: rgb(0, 0, 0);
    border-radius: 2px;
}

.rock.one {
    width: 16px;
    height: 26px;
    animation: elem 3s linear infinite;
}

.rock.two {
    width: 20px;
    height: 18px;
    animation: elem 3s linear infinite 0.4s;
}

.rock.three {
    width: 13px;
    height: 26px;
    animation: elem 3s linear infinite 1.3s;
}

.grass {
    width: 2px;
    bottom: 0;
    right: -2px;
    position: absolute;
    background: rgb(0, 0, 0);
    border-radius: 2px;
}

.grass.one {
    height: 15px;
    animation: elem 3s linear infinite;
}

.grass.two {
    height: 10px;
    animation: elem 3.3s linear infinite 0.2s;
}

.grass.three {
    height: 18px;
    animation: elem 2.5s linear infinite 0.4s;
}

.grass.four {
    height: 5px;
    animation: elem 2.9s linear infinite 0.6s;
}

.grass.five {
    height: 7px;
    animation: elem 3s linear infinite 0.8s;
}

.grass.six {
    height: 10px;
    animation: elem 3.1s linear infinite 1s;
}

.grass.seven {
    height: 4px;
    animation: elem 3s linear infinite 1.2s;
}

.grass.height {
    height: 7px;
    animation: elem 3s linear infinite 1.4s;
}

.grass.nine {
    height: 10px;
    animation: elem 3.1s linear infinite 1.6s;
}

.grass.ten {
    height: 6px;
    animation: elem 3s linear infinite 1.8s;
}

.cloud {
    height: 20px;
    right: -160px;
    background: rgb(0, 0, 0) !important;
}

.cloud.one {
    width: 100px;
    top: 60px;
    animation: cloud 3s linear infinite;
}

.cloud.two {
    width: 80px;
    top: 20px;
    animation: cloud 2.6s linear infinite 0.5s;
}

.cloud.three {
    width: 130px;
    top: 110px;
    animation: cloud 3.2s linear infinite 1s;
}

.stick {
    width: 6px;
    height: 30px;
    bottom: 30px;
    left: 50%;
    background: rgb(0, 0, 0);
    border-radius: 3px;
    position: absolute;
    animation: stick 3s ease-in-out infinite;
}

.stick div {
    position: absolute;
    transform-origin: 50% 0%;
}

.stick .head {
    width: 12px;
    height: 12px;
    background: rgb(0, 0, 0);
    border-radius: 50%;
    transform: translate(-3px, -14px);
}

.stick .arm {
    width: 4px;
    height: 14px;
    top: 1px;
    left: 1px;
}

.stick .arm .bottom {
    width: 4px;
    height: 12px;
    bottom: -10px;
    position: absolute;
}

.stick .leg {
    width: 4px;
    height: 20px;
    bottom: -19px;
    left: 1px;
}

.stick .leg .bottom {
    width: 4px;
    height: 15px;
    bottom: -13px;
    position: absolute;
}

.arm.left {
    animation: run 0.8s linear infinite;
}

.arm.left .bottom {
    animation: arm-bottom 0.4s linear infinite;
}

.arm.right {
    animation: run 0.8s linear infinite 0.4s;
}

.arm.right .bottom {
    animation: arm-bottom 0.4s linear infinite 0.4s;
}

.leg.left {
    animation: run 0.4s linear infinite;
}

.leg.left .bottom {
    animation: leg-bottom 0.4s linear infinite;
}

.leg.right {
    animation: run 0.4s linear infinite 0.2s;
}

.leg.right .bottom {
    animation: leg-bottom 0.4s linear infinite 0.2s;
}

@keyframes cloud {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-760px);
    }
}

@keyframes elem {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-640px);
    }
}

@keyframes stick {

    0%,
    100% {
        transform: translateX(0px);
    }

    30% {
        transform: translateX(-60px);
    }

    70% {
        transform: translateX(20px);
    }
}

@keyframes run {

    0%,
    50%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(60deg);
    }

    75% {
        transform: rotate(-60deg);
    }
}

@keyframes arm-bottom {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-90deg);
    }
}

@keyframes leg-bottom {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(120deg);
    }
}

.world-text {
  /* margin-top: 10px; */
  padding: 8px 12px;
  border-left: 2rem solid rgb(0, 0, 0);
  /* border-left: 2rem solid rgb(255, 3, 3); */
  background-color: rgb(255, 255, 255); 
  color: black; 
  font-family: var(--fontMono);
  font-size: 12px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.world-popup {
    position: fixed;
    bottom: 30px; 
    right: 50px;
    width: 400px;
    background: white;
    border: 1px solid #00FF26;
    box-shadow: 5px 5px rgba(0,0,0,0.1);
    display: none; 
    z-index: 9999;
    border-radius: 10px;
    overflow: hidden;
}

.world-popup .left-side-world {
    width: 100%;
}

.left-footer {
    position: relative;
}

.left-footer:hover + .world-popup,
.world-popup:hover {
    display: block;
}