body {
    background-image: url("https://i.pinimg.com/1200x/3e/6e/66/3e6e66f2aadfc0a26bb4236030528b61.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;

    color: #16537e;
    font-family: "Patrick Hand", cursive;
    margin: 0;
}

/* ===== Header ===== */

.header {
    text-align: center;
    padding-top: 20px;
    margin-bottom: 25px;
}

.header h1 {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 90px;
    color: #2b78c5;
    margin: 10px 0;

    text-shadow:
        2px 2px white,
        4px 4px #9fd2ff;
}

.header p {
    font-size: 24px;
    font-style: italic;
    margin-top: 5px;
}

/* ===== Layout ===== */

.layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
}

/* ===== Windows ===== */

.sidebar {
    width: 180px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.main {
    width: 700px;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 25px;

    background: transparent;
    border: none;
    box-shadow: none;
}

.window {
    width: 100%;
    background: #eef7ff;

    border: 2px solid black;
    border-radius: 10px;
    overflow: hidden;

    box-shadow:
        inset 2px 2px white,
        inset -2px -2px #bdbdbd,
        3px 3px 8px rgba(0,0,0,.15);

    margin-bottom: 20px;
}

.window-title {
    background: linear-gradient(to right, #7bc7ff, #4da3f5);
    color: white;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 28px;
    padding: 10px;
    text-align: center;

    border-radius: 8px 8px 0 0;

    text-shadow: 1px 1px #2d6fa8;
}

.window-content {
    padding: 15px;
}

.window-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* ===== Navigation Buttons ===== */

.window-content > a {
    display: block;
    text-align: center;
    margin: 12px 0;
    padding: 10px;

    background: linear-gradient(to bottom, #e4f4ff, #9fd2ff);

    border: 2px solid black;
    border-radius: 8px;

    box-shadow:
        inset 2px 2px white,
        inset -2px -2px #6caad8;

    color: #16537e;
    text-decoration: none;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 16px;

    transition: transform .15s ease;
}

.window-content a:hover {
    background: linear-gradient(to bottom, #f4fbff, #bddfff);
    transform: scale(1.03);
    text-decoration: none;
}

.window-content a:active {
    box-shadow:
        inset -2px -2px white,
        inset 2px 2px #6caad8;

    transform: scale(.98);
}

.main .window-title {
    margin-top: 20px;
}

.main .window-title:first-child {
    margin-top: 0;
}

/* ===== Buttons ===== */

.window-content button {
    display: block;
    margin: 15px auto 0;
    padding: 10px 18px;

    background: linear-gradient(to bottom, #e4f4ff, #9fd2ff);

    border: 2px solid black;
    border-radius: 8px;

    box-shadow:
        inset 2px 2px white,
        inset -2px -2px #6caad8;

    color: #16537e;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 16px;
    cursor: pointer;

    transition: transform .15s ease;
}

.window-content button:hover {
    background: linear-gradient(to bottom, #f4fbff, #bddfff);
    transform: scale(1.03);
}

.window-content button:active {
    box-shadow:
        inset -2px -2px white,
        inset 2px 2px #6caad8;

    transform: scale(.98);
}

/* ===== Sidebar Navigation ===== */

.sidebar .window-content {
    display: block;
}

.sidebar .window-content > a {
    display: block;
    width: auto;
    margin: 12px 0;
}

.image-link{
    display:inline-block !important;
    background:none !important;
    border:none !important;
    padding:0 !important;
    margin:0 !important;
    box-shadow:none !important;
    text-decoration:none !important;
}

.image-link:hover{
    background:none !important;
}

.image-link img{
    display:block;
}

/* ===== Paper Window ===== */

.paper-window {
    width: 100%;

    background:
        repeating-linear-gradient(
            to bottom,
            #f8fbff 0px,
            #f8fbff 28px,
            #c7e2ff 29px,
            #f8fbff 30px
        );

    border: 2px solid black;
    border-radius: 10px;
    overflow: hidden;

    box-shadow:
        inset 2px 2px white,
        inset -2px -2px #bdbdbd,
        3px 3px 8px rgba(0,0,0,.15);
}

/* ===== Updates Box ===== */

.updates-box {
    margin-top: 3px;

    border: 2px solid black;
    border-radius: 10px;
    overflow: hidden;

    background: #eef7ff;

    box-shadow:
        inset 2px 2px white,
        inset -2px -2px #808080,
        3px 3px 8px rgba(0,0,0,.18);
}

.updates-title {
    background: linear-gradient(to right, #7bc7ff, #4da3f5);

    color: white;

    font-family: "Pixelify Sans", sans-serif;
    font-size: 18px;

    padding: 6px;
    text-align: center;

    text-shadow: 1px 1px #2d6fa8;
}

.updates-content {
    max-height: 180px;
    overflow-y: auto;

    padding: 10px;

    font-size: 16px;
    line-height: 1.4;
}

/* ===== Music Button ===== */

#musicButton {

    position: fixed;
    bottom: 20px;
    right: 20px;

    z-index: 9999;

    padding: 12px 18px;

    background: linear-gradient(to bottom, #e4f4ff, #9fd2ff);

    border: 2px solid black;
    border-radius: 12px;

    box-shadow:
        inset 2px 2px white,
        inset -2px -2px #6caad8,
        3px 3px 8px rgba(0,0,0,.2);

    color: #16537e;

    font-family: "Pixelify Sans", sans-serif;
    font-size: 16px;

    cursor: pointer;

    transition: .15s ease;
}

#musicButton:hover {
    background: linear-gradient(to bottom, #f4fbff, #bddfff);
    transform: translateY(-2px);
}

#musicButton:active {
    transform: translateY(1px);
}

/* ===== Blinkies & Buttons ===== */

.badge-strip,
.blinkies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.badge-strip img,
.blinkies img {
    image-rendering: pixelated;
}


/* ===== Mobile Layout ===== */

@media (max-width: 768px) {

    .layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 15px;
    }

    .sidebar,
    .main {
        width: 100% !important;
        max-width: 420px;
    }

    .window {
        width: 100%;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

}


@media (max-width: 480px) {

    .oc-grid,
    .gallery {
        grid-template-columns: 1fr;
    }

}

/* ===== Cute Blue Scrollbars ===== */

/* Chrome, Edge, Opera, Safari */

::-webkit-scrollbar{
    width:12px;
    height:12px;
}

::-webkit-scrollbar-track{
    background:#eef7ff;
    border:2px solid #b9dcff;
    border-radius:10px;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(to bottom,#9fd2ff,#6fb8ff);
    border:2px solid white;
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(to bottom,#7bc7ff,#4da3f5);
}

::-webkit-scrollbar-corner{
    background:#eef7ff;
}

.embed-box{

    width:100%;
    height:65px;

    box-sizing:border-box;

    resize:none;
    overflow:auto;

    padding:6px;

    font-size:11px;
    font-family:monospace;

    background:#ffffff;

    border:2px inset #bcdfff;
    border-radius:6px;

}

/* blue scrollbar */

.embed-box::-webkit-scrollbar{
    width:10px;
}

.embed-box::-webkit-scrollbar-track{
    background:#eef7ff;
}

.embed-box::-webkit-scrollbar-thumb{
    background:#84c5ff;
    border:2px solid white;
    border-radius:10px;
}

/* ===== Game Shelf ===== */

.games-gallery{

    display:flex;
    gap:12px;

    overflow-x:auto;
    overflow-y:hidden;

    padding:8px 5px 12px;

    scroll-behavior:smooth;
}

.games-gallery img{

    height:110px;   
    width:auto;

    flex-shrink:0;

    border:2px solid black;
    border-radius:8px;
    
}
    
    /* Navigation window scroll */

.sidebar .window:first-child .window-content{
    max-height: 350px;   /* adjust this height */
    overflow-y: auto;
}

.sidebar{
    width:180px;
    position:sticky;
    top:15px;
    align-self:flex-start;
}

/* ===== Scrollable Sims Windows ===== */

.scroll-window{
    max-height:600px;
    overflow-y:auto;
}