/* Default colors */
:root {
	--color: #23011f;
	--background: #edd6fc;
	
	--link: #7b2371;
	--linkhover: #8d94a3;
	
	--formbg:#f4f1e9;
	--formcolor:#212c2c;
	
	--accentbg:#DAC3C3; /* e0c6c6 DAC3C3 EADCDC*/
	--accentbg-2: #713232;
	--hr: #bb6060; /* bb6060 5B2929 713232 */

	--burgericon:url( /assets/images/burger.svg  ); /* Path to burger vector */
    --closeicon:url(/assets/images/close.svg); /* Path to close vector */
	--gap: 1.5rem;
}

/* Alternate colors */
/* Replace "dark" with "light" and add your light mode colors here if you want your site to be in dark mode by default */
@media (prefers-color-scheme: dark) {
	:root {
		--color:#c2cbd6;
		--background:#22151f ;
		
		--link:#9f67d3;
		--linkhover:#cc8076;
		
		--formbg:#232c2f;
		--formcolor:#DCD7C9;
		
		--accentbg: #382d3a;
		--accentbg-2: #e0c6c6;
		--hr: #815b7e;
	}
}

/* ------ The rest of the code starts here ------- */

* { margin: 0; 
	padding: 0; 
	transition:0.5s ease;
	box-sizing: border-box;
	scrollbar-width: thin;
	scrollbar-color: var(--hr) var(--accentbg);
}

#skip a {
	position: absolute;
	display: inline-block;
	left: 0px;
	top: -1000px;
	overflow: hidden;
	transition: top 0.5s ease;
	background: var(--background);
	color: var(--link);
	z-index: 1000;
	padding: 5px;
}

#skip a:focus {
	top: 0;
	transition: top 0.5s ease;
}

#container {
	margin: 1.25rem auto;
	padding: 1.25rem;
}

body {
	color: var(--color);
	background: var(--background);
	font: 1rem sans-serif;
	letter-spacing: .35px;
	margin-bottom: 0.625rem;
}

/* Header */

header {
	font-size: 1.625em;
	text-align: center;
	font-style: italic;
}

/* Header links */

header ul {
	list-style: none;
	margin: 0;
}

header li {
	display: inline-block;
	margin: 0px 3px;
	font-family: Georgia, Times New Roman, serif;
}

#desktop-nav{
	display: none;
}

#mobile-nav{
	display: flex;
}

/* Burger Menu base code from Kalechips: https://kalechips.net/projects/snippets/burger */


#mobile-nav #burger {
    width:100%;
    background:var(--accentbg);
	position: fixed;
	display: inline-block;
	left: 0em;
	top: 0;
    z-index:1000;
	height: 2.5em;
	font-size: smaller;
}

#mobile-nav #burger summary {
    list-style-type: none;
    cursor: pointer;
    display:flex;
    align-items:left;
    color:var(--link);
    padding:5px;
}

#mobile-nav #burger summary::before, #burger[open]>summary::before {
	height:35px;
	width:35px;
    background:var(--link);
	margin: 0 0.35em;
}

#mobile-nav #burger summary::-webkit-details-marker {
    display: none;
}

#mobile-nav #burger summary::before {
    content: '';
	mask-image:url(/assets/images/burger.svg);
	-webkit-mask-image:url(/assets/images/burger.svg);
	mask-size:30px;
	-webkit-mask-size:40px;
}

#mobile-nav #burger summary h2{
	padding: 2.3px 0;
}

#mobile-nav #burger[open]>summary::before {
    content: '';
	mask-image:url(/assets/images/close.svg);
	-webkit-mask-image:url(/assets/images/close.svg);
	mask-size:40px;
	-webkit-mask-size:40px;
}

#mobile-nav #burger[open] {
	position:fixed;
}

#mobile-nav #burger #menu {
    height:calc(100vh - 50px);
    z-index:1000;
	display: flex;
    position:relative;
    overflow:auto;
    background:var(--accentbg);
	justify-items: center;
	flex-direction: column;
	font-size: 2em;
}

