
  
/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colors: */
  --background-color: rgb(255, 186, 232);
  --content-background-color: #bfe4a8dd;
  --sidebar-background-color: #ffb8d7e8;

  /* Text Colors: */
  --text-color: #a66b43;
  --sidebar-text-color: #7d9c59;
  --link-color: #94c159;
  --link-color-hover: #ffc93f;

  /* Text: */
  --font: Comic Sans, cursive;
  --heading-font: Comic Sans, cursive;
  --font-size: 15px;

  /* Other Settings: */
  --margin: 16px;
  --padding: 22px;
  --border: 3px solid #ff94adef;
  --round-borders: 0px;
  --sidebar-width: 200px;
}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
  box-sizing: border-box;
}


/* mp3 player wrapper. everything is nested in here just to be extra careful and not mess with other elements you might have */
#music {
	box-sizing: border-box;
	position: relative;
  right: 50px;
	font-family: arial, nerdfont;
	padding-top: 1px;
	background: rgb(199, 68, 151);
	border-top: 1px;
	border-right: 0px;
	margin-left: 50px;
	color: rgb(199, 68, 151);
	font-size: 21px;
	line-height: 31px;
	width: 150px;
	height: 300px;
	box-shadow: inset 2px -4px 10px #902260;
	transition-duration: 0.5s;
	border-radius: 10px;
	overflow: hidden;

	/* so every element has the same box-sizing */
	* {
		box-sizing: border-box;
	}

	/* album cover */
	#album {
		background: white;
		color: black;
		border: 1px solid white;
		width: 40%;
		margin: 0 0 0 5px;
	}

	/* 1/? tracks playing */
	#now-playing {
		display: inline-block;
		position: absolute;
		float: right;
		margin-top: 30%;
		margin-left: 40%;
	}

	/* line below album cover */
	hr {
		margin: 1px 0px;
		padding: 0px;
	}

	/* controls grid */
	#controls {
		background: rgb(199, 68, 151);
		position: relative;
		display: grid;
		border: 2px solid rgb(213, 213, 213);
		width: 63%;
		height: 30%;
		margin: auto;
		margin-top: 10px;
		grid-template-columns: 33% 33% 33%;
		grid-template-rows: 33% 33% 33%;
		padding: 0px;
		border-radius: 50%;
	}

	/* buttons in controls CSS */
	#controls button {
		cursor: pointer;
		font-family: nerdfont, arial;
		font-size: 13px;
		background: inherit;
		border: none;
		border-radius: 50%;
		color: #902260;
		margin: 0px;
		text-shadow: 2px -1px 2px rgba(225, 212, 212, 0.815);
	}

	/* since these buttons don't do anything, they have a 'blocked' cursor */
	#controls button.down {
		cursor: not-allowed;
	}

	/* the two mini curcle buttons */
	button#playlist-btn,
	button#current-song-btn {
		position: relative;
		border: 1px solid rgb(213, 213, 213);
		background: rgb(199, 68, 151);
		color: white;
		font-size: 10px;
		text-align: center;
		border-radius: 50%;
		z-index: 20;
	}

	/* play pause button */
	button#play-pause {
		color: white;
		border: 1px solid rgb(39, 11, 11);
		border-radius: 50%;
		font-size: 14px;
	}

	/* screen wrapper */
	#screen {
		position: relative;
		background: rgb(39, 36, 36);
		text-align: left;
		margin: auto;
		width: 100%;
		height: 63%;
		border: 20px solid black;
		border-top-width: 30px;
		border-bottom-width: 30px;
		font-size: 10px;
		letter-spacing: 1px;
		line-height: 13px;
		overflow: hidden;
		color: white;
		scrollbar-color: rgb(173, 173, 173) transparent;
	}

	/* screen class (for playlist and currently playing song)*/
	.screen {
		position: relative;
		overflow: auto;
		height: 83.4%;
	}

	/* playlist songs listing */
	#playlist button {
		color: white;
		text-align: left;
		display: block;
		width: 100%;
		padding: 0px;
		margin: 0px;
		background: transparent;
		font-family: inherit;
		font-size: inherit;
		border: 1px solid transparent; /* this is here so it doesn't move when hovered */
	}

	#playlist button:hover {
		cursor: pointer;
		background: #fdaa03;
		background: linear-gradient(
			360deg,
			rgba(253, 170, 3, 1) 0%,
			rgba(255, 217, 140, 1) 91%
		);
		color: black;
		border: 1px solid #f79501;
	}

	/* button text */
	#playlist button span {
		margin: 4px 4px;
		display: inline-block;
		vertical-align: middle;
		width: 70%;
		font-size: 10px;
		line-height: 13px;
	}

	/* button album cover */
	#playlist button img {
		display: inline-block;
		vertical-align: middle;
		line-height: 0px;
		width: 30px;
		border: 1px solid grey;
		margin: 4px 4px;
	}

	/* currently playing screen music info */
	p.info {
		margin: 4px 4px;
		padding: 0;
	}

	/* icons  */
	.icon {
		color: rgb(173, 174, 176);
		font-size: 12px;
	}

	#top-bar {
		background: #454343;
		background: linear-gradient(
			360deg,
			rgb(108, 108, 108) 0%,
			rgb(71, 71, 71) 100%
		);
		width: 100%;
		text-align: center;
		font-size: 9px;
		padding: 1px;
		margin: 0px;
	}

	#bottom-bar {
		background: #454343;
		background: linear-gradient(
			360deg,
			rgb(29, 28, 28) 0%,
			rgb(149, 149, 149) 100%
		);
		width: 100%;
		font-size: 9px;
		line-height: 0px;
		padding: 0px;
		margin: 0px;
	}

	/* current song playing in playlist screen */
	#bottom-bar #current {
		display: inline;
	}

	/* current time of song */
	#bottom-bar span {
		display: inline-block;
		padding: 7px;
	}

	/* emoji that a song is playing */
	span#current-song-emoji {
		font-size: 10px;
		padding-left: 0px;
		padding-right: 0px;
	}

	/* scrolling name of current song playing */
	span#current-song-playing {
		display: inline-block;
		padding: 0px;
		width: 80px;
		line-height: 10px;
	}

	/* playing status icon in the bar */
	#playing-status {
		font-size: 13px;
		padding-left: 5px;
		color: rgb(217, 217, 217);
	}

	/* battery icon in the bar */
	#battery {
		font-family: nerdfont;
		padding-top: 10px;
		padding-right: 4px;
		font-size: 13px;
		float: right;
	}

	/* song progress bar */
	.track-progress {
		accent-color: rgb(96, 155, 226);
		-webkit-appearance: none;
		cursor: help;
		width: 100%;
		height: 4px;
		padding: 0px;
		margin: 0px;
		background: #454343;
		background: linear-gradient(
			360deg,
			rgb(68, 68, 68) 0%,
			rgb(129, 129, 129) 100%
		);
		border-bottom: 1px solid black;
	}

	/* song progress bar - thumb */
	/* chrome */
	.track-progress::-webkit-slider-thumb {
		-webkit-appearance: none;
		appearance: none;
		height: 4px;
		width: 2px;
		background: rgb(96, 155, 226);
		cursor: pointer;
		border: none;
		border-radius: 0px;
	}

	/* firefox */
	.track-progress::-moz-range-thumb {
		height: 2.6px;
		width: 2px;
		background: rgb(96, 155, 226);
		cursor: pointer;
		border: none;
		border-radius: 0px;
	}

	/* song progress - bar progress */
	/* only on firefox */
	.track-progress::-moz-range-progress {
		background: rgb(96, 155, 226);
	}
}

