*{
      padding: 0;
      margin: 0;
    }

    @font-face {
        font-family: 'p5font';
        src: url('p5font.ttf') format('truetype');
    }

    @font-face {
        font-family: 'p5body';
        src: url('p5body.ttf') format('truetype');
    }

    /* width */
    ::-webkit-scrollbar {
      width: 12px;
      border-radius: 8% 31% 5% 26% / 24% 3% 28% 7%;
    }

    /* Track */
    ::-webkit-scrollbar-track {
      background: transparent; 
    }
    
    /* Handle */
    ::-webkit-scrollbar-thumb {
      background: transparent;
      border-radius: 8% 31% 5% 26% / 24% 3% 28% 7%;
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
      background: red; 
    }

    main{
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      gap: 20px;
      padding: 24px;
      background-color: red;
      font-family: "p5body" , sans-serif;
      font-size: 20px;
    }

    @media(max-width: 768px){
      main{
        flex-direction: column;
      }
    }

    .block{
      padding: 16px;
      background-color: white;
      height: fit-content;
      max-height: calc(100vh - 105px);
      overflow-y: auto;
      overflow-x: hidden;
      width: 100%;

      border: 12px solid black;
      outline: 5px solid white;
      border-radius: 8% 31% 5% 26% / 24% 3% 28% 7%  ;
    }

    @media(max-width: 768px){
      .block{
        width: auto;
      }
    }

    h1{
      font-size: 60px;
      margin-bottom: 16px;
      font-family: "p5font", sans-serif;
    }

    h2{
      font-size: 50px;
      margin-bottom: 12px;
      font-family: "p5font", sans-serif;
    }

    h4{
      font-size: 22px;
      margin: 24px 0 8px 0;
    }

    .title{
      position: relative;
      overflow: hidden;
      width: fit-content;
    }

    .title h1, .title h2{
      position: relative;
      z-index: 10000;
    }

    .shape-wrapper {
      display: none;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 9999;
      transform: rotate(-3deg);
      display: block;
    }

    .shape-wrapper .shape.cyan-fill {
      transform: scale(3, .1);
    }

    .shape-wrapper:nth-child(even) {
      transform: rotate(11deg);
    }

    .shape-wrapper {
      filter: sepia(50%) saturate(3);
    }

    .shape-wrapper .shape {
      transition: all .1s linear;
      position: absolute;
      top: 0;
      left: -24px;
      right: 0;
      height: 64px;
      overflow: hidden;
    }

    .shape-wrapper .shape svg {
      position: absolute;
      left: 0;
      top: 0;
    }

    .shape-wrapper .shape.cyan-fill {
      mix-blend-mode: screen;
      animation-delay: 0.05s;
      animation-duration: .4s;
    }

    .shape-wrapper .shape.red-fill {
      animation-duration: .45s;
      animation-delay: 0.08s;
      opacity: .8;
    }

    .jelly {
      animation-name: jelly;
      transform-origin: center;
      animation-iteration-count: infinite;
      animation-timing-function: linear;
    }

    @keyframes tiltBounce {
      0% {
        transform: scale(1) rotate(-7deg);
      }
      50% {
        transform: scale(1.5) rotate(-7deg);
      }
      100% {
        transform: scale(1.15) rotate(-7deg);
      }
    }

    @keyframes jelly {
      0% {
        width: 100%;
        transform: scale(1.25, 1) skewX(20deg) translateY(3px) rotateX(40deg) rotateY(10deg) rotateZ(-10deg);
      }
      50% {
        width: 100%;
        transform: scale(1.25, 1.1) skewX(-15deg) translateY(-2px) translateZ(-30px);
      }
      100% {
        width: 100%;
        transform: scale(1.25, 1) skewX(20deg) translateY(3px) rotateX(-40deg) rotateY(-10deg) rotateZ(-15deg);
      }
    }

    ul{
      list-style: none;
      margin-bottom: 16px;
    }

    ul li{
      padding-left: 6px;
      line-height: 1.1;
    }

    ul li:last-child{
      text-align: right;
      display: flex;
      flex-wrap: wrap;
      flex-direction: row-reverse;
      gap: 8px;
      row-gap: 8px;
    }

    .detail{
      cursor: pointer;
      border: none;
      margin-right: 8px;
      filter: hue-rotate(225deg);
    }

    .url, .detail{
      font-family: "p5font", sans-serif;
      font-size: 14px;
      padding: 4px 8px;
      color: white;
      text-decoration: none;
      margin-top: 8px;

      position: relative;
    }

    @media(max-width: 768px){
      .url, .detail{
        width: 100%;
      }
    }

    .url span, .detail span{
      position: relative;
      z-index: 2;
      white-space: nowrap;
      width: 100%;
      display: inline-block;
      text-align: center;
    }

    .url::before, .detail::before{
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      height: 110%;
      width: 105%;
      clip-path: polygon(0 0, 88% 2%, 100% 100%, 5% 99%);
      background-color: red;
      z-index: 0;
      transition: transform .4s cubic-bezier(0.28,-1.07, 0.02, 1.97);
    }

    .url::after, .detail::after{
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      height: 100%;
      width: 100%;
      clip-path: polygon(4% 0, 100% 0%, 96% 100%, 0% 100%);
      background-color: black;
      z-index: 1;
      transition: transform .4s cubic-bezier(0.79,-1.19, 0.2, 2);
    }

    .url:hover::before, .detail:hover::before{
      transform: translate(-50%, -50%) scale(1.2)
    }

    .url:hover::after, .detail:hover::after{
      transform: translate(-50%, -50%) scale(0.7)
    }

    .search{
      display: flex;
      flex-direction: column;
      gap: 12px;
      position: sticky;
      top: -16px;
      background: white;
      z-index: 10;
    }

    .search input, .search button{
      all: unset;
      width: 100%;
    }

    .search input{
      background-color: white;
      border: 3px solid red;
      clip-path: polygon(0 0, 88% 2%, 100% 100%, 5% 99%);
      position: relative;
      padding: 4px 5%;
    }

    .search button{
      cursor: pointer;
      text-align: center;
      position: relative;

      font-family: "p5font", sans-serif;
      font-size: 22px;
      padding: 4px 8px;
      color: white;
    }

    .search button span{
      position: relative;
      z-index: 2;
    }

    .search button::before{
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      height: 110%;
      width: 105%;
      clip-path: polygon(0 0, 88% 2%, 100% 100%, 5% 99%);
      background-color: #00FFFF;
      z-index: 0;
      transition: transform .4s cubic-bezier(0.28,-1.07, 0.02, 1.97);
    }

    .search button::after{
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      height: 100%;
      width: 100%;
      clip-path: polygon(4% 0, 100% 0%, 96% 100%, 0% 100%);
      background-color: red;
      mix-blend-mode: multiply;
      z-index: 1;
      transition: transform .4s cubic-bezier(0.79,-1.19, 0.2, 2);
    }

    .search button:hover::before{
      transform: translate(-50%, -50%) scale(1.1) rotate(4deg);
    }

    .search button:hover::after{
      transform: translate(-50%, -50%) scale(0.85) rotate(-3deg);
    }

    .search button:active::before{
      transform: translate(-50%, -50%) scale(1.1) rotate(-4deg);
    }

    .search button:active::after{
      transform: translate(-50%, -50%) scale(0.85) rotate(3deg);
    }

    .search .filters{
      display: flex;
      gap: 6px;
      flex-direction: row;
      justify-content: space-between;
    }

    .search .filters p{
      all: unset;
      cursor: pointer;
      text-align: center;
      position: relative;

      font-family: "p5body", sans-serif;
      font-size: 18px;
      padding: 4px 8px;
      color: white;

      background-color: rgb(0, 0, 0);
      border-radius: 8% 31% 5% 26% / 24% 3% 28% 7%;
      border: 1px solid red;
    }
    .search .filters p:hover{
      border: 1px solid #00FFFF;
    }

    .banner{
      position: fixed;
      z-index: 1000000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      padding: 48px;
      background-color: red;
      box-sizing: border-box;

      opacity: 0;
      pointer-events: none;

      overflow-y: auto;
    }

    .banner.active{
      opacity: 1;
      pointer-events: all;
    }

    .banner button{
      all: unset;
      cursor: pointer;
      text-align: center;
      position: fixed;
      top: 32px;
      right: 32px;

      font-family: "p5font", sans-serif;
      font-size: 62px;
      padding: 8px;
      color: black;

      padding: 16px 12px 2px 12px;
      line-height: 0.7;
      background-color: white;
      border-radius: 100%;
      border: 4px solid black;

      transition: transform .4s cubic-bezier(0.79,-1.19, 0.2, 2);
    }

    .banner button:hover{
      transform: rotate(180deg) scale(1.1);
    }

    .banner button:active{
      transform: rotate(180deg) scale(0.9);
    }

    .banner h2{
      text-transform: capitalize;
      width: fit-content;
      background: white;
      padding: 8px 16px;
      border: 4px solid black;
      outline: 2px solid white;
      border-radius: 8% 31% 5% 26% / 24% 3% 28% 7% ;
    }

    .banner h3{
      margin: 24px 0 16px 0;
      font-size: 28px;
      color: white;
    }

    @media(max-width: 768px){
      .banner{
        padding: 16px;
      }
    }

    .bannerHistoryContainer{
      margin: 24px 0;
      padding: 16px;
      width: 100%;
      border: 12px solid black;
      outline: 5px solid white;
      border-radius: 16px;
      background-color: white;
      box-sizing: border-box;
    }

    .bannerHistoryContainer h4{
      margin: 0 0 8px 0;
    }

    #detailContainer{
      display: flex;
      gap: 16px;
      flex-direction: column;
      background-color: white;
      border: 12px solid black;
      outline: 5px solid white;
      border-radius: 16px;
    }

    #detailTemplate{
      padding: 16px;
      border: 2px solid black;
      border-radius: 8px;
    }

    #detailTemplate h4{
        margin: 0 0 8px 0;
    }

    #detailSpriteContainer{
      display: flex;
      gap: 24px;
      flex-direction: row;
      flex-wrap: wrap;
      background-color: white;
      border: 12px solid black;
      outline: 5px solid white;
      border-radius: 16px;
    }

    #detailSpriteContainer #detailSpriteTemplate{
      padding: 16px;
      border: 2px solid black;
      border-radius: 8px;
      min-width: calc(33% - 16px);
      max-width: calc(33% - 16px);
      box-sizing: border-box;
    }

    #detailSpriteTemplate h4{
      margin: 0 0 8px 0;
      max-width: 100%;
      text-wrap: wrap;
    }

    #detailSpriteTemplate figure{
      width: 100%;
      height: auto;
    }

    #detailSpriteTemplate figure img{
      width: 100%;
      height: auto;
      aspect-ratio: 1/1;
      object-fit: contain;
    }

    @media(max-width: 768px){
      #detailSpriteContainer{
        flex-direction: column;
      }

      #detailSpriteContainer #detailSpriteTemplate{
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
      }
    }

    .card-history{
      display: flex;
      gap: 8px;
      flex-direction: row-reverse;
      overflow-x: auto;
      overflow-y: hidden;
      font-size: 0;
      align-items: flex-end;
    }

    .card-history .element{
      display: flex;
      gap: 8px;
      flex-direction: row-reverse;
      align-items: center;
      justify-content: space-between;
      min-height: 150px;
      padding: 4px;

      writing-mode: vertical-rl;
      background-color: red;
      border-radius: 4px 4px 0 0;
    }

    .card-history .element .date{
      font-size: 14px;
    }

    .card-history .element .price{
      font-size: 16px;
    }