#mobile-nav #burger #menu ul {
    list-style:none;
    margin:0;
    text-align:center;
	color: var(--hr);
	padding: 20px;
	line-height: 1.5;
}

#mobile-nav #burger #menu li{
	position: relative;
	display: block;
	
}

#mobile-nav #burger #menu a{
	color: var(--link);
	font-family:Arial, Helvetica, sans-serif;
}

#mobile-nav #burger #menu a:hover{
	border-bottom: ease 0.2s solid var(--link);
}

img { 
	margin: 0.125rem; 
	max-width: 100%;
}

figure {
	margin-inline: var(--gap);
}

figure img{
	margin: 0 auto;
}

figcaption {
	text-align: center;
}

main {
	margin: 0 auto;
	padding: 0.5rem;
	width: 100%;
	max-width: 55rem;
}

aside{
	margin: 0 auto;
	padding: 0 1.5rem;
	width: 90%;
	font-size: smaller;
	border-radius: 6px;
}

aside h4{
	background-color: var(--accentbg);
	border-radius: 4px;
	padding: 5px 8px;
	margin: 0 0 8px 0;
}

aside section{
	padding: 1em 1em;
	margin: 1.5em auto;
	background-color: var(--background);
	border: 1px solid var(--hr);
	border-radius: 4px;
	box-shadow: 4px 4px var(--hr);
}

a {
	color:var(--link);
	padding: 1.5px;
}

a:hover {
	color: var(--background);
	background-color: var(--accentbg-2);
}

li a {
	text-decoration:none;
}

p {
	margin: 0.625rem 0;
	line-height: 1.5;
	font-size: 1.125rem /*18px*/;

}

main h1 {
	font: 2.1875rem /* 35px */ Georgia, Times New Roman, serif;
	margin: 0.3125rem 0;
}

main h2 {
	font: 1.9375rem /* 31px */ Georgia, Times New Roman, serif;
	margin: 0.625rem 0 0 0;
}

main h3, aside h3 {
	font: 1.75rem /* 28px*/ Georgia, Times New Roman, serif;
	margin: 1rem 0 0.5rem 0;
}

main h4, aside h3 {
	font: 1.5625rem /* 25px*/ Georgia, Times New Roman, serif;
	font-style: italic;
	margin: 1.25rem 0 0.5rem;
}

main h5 {
	font: 1.375rem /* 22px*/ Georgia, Times New Roman, serif;
	font-style: italic;
	margin: 1.5rem 0 0 0;
}

main input, textarea, select { 
	background: var(--formbg);  
	color: var(--formcolor);
	font: 12pt sans-serif; 
	border: 1px solid var(--hr); 
	padding: 0.3125rem; 
	margin: 0.3125rem;
	border-radius: 0.3125rem;
}

main textarea {
	width:90%;
}

input[type="submit"], input[type="reset"] {
	font-size:13pt;
	background:var(--accentbg);
}

input[type="submit"]:hover, input[type="reset"]:hover {
	background:var(--hr);
	cursor:pointer;
}

/* ======
	TABLES
====*/

	main table {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0.625rem auto;
	padding: 0.3125rem;
	display: block;
	width:100%;
	border-collapse: collapse;
	}

	th,td {
		font-weight: normal;
		padding: 0.75rem 1em;
		line-height: 1.5;
		min-height: 1.5em;
		text-align: left;
	}

	main th {
	background-color: var(--hr);
	font-weight: 600;
	border-bottom: 0.0625rem solid var(--hr);
	padding: 0.3125rem;
	}

	main tr{
		padding: 0.5em;
	}

	main tr:nth-child(2n) {
		background:var(--accentbg);
		line-height: 1.5;
	}

main ul, ol { 
	list-style-position: outside;
	margin: 0.5rem 0 0.5rem 1.25rem;
}

main li {
	margin: 0.3125rem 0;
	line-height:1.5;
}

