html {
  box-sizing: border-box;
  font-size: 16px;
  cursor: url("/cursor.png"), auto;
  background-image: linear-gradient(#092230,#000000);
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

a:link {
  color: #9DA3D4;
  text-decoration: none;
}

a:visited {
  color: #888DB7;
}

a:hover {
  color: #E64D5B;
}

body {
	color: #FFFFFF;
	margin: 0 auto;
	max-width: 960px;
}

#container {
	display: flex;
	max-width: 782px;
	height: 685px;
	margin: 0 auto;
	padding: 2px;
}

#side {
  border: 1px #737373 solid;
	border-radius: 2px;
	padding: 2px;
	margin: 2px;
	width: 170px;
}

#calendar {
	overflow: hidden;
	border: 1px #FFFFFF solid;
	border-radius: 2px;
	margin: 2px;
	height: 159px;
}

#menu {
  overflow: auto;
	border: 1px #FFFFFF solid;
	border-radius: 2px;
	padding: 2px;
	margin: 2px;
}

#navigation {
  overflow: hidden;
  background-image: linear-gradient(#040f15,#000000);
  width: 162px;
}

#navigation h3 {
  font-family: 'Times New Roman';
  background-image: linear-gradient(black, #040f15);
  border-bottom: 1px #737373 solid;
  text-align: center;
  margin: 0 auto;
  height: 30px;
}

#navigation ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#navigation li {
  font-family: 'ms pgothic';
  padding: 5px 2px 0 5px;
  background-image: linear-gradient(#040f15, black);
  height: 30px;
  border-bottom: 1px #737373 solid;
}

#navigation li a {
  text-decoration: none;
}

#email {
	overflow: auto;
	border: 1px beige solid;
	border-radius: 2px;
	font-family: 'ms pgothic';
	background-image: linear-gradient(#040f15, black);
	padding: 2px;
	margin: 4px 2px;
}

#email p {
  font-size: 14px;
  padding-left: 5px;
}

#webrings {
	overflow: auto;
	background-image: linear-gradient(#040f15, black);
	border: 1px white solid;
	border-radius: 2px;
	padding: 10px;
	margin: 4px 2px;
	height: 60px;
}

#title {
  background-image: linear-gradient(to right, black, #040f15);
	border: 1px #FFFFFF solid;
	border-radius: 2px;
	padding: 4px 5px;
	margin: 2px;
	height: 45px;
	font-style: italic;
	font-family: 'Times New Roman';
}

#main {
	border: 1px #737373 solid;
	border-radius: 2px;
	padding: 2px;
	margin: 2px;
	width: 587px;
}

.content {
  font-family: 'ms pgothic';
  background-image: linear-gradient(#040f15, black);
	overflow: auto;
	border: 1px #FFFFFF solid;
	border-radius: 2px;
	padding: 8px;
	margin: 2px;
}

.contenttitle {
  font-family: 'ms pgothic';
  background-image: linear-gradient(#040f15, black);
	overflow: auto;
	border: 1px #FFFFFF solid;
	border-radius: 1px;
	padding: 4px;
	margin: 0 2px 0 2px;
}

#sitemaster {
  overflow: auto;
  background-image: linear-gradient(#040f15, black);
	border: 1px #FFFFFF solid;
	border-radius: 2px;
	margin: 0 2px;
	padding: 2px;
	height: 130px;
	width: 120px;
	text-align: center;
}

.frame {
	display: flex;
	border: 1px white solid;
	border-radius: 2px;
	padding: 2px;
	margin: 4px 2px;
}

#featured {
	border: 1px white solid;
	border-radius: 2px;
	background-image: linear-gradient(#040f15, black);
	font-family: 'ms pgothic';
	padding: 0px 2px;
	margin: 2px;
	width: 362px;
}

#featured p {
  padding-left: 5px;
}

#updates {
  overflow: hidden;
	border: 1px white solid;
	border-radius: 2px;
	background-image: linear-gradient(#040f15, black);
	margin: 2px;
	height: 154px;
	width: 200px;
}

#changelog {
  background-image: linear-gradient(#040f15, black);
  font-family: 'ms pgothic';
  padding: 1px;
}

#changelog p {
  padding: 2px;
}