/* tooltip custom css */
#s-m-t-tooltip {
	background: rgb(0, 0, 0);
	border-radius: 2px;
	font-family: arial;
	font-size: 11px;
	color: rgb(238, 215, 215);
	border: 1px solid rgb(6, 6, 6);
	max-width: 400px;
	text-align: center;
	z-index: 9999;
	margin: 30px 15px 7px 12px;
	padding: 5px;
}

/* nerdfonts */
@font-face {
	font-family: "nerdfont";
	src: url(files/symbolsnerdfont.ttf);
}



body {
  display: flex;
  cursor: url(rei-grey.cur), auto;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;
  background: var(--background-color);
  background-image: url("https://i.pinimg.com/736x/8e/8e/5c/8e8e5c3cfeef37db80db3373ccef9c27.jpg");
  
}

::selection {
  /* (Text highlighted by the user) */
  background: rgba(0, 0, 0, 0.2);
}

mark {
  /* Text highlighted by using the <mark> element */
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

/* Links: */
a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */

.layout {
  width: 1000px;
  display: grid;
  grid-gap: var(--margin);
  grid-template: "header header header" auto "leftSidebar main rightSidebar" auto "footer footer footer" auto / var(--sidebar-width) auto var(--sidebar-width);
  /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
}

main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border);
  border-radius: var(--round-borders);
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

