/* ****************************************/
/* --------------- BODY --------------- */
/* ****************************************/

/* ---------------------------------------------------------------------------------------- */
/**MODALS**/

/* ---------------------------------------------------------------------------------------- */
/**GENERALBODY**/
body {
    background-size: cover;
    background-attachment: fixed;
    background-color: black;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
}

main {
    display: flex;
    margin: 10px 30px;
    color: #fff;
    width: 95%;
    height: 850px;
}

.side {
    display: block;
    position: relative;
    width: 25%;
    height: auto;
    border: 2px solid black;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: scroll;
    overflow-x: hidden;
}

.box {
    position: relative;
    background-color: rgba(250, 0, 0, 0.3);
    border: 1px solid black;
    padding: 5px;
    margin: 10px 10px 0px 10px;
}

.box h1 {
    background-color: rgba(250, 0, 0, 1);
}

.decoimg1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.container_side {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    padding: 30px 0;
    align-items: center;
    gap: 30px;
}

/* ---------------------------------------------------------------------------------------- */
/**LEFTSIDEBOX**/

/* Align items vertically and horizontally, with spacing between links */
.navlinklist {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    padding: 5px;
}

/* Style the list to have no bullets */
.navlinklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Flexbox for aligning icon and text */
.navlinklist li {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Style the links with icons */
.navlinklist li a {
    display: flex;
    align-items: center;
    color: rgb(0, 191, 255);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.navlinklist li a:hover {
    color: rgb(255, 105, 180);
}

/* Add font-awesome icon styling */
.navlinklist li a i {
    font-size: 1rem;
    /* Adjust icon size */
    color: rgb(0, 191, 255);
    /* Icon color */
    transition: color 0.3s;
}

/* Change icon color on hover */
.navlinklist li a:hover i {
    color: rgb(255, 105, 180);
}

/* Align the star image vertically */
.star_img {
    background-image: url("/01_index/side/star.gif");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 60px;
    margin-top: 20px;
    /* Add spacing from nav links */
}


.container_side .first_row {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    height: auto;
    align-items: stretch;
}

.container_side .first_row .box {
    height: auto;
}

/* ---------------------------------------------------------------------------------------- */
/**RIGHT SIDEBBOX**/

.pet {
    width: 314px;
    height: 321px;
    opacity: 1;
}

.image2_right {
    background-image: url("/01_index/side/Info\ 2\ -\ NFTs.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid black;
    width: 314px;
    height: 200px;
}

.blinkies_right {
    display: block;
    text-align: center;
}




/* ---------------------------------------------------------------------------------------- */
/**CENTER**/

.center {
    display: block;
    position: relative;
    width: 50%;
    height: auto;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background-color: rgba(255, 255, 250, 0.8);
    overflow-y: scroll;
    overflow-x: hidden;
}

.centertitle {
    background-color: black;
    margin-bottom: 20px;
}

.centertitle h1 {
    color: white;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    text-align: center;
}

.centerTitleLinks {
    width: 100%;
    margin: 5px 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 25px;
    font-size: 0.7rem;
}

.centerTitleLinks a {
    text-decoration: none;
}

.webpages {
    display: flex;
    flex-flow: row wrap;
    background-color: #e0e0e0;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.webpages h1 {
    text-align: center;
}

/* Display videos side by side */
.webpages[name="videos"] {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.webpages[name="videos"] .page {
    width: 48%;
    margin: 0;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.webpages[name="videos"] iframe {
    width: 100%;
    height: 250px;
}

.page {
    display: block;
    width: 48%;
    border: 1px solid black;
    padding: 2px;
    margin: 2px;
}

.page h1 {
    text-align: center;
    font-size: 1rem;
    border-top: 1px solid black;
}

.page p {
    color: #000;
}

.page img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.pagesect {
    width: 100%;
}


/* ############## EROGURO ############ */

.container_image_landing_page {
    width: 48%;
    height: auto;
    position: relative;
}

.page .eroguro-image {
    margin-left: -10%;
    margin-bottom: -10%;
    position: relative;
    width: 60%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    /* Cursor changes to indicate clickability */
}

.speech-bubble {
    position: absolute;
    top: 30px;
    left: 45%;
    transform: translateX(-10%);
    max-width: 300px;
    padding: 15px;
    background-color: #333;
    /* Dark background */
    border-radius: 20px;
    color: #fff;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    /* Positioning the triangle at the bottom */
    left: -20px;
    /* Aligning the triangle to the left */
    transform: rotate(45deg);
    /* Rotate to point bottom-left */
    border-width: 10px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.speech-bubble.active {
    opacity: 1;
}

.emo-bubble {
    background-color: #222;
    color: #ff69b4;
    /* Emo pink color */
    border: 2px solid #ff69b4;
    font-family: 'Press Start 2P', cursive;
    padding: 20px;
}

.emo-bubble::after {
    border-color: #ff69b4 transparent transparent transparent;
}

.eroguro-image:hover+.speech-bubble {
    opacity: 1;
    transition-delay: 0.2s;
}

/* ############## CHARACTER BUBBLE ############ */

.page .character-image {
    position: relative;
    width: 60%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    /* Indicates clickability */
}

.page .croquis-image {
    position: absolute;
    bottom: -30px;
    right: 40px;
    width: 130px;
    height: auto;
}

.speech-bubble.emo-bubble-2 {
    position: absolute;
    bottom: 130px;
    top: auto;
    left: 45%;
    transform: translateX(-10%);
    max-width: 300px;
    padding: 15px;
    background-color: #204060;
    /* Dark teal blue to match the character */
    border-radius: 20px;
    color: #80dfff;
    /* Light cyan to contrast and match character’s highlights */
    font-family: 'Press Start 2P', cursive;
    font-size: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.speech-bubble.emo-bubble-2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 60%;
    transform: rotate(0deg);
    /* Rotate to point bottom-left */
    border-width: 10px;
    border-style: solid;
    border-color: #204060 transparent transparent transparent;
    /* Match bubble background */
}

.character-image:hover+.speech-bubble.emo-bubble-2 {
    opacity: 1;
    transition-delay: 0.2s;
}



/* ############## MUSIC PLAYER ############ */

.musicPlayer {
    display: block;
    height: 400px;
}

.musicPlayerFrame {
    height: 100%;
    width: 100%;
}


/* ############## CHAT BOX ############ */
.chat-container {
    width: 90%;
    max-width: 100%;
    /* Ensures it takes 100% width of its container */
    height: 90%;
    max-height: 100%;
    background-color: #f9f9f9;
    /* Light background color */
    padding: 20px;
    border: 2px solid #ccc;
    /* Old school thick border */
}

.messages {
    height: 300px;
    /* Adjusted height */
    overflow-y: auto;
    /* Scroll only when necessary */
    border: 1px solid #ccc;
    /* Consistent old school border */
    padding: 10px;
    margin-bottom: 15px;
    background-color: #fff;
    /* White background for messages */
    color: #333 !important;
    /* Override base text color */
    font-family: 'Courier New', Courier, monospace !important;
    /* Override base font-family */
    font-size: 0.75rem;
    /* Override base font size */
    line-height: 1.2;
    /* Reduced line height for compactness */
}

.input-field {
    flex: 1;
    /* Takes available space */
    padding: 10px;
    /* Adjusted padding for height consistency */
    background-color: #fff;
    /* White background */
    color: #333 !important;
    /* Override base text color */
    border: 2px solid #333 !important;
    /* Old school thick border */
    border-radius: 5px;
    /* Rounded corners */
    font-family: 'Courier New', Courier, monospace !important;
    /* Override base font-family */
    font-size: 0.85rem;
    /* Override base font size */
    margin-right: 5px;
    /* Space between input and button */
    height: 15px !important;
    /* Ensure consistent height */
}

.input-container {
    display: flex;
    margin-top: 10px;
    /* Spacing above input area */
}

.send-button {
    padding: 10px;
    /* Adjusted padding for height consistency */
    background-color: #333 !important;
    /* Dark background for button */
    color: #fff !important;
    /* White text color */
    border: 2px solid #333 !important;
    /* Old school thick border */
    border-radius: 5px;
    /* Rounded corners */
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace !important;
    /* Override base font-family */
    font-size: 0.85rem;
    /* Override base font size */
    width: 50px;
    /* Fixed width for icon button */
    text-align: center;
    /* Center icon/text */
    height: 40px !important;
    /* Ensure consistent height */
}

.send-button:hover {
    background-color: #555 !important;
    /* Slightly lighter background on hover */
}

.messages div {
    margin-bottom: 5px;
    /* Reduced margin for compact layout */
}

.timestamp {
    color: #666 !important;
    /* Darker gray for timestamps */
    font-size: 0.6rem;
    /* Smaller font size for timestamps */
    margin-left: 5px;
}

.credit p {
    font-size: 0.2rem;
}

.buttons_separator {
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons_separator a {
    color: black;
}

.authorship-hash {
    color: black;
    /* Sets the text color to black */
}

.authorship-hash p {
    line-height: 1.5;
    color: black;
    /* Sets the paragraph text color to black */
}

.authorship-hash ul {
    list-style-type: disc;
    /* Adds bullet points */
    padding-left: 40px;
    /* Adds a tab space */
    color: black;
    /* Sets the list text color to black */
}

.authorship-hash li {
    margin-bottom: 5px;
    color: black;
    /* Sets the list item color to black */
}

strong {
    color: grey;
}