main ul li ul, main ol li ol {
	margin-left: 0.9375rem;
}

main blockquote, aside blockquote {
	padding: 0.625rem;
	background-color: var(--accentbg);
	border-left: 4px solid var(--hr);
	border-radius: 4px;
	margin: 0.5rem 1rem;
	line-height: 1.5;
}

main blockquote cite {
	font-size: 0.917rem;
	position:relative;
	right:0;
}

main summary {
	cursor:pointer;
	margin: 0.3125rem 0;
}

/* main summary h3, h4{
	display: inline;
} */

main details {
	padding: 0.625rem;
	background:var(--accentbg);
	margin: 0.3125rem 0;
    border-radius: 0.3125rem;
}

main hr {
	border: 1.25px dashed var(--hr);
    margin: 1.25rem auto;
	display: block;
}

main pre {
	padding: 0.625rem;
	background:var(--accentbg);
	margin: 0.625rem auto;
	border-radius: 0.3125rem;
	overflow: auto;
}

button {
	background-color: transparent;
	color: var(--link);
	font: 12pt sans-serif; 
	border: none;
	border-radius: 0.5rem;
	text-align: center;
}

button a{
	font-size: 0.85rem;
}

section, article{
	margin: 1.0625rem 0;
}

article section, section article{
	margin: 0 1rem;
}

footer {
	text-align: center;
	border-top: 0.5px solid var(--hr);
	padding: 0.625rem;
	width: 90%;
	margin: 0 auto;
}



/* =========== 
	IDs		
 ============= */

#profile-image{
	border-radius: 50%;
}

.icon{
	width: 32px;
	margin: 0 0.0625rem;
}

.fancy-box{
	padding: 0.5em;
	color: var(--color);
    background-color: var(--accentbg);
    border: 2px solid var(--hr);
	border-radius: 8px;
	font-size: 0.95rem;
}

.banner{
	width: 200px;
}

.stamp{
	width: 100px;
}

/* =========== 
	CLASSES		
 ============= */


.smaller{
	font-size: 60%;
}

.center{
	text-align: center;
}

/* =========== 
	WIDGETS		
 ============= */

/* status.cafe */
#statuscafe {
	padding: 0 1em;
	color: var(--color);
	font: 0.75rem;
}
#statuscafe-username {
    margin-bottom: .5em;
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
}

/* webrings */

#webring{
	height: 350px;
	overflow: auto;
}

.webring-item{
	margin: 0.5em auto;
	padding: 0.25rem 0.5rem;
	width: 90%;
	border-radius: 4px;
	border: 1px dashed var(--hr);
}

.webring p{
	margin: 0;
}

.webring button:first-child{
	float: left;
}

.webring button:last-child{
	float: right;
}

/* Button */

.bttn {
	margin: 1rem auto;
	padding: 0.5rem 0.7rem;
	border-radius: 15rem;
	text-decoration: none;
	display: block;
	background-color: transparent;
	font-size: medium;
	border: 2px solid var(--hr);
}

.bttn a{
	text-decoration: none;
	color: var(--color);
}

.bttn:hover {
        background-color: var(--hr);
    }

.bttn a:hover{
	color: var(--background);
	background-color: transparent;
}

.scrollbox{
	max-height: 250px; 
	overflow: auto;
}

/*Floating Back-To-Top Button*/
    .float {
        position: fixed;
        bottom: 10px;
        float: right;
        right: 25%;
        left: 88%;
        max-width: 50px;
        width: 100%;
        font-size: 35px;
        padding: .5px;
        border-radius: 50%;
		text-align: center;
    }

/* ================ 
	MEDIA QUERIES		
 ================== */

@media (prefers-color-scheme: dark) {

	main img {
		opacity:0.6;
	}
	
	main img:hover {
		opacity:1;
	}

	main a img:hover {
		opacity:1;
	}
}