header {
  grid-area: header;
  font-size: 1.2em;
  border: var(--border);
  border-radius: var(--round-borders);
  background: var(--content-background-color);
}

.header-content {
  padding: var(--padding);
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  height: 80px;           /* optional: gives the header a consistent height */
  text-align: center;      /* ensures multiline text stays centered */
}

.header-title {
  font-family: var(--heading-font);
  font-size: 1.5em;
  font-weight: bold;
}

.header-image img {
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------- */
/* SIDEBARS */
/* -------------------------------------------------------- */

aside {
  grid-area: aside;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  background: var(--sidebar-background-color);
  padding: var(--padding);
  color: var(--sidebar-text-color);
}

.left-sidebar {
  grid-area: leftSidebar;
}

.right-sidebar {
  grid-area: rightSidebar;
}

.sidebar-title {
  font-weight: bold;
  font-size: 1.2em;
  font-family: var(--heading-font);
}

.sidebar-section:not(:last-child) {
  margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
  padding-left: 1.5em;
}

.sidebar-section > *:not(p):not(ul):not(ol):not(blockquote) {
  margin-top: 10px;
}

/* Sidebar Blockquote: */

.sidebar-section blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-section blockquote > *:first-child {
  margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
  margin-bottom: 0;
}

/* Site Button: */

.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
}



/* -------------------------------------------------------- */
/* NAVIGATION */
/* -------------------------------------------------------- */

nav {
  margin-bottom: 3em;
}

nav .sidebar-title {
  margin-bottom: 0.5em;
}

nav ul {
  margin: 0 -5px;
  padding: 0;
  list-style: none;
  user-select: none;
}

nav ul li {
  margin-bottom: 0;
}

nav > ul li > a,
nav > ul li > strong {
  display: inline-block;
}

nav > ul li > a,
nav > ul li > details summary,
nav > ul li > strong {
  padding: 5px 10px;
}

nav > ul li > a.active,
nav > ul li > details.active summary {
  font-weight: bold;
}

nav ul summary {
  cursor: pointer;
}

nav ul ul li > a {
  padding-left: 30px;
}



/* -------------------------------------------------------- */
/* CONTENT */
/* -------------------------------------------------------- */

main {
  line-height: 1.5;
}

main a,
main a:visited {
  color: var(--link-color);
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
}

main p,
main .image,
main .full-width-image,
main .two-columns {
  margin: 0.75em 0;
}

main ol,
main ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

main ol li,
main ul li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}

main ol {
  padding-left: 2em;
}

main blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
}

main pre {
  margin: 1em 0 1.5em;
}

main code {
  text-transform: none;
}

main center {
  margin: 1em 0;
  padding: 0 1em;
}

main hr {
  border: 0;
  border-top: var(--border);
  margin: 1.5em 0;
}

/* HEADINGS: */

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child {
  margin-top: 0;
}

main h1 {
  font-size: 1.5em;
}

main h2 {
  font-size: 1.4em;
}

main h3 {
  font-size: 1.3em;
}

main h4 {
  font-size: 1.2em;
}

main h5 {
  font-size: 1.1em;
}

main h6 {
  font-size: 1em;
}

/* COLUMNS: */

.two-columns {
  display: flex;
}

.two-columns > * {
  flex: 1 1 0;
  margin: 0;
}

.two-columns > *:first-child {
  padding-right: 0.75em;
}

.two-columns > *:last-child {
  padding-left: 0.75em;
}

/* -------------------------------------------------------- */
/* CONTENT IMAGES */
/* -------------------------------------------------------- */

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */

/* please do not remove this. */

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

/* CSS Code for devices < 800px */
@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .layout {
    width: 100%;
    grid-template: "header" auto  "main" auto "footer" auto / 1fr;
    /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
  }

  .left-sidebar { 
    display: none;
  }
  .right-sidebar { 
    display: none;
  }

  aside {
    border-bottom: 1px solid;
    padding: 9px;
    font-size: 0.9em;
  }

  header nav {
    display: block !important;
  }
  nav {
    padding: 0;
  }

  nav > ul {
    padding-top: 0.5em;
  }

  nav > ul li > a,
  nav > ul li > details summary,
  nav > ul li > strong {
    padding: 0.5em;
  }

  main {
    max-height: none;
    padding: 15px;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
}
