@font-face {
    font-family: 'GosmickSans';
    font-style: normal;
    font-weight: normal;
    src: url('GosmickSans.ttf') format('truetype');
    }
    
@font-face {
    font-family: 'pixel';
    font-style: normal;
    font-weight: normal;
    src: url('PixelOperator.ttf') format('truetype');
    }
    
@font-face {
    font-family: 'ds';
    font-style: normal;
    font-weight: normal;
    src: url('nintendo_ds.ttf') format('truetype');
    }

:root {
    --border-image: url('border_pokemon.png');
    --header-bg-color: #000000;
    --accent-color: #32CD32;
    --link-color: #784D98;
    --bg-color: #404040;
    --bg-color2: #707070;
    --text-color: #000000;
    --stripe-color: #303030;
    --stripe-color2: #696969;
}

* {
    color: var(--text-color);
    font-family: 'pixel', sans-serif;
    scrollbar-color: #32CD32;
    scrollbar-width: 15px;
}

::selection {
    background: #6ea3d2;
    color: #dcdcdc;
}

html {
    min-width: 1100px;
    min-height: 100%;
    background-image: url("bg_gradient_blue_stars.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    cursor: url("cursor.png"), auto;
}

body {
    width: 1100px;
    min-width: 1100px;
    margin: 0 auto;
    background: transparent;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 15px;
}

p {
    margin: 0;
    line-height: 1.25em;
}

p:not(:last-child) {
    margin-bottom: 1em; 
}

header {
    position: relative;
    width: 100%;
}

header > img {
    display: block;
    width: 100%;
    height: auto;
}

nav {
    position: absolute;
    right: 3%;
    bottom: 4%;
    width: 40%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 2%;
    margin: 0;
    padding: 0;
    z-index: 9999;
}

nav a {
    display: block;
    width: 50%;
    padding: 0;
    margin: 0;
}

nav img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

nav img:hover {
    filter: invert(100%);
}

nav > ul {
    max-width: 100%;
    margin: auto;
    line-height: 3rem;
    display: flex;
    flex-wrap: none;
    flex-direction: row;
    list-style-type: none;
    padding-left: 0;
    justify-content: space-evenly;
}

nav li {
    text-align: center;
}

nav li > a {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: .2em 3em;
    text-decoration: none;
}

nav li > a:hover {
    background-color: var(--bg-color);
}

a {
    color: #555555;
    font-weight: bold;
}

a:visited {
    color: #777777;
}

a:hover {
    color: #ffff00;
    cursor: url("cursor_hover.png"), auto;
}

ul {
    list-style-type: square;
}

marquee {
    display: block;
    margin: 0;
    color: #000000;
}

div.button {
    display: block;
    margin: 0;
    color: #000000;
}

marquee.button, div.button {
    padding: 0px;
    overflow: visible;
}

marquee.button a, div.button a, ul.button a {
    display: inline-block;
}

marquee.button a {
    margin: 0;
}

marquee.button a img, div.button a img, ul.button a img {
    width: auto;
    position: relative;
    top: 2px;
    max-width: max-content;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

marquee.button a:hover img, div.button a:hover img, ul.button a:hover img {
    object-fit: contain;
    transform: scale(1.2) rotate(0deg);
}

.milk-sit img {
    width: auto;
    position: relative;
    top: 2px;
    max-width: max-content;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.milk-sit:hover img {
    object-fit: contain;
    transform: scale(1.05) rotate(-0.5deg);
}

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

#sidebar {
    width: 15%;
    flex: 0 0 15%;
    min-width: 0;
}

#sidebar .side-box ul, 
#sidebar .side-box div.button {
    padding-left: 0;
    margin: 0;
    list-style-type: none !important;
    width: 100%;
}

#avatar img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0px auto;
    image-rendering: smooth;
}

#bio {
    background: var(--stripe-color2);
    border: 4px solid var(--text-color);
}

#bio p {
    margin: .8em;
}

#content {
    display: flex;
    width: 980px;
    margin: auto;
    justify-content: center;
}

main {     
    margin: 0;     
    padding: 36px 60px;
    width: 1100px;     
    box-sizing: border-box;
    display: flex;     
    justify-content: center;     
    align-items: center;     
    flex-direction: column;     
}

main > marquee, main > div.button {
    margin-bottom: 5px;
}

.box-main {
    box-sizing: border-box;
    background-color: #b1cce4;
    image-rendering: pixelated;
    padding: 0px;
    flex-grow: 1; 
}