footer {
	display: flex;
	flex-direction: column;
	text-align: center;
	font-family: 'ms pgothic';
}

.mstitle {
  display: flex;
  font-style: italic;
  font-weight: bold;
  border: 1px white solid;
  font-family: 'ms pgothic';
  background-image: linear-gradient(to right, black, #040f15);
  margin: 2px;
}

.marquee {
  overflow: hidden;
	padding: 2px;
	margin: 2px;
}

/* Inner container styles */
.scrolling-text-inner {
    display: flex;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 0;
}

/* Text styles */
.scrolling-text {
    display: flex;
}

.scrolling-text-item {
    padding: 0 30px;
}

/* Apply the animation to the text items */
.scrolling-text-inner>div {
    animation: var(--direction) var(--marquee-speed) linear infinite;
}

/* Pause the animation when a user hovers over it */
#marquee:hover .scrolling-text-inner>div {
    animation-play-state: paused;
}

/* Setting the Animation using Keyframes */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

/*MUSIC PLAYER*/
:root {
        --titlebar-gradient: linear-gradient(90deg, #6a1535, #b23965, #f9a5b9);
        --dialog-blue: #6a1535;
        --dialog-accent: white; /* color of text on diaglog blue */
        --titlebar-color: white; /* reccomended to change so its easy to read on titlebar color */
        --player-image: url(img/sip.gif);

    /*** 98 css styling ***/
    /* while some of these may specify a single element, theyre used across mulitple */
        --surface: linear-gradient(#040f15,#000000);
        --button-highlight: #ffffff;
        --button-face: #dfdfdf;
        --button-shadow: #808080;
        --light-button-shadow: #a9a9a9;
        --window-frame: #0a0a0a;
        --border-field: inset -1px -1px var(--button-highlight),
            inset 1px 1px var(--button-shadow), inset -2px -2px var(--button-face),
            inset 2px 2px var(--window-frame);
    }

    @font-face {
  font-family: "Pixelated MS Sans Serif";
  src: url("https://files.catbox.moe/qgjjre.woff") format("woff");
  src: url("https://files.catbox.moe/8fwbkl.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Pixelated MS Sans Serif";
    src: url("https://files.catbox.moe/z7csle.woff") format("woff");
    src: url("https://files.catbox.moe/moqhx6.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    }

    #musicplayer {
  font-family: "Ms pgothic", Arial;
  -webkit-font-smoothing: none;
  font-size: 11px;
  color:var(--window-frame);
  width: fit-content;
  border:var(--window-frame) solid 1px;
    box-shadow: inset -1px -1px var(--window-frame), inset 1px 1px var(--button-face), inset -2px -2px var(--button-shadow), inset 2px 2px var(--button-highlight);
  background: var(--surface);
  padding: 3px;
  width: 260px;
    }

    .title-color {  
  padding: 3px 2px 3px 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
    background: linear-gradient(#040f15,#000000);
    margin-bottom: 2px;
    font-weight: bold;
}

.actual-title {
    color:var(--titlebar-color);
  display: flex;
  gap: 5px;
}

.seeking {
    font-weight: normal;
    font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
    gap: 5px;
    margin: 12px 0;
}

.player-flex {
    display: flex;
    gap: 3px;
}

.player-main {
    width: calc(100% - 100px);
    margin-top: 1px;
}

.player-icon-holder {
  width:95px;
  height:95px;
  padding: 1px;
  overflow: hidden;
  position:relative;
  z-index: 2;
}

.player-icon {
    background-image:var(--player-image);
    background-size: contain;
    background-repeat: no-repeat;
    width:95px;
    height:95px;
}

/* BELOW IS LARGELY RIPPED FROM 98 CSS */
.track-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  border-radius:0;
  box-sizing: border-box;
  outline:0;
  
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;

  position: relative;
  padding: 3px 4px;
  padding-right: 32px;
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/button-down.svg");
  background-position: top 2px right 2px;
  background-repeat: no-repeat;
  width:100%;

  box-shadow: var(--border-field);
  background-color: var(--button-highlight);
  height: 21px;

  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
  font-size: 11px;
  font-weight: lighter;
}

.track-select:focus {
  color: var(--dialog-accent);
  background-color: var(--dialog-blue);

}
.track-select:focus option {
  color: var(--window-frame);
  background-color: var(--button-highlight);  
  outline: 1px;
  border: none;
}

.track-select:active {
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/button-down-active.svg");
}

/* input */
#musicplayer input[type="range"] {  
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

#musicplayer input[type="range"]:focus {
  outline: none;
}

#musicplayer input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  height: 21px;
  width: 11px;
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-horizontal.svg");
  transform: translateY(-8px);
  box-shadow: none;
  border: none;
}

#musicplayer input[type="range"].has-box-indicator::-webkit-slider-thumb {
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-rectangle-horizontal.svg");
  transform: translateY(-10px);
}

#musicplayer input[type="range"]::-moz-range-thumb {
  height: 21px;
  width: 11px;
  border: 0;
  border-radius: 0;
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-horizontal.svg");
  transform: translateY(2px);
}

