@font-face {
    font-family: 'ShakyHand';
    src: url(../img/shakyhandsomecomic.otf) format('truetype');
    font-style: normal;
    font-weight: normal;
  }
  
@font-face {
    font-family: 'ShakyHandL';
    src: url(../img/shakyhandsomecomicligth.otf) format(truetype);
    font-style: normal;
    font-weight: normal;
  }
  
  :root {
    --rosa: #ed028c;
    --cafe: #231f20;
    --morado: #5b2e91;
    --verde: #a6ce39;
    --FF: 'ShakyHand';
  }
  
  ::-webkit-scrollbar {
    background: var(--cafe);
    width: 15px;
  }
  
  ::-webkit-scrollbar-button {
    background: #403c3d;
    cursor: pointer;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #555051;
    border-radius: 20px;
    width: 10px;
    padding: 5px;
  }
  
  ::-webkit-scrollbar-track-piece {
    background: var(--cafe);
  }
  
  .cont-catalogocomp {
    margin: 0 auto;
    margin-bottom: 15px;
    width: 95%;
    margin-top: calc(151px + 15px);
    margin-bottom: 15px;
    gap: 5px;
    display: flex;
    flex-direction: column;
  }
  
  .catalogocomp {
    background: rgba(72, 72, 72, 0.435);
    box-sizing: border-box;
    overflow: hidden;
    max-height: 500px;
    overflow-y: scroll;
  }
  
  .categoria {
    padding: 10px 0;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    transition: 0.3s ease;
  }
  
  .catalogocomp h2 {
    padding: 10px;
    margin: 0;
    background-color: var(--cafe);
    color: white;
    font-family: var(--FF);
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 30px;
  }
  
  .flechacat {
    height: 20px;
    transform: rotate(90deg);
    align-self: center;
    width: auto;
    margin-right: 20px;
  }
  .tt{
    width: 100vw;
    position: absolute;
  }

  .contenido-categoria{
    width: auto;
    justify-content: space-evenly;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    scroll-snap-type: x mandatory;
    padding-left: 0px;
    height: 100%;
    gap: 10px;
    margin: 0;
    padding: 0;
  }
  .re{
    margin: 0;
    width: 130px;
    height: 240px;
  }


  @media (min-width:650px){
    .catalogocomp{
        max-height: 500px;
    }
    .cont-catalogocomp{
        margin-top: 15px;
        width: 85%;
    }
    .re{
        height: 280px;
        width: 140px;}
    .categoria{
        padding: 15px;
    }
  }
  @media (min-width:1100px){
    .cont-catalogocomp{
        margin-top: calc(174px + 30px);
        width: 70%;
    }

  }