::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: #fff; 
}
::-webkit-scrollbar-thumb {
    background: #000; 
}

::selection {
    background-color: #cb9dfe;
    color: black;
}

html {

    height: 100%;    
    box-sizing: border-box;
    
}

nav {
    background-color: white;
}
body {
    position: relative;
    margin:0;
    padding-bottom: 6rem;
    min-height: 100%;
}
.footer {
    position: absolute;
    bottom: 0;
}

.modal {
    background-color: rgba(0, 0, 0, 0.5);
}

input {
    width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    border: none;
    border-bottom: 1px solid #cdcdcd;
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 10px;
}
input:focus {
    outline: none;
}

.input-container:has(input:focus) .form-label {
    opacity: 1;
}

::placeholder {
    color: #cdcdcd;
    font-size: .8em;
}

select {
    width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    border: none;
    border-bottom: 1px solid #cdcdcd;
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 10px;
}
select:focus {
    outline: none;
}

.input-container:has(select:focus) .form-label {
    opacity: 1;
}

textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #cdcdcd;
    border-radius: 0;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: transparent;
}
textarea:focus {
    outline: none;
}

.input-container:has(textarea:focus) .form-label {
    opacity: 1;
}

.input-container:has(select:focus) .access-type {
    opacity: 1;
}
.access-type {
    color:#000;
}

input#imageUpload {
    font-size: .8em;
}
input#avatarUpload {
    font-size: .8em;
    color: white;
    border-radius:0;
}

input#portraitUpload {
    font-size: .8em;
    color: white;
    border-radius:0;

}
input#illustrationUpload {
    font-size: .8em;
    color: white;
    border-radius:0;
}
input#videoUpload,
input#thumbnailUpload {
    font-size: .8em;
    color: white;
    border-radius:0;
}
input#qrcodeUpload {
    font-size: .8em;
    color: white;
    border-radius:0;
}


.alert {

}
.alert-error {
    background-color:hotpink !important;
}

.form-label {
    opacity: 0;
    transition: opacity 0.3s ease;
    color: black;
    font-size: .8em;
    margin-bottom: 0;
}

.nav-content-area {
    max-width: 98%;
}

.container {
    width: 100%;
}

.content-center {
    max-width: 452px;
    margin-left: auto;
    margin-right: auto;

}
.navbar-icon {
    font-size: 1.4em;
    padding: 5px 10px 0 12px;
    color: black;
}

@media (min-width: 452px) {
    .image-container {
        position: relative;
        width: 100%; 
        height: 580px;
        overflow: hidden;
    }
}
@media (min-width: 768px) {
    .image-container {
        position: relative;
        width: 100%; 
        height: 360px;
        overflow: hidden;
    }
}
@media (min-width: 920px) {
    .image-container {
        position: relative;
        width: 100%; 
        height: 380px;
        overflow: hidden;
    }
}
@media (min-width: 1024px) {
    .image-container {
        position: relative;
        width: 100%; 
        height: 450px;
        overflow: hidden;
    }
}
@media (min-width: 1280px) {
    .image-container {
        position: relative;
        width: 100%; 
        height: 520px;
        overflow: hidden;
    }
}
@media (min-width: 1600px) {
    .image-container {
        position: relative;
        width: 100%; 
        height: 780px;
        overflow: hidden;
    }
}

.image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-visual {
    width: 100%;
     
}
.pannel-bar {
    background-color: rgba(0, 0, 0, 0.7);
}
.visual-image {
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    overflow: hidden;
}
#key-visual {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures the image covers the container */
    object-position: center; /* Centers the image within the container */
}

.general-link {
    color: #fff;
}
.general-link:hover {
    color: #999;
}

.world-view {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.characters {
    overflow: hidden;
}

.copy-body {
    font-size:.75em;
}
.button-body {
    font-size: .8em;
}

.manga-title:hover {
    color: black;
}

.accessable-episode {
    color: #999;
}
.accessable-episode:hover {
    color: #cb9dfe;
}
.episode-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}


.pre-next {
    font-size: 1.5em;
    color: #999;
    margin-right: 5px;
    margin-left: 5px;
}
.pre-next:hover {
    color: #fff;
}
.view-data {
    color: #999;
    margin-left: 50px;
    gap: 15px;
}
.view-data:hover {
    color: #fff;
}

.viewer-settings {
    color: #cdcdcd;
}
.viewer-settings:hover {
    color: white;
}
.viewer-close {
    font-size: 1.8em;
    color: #cdcdcd;
}
.viewer-close:hover {
    color: white;
}



.hero-page {
    background-image: url("{% static 'img/snap00079.jpg' %}");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;
}   
.super-title {
    font-size: 3em;
    color: #9a9a9a;
    font-weight: 400;
    background: white;
    margin-bottom: 0;
}

.super-words {
    font-size: 7vw;
    font-weight: 600;
    line-height: 1em;
    padding-top: 260px;
    display: inline-block;
    mix-blend-mode:screen;
    padding-bottom: 25px;
    background-color: white;
}

