*
{
    margin: 0px;
    padding: 0px;
}

::-webkit-scrollbar
{
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track
{
    background: rgba(0,0,0,0.2);
}
::-webkit-scrollbar-thumb
{
    background: #959595;
}

.story-page-top-menu
{
    background: #2f073d;
    padding: 0px;
    display: flex;
    align-items: center;
    min-height: 60px;
    flex-wrap: wrap;
    height: auto;
}

.story-page-logo
{
    font-family: 'Protest Strike';
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 20px;
}

.story-page-menu
{
    display: flex;
    align-items: center;
    padding: 10px;
    padding: 10px 10px;
    height: auto;
}

.story-page-menu button
{
    background-color: #9a6db1;
    color: #fff;
    height: auto;
    align-items: center;
    width: auto;
    padding: 10px;
    font-family: 'roboto', sans-serif;
    border: none;
    transition: slide 0.2s;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.story-page-menu button::before
{
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ead2f6;
    transition: all 0.1s;
    z-index: -1;
}

.story-page-menu button:hover::before
{
    top: 0;
}

.story-page-menu button:hover
{
    color: #000;
}

.story-user-banner
{
    display: flex;
    margin-left: auto;
    align-items: center;
    padding: 10px;
}

.story-user-name
{
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
}

.story-user-avatar img
{
    width: 50px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    padding: 5px 5px;
}

.story-search-bar
{
    display: flex;
    align-items: center;
    max-width: 100%;
    min-width: 40%;
    margin: 10px;
}

.story-search-bar input
{
    width: 100%;
    height: 30px;
    border: none;
    background-color: #9a6db1;
}

.story-search-bar input::placeholder
{
    color: #fff;
    padding: 5px;
}

.story-body
{
    display: block;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/kv2.jpg');
    background-position: 50% 40% ;
    background-attachment: fixed;
}

.story-top
{
    display: flex;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/kv2.jpg'); */
    background-size: cover;
    height: auto;
    /* max-height: 400px; */
    padding: 10px;
}

.story-cover
{
    height: auto;
    min-width: 260px;
    position: relative;
    width: 15%;
}

.story-cover img
{
    height: auto;
    width: 260px;
}

.story-info
{
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    padding: 10px;
}

.story-title
{
    color: #ffff;
    font-family: 'Protest Strike';
    font-weight: 10;
    margin-left: 10px;
}

.story-staff
{
    color: #FFFA8D;
    font-family: 'roboto';
    margin-left: 10px;
}

.story-description
{
    color: #fff;
    margin-left: 10px;
    margin-top: 10px;
}

.story-interact
{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 10px;
    margin-top: 10px;
}

.story-interact button
{
    height: 100%;
    align-items: center;
    width: auto;
    padding: 10px;
    font-family: 'roboto', sans-serif;
    border: none;
    transition: slide 0.2s;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.story-interact button::before
{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #FFFA8D;
    transition: all 0.1s;
    z-index: -1;
}

.story-interact button:hover::before
{
    left: 0;
}

.story-content
{
    background-color: rgba(0, 0, 0, 0.3);
    margin: 10px;
    margin-bottom: 0px;
    height: auto;
    display: block;
    align-items: center;
}

.story-chapter
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 20px;
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
}

.story-chapter button
{
    height: auto;
    min-height: 50px;
    text-align: left;
    border: none;
    padding: 10px;
    font-family: 'roboto', sans-serif;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-weight: bold;
    transition: slide 0.2s;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.story-chapter button::before
{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #FFFA8D;
    transition: all 0.1s;
    z-index: -1;
}

.story-chapter button:hover::before
{
    left: 0;
}

.story-chapter button:hover
{
    color: #000;
}

.story-comment
{
    background-color: #1b1b1b;
    padding: 10px;
    font-family: 'roboto';
    display: block;
    color: #fff;
}

.story-comment-write
{
    display: flex;
    gap: 10px;
    align-items: center;
}

.story-comment-avatar img
{
    width: 50px;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.story-comment-data
{
    display: block;
    width: 100%;
}

.story-comment-data input
{
    width: 100%;
    min-height: 50px;
    height: auto;
    background-color: #959595;
}

.story-comment-data input::placeholder
{
    color: #fff;
    padding: 5px;
}

.story-comment-data button
{
    background-color: #daa1f7;
    border: none;
    height: auto;
    padding: 10px;
    width: 100%;
    transition: slide 0.2s;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.story-comment-data button::before
{
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFA8D;
    transition: all 0.1s;
    z-index: -1;
}

.story-comment-data button:hover::before
{
    top: 0;
}

.comment
{
    display: flex;
    align-items: center;
    height: auto;
    width: 90%;
    padding: 10px;
    gap: 10px;
    background-color: #9a6db1;
    margin-top: 20px;
}

.comment-avatar
{
    width: 50px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #000;
}

.comment-content
{
    display: block;
}

.time
{
    margin-right: 0px;
    margin-top: 10px;
    font-size: 10px;
    width: auto;
}

@media screen and (max-width: 768px) 
{
    .story-page-top-menu
    {
        flex-direction: column;
        align-items: flex-start;
    }

    .story-page-menu
    {
        width: 100%;
        justify-content: center;
    }

    .story-search-bar
    {
        width: 100%;
        margin: 10px 0px;
    }

    .story-top
    {
        display: block;
        align-items: center;
    }

    .story-cover
    {
        width: 80%;
        min-width: auto;
        align-items: center;
    }
    
}

.chapter-content
{
    background-color: #232323;
    display: block;
    align-items: center;
    text-align: justify;
    font-family: roboto;
    color: #fff;
}

.navi
{
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 20vw;
    background-color: #5f5f5f;
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

.navi-button-prev
{
    height: 100%;
    align-items: center;
    width: auto;
    padding: 10px;
    font-family: 'roboto', sans-serif;
    border: none;
    transition: slide 0.2s;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.navi-button-prev::before
{
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #8df0ff;
    transition: all 0.1s;
    z-index: -1;
}

.navi-button-prev:hover::before
{
    right: 0;
}

.navi-button-next
{
    height: 100%;
    align-items: center;
    width: auto;
    padding: 10px;
    font-family: 'roboto', sans-serif;
    border: none;
    transition: slide 0.2s;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.navi-button-next::before
{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #8df0ff;
    transition: all 0.1s;
    z-index: -1;
}

.navi-button-next:hover::before
{
    left: 0;
}

.chapter-text
{
    display: flex;
    align-items: flex-start;
    text-align: inherit;
    padding: 5vw 5vh;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 80vw;
    flex-direction: column;
    gap: 18px;
}

.chapter-text img
{
    height: auto;
    max-width: 80vw;
    width: auto;
}

.admin-top
{
    display: flex;
    justify-content:space-between;
    padding: 10px;
    gap: 20px;
    background-color: #3eabe9;
}

.admin-menu
{
    display: flex;
    justify-content: center;
}

.admin-menu button
{
    background-color: #4ED7F1;
    border: none;
    padding: 10px;
}