#page-top {
    display: block !important;
    position: fixed;
    right: 33px;
    bottom: -100px;
    transform: translateY(100px);
    opacity: 0;
    z-index: 99;
}

.downmove {
  animation: optop 0.3s forwards;
  
}
.upmove {
  animation: bottomIcon 0.7s forwards;
}

.icon-page-top {
    display: block;
    width: 80px;
    height: 80px;
    color: orange;
    /* opacity: 0; */
    /* display: inline; */
    margin: 0;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    background-image: url("../images/top/rocket_base.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.icon-page-top-smoke {
  display: block;
  width: 80px;
  height: 80px;
  color: #333;
  /* opacity: 0; */
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  background-image: url("../images/top/rocket.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.shaking-plane {
  animation-name: plane;
  animation-duration: 2s;
  /* animation-iteration-count: 1; */
  animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

.text-page-top {
    position: absolute;
    bottom: -6px;
    text-align: center;
    display: inline;
    line-height: 1.5;
    width: 100%;
    font-size: 10px;
    left: 50%;
    color: #333;
    transform: translateX(-50%);
}

@keyframes plane {
  0% {
    transform: translateX(-5px);
    opacity: 0.5;
  }
  25% {
    transform: translateX(7px);
    opacity: 1;
  }
  50% {
    transform: translateX(-7px);
    opacity: 0.7;
  }
  100% {
    transform: translateX(5px);
    opacity: 0;
  }
}

@keyframes optop {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-180px);
  }
}

@keyframes bottomIcon {
  from {
    opacity: 1;
    transform: translateY(-180px);
  }
  to {
    opacity: 0;
    transform: translateY(0);
  }
}

@media only screen and (max-width: 768px) {
    #page-top {
        right: 15px;
    }

    .icon-page-top {
        width: 65px;
        height: 65px;
    }

    .text-page-top {
        position: absolute;
    }

    .downmove {
      animation: optop 0.2s forwards;
      
    }
    .upmove {
      animation: bottomIcon 0.7s forwards;
    }

    @keyframes plane {
        0% {
            transform: translateX(-5px);
            opacity: 0.5;
        }
        25% {
            transform: translateX(7px);
            opacity: 1;
        }
        50% {
            transform: translateX(-7px);
            opacity: 0.7;
        }
        100% {
            transform: translateX(5px);
            opacity: 0;
        }
        }

        @keyframes optop {
            from {
                opacity: 0;
                transform: translateY(0);
            }
            to {
                opacity: 1;
                transform: translateY(-150px);
            }
        }

        @keyframes bottomIcon {
            from {
                opacity: 1;
                transform: translateY(-150px);
            }
            to {
                opacity: 0;
                transform: translateY(0);
            }   
        }
    }