#musicplayer input[type="range"].has-box-indicator::-moz-range-thumb {
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-rectangle-horizontal.svg");
  transform: translateY(0px);
}

#musicplayer input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 2px;
  box-sizing: border-box;
  background: var(--window-frame);
  border-right: 1px solid var(--button-shadow);
  border-bottom: 1px solid var(--button-shadow);
  box-shadow: 1px 0 0 var(--button-highlight), 1px 1px 0 var(--button-highlight), 0 1px 0 var(--button-highlight), -1px 0 0 var(--light-button-shadow),
    -1px -1px 0 var(--light-button-shadow), 0 -1px 0 var(--light-button-shadow), -1px 1px 0 var(--button-highlight), 1px -1px var(--light-button-shadow);
}

#musicplayer input[type="range"]::-moz-range-track {
    width: 100%;
    height: 2px;
    box-sizing: border-box;
    background: var(--window-frame);
    border-right: 1px solid var(--button-shadow);
    border-bottom: 1px solid var(--button-shadow);
    box-shadow: 1px 0 0 var(--button-highlight), 1px 1px 0 var(--button-highlight), 0 1px 0 var(--button-highlight), -1px 0 0 var(--light-button-shadow),
    -1px -1px 0 var(--light-button-shadow), 0 -1px 0 var(--light-button-shadow), -1px 1px 0 var(--button-highlight), 1px -1px var(--light-button-shadow);
}

.window-button {
    background: var(--surface);
    border: none;
    border-radius: 0;
    box-shadow: inset -1px -1px var(--window-frame),inset 1px 1px var(--button-highlight),inset -2px -2px var(--button-shadow),inset 2px 2px var(--button-face);
    box-sizing: border-box;
    color: inherit;
    text-shadow: 0 0 var(--window-frame);
}

.window-button:active {
  box-shadow: inset -1px -1px var(--button-highlight), inset 1px 1px var(--window-frame), inset -2px -2px var(--button-face), inset 2px 2px var(--button-shadow);
  text-shadow: 1px 1px var(--window-frame);
}

.window-button:focus  {
  outline: 1px dotted #000;
  outline-offset: -4px;
}
.player-buttons {
    display: flex;
    gap: 10px;
    margin: 5px 5px 0 5px;
}
.player-buttons .window-button  {
    width: 33%;
    font-size: 10px;
    padding: 5px 10px;
}
.player-buttons .window-button svg {
   width: 15px;
   height: 15px;
}

.title-bar-controls {
    display: flex;
}
.close {
    margin-left: 2px;
    background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/close.svg");
    background-repeat: no-repeat;
    background-position: top 3px left 4px;

    padding: 0;
    display: block;
    min-width: 16px;
    min-height: 14px;
}

.minimize {
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/minimize.svg");
  background-repeat: no-repeat;
  background-position: bottom 3px left 4px;
    padding: 0;
    display: block;
    min-width: 16px;
    min-height: 14px;
}

.maximize {
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/maximize.svg");
  background-repeat: no-repeat;
  background-position: top 2px left 3px;
    padding: 0;
    display: block;
    min-width: 16px;
    min-height: 14px;
}