@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Space+Grotesk:wght@300..700&display=swap');
body {
    font-family: "Space Grotesk", sans-serif;
}
.scroll-hint {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: space-between;
    position: fixed;
    right: 50%;
    top: 0;
    transform: translateX(50%)
}

@media (min-width: 768px) {
    .scroll-hint {
        display:none
    }
}

.scroll-hint.hidden {
    display: none;
    opacity: 0;
    transition: opacity .5s linear;
    -webkit-transition: opacity .5s linear;
    -moz-transition: opacity .5s linear;
    -o-transition: opacity .5s linear;
    -ms-transition: opacity .5s linear
}

.scroll-hint .bounce-animation {
    animation: move 2s infinite
}

@keyframes move {
    0%,to {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

main {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-bottom: 56px;
    padding-top: 0
}

.header-episode.active,.pagination.active {
    display: block;
    position: fixed;
    width: 100%;
    z-index: 1
}

.header-episode {
    background: rgba(0,0,0,.8);
    display: none;
    padding-bottom: 12px;
    padding-top: 12px;
    position: fixed;
    width: 100%
}
.comics_container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1312px;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
}

.header-episode .comics_container {
    max-width: 752px
}

.header-episode-inner {
    align-items: center;
    display: flex;
    justify-content: space-between
}

.header-episode-info {
    align-items: center;
    display: flex;
    margin-right: 16px
}

.header-episode__link {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    margin-right: 8px
}

.header-episode__title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-transform: none
}

.header-episode__title-number {
    color: #fff;
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px
}

.header-episode__logo {
    display: flex;
    height: 40px;
    width: auto
}

@media (min-width: 768px) {
    .header-episode__logo {
        margin-right:10px
    }
}

.header-episode-esc-inapp {
    align-items: center;
    background: #ffdb26;
    display: flex;
    height: 40px;
    justify-content: end;
    left: 0;
    padding: 0 10px;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%
}

.header-episode-esc-inapp div {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: space-between
}

.header-episode-esc-inapp span {
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    text-align: left
}

.header-episode-esc-inapp span b {
    font-weight: 700
}

.header-episode-esc-inapp img.logo {
    height: 28px;
    width: auto
}

.header-episode-esc-inapp img.dot {
    height: auto;
    width: 15px
}

.header-episode-esc-inapp img.arr {
    height: 36px;
    width: auto
}

.header-episode-esc-inapp+.header-episode.active {
    top: 40px
}

.single {
    flex: 1 0 auto;
    margin-bottom: 16px
}

@media (min-width: 768px) {
    .single {
        margin-bottom:24px
    }
}

.single .single__item img {
    display: block;
    height: 100%;
    margin: 0 auto;
    max-width: 720px;
    width: 100%
}

.episode-bottom {
    flex: 0 0 auto;
    padding-bottom: 20vh;
}

@media (max-width: 768px) {
    .episode-bottom {
        padding-bottom:20vh
    }
}

.episode-bottom .next-episode {
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #000;
    display: flex;
    margin: 0 auto 24px;
    max-width: 720px;
    padding: 8px;
    transition: box-shadow .2s linear
}

@media (min-width: 567px) {
    .episode-bottom .next-episode {
        flex-wrap:nowrap
    }
}

.episode-bottom .next-episode:hover {
    box-shadow: 4px 4px 0 #000
}

.episode-bottom .next-episode:active,.episode-bottom .next-episode:focus {
    box-shadow: none
}

.episode-bottom .next-episode-inner {
    align-items: center;
    display: flex;
    margin-right: 8px
}

@media (min-width: 768px) {
    .episode-bottom .next-episode-inner {
        margin-right:16px
    }
}

.episode-bottom .next-episode__img {
    border-radius: 8px;
    height: 78px;
    margin-right: 8px;
    max-width: 130px;
    min-width: 130px;
    overflow: hidden
}

@media (min-width: 567px) {
    .episode-bottom .next-episode__img {
        height:96px;
        margin-right: 16px;
        max-width: 160px;
        min-width: 160px
    }
}

.episode-bottom .next-episode__img img {
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
    width: 100%
}

@media (min-width: 567px) {
    .episode-bottom .next-episode__content {
        display:block;
        margin-right: 15px
    }
}

.episode-bottom .next-episode__content .desc {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px
}

@media (min-width: 567px) {
    .episode-bottom .next-episode__content .desc {
        font-size:24px;
        line-height: 32px
    }
}

.episode-bottom .next-episode .btn {
    background: #ffdb26;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
    margin-left: auto;
    padding: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.episode-bottom__logo {
    display: block;
    filter: grayscale(.9) contrast(.01);
    height: 40px;
    margin: 0 auto 8px;
    text-align: center
}

.episode-bottom__logo img {
    height: 40px;
    width: auto
}

.episode-bottom__desc {
    color: #666;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 0;
    text-align: center
}

.pagination {
    background: rgba(0,0,0,.8);
    bottom: 0;
    display: none;
    padding: 8px 0 2px;
    position: fixed;
    width: 100%
}

@media (min-width: 768px) {
    .pagination {
        padding:16px 0
    }
}

.pagination-list {
    align-items: center;
    display: flex;
    justify-content: space-between
}

@media (min-width: 768px) {
    .pagination-list {
        gap:40px;
        justify-content: center
    }
}

.pagination-list__item {
    align-items: center;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none
}

.pagination-list__item.disabled {
    color: #8c877e
}

.pagination-list__item.disabled svg path {
    fill: #8c877e
}

.pagination-list__item svg path {
    fill: #fff
}

.pagination-list__item-center svg,.pagination-list__item-prev svg {
    margin-right: 8px
}

.pagination-list__item-next svg {
    margin-left: 8px
}

.pagination-logo {
    margin-top: 8px;
    text-align: center
}

.pagination-logo img {
    filter: grayscale(.9) contrast(.5);
    height: 30px;
    width: auto
}

@media (min-width: 768px) {
    .pagination-logo {
        display:none
    }
}

.s2-flow a.episode-bottom-next.next-episode {
    align-items: center;
    background-color: rgba(0,0,0,.071)
}

.s2-flow .episode-bottom .next-episode .btn {
    color: #000;
    padding: 12px 16px
}