.arrow-topright {
    display: none;
    
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.hero-content {
    color: #9a9a9a;
}

.hero-info {
    position: relative;
    min-height: 7em;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.3s ease;
}
.hero-info::before {
    content: '';
    position: absolute;
    bottom: -100%; 
    left: 0;
    width: 100%;
    height: 100%;
    background: #cb9dfe;
    z-index: 0;
    transition: all 0.3s ease-in-out;
}
.hero-info:hover::before {
    bottom: 0;
}

.hero-info:hover .hero-content {
    color: black;
    position: relative;
    z-index: 1;
}

.hero-info:hover .arrow-topright {
    display: block;
    opacity: 1; /* Fade in */
    animation: reveal-arrow 0.3s ease-out forwards; 
}
@keyframes reveal-arrow {
    0% {
        clip-path: inset(100% 0 0 0); /* Start completely hidden from bottom */
    }
    100% {
        clip-path: inset(0 0 0 0); /* Fully reveal */
    }
}
.hero-info {
    transition: all 0.3s ease-in-out;
}




.thumbnail-container {
    position: sticky; 
    bottom: 0;
    right: 0;
    overflow: hidden;
}
.thumbnail-display {
    width: 100%;
    
    animation: zoomOut 0.1s ease-out forwards;
}
@keyframes zoomOut {
    0% {
        scale: 120%;
    }
    100% {
        scale: 100%;
    }
}
@media (max-width: 768px) {
    .thumbnail-container {
        display:none;
    }
}
.right-column {
    margin: 0 !important;
}
.profile-close {
    font-size:2em;
    color: black;    
}

.profile-awaybtn {
    transition: transform 0.6s ease; /* Smooth rotation animation */
}
.close-mbtn {
    margin: 3px 15px 3px 3px;
    background: linear-gradient(to top right, #5adeff 0%, #9d9ffe 85%, #cb9dfe 100%);    
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}
.close-mbtn::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    background: #141414;
    z-index: 0;
    transition: all 0.3s ease-in-out;
}

.close-mbtn:hover::before {
    bottom: 0;
}
.close-mbtn:hover .return-button,
.close-mbtn:hover .profile-close {
    color: white !important;
    position: relative;
    z-index: 1;
}
.close-mbtn:hover .profile-awaybtn {
    transform: rotate(360deg); /* Rotate 360 degrees */
}


.hero-modal>* {
    padding-left:0 !important;
    padding-right:0 !important;
}
.modal-title {
    text-align: center;
    text-transform:uppercase;
    font-size: 3em;
    font-weight:500;
    margin-top: 20px;
}
.hero-profession {
    color: #999;
}
.hero-bio {
    padding:80px 30px 60px 30px;
}
.social-link {
    color: #9a9a9a;
}
.social-link:hover {
    color: black;
}

.thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%; 
    height: 100vh;
}

.thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.gradient-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, #5adeff 0%, #9d9ffe 85%, #cb9dfe 100%);
    z-index: 2;
    animation: slideAway 1s ease-out forwards; /* Animation to slide away */
}

@keyframes slideAway {
    0% {
        top: 0; /* Fully covers the image */
    }
    100% {
        top: 100%; /* Moves the gradient completely out of view */
    }
}
@keyframes slideOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 1;
    }
}

.profile-modal {
    overflow: hidden;
}
.hero-introduction {
    height: 25vh;
}
.work-container {
    position: fixed; 
    bottom: -15px;
}
.recent-work-container {
    height: 50vh;
}
@media (max-width: 768px){
    .thumbnail-wrapper {
        position: relative;
        overflow: hidden;
        width: 100%; 
        height: 50vh;
    }
    .profile-modal {
        overflow:scroll;
        height: 100%;
    }
    .work-container {
        position: relative; 
        bottom: auto;
    }
    .hero-introduction {
        height: auto;
    }
    .recent-work-container {
        height: auto;
    }
}



.modal-backdrop {
   background-color: transparent;
}

.profile-out {
    animation: slideOut 0.6s forwards; /* Duration and direction */
}

.recent-work {
    line-height: .8em;
}

.arrow-bottomright {
    display: none;    
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.manga-row {
    padding: 50px 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}
.manga-row::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -100%; /* Start below the row */
    width: 100%;
    height: 100%;
    background: #141414; 
    z-index: 0;
    transition: all 0.3s ease-in-out;
}

.manga-row:hover::before {
    bottom: 0; /* Move the color to fully cover the row */
}

.manga-row:hover .manga-date,
.manga-row:hover .manga-title,
.manga-row:hover .recent-manga-info {
    color: #999; /* Change text color */
    position: relative;
    z-index: 1; /* Ensure text is above the hover animation */
}

.manga-row:hover .arrow-bottomright {
    display: block;
    opacity: 1; /* Fade in */
    animation: reveal-arrow 0.3s ease-out forwards; 
}


.manga-row {
    transition: all 0.3s ease-in-out;
}


.manga-date {
    color: #999;
}
.manga-title {
    font-size: 1.5em;
    line-height: 1em;
}
.recent-manga-info {
    color: #999;
}
.info-item {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #999;
}
.recent-manga-info .info-item:nth-last-child(2),
.recent-manga-info .info-item:last-child {
    border-bottom: none;
}

.recent-manga-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 500px;
    overflow: hidden;
}
.recent-manga-visual img {
    width: 100%;
}


.stellate-ai {
    background-color: #cb9dfe;
    color: white;
    font-weight: 400;
}
.stellate-ai:hover {
    background-color: #8445f8;
    color: white;
}
.stellate-container {
    /* background-color: #fbedfc; */
    padding: 20px;
    border-radius: 30px;
    border: 1px solid #cb9dfe;
}
.stellate-text {
    color: #ad69fa;
}

.ai-btn {
    border: 1px solid #ad69fa;
    border-radius: 12px;
    padding-bottom: 12px;
    color: #999;
}
.ai-btn:hover {
    background-color: #000;
    border: 1px solid #5900ff;
}