body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    color: #ccff00;
    font-size: 18px;
  }
  
  .galaxy-background {
    background-image: url('galaxy.webp');
    background-size: cover;
    background-position: center;
    transition: background 1s ease-in-out;
  }
  
  /* CARD AREA */
  #image {
    width: 400px;
    height: 560px;
  }
  
  #image, #metadata {
    max-width: 560px;
    margin: 0 auto;
    align-items: center;
  }
  
  .metadata-item {
    text-align: center;
  }
  
  #metadata .metadata-item {
    float: left;
    justify-content: center;
    margin: 18px;
    align-items: center;
  }
  
  .metadata-key {
    margin-right: 10px;
  }
  
  .metadata-value {
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 2px #000;
  }
  
  #asset_name {
    margin-bottom: -10px;
    font-size: 3rem;
    text-shadow: 1px 1px 1px #aaa;
    color: #ccff00 !important;
    background: black;
    padding: 10px 0;
  }
  
  /* BUTTONS */
  .toggle-button {
    position: relative;
    top: 77px;
    cursor: pointer;
    background-color: white;
    color: black;
    border-color: #000;
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 21px;
    font-weight: bold;
    margin: 0;
    transition: all 0.4s;
    box-shadow: 2px 2px 2px #ccff00;
    display: flex;
    flex-direction: column;
    align-items: center;

  }
  
  .toggle-button.toggle-on {
    background-color: #ccff00;
    color: black;
  }
  
  
  #item-info {
    position: relative;
    margin: 0 auto;
    bottom: -95px;
    z-index: 999999;
    width: 400px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .random-number {
    margin-left: 20px;
    opacity: 0;
    transition: opacity 0.5s;
  }
  
  .random-number.visible {
    opacity: 1;
  }
  
  /* ANIMATION STUFF */
  .flip-animation {
    animation: flip 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  }
  
  @keyframes flip {
    0% {
      transform: perspective(1200px) rotateY(0deg) scale(1);
    }
    50% {
      transform: perspective(1200px) rotateY(180deg) scale(1.05);
    }
    100% {
      transform: perspective(1200px) rotateY(360deg) scale(1);
    }
  }