/* Start https://www.cursors-4u.com */
* {
	cursor: url(https://cur.cursors-4u.net/nature/nat-3/nat260.cur), auto !important;
}

/* End https://www.cursors-4u.com */

.flexcontainer {
    display: block;
    flex-wrap: wrap;
    margin: 0 auto;
	/* border: 1px solid white; */
}

@media screen and (max-width: 800px) {

/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid rgba(55, 53, 47, 0.09); 
		position: relative;
		padding-left: 50%; 
	}

	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 12.5px;
		left: 15px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	/* Label the data */
	td:nth-of-type(1):before { content: "Name"; }
	td:nth-of-type(2):before { content: "Console"; }
	td:nth-of-type(3):before { content: "Genres"; }
	td:nth-of-type(4):before { content: "Let's Play"; }
	td:nth-of-type(5):before { content: "Owned"; }
	td:nth-of-type(6):before { content: "Rating"; }
	td:nth-of-type(7):before { content: "Status"; }
	td:nth-of-type(8):before { content: "Type"; }
	td:nth-of-type(9):before { content: "When"; }
	td:nth-of-type(10):before { content: "Year Released"; }


}

@media screen and (min-width: 800px) {

	header li a{
	padding: 0.5em;
	}

	header li a:hover{
		color: var(--background);
		background-color: var(--accentbg-2);
	}

	#desktop-nav{
        display: contents;
    }

	#mobile-nav{
        display: none;
    }

	/* Burger Menu base code from Kalechips: https://kalechips.net/projects/snippets/burger */

	#toggle a {
		background-color: transparent;
	}
	#toggle a:hover {
		color: var(--background);
	}

	#burger summary {
		list-style-type: none;
		cursor: pointer;
		align-items:center;
		color:var(--link);
		padding: 0.5em;
	}

	#burger summary:hover {
		color: var(--background);
	}

	#burger #menu {
		z-index:1000;
		background:var(--accentbg);
	}

	#menu li{
		padding: 0;
		display: block;
		line-height: 1.5;
	}

	#menu li a{
		padding: 0.5em;
	}

	#burger #menu ul {
		list-style:none;
		margin:0;
		text-align:center;
	}

	/* Dropdown styling base source code: https://www.w3schools.com/Css/css_dropdowns.asp */

	#toggle {
		/* padding: 16px; */
		cursor: pointer;
	}

	#burger {
		position: relative;
	}

	#menu {
		display: none;
		position: absolute;
		background-color: #f9f9f9;
		font-size: 0.75em;
		min-height: 100%;
		min-width: 100%;
		box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	}

	#menu a {
		color: var(--color);
		padding: 12px 16px;
		text-decoration: none;
		display: block;
	}

	#menu a:hover {
		background-color: var(--hr); 
	}

	#burger:hover #menu {
		display: block;
	}

	#burger:hover #toggle {
		color: var(--background);
		background-color: var(--accentbg-2);
	}

    .flexcontainer {
        display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		width: 95%;
    }

	aside {
        flex: 1 1 calc(25% - 20px);
        margin: 0.5rem auto;
		padding: 0.3125em 0;
		
    }

	.floating-sidebar{
	position: sticky;
		top: 0;
	}

	main .flexcontainer{
		width: 100%;
	}

	.full { 
	flex: 1 1 100%;
	}

	.half {
		flex: 1 1 calc(50% - 40px);
		margin: 1rem;
		/* border: 1px solid white; */
	}

	.third { 
		flex: 1 1 33%; 
	}

	.twothird { 
		flex: 1 1 66%; 
	}

	.quarter { 
		flex: 1 1 calc(25% - 40px);
		margin: 0 1rem;
	}

	.threequarter { 
		flex: 1 1 calc(75% - 10px);
	}

	main table {
		margin: 0.625rem auto;
		padding: 0.3125rem;
		width:100%;
		border-collapse:collapse;
	}

	main th {
		background-color: transparent;
		border-bottom: 0.0625rem solid var(--hr);
		padding: 0.3125rem;
	}

	main tr:nth-child(2n) {
		background:var(--accentbg);
		line-height: 1.5;
	}
}