.box-dots {
    box-sizing: border-box;
    background: url("bg_dots_white.png");
    image-rendering: pixelated;
    padding: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #dcdcdc;
    width: calc(100% - 10px); 
    margin: 5px;
}

.box-dots-small {
    box-sizing: border-box;
    background: url("bg_dots_white_small.png");
    image-rendering: pixelated;
    padding: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #dcdcdc;
    width: calc(100% - 10px); 
    margin: 5px;
}

.box-grid {
    box-sizing: border-box;
    background: url("bg_grid_white.png");
    image-rendering: pixelated;
    padding: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #dcdcdc;
    width: calc(100% - 10px); 
    margin: 5px;
}

.box-picnic {
    box-sizing: border-box;
    background: url("bg_picnic_blue.png");
    image-rendering: pixelated;
    padding: 0px;
    border-style: solid;
    border-width: 1px;
    border-color: #6ea3d2;
    width: 100%;
}

.box-stars {
    box-sizing: border-box;
    background: url("bg_stars_blue1.png");
    image-rendering: pixelated;
    padding: 0px;
    width: 100%;
}

.box-clouds {
    box-sizing: border-box;
    background: url("bg_clouds.gif");
    image-rendering: pixelated;
    padding: 10px;
    width: calc(100% - 10px); 
    margin: 5px;
}

.content-box h1 {
    text-align: center;
    margin: 0;
    padding: 5px;
    border: 10px solid transparent;
    image-rendering: pixelated;
    color: #000000;
}

.content-box h2, .content-box h3 {
    text-align: center;
    background-color: var(--accent-color);
    padding: .2em .5em;
    margin: 0;
    color: white;
}

.mews {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.center {
    text-align: center;
}

footer {
    text-align: center;
    font-size: small;
    min-height: auto;
    margin: 0 auto;
    justify-content: center;
    position: relative;
    color: #ffffff;
}

section p {
    text-indent: 25px;
}

section {
    border-top: 1px solid #000000; 
    padding-top: 20px;              
    margin-bottom: 20px;               
}

.scroll-box {
    height: 200px;
    max-width: 750px;
    overflow-y: auto;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;              
    width: 100%;
    box-sizing: border-box;
}

.gamecase {
    width: 150px;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 20px;
    margin-right: 20px;
}

.gamecase img {
    width: 100%;
    height: auto;
    display: block;
}

.gamecase:hover {
    transform: scale(1.2) rotate(-3deg);
}

.cdcase {
    width: 100%;
    transition: transform 0.3s ease;
    display: inline-block;
}

.cdcase img {
    width: 125%;
    height: auto;
    display: block;
}

.cdcase:hover {
    transform: scale(1.2) rotate(-3deg);
}

.gallery {
    background: url("bg_grid_white.png");
    image-rendering: pixelated;
    padding: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #dcdcdc;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;       
    justify-content: center;
    align-items: center; 
    gap: 16px;           
    padding: 10px 0;
    overflow-y: auto;
    height: 400px;
}

.gallery img {
    height: 200px;       
    width: auto;
    object-fit: contain; 
    flex-shrink: 0;      
}

.frutiger-aero-button {
    --hue: 257;
    --sat: 0.02;
    --glow-intensity: 0.55;

    --fg: oklch(15% calc(var(--sat) * 0.5) var(--hue));
    --bg: oklch(75% var(--sat) var(--hue) / 0.8);
    --bg-dark: oklch(45% var(--sat) var(--hue) / 0.75);
    --bottom-glow: radial-gradient(
        farthest-corner at bottom center,
        rgba(255, 255, 255, var(--glow-intensity)),
        transparent
    );

    background-color: var(--bg);
    background:
        var(--bottom-glow),
        linear-gradient(to bottom, var(--bg-dark), var(--bg));

    border: 1px solid var(--bg);
    border-radius: 14px;

    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);

    color: var(--fg);
    font-family: 'GosmickSans', sans-serif;
    font-weight: 700;
    text-shadow: 0 2px 0.5em rgba(0, 0, 0, 0.2);

    cursor: pointer;
    position: relative;
    transition: all 300ms ease;

    user-select: none;
    -webkit-user-select: none;
}

.frutiger-aero-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.35) 45%,
        rgba(255, 255, 255, 0.05) 55%,
        transparent 70%
    );
    border-radius: inherit;
    pointer-events: none;
}

.frutiger-aero-button::after {
    content: "";
    position: absolute;
    top: 4%;
    left: 0.75em;
    width: calc(100% - 1.5em);
    height: 40%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.1)
    );
    border-radius: inherit;
    transition: background 400ms ease;
    pointer-events: none;
}

