body {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    image-rendering: pixelated;
    font-family: Tahoma, sans-serif;
    font-size: 12px;
    min-height: 100vh;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    position: relative;
}

p {
    font-size: 14px;
    text-align: center;
}

.screenname {
    color: #e53e32;
}

.webring-container {
    margin: auto;
    align-items: center;
}

.webring{
    width: 50%;
    margin: auto;
    margin-bottom: 10px;
}

.button {
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
    width: 88px;
    height: 31px;
}

.button:hover {
    border: #469FFB;
    border-width: 3px;
}

.cool-button {
    width: 88px;
    height: 31px;
}


.menu {
    width: 500px;
    background-color: #FFF;
    border: 2px solid #0078D7;
    box-shadow: 0 0 2px rgba(0, 0, 0, 1);
    border-radius: 5px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.guestbook-menu {
    width: 600px;
    background-color: #FFF;
    border: 2px solid #0078D7;
    box-shadow: 0 0 2px rgba(0, 0, 0, 1);
    border-radius: 5px;
    overflow: hidden;
    max-width: fit-content;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.guestbook-column-left {
    width: 50%;
    border-right: 1px solid #E0E0E0;
    padding: 10px;
}

.guestbook-column-right {
    width: 50%;
    border-right: 1px solid #E0E0E0;
}

.guestbook-entries-menu {
    width: 50%;
    background-color: #FFF;
    border: 2px solid #0078D7;
    box-shadow: 0 0 2px rgba(0, 0, 0, 1);
    border-radius: 5px;
    overflow: hidden;
    padding: 10px;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
}

.guestbook-entries {
    font-family: 'Times New Roman', Times, serif;
}

.guestbook-entry {
    margin-bottom: 5px;
    font-size: 20px;
}

textarea {
    display: block;
    margin: 0 auto; 
}

.henox-button-container {
    display: flex;
    justify-content: center;
}

.henox-button {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
}

.guestbook-banner {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain; 
    border-radius: 10px;
}

.guestbook-banner-container {
    width: 90%; 
    max-width: 100%; 
    margin: 0 auto;
    overflow: hidden; 
    text-align: center; 
    box-sizing: border-box;
}

.blog-title {
    background-color: #D4E5FA;
    color: #000000;
    padding: 10px;
    font-size: 28px;
    text-align: center;
}

.blog-subtitle {
    background-color: #D4E5FA;
    color: #000000;
    padding: 10px;
    font-size: 20px;
    text-align: center;
}

.blog-list {
    font-size: 14px;
}

.purple {
    color: #ff03ff;
}

.blog-post-menu {
    width: 70%;
    background-color: #FFF;
    border: 2px solid #0078D7;
    box-shadow: 0 0 2px rgba(0, 0, 0, 1);
    border-radius: 5px;
    overflow: hidden;
    max-width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.blog-image-container {
    width: 50%; 
    max-width: 100%; 
    margin: 0 auto;
    border: 2px solid #0078D7;
    box-shadow: 0 0 2px rgba(0, 0, 0, 1);
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
    padding: 10px;
}

.blog-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 5px;
    object-fit: contain;
}

.chat-section {
    padding: 10px;
}
.chat-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 10px;
    align-items: start;
}

.chat-avatar-card,
.chat-window-card {
    background-color: #FFF;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 1);
}

.chat-avatar-card {
    padding: 10px;
    text-align: center;
    position: relative;
    top: 10px;
}
.chat-avatar {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 5px;
    transform: translateZ(0);
    transition: transform 80ms ease;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    display: block;
}
.chat-caption {
    font-size: 12px;
    color: #333;
    margin-top: 6px;
}

.chat-window-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.chat-header {
    background: radial-gradient(ellipse at bottom, #469FFB 0%, #075AC4 100%);
    color: #FFF;
    padding: 8px 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-shadow: -1px -1px 0 #000060,
                 1px -1px 0 #000060,
                 -1px 1px 0 #000060,
                 1px 1px 0 #000060;
    border-bottom: 1px solid #000060;
}


.typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFF;
    opacity: .8;
    animation: blink 1s infinite;
}
.dot:nth-child(2) {
    animation-delay: .15s;
}
.dot:nth-child(3) {
    animation-delay: .3s;
}
@keyframes blink {
    0%, 80%, 100% { opacity: .3; }
    40% { opacity: 1; }
}

.mode-label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 12px;
}

