body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100dvh;
    background-color: var(--main-background);
    background-image: var(--bg-url);
}

.card {
    background-color: var(--main-background);
}

.logo-first {
    color: var(--secondary);
}
.logo-second {
    color: var(--warning);
}

/* HEADER STYLES */
.header-right-section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
}

/* MAIN PAGE STYLES */
.main-page-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 1.5rem 0;
}

.main-page-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 66%;
}

.main-page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 30%;
}

@media (max-width: 992px) {
    .main-page-wrapper {
    padding: 1rem 0.5rem 0;
    }

    .main-page-content {
        width: 100%;
    }

    .main-page-sidebar {
        display: none;
    }
}

.main-page-sidebar .card-header {
    padding: 0.5rem 1rem;
}

.main-page-sidebar .card-body {
    padding: 1rem 1rem 0.5rem;
}
.main-page-sidebar p {
    font-size: 16px;
    line-height: 24px !important;
}

/* PAGINATION STYLES */
.pagination-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination-prev, .pagination-next {
    margin: 0 0.5rem;
}

.pagination-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
}

.pagination-pages span, .pagination-pages a {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    border: 2px solid var(--primary);
    background-color: var(--main-background);
    color: var(--primary);
    font-weight: bold;
    cursor: pointer;
    transition: all 235ms ease-in-out 0s;
}

.pagination-pages span {
    cursor: default;
    border: 2px solid var(--secondary);
}

.pagination-pages a:hover {
    background-color: var(--primary-light);
    color: var(--primary-text);
    transform: translate3d(0, 2px, 0);
    box-shadow: 2px 8px 8px -5px rgba(0, 0, 0, 0.3);
}

.pagination-pages span:hover {
    box-shadow: 2px 8px 8px -5px rgba(0, 0, 0, 0.3);
}

.pagination-pages span.active, .pagination-pages a.active {
    background-color: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.pagination-pages a {
    text-decoration: none;
    background-image: none;
    color: inherit;
}

.pagination button.btn-small {
    margin-bottom: 0;
}

/* PAGINATION FOR MOBILE DEVICES */
@media only screen and (max-width: 480px) {
    .pagination {
        flex-direction: column;
    }
    
    .pagination-pages {
        margin: 0.5rem 0;
        order: 1;
    }
    
    .pagination-prev {
        order: 2;
    }
    
    .pagination-next {
        order: 3;
    }
}

/* SIDEBAR STYLES */
.sidebar-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-color: var(--card-border);
}
.sidebar-card:hover {
    transform: none;
    box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2) !important;
}

/* SHORT STORY STYLES*/

.short-story-card {
    border-color: var(--card-border);
}

.short-story-card p {
    font-size: 18px;
}

.short-story-card p:first-letter {
    padding-left: 1rem;
}

.short-story-content {
    display: flex;
    flex-direction: column;
}

.short-story-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.short-story-cover {
    overflow: hidden;
    background-image: var(--bg-cover);
    height: 9rem;
    width: 10rem;
    background-position: 50% 50%;
    background-size: 100%;
    transition: 1s ease;
    border-color: var(--card-border);
}

@media (max-width: 600px) {
    .short-story-cover {
        display: none;
    }
}

.short-story-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: 1s ease;
    transform-origin: center;
}

.short-story-cover:hover img {
    transform: scale(1.15);
}

.short-story-card:hover .short-story-cover img {
    transform: scale(1.15);
}

.short-story-cover:hover {
    background-size: 115%;
}

.short-story-card:hover .short-story-cover {
    background-size: 115%;
}

.short-story-body {
    flex: 1;
}

.short-story-body img {
    display: none;
}

.short-story-link-line {
    display: flex;
    justify-content: flex-end;
}

/* FULL STORY STYLES */

.full-story-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    border-color: var(--card-border);
}

.full-story-card:hover {
    transform: none;
    box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2) !important;
}

.full-story-card p:first-letter {
    padding-left: 1rem;
}

.full-story-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Neucha", sans-serif;
}

.full-story-service {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.fullstory-custom-font, .fullstory-custom-font p {
    font-family: "Neucha", sans-serif !important;
}

.fullstory-regular-font, .fullstory-regular-font p {
    font-family: "Work Sans", sans-serif !important;
}

/* FOOTER */
.footer {
    position: relative;
    background-color: var(--main-background);
    min-height: 100px;
    overflow: hidden;
    margin-top: 32px;
    padding: 0 24px 20px;
    gap: 0;
}

.footer a {
    background-image: none;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
    padding: 20px 0 32px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-tags {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 60%;
}

.footer-copyright {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer {
        padding: 0 0 20px;
    }
    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 32px;
        padding: 20px 0 32px;
    }

    .footer-logo {
        width: 90%;
    }

    .footer-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        width: 80%;
    }

    .footer-tags {
        max-width: 90%;
    }
}

.dev-copyright {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.virass-vaaa {
    position: absolute;
    border: none;
    bottom: -565px;
    left: 23%;
    transition: all 0.5s ease;
}

.footer:hover .virass-vaaa {
    bottom: -65px;
}

.virass-vaaa img {
    width: 100px;
    height: 160px;
    border: none;
}

@media (max-width: 992px) {
    .virass-vaaa {
        bottom: -65px;
        left: 15%;
    }
}

@media (max-width: 768px) {
    .virass-vaaa {
        bottom: -65px;
        left: 80%;
    }
}