/* start light mode styling */
:root {
	--text: #ffffff;
	--border: #b12020;
	--accent: #ff6161;
	--bg: #471010;
	--gradientBottom: rgb(0, 0, 0);
	--gradientTop: #4e0606;
}

:link { 
	color: #ffffff; 
}
/* end light mode styling */


/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: #ffffff;
			--border: #b12020;
			--accent: #ff6161;
			--bg: #471010;
			--gradientBottom: rgb(0, 0, 0);
			--gradientTop: #4e0606;
			:link { color: #ffffff; }
		}
		header {
			background: url('HEADER.png')}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
}
body {
	padding: 10px;
	font-family: 'MS PGothic', sans-serif;
	color: var(--text);

	/* page background pattern */
	background-color: var(--gradientTop);
}


.container {
	max-width: 89rem;
	margin: 1vw auto 28px auto;
	border: 1px ridge var(--border);
	outline: 11px solid var(--gradientTop);
	outline-offset: 15px;
	border-radius: -35px;
	display: flex;
	flex-wrap: wrap;
	padding: 18px;
	gap: 5px;

	/* container background pattern */
	background-color: var(--gradientBottom);
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, var(--gradientBottom) 9px ), repeating-linear-gradient( var(--bg), var(--bg));
}
/* these control the column widths */
.small { flex: 1 1 13%; }
.large { flex: 1 1 70%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 47%; }


header {
	background-size: auto;
	background-repeat: no-repeat;
    background-position: center;
	width: 85%;
	height: 200px; /* change banner height here*/
	border: 4px ridge var(--border);
	border-radius: 5px;
	position: relative;
	margin: 0 auto;
}
header span {
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 6px;
	margin: 6px;
	font-weight: bold;
	text-shadow: 1px 1px var(--text),
		-1px 1px var(--text),
		1px -1px var(--accent),
		-1px -1px var(--accent);
	color: var(--gradientTop);
}


nav {
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}
nav a {
	display: block;
	margin: 5px;
	background: linear-gradient(to right,var(--bg),var(--gradientBottom));
	border-radius: 5px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: var(--text);
}
nav a:hover, nav a:focus {
	background: linear-gradient(to right,var(--bg), var(--gradientBottom), var(--gradientTop));
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px ridge var(--border);
	border-radius: 5px;
}


section {
	border: 2px ridge var(--border);
	border-radius: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
	padding: 5px;
}


footer {
	text-align: center;
	margin-bottom: 5vw;
	font-size: 0.8rem;
}
footer a { 
	text-decoration: none;
}


h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
}
h1 { 
	font-size: 2rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
}
h2 { 
	font-size: 1.15rem;
	font-weight: normal;
	text-align: center;
    border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
}
h3 { 
	font-size: 1.1rem;
}
h4 { 
	font-size: 1rem;
	color: var(--accent);
	padding-left: 12px;
    border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: var(--accent);
}
@font-face {
font-family: handy;
src: url(https://dl.dropbox.com/s/ga9hf4idu3egjb5/handy00.ttf);
}

img:hover {
cursor:help;
}

#musicplayer{
display:grid;
grid-template-columns:20px auto;
align-items:center;
width: 20em;
font-family: handy;
font-size: 15px;
color:#FF78BC;
line-height:140%;
border: 1px solid #FFB3DE;
border-radius: 3px;
background:white;

}

#musictitle{
font-family: arial;
overflow: hidden;
white-space: nowrap;
display:inline-block;
width: calc(100% - 10px - 1px);
margin-left: calc(10px + 1px);
}

#musicpixel{
width: 1.4em;
padding: 5px;
position:relative;
min-height: 15px;
background:white;
border-right: 1px solid #FFB3DE;
}

.overlay {
opacity:0;
position:absolute;
top:0;
left:0;
text-align:center;
width:100%;
height:100%;
transition:0.3s ease;

background: pink;
}

#musicplayer:hover .overlay {
opacity: 1;
transition:0.3s ease;
}

.playpause{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-40%, -50%);
}

.playpause:hover{
cursor:help;
}

#musicpixel img{
display:block;
}

.marquee{
display: inline-block;
padding-left: 100%;
animation: marquee 10s linear infinite;
}

@keyframes marquee{
0% {
transform: translate(0, 0);
}
100% {
transform: translate(-100%, 0);
}
}
body {

  cursor: url('https://media.discordapp.net/attachments/1441532211722588332/1441622166029205644/ImageToStl.com_NormalSelect.png?ex=6925c284&is=69247104&hm=8d71e5e68e498c19ad03409758e367add52a3321e75099c5e9b871b651cc70c8&=&format=webp&quality=lossless'), auto;
}

a:hover { 
  cursor: url("https://media.discordapp.net/attachments/1441532211722588332/1441623923946029199/ImageToStl.com_LinkSelect.png?ex=6925c427&is=692472a7&hm=8543b9395fd37313839d89e868ae69cad31b4c46bb7b374a0521dfbe110f551f&=&format=webp&quality=lossless"), auto;
  
  }
  
.auto {
    cursor: url("https://media.discordapp.net/attachments/1441532211722588332/1441623923946029199/ImageToStl.com_LinkSelect.png?ex=6925c427&is=692472a7&hm=8543b9395fd37313839d89e868ae69cad31b4c46bb7b374a0521dfbe110f551f&=&format=webp&quality=lossless"), auto;

}