.mode-select {
    margin-top: 4px;
    width: 100%;
    padding: 4px;
    border: 1px solid #C7DCF7;
    border-radius: 4px;
    font-size: 12px;
}

.chat-avatar-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 5px;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0; 
    transition: opacity 0.2s ease;
}


.avatar-flirty-tint::after {
    background-color: rgba(255, 105, 180, 0.6); 
    opacity: 1;
    transition: opacity 0.2s ease;
}

.avatar-angry-tint::after {
    background-color: rgba(255, 0, 0, 0.5); 
    opacity: 1;
    transition: opacity 0.2s ease;
}

.avatar-sarcastic-tint::after {
    background-color: rgba(255, 140, 0, 0.5); 
    opacity: 1;
    transition: opacity 0.2s ease;
}



.chat-log {
    height: 420px;
    overflow: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fafcff;
}
.msg {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    max-width: 85%;
}
.msg.me {
    margin-left: auto;
    flex-direction: row-reverse;
}
.bubble {
    background: #ffffff;
    border: 1px solid #C7DCF7;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.35;
}
.msg.me .bubble {
    background: #E9F4FF;
    border-color: #A8CEF8;
}
.msg.bot .bubble {
    background: #F3F8FF;
    border-color: #9BC3FB;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-top: 1px solid #E0E0E0;
    background: #fff;
}
.chat-input input {
    flex: 1;
    border: 1px solid #C7DCF7;
    border-radius: 6px;
    padding: 8px 10px;
    font: 14px/1 Tahoma, sans-serif;
}
.chat-input button {
    background: #D4E5FA;
    border: 1px solid #0078D7;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: bold;
    cursor: pointer;
}
.chat-input button:active {
    transform: translateY(1px);
}

.chat-avatar.bop {
    animation: bop-scale 100ms ease;
}

@keyframes bop-scale {
    0%   { transform: scale(1) }
    30%  { transform: scale(1.08, 0.92) }
    60%  { transform: scale(0.96, 1.04) }
    100% { transform: scale(1) }
}


@media (max-width: 700px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }
    .chat-avatar-card {
        position: static;
    }
}

.avatar {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}



.submit-button {
    align-items: center;
    display: flex;
    margin: 0 auto; 
    overflow: hidden;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    border-radius: 10px;
    padding: 5px;
}

.guestbook-oneline-entry {
    font-size: 14px;
    font-family: 'Times New Roman', Times, serif;
    display: block;
    margin: 0 auto; 
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border-radius: 10px;
    padding: 5px;
}

.guestbook-message-entry {
    font-size: 14px;
    font-family: 'Times New Roman', Times, serif;
    display: block;
    margin: 0 auto; 
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border-radius: 10px;
    padding: 5px;
}

.form-entry-container {
    width: 90%; 
    max-width: 100%; 
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
}

.blinkee {
    height: auto;
    display: block;
    object-fit: contain; 
    text-align: center;
    transform: translateX(-50%);
    margin-left: 50%;
}

.blog-image-subtext {
    font-size: 12px;
    text-align: center;
    font-style: italic;
}

