body {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    top: 0;
    bottom: 0;
    overscroll-behavior: none;
    overflow-x: hidden;
}

#character_page_wrapper {
    padding: 0;
    margin: 0;
    overscroll-behavior: none;
}

.image-container {
    height: 80vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8));
    border-radius: 36px;
}

.inner-container {
    column-gap: 20px;
    margin-top: 2rem;
    max-width: 1280px;
    margin: auto;
}

.deck-container {
    max-width: 1280px;
    margin: auto;
}

.inner-text {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    text-shadow: 1px 4px rgba(0, 0, 0, 0.6);
}

.bg-overlay {
    z-index: 5;
    background-image: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 5%, rgba(0, 0, 0, 0.2));
    bottom: 0;
    top: 0;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    border-radius: 36px;
}

.comic-card {
    transition: all 0.4s ease-in-out;
}

.comic-card:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.card-body ul {
    display: none;
}

#selected-card-overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    margin: 0;
    top: 0;
    bottom: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

#selected-card {
    margin: auto;
    width: 50%;
}

#selected-card-image {
    width: auto;
    height: 80vh;
    margin: auto;
    margin-top: 10vh;
}

#overlay-toggle {
    position: fixed;
    font-size: 48px;
    color: white;
    right: 20%;
    top: 1rem;
    transition: all 0.4s ease-in-out;
    background-color: unset;
    box-shadow: unset;
    border: unset;
    z-index: 7;
}

#overlay-toggle:hover {
    cursor: pointer;
    transform: scale(1.05);
}

#card-text-content,
#show-more-card-text-content {
    position: absolute;
    bottom: 0;
    padding-left: 2rem;
    padding-right: 2rem;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
    left: 0;
    width: 100% !important;
}

#comic-description-btn {
    margin: auto;
    background-color: transparent;
    box-shadow: unset;
    border: unset;
}

#card-text-wrapper {
    width: auto;
    height: auto;
    position: relative;
    padding: 0;
    margin: auto;
}

.hidden {
    display: none;
}

.icon {
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .image-container {
        height: 60vh;
    }
    #selected-card {
        width: 100%;
    }
    #overlay-toggle {
        right: 5%;
    }
}