:root {
  --blob-color-1: rgb(var(--blue-rgb));
  --blob-color-2: var(--theme-accent-2-base);
}
  

  .screen {
    width: 100%;
    display: flex;
    border: 3px solid rgb(var(--theme-accent-2-base-rgb) / 80%);
    aspect-ratio: 10 / 10;
    border-radius: 1rem;
    background-color: rgb(var(--theme-accent-2-base-rgb) / 15%);
    overflow: hidden;
    position: relative;
    z-index: 10;

    margin: 32px auto 32px auto;

    &.card {
      width: 256px;
      aspect-ratio: 2 / 1;

      margin: 8px auto 16px auto;
      transition: all 0.2s;

      &:hover {
          transform: scale(1.05, 1.05);
          cursor: pointer;
      }
  
      &.blank {
        border: 3px solid var(--theme-gray-base);
        background-color: var(--theme-gray-dark);
      }
    }
  }
  
  .screen:after,
  .screen:before {
    content: "";
    height: 5px;
    position: absolute;
    z-index: 4;
    left: 50%;
    translate: -50% 0%;
    background-color: var(--theme-white);
  }
  
  .screen:before {
    width: 15%;
    top: 0rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }
  
  .screen:after {
    width: 25%;
    bottom: 0rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
  }
  
  @keyframes pan-overlay {
    from {
      background-position: 0% 0%;
    }
    
    to {
      background-position: 0% -100%;
    }
  }
  
  .screen-overlay {    
    background: linear-gradient(
      rgb(var(--theme-accent-2-base-rgb) / 0.15),
      rgb(var(--theme-accent-2-base-rgb) / 0.15) 3px,
      transparent 3px,
      transparent 9px
    );
    background-size: 100% 9px;
    height: 100%;
    width: 100%;
    animation: pan-overlay 22s infinite linear;
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 0px;
  }
  
  .screen-overlay-blank {    
    background: linear-gradient(
      rgb(58, 58, 58, 0.5),
      rgb(58, 58, 58, 0.5) 3px,
      transparent 3px,
      transparent 9px
    );
    background-size: 100% 9px;
    height: 100%;
    width: 100%;
    animation: pan-overlay 22s infinite linear;
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 0px;
  }

  @keyframes pan-image {  
    0% {
      background-position: 36% 42%;
      background-size: 100%;
    }
    
    20% {
      background-position: 30% 35%;
      background-size: 100%;
    }
    
    20.0001% { /* -- View 2 -- */
      background-position: 60% 85%;
      background-size: 250%;
    }
    
    40% {
      background-position: 49% 81%;
      background-size: 250%;
    }
    
    40.0001% { /* -- View 3 -- */
      background-position: 80% 42%;
      background-size: 150%;
    }
    
    60% {
      background-position: 84% 33%;
      background-size: 150%;
    }
    
    60.0001% { /* -- View 4 -- */
      background-position: 0% 0%;
      background-size: 200%;
    }
    
    80% {
      background-position: 15% 4%;
      background-size: 200%;
    }
    
    80.0001% { /* -- View 5 -- */
      background-position: 80% 10%;
      background-size: 200%;
    }
    
    100% {
      background-position: 72% 14%;
      background-size: 200%;
    }
  }
  
  @keyframes pan-image-card {  
    0% {
      background-position: 0% 10%;
      background-size: 100%;
    }
    
    40% {
      background-position: 0% 90%;
      background-size: 100%;
    }

    50% {
      background-position: 0% 90%;
      background-size: 100%;
    }

    90% {
      background-position: 0% 10%;
      background-size: 100%;
    }

    100% {
      background-position: 0% 10%;
      background-size: 100%;
    }
  }

  .screen > .screen-image {
    background-image: url("/image/species/IronValiant.png");
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    left: 0px;
    top: 0px;
    background-size: 100%;
    background-position: 0% 50%;
    filter: sepia(100%) hue-rotate(160deg);
    opacity: 0.6;
    animation: pan-image 15s linear infinite;

    &.card {
      animation: pan-image-card 15s linear infinite;
    }
  }
  
  .screen > .screen-content {
    display: flex;
    color: var(--theme-white);
    font-family: "BW";
    font-size: 32px;
    font-weight: 600;
    flex-direction: column;
    flex-grow: 1;
    gap: 3rem;
    position: relative;
    z-index: 3;
    margin: 1rem;
    padding-bottom: 6rem;
    border: 1px solid rgb(var(--theme-accent-1-base-rgb) / 50%);
    border-radius: 0.6rem;

    & .upper {
      text-align: left;
    }

    & .lower {
      text-align: right;
    }
  }