@media (max-width: 768px) {
    .blog-post-menu {
        width: 95% !important;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .blog-post-menu .menu-content {
        flex-direction: column;
    }
    .blog-column-left {
        width: 100% !important;
        border-right: none !important;
        box-sizing: border-box;
    }
    .blog-column-right {
        width: 100% !important;
        border-right: none !important;
        border-top: 2px solid #0078D7;
        background-color: #D4E5FA;
        box-sizing: border-box;
    }
}

@media (max-width: 520px) {
    .menu {
        width: 95% !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 20px auto !important;
    }
    .menu-content {
        flex-direction: column;
    }
    .menu-column {
        width: 100% !important;
        border-right: none !important;
    }
    .menu-left {
        border-bottom: 2px solid #0078D7;
    }
    
    .notification {
        width: 90% !important;
        left: 5% !important;
        right: 5% !important;
        bottom: 10px !important;
        box-sizing: border-box;
    }
    .notification::before, .notification::after {
        display: none !important;
    }
}

@media (max-height: 600px) and (max-width: 768px) {
    .menu {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 20px auto !important;
    }
    body {
        height: auto !important;
        min-height: 100vh;
        overflow-y: auto !important;
    }
}

.music-list {
    position: relative;
    font-size: 14px;
}

.music-list ul li {
    position: relative;
    left: 0;
    color: #000000;
    list-style: none;
    margin: 4px 0;
    border-left: 2px solid #000000;
    cursor: pointer;
}

.music-list ul li span {
    position: relative;
    padding: 4px;
    padding-left: 12px;
    display: inline-block;
    z-index: 1;
}

.music-list ul li:hover{
    background-color: #e8e8e8;
}
.music-list-span-right {
    float: right;
    color: #565656;
}

.menu-header {
    background: radial-gradient(ellipse at bottom, #469FFB 0%, #075AC4 100%);
    background-size: 200% 100%;
    background-position: center;
    color: #FFF;
    padding: 10px;
    font-size: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    text-shadow: -1px -1px 0 #000060, 1px -1px 0 #000060, -1px 1px 0 #000060, 1px 1px 0 #000060;
    border-bottom: #000060;
    border-width: 1px;
    position: relative;
    z-index: 1;
}

.menu-content {
    display: flex;
}

.menu-column {
    width: 50%;
    border-right: 1px solid #E0E0E0;
}

.blog-column-right {
    width: 20%;
    border-right: 1px solid #E0E0E0;
}

.blog-column-left {
    width: 80%;
    border-right: 1px solid #E0E0E0;
    padding: 10px;
}

.menu-column:last-child {
    border-right: none;
}

.menu-item {
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #F0F0F0;
}

.menu-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.menu-text {
    display: flex;
    flex-direction: column;
}

.menu-short {
    font-weight: bold;
}

.menu-full {
    color: #666;
}

.menu-divider {
    padding: 0;
    margin: 4px 0;
}

.menu-divider::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(to right, transparent, #acacac, transparent);
}

.orange-divider {
    position: absolute;
    bottom: -1px; 
    left: 0;
    right: 0;
    height: 1px; 
    z-index: 2; 
}

.orange-divider::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(to right, transparent, #f89539, transparent);
    position: absolute; 
    top: 0; 
    left: 0;
    right: 0;
}

.user-icon-container {
    margin: 0;
}

.user-icon-border {
    background-color: white;
    padding: 2px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-icon {
    width: 64px;
    height: 64px;
}

.menu-header .user-icon-container {
    margin-right: 10px; 
}

.menu-right {
    background-color: #D4E5FA;
}

.menu-left {
    border-right: 1px solid #0078D7;
}

#contact-menu {
    background-image: url("media/contact_icon.png");
    background-size: cover;
}

#contact-menu:hover {
    background-image: url("media/contact_icon_hover.png");
}

#navbar {
    background: radial-gradient(ellipse at bottom, #469FFB 0%, #075AC4 100%);
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    background-size: 200% 100%;
    background-position: center;
    color: #FFF;
    padding: 10px;
    font-size: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    text-shadow: -1px -1px 0 #000060, 1px -1px 0 #000060, -1px 1px 0 #000060, 1px 1px 0 #000060;
    border-bottom: #000060;
        border-bottom-width: medium;
    border-width: 1px;
    position: relative;
    z-index: 1;
}

#profile-top-right {
    width: 600px;
    background-color: #FFF;
    border: 2px solid #0078D7;
    box-shadow: 0 0 2px rgba(0, 0, 0, 1);
    border-radius: 5px;
    overflow: hidden;
    max-width: fit-content;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffde; 
    border: 1px solid black;
    border-radius: 10px;
    padding: 15px;
    max-width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: Tahoma, sans-serif;
    display: none; 
    z-index: 1000;
}


.notification::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 15px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: #ffffde;
    border-bottom: 0;
    border-right: 0;
    margin-left: -10px;
    margin-bottom: -10px;
}

.notification::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 14px;
    width: 0;
    height: 0;
    border: 22px solid transparent;
    border-top-color: black;
    border-bottom: 0;
    border-right: 0;
    margin-left: -10px;
    margin-bottom: -10px;
    z-index: -1;
}

.notification-title {
    font-weight: bold;
    font-size: 12px;
}

.notification-subtext {
    font-size: 12px;
}

.guestbook-icon {
    width: 20px;
}

.info-icon {
    font-size: 11px;
    background: #469FFB;
    color: white;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor:help;
    position: relative;
    margin-left: 4px;
    z-index: 9999;
}

.info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%; 
    left: -80%;
    transform: translateX(-50%);
    background: #ffffe1;
    color: #000;
    border: 1px solid #7b7b7b;
    padding: 4px 6px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
    border-radius: 3px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 99999;
}

.info-icon:hover::after,
.info-icon:hover::before {
    opacity: 1;
}
