@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);
}


/*Inicio Edit*/
.portada{
    margin: 0 auto;
    margin-top: calc(151px + 15px);
    margin-bottom: 25px;
    width: 95%;
    height: calc(90vw / 1.5);
}
.cont-portada:hover{
    border-radius: 5px;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.218);
    transform: scale(0.995);

}
.cont-portada{
    background-image: url(../img/Portada.jpg);
    background-size: cover;
    background-position: top;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    transition: 300ms;
}
.cont-portada img{
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}
.vermasportada{
    align-self: end;
    height: min-content;
    margin-bottom: 10px;
    border: white 1px solid;
    font-family: var(--FF);
    letter-spacing: 1px;
    font-size: 15px;
    background-color: #5b2e91d2;
    color: white;
    padding: 5px 20px;
    cursor: pointer;
    transition: 300ms;
}
.vermasportada:hover{
    background-color: var(--morado);
    border-radius: 30px;
    transform: scale(0.95);
}

.lascategorias{
    width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 280px;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.218);
}
.lascategorias:hover{
    box-shadow: none;
}
.lascategorias:hover> :not(:hover){
    background: #000000c6;
    border-radius: 10px;
}
.c{
    cursor: pointer;
    height: 100%;
    box-sizing: border-box;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    background-color: #a6ce39;
    justify-content: space-evenly;
    transition: 300ms;
}
.c:hover{
    transform: scale(0.95);
    border-radius: 20px;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.518);
}
.c:hover ~ .lascategorias{
    overflow: auto;
}
.c h2{
    font-family: var(--FF);
    color: white;
    letter-spacing: 1px;
    width: 100px;
    text-align: center;
    font-size: 30px;
}
.c img{
    max-height: 130px;
    align-self: end;
}
.menor{
    background: #45236e;
}
.mayor{
    background: var(--verde);
}
.prom{
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 150ms;
}
.prom:hover{
    transform: scale(0.99);
    border-radius: 20px;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.518);
    border-radius: 10px;
    overflow: hidden;
}
.prom img{
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    position: relative;
}



@media (min-width: 650px){
    .vermasportada{
        scale: 1.15;
        margin-bottom: 15px;
    }
    .prom{
        width: 90%;
    }
    .lascategorias{
        flex-direction: row;
        width: 90%;
        max-height: calc(90vw / 2.2);
    }
    .c{
        flex-direction: column;
        justify-content: space-between;
    }
    .mayor img{
        order: 2;
    }
    .mayor h2{
        order: 1;
    }
    .c img{
        max-height: 180px;
        align-self: center;
    }
    .c h2{
        font-size: 40px;
        margin: 15px 0;
        width: 150px;
    }
    .portada{
        margin-top: 30px;
        width: 100%;
        height: calc(90vw / 2);
    }
}
@media (min-width: 900px){
    .portada{
        margin-top: 30px;
        width: 100%;
        height: calc(90vw / 2.3);
    }
    .prom{
        width: 75%;
    }
    .c{
        flex-direction: row;
        justify-content: space-evenly;
    }
    .c img{
        align-self: end;
        max-height: 260px;
    }
    .mayor img{
        order: 1;
    }
    .mayor h2{
        order: 2;
    }
}
@media (min-width: 1100px){
    .prom{
        width: 60%;
    }
    .portada{
        margin-top: calc(174px + 30px);
        width: 100%;
        height:60vh;
    }
    .cont-portada{
        background-position: center;
    }
    .lascategorias{
        width: 60%;
        height: 250px;
    }
    .c img{
        max-height: 230px;
    }
    .c h2{
        font-size: 50px;
    }
    .vermasportada{
        scale: 1.3;
        margin-bottom: 20px;
    }
}
@media (min-width: 1900px){
    .portada{
        height: 40vh;
    }
}
