body{
  margin: 0;
  background-image: url(bg.png);
  background-size: cover;
  font-family: Arial, Helvetica, sans-serif;
}
body::-webkit-scrollbar{
  display: none;
}

#card-background{
  z-index: 100;
  display: block;
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  color: white;
}
  #card-image{
    position: relative;
    width: 750px;
    height: 750px;
    margin: 0 auto;
    top: 50%;
    margin-top: -380px;
    padding: 30px;
    overflow: hidden;
  }
    #card-image img{
      margin: 30px;
      border-radius: 15px;
      position: absolute;
      top: 0;
      left: 0;
      width: calc(100% - 60px);
    }
    .fade-in{
      animation: fadein .5s 1;
    }    
    .drop-in{
      animation: dropin .25s 1;
    }        
    .slide-from-right{
      animation: slidefromright .5s 1;
    }
    .slide-from-left{
      animation: slidefromleft .5s 1;
    }
    .slide-from-top{
      animation: slidefromtop .5s 1;
    }
    .slide-from-bottom{
      animation: slidefrombottom .25s 1;
    }
    @keyframes fadein {
      from {
        opacity: 0;
      }
    
      to {
        opacity: 1;
      }
    }
    @keyframes dropin {
      from {
        opacity: 0;
        transform: scale(2);
      }
    
      to {
        opacity: 1;
        transform: scale(1);
      }
    }
    @keyframes slidefromright {
      0% {
        transform: translateX(100%);
      }
      95% {
        transform: translateX(-1%);
      }
      100% {
        transform: translateX(0%);
      }
    }
    @keyframes slidefromleft {
      0% {
        transform: translateX(-100%);
      }
      95% {
        transform: translateX(1%);
      }
      100% {
        transform: translateX(0%);
      }
    }
    @keyframes slidefromtop {
      0% {
        transform: translateY(-100%);
      }
      95% {
        transform: translateY(1%);
      }
      100% {
        transform: translateY(0%);
      }
    }
    @keyframes slidefrombottom {
      0% {
        transform: translateY(100%);
      }
      95% {
        transform: translateY(-1%);
      }
      100% {
        transform: translateY(0%);
      }
    }  

    #card-image .control{
      position: absolute;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      cursor: pointer;
      border-radius: 3px;
      width: 100px;
      height: 100px;
      filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
    }
    #card-image .control.disabled{
      opacity: .25;
      cursor: not-allowed;
    }
    #move-up.control{
      top: 4px;
      height: 20px;
      left: 50%;
      margin-left: -50px;
      background-image: url('/images/xrp-chevron-up.svg');
    }
    #move-right.control{
      right: 4px;
      width: 20px;
      top: 50%;
      margin-top: -50px;
      background-image: url('/images/xrp-chevron-right.svg');
    }
    #move-down.control{
      bottom: 4px;
      height: 20px;
      left: 50%;
      margin-left: -50px;
      background-image: url('/images/xrp-chevron-down.svg');
    }
    #move-left.control{
      left: 4px;
      width: 20px;
      top: 50%;
      margin-top: -50px;
      background-image: url('/images/xrp-chevron-left.svg');
    }