.frutiger-aero-button:hover,
.frutiger-aero-button:focus {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
    cursor: url("cursor_hover.png"), auto;
}

.frutiger-aero-button:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transform: translateY(1px);
}

.frutiger-aero-button.small {
    padding: 0.2em 1em;
    font-size: 0.875rem;
}

.frutiger-aero-button.medium {
    padding: 0.75em 2em;
    font-size: 1rem;
}

.frutiger-aero-button.large {
    padding: 1em 3em;
    font-size: 1.125rem;
}

.aero-box-teal {
    box-sizing: border-box;
    background: linear-gradient(
        to bottom, 
        rgba(220, 255, 250, 0.8) 0%,   
        rgba(100, 230, 220, 0.4) 50%,  
        rgba(0, 180, 216, 0.5) 55%,    
        rgba(0, 150, 199, 0.7) 100%    
    );
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 50, 100, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 20px;
}

.aero-box-green {
    box-sizing: border-box;
    background: linear-gradient(     
        to bottom,      
        rgba(220, 255, 230, 0.8) 0%,
        rgba(120, 240, 160, 0.4) 50%,
        rgba(40, 195, 120, 0.5) 55%,
        rgba(16, 150, 90, 0.7) 100%
    );   
    border: 1px solid rgba(255, 255, 255, 0.8);   
    border-radius: 12px;   
    box-shadow: 0 8px 32px rgba(0, 80, 40, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);   
    padding: 20px; 
}

.aero-box-white {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8) 0%,   
        rgba(255, 255, 255, 0.4) 50%,  
        rgba(255, 255, 255, 0.5) 55%,    
        rgba(255, 255, 255, 0.7) 100%    
    );

    box-shadow: 0 8px 32px rgba(0, 50, 100, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-image-slice: 32 33 32 33;
    border-image-width: 20px 20px 20px 20px;
    border-image-outset: 18px 18px 18px 18px;
    border-image-repeat: stretch stretch;
    border-image-source: url("border_win.png");
    border-style: solid;
    width: 60%;
}

.sunshine_box {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8) 0%,   
        rgba(255, 255, 255, 0.4) 50%,  
        rgba(255, 255, 255, 0.5) 55%,    
        rgba(255, 255, 255, 0.7) 100%    
    );

    padding: 20px;
    border-style: solid;
    width: 70%;
}

.sunshine_box_side {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8) 0%,   
        rgba(255, 255, 255, 0.4) 50%,  
        rgba(255, 255, 255, 0.5) 55%,    
        rgba(255, 255, 255, 0.7) 100%    
    );

    padding: 20px;
    border-style: solid;
    width: 70%;
}

.fixed-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    padding: 20px;
    background: url("https://preview.redd.it/the-skyboxes-of-super-mario-sunshine-are-beautiful-v0-mldawocl4wqe1.png?width=1080&crop=smart&auto=webp&s=de286a1a25bab9fa02e1dca01ee4f18656e3a3eb");
    border-style: solid;
}

/*-------MUSIC PLAYER BY GLENTHEMES-------*/
#glenplayer02 {
position: relative;
top: -2px;
left: 5px;
display: flex;
z-index: 99;
}

#glenplayer02 a {
text-decoration: none;
}

#glenplayer02>div {
align-self: center;
-webkit-align-self: center;
}

.music-controls {
user-select: none;
-webkit-user-select: none;
width: 13px;
font-size: 18px;
cursor: pointer;
}

.playy,
.pausee {
color: #6ea3d2;
text-shadow: -1px 0 #ffffff, 0 1px #ffffff, 1px 0 #ffffff, 0 -1px #ffffff, 0 0;
}

/* color of play & pause buttons */

.pausee {
display: none;
}

.sonata {
width: 100%;
margin-left: 10px;
margin-right: 10px;
font-size: 14px;
color: #6ea3d2;
font-weight: bold;
text-shadow: -1px 0 #ffffff, 0 1px #ffffff, 1px 0 #ffffff, 0 -1px #ffffff, 0 0;
/* color of music note symbol */
}

.labeltext {
margin-left: 0px;
position: relative;
bottom: 10px;
font-size: 14px;
color: #6ea3d2;
font-weight: bold;
text-shadow: -1px 0 #ffffff, 0 1px #ffffff, 1px 0 #ffffff, 0 -1px #ffffff, 0 0;
/* color of song title */
}