:root {
    
    --body-bg-image: url('https://sadhost.neocities.org/images/tiles/page_background_animated_04.gif');
    --content: #7751ac;
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-Regular.ttf');
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-Italic.ttf');
    font-style: italic;
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-BoldItalic.ttf');
    font-style: italic;
    font-weight: bold;
}

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    background-color: #08031A;
    background-size: 65px;
    color: #fceaff;
    background-image: var(--body-bg-image);
    cursor: url('https://www.rw-designer.com/cursor-image/249118-32x32.png'), auto;
}

* {
    
}

#container {
    max-width: 1000px;
    margin: 0 auto;
    
}

#container a {
    color: #ED64F5;
    font-weight: bold;
}


nav {
    width: 100%;
    height: 33px;
    position: absolute;
    top: 0;
    align-items: right;
    z-index: 999;
    
    
}

nav .links {
    text-align: center;
    padding-top: 5px;
    list-style: none;
    margin: 0;
    
}

nav .links li {
    display: inline-block;
}

nav .links a {
    width: 75px;
    height: 25px;
    border: 1px solid #000;
    border-radius: 10px 10px 0 0;
    display: inline-block;
    background: var(--accent);
    text-decoration: none !important;
    font-family: SimSun, serif;
    font-size: 0px; /* Hides "Home", "Browse", etc. */
    transition: transform 0.1s;
    margin: 2px;
}
#rightSidebar {
    width: 150px; /* Slim column on the right */
    overflow: hidden;
    position: relative;
    margin-top: 20px;

    height: 80vh; /* Limits height so it doesn't push the footer too far */
    border-left: 1px dashed #696969; /* Optional: tiny divider */
}

.gif-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fall 10s linear infinite;
}

.gif-column img {
    width: 80px; /* Adjust size of the falling images */
    image-rendering: pixelated; /* Keeps them looking retro */
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%); /* Moves the list up to loop */
    }
}

/* Pause animation on hover so people can see the GIFs */
.gif-column:hover {
    animation-play-state: paused;
}
.win-content.scrollable {
    padding: 10px;
    text-align: left; /* Windows text usually aligns left */
    border: 1px solid #808080;
    margin: 4px;
    background: #fff;
    color: #000;
    
    /* SCROLL SETTINGS */
    height: 150px;      /* Adjust this to make the box taller or shorter */
    overflow-y: auto;   /* Shows scrollbar only when text overflows */
    overflow-x: hidden; /* Prevents side-scrolling */
    
    font-size: 12px;
    line-height: 1.4;
}

/* Optional: Make the scrollbar look extra "Windows" inside the box */
.win-content::-webkit-scrollbar {
    width: 16px;
}

.win-content::-webkit-scrollbar-thumb {
    background-color: #dfdfdf;
    box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff;
}
/* Windows Notification Style Divider */
.win-divider {
    background: #dfdfdf; /* Classic Windows Grey */
    border: 1px solid #000;
    box-shadow: inset 1px 1px #fff, inset -1px -1px #808080;
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    font-family: 'MS PGothic', sans-serif;
}

.win-header {
    background: var(--accent); /* This uses your pink/orange button color */
    color: white;
    padding: 3px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
    /* This matches the glossy button shine you have */
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.5);
}

.win-title {
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000;
}

.win-controls {
    display: flex;
    gap: 2px;
}

.win-btn {
    background: #dfdfdf;
    border: 1px solid #000;
    box-shadow: inset 1px 1px #fff, inset -1px -1px #808080;
    font-size: 10px;
    padding: 0 4px;
    cursor: pointer;
}

.win-content {
    padding: 15px;
    text-align: center;
    border: 1px solid #808080;
    margin: 4px;
    font-family: SimSun, serif;
    background: #fff;
    color: #000;
}

/* Glossy Header Effect from your screenshot */
nav .links a {
    box-shadow: 0 -2px 2px 3px rgba(255,255,255,.5) inset;
    background: #b8b9c5 !important; /* Change this hex code to your preferred button color */
    border: 1px solid #000;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.5);
    
}
.container {
    width: 270px;
    height: 300px;
    /* This is your "back" image */
    background-image: url('https://media1.tenor.com/m/dKrij9kaPHsAAAAC/lucky-star-konata.gif');
    background-size: 180px;
    display: flex;
    background-position: 20px;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
}
#container a {
    color: #0000EE; /* Change this hex code */
    font-weight: bold;
    text-decoration: underline; /* Optional: adds an underline */
}
#container a:hover {
    color: #a200ff; /* Changes to white on hover */
}

.top-layer {
    width: 50px;
}

/* Hover Effect */
nav .links a:hover {
    transform: translateY(-2px);
    background:#9a9cb6 !important ;
}


/* The Japanese Labels */
nav .links a:after {
    font-size: 14px;
    color: #ffffff; /* Change this to your desired color */
    text-shadow: 1px 1px 0px #000;
}

nav .links li:nth-child(1) a:after { content: "GO BACK"; }
nav .links li:nth-child(2) a:after { content: "music!"; }
nav .links li:nth-child(3) a:after { content: "journal!"; }
nav .links li:nth-child(4) a:after { content: "photoboard"; }
nav .links li:nth-child(5) a:after { content: "idk"; }

#flex {
    display: flex;
}

aside {
   
    width: 300px;
    padding: 10px;
    font-size: smaller;
}

main {
    
    flex: 1;
    padding: 20px;
    order: 2;
    
}

#leftSidebar {
    order: 1;
}

#rightSidebar {
    order: 3;
}

footer {
    background-color: #13092D;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
}

h1, h2, h3 {
    color: #0011ff;
}

h1 {
    font-size: 25px;
}

strong {
    color: #001aff;
}

.box {
    background-color: #13092D;
    border: 1px solid #ED64F5;
    padding: 10px;
}

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #13092D;
}

@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
    }

    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #rightSidebar {
        order: 3;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
}