/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

:root {
	/* Background Colors: */
	--background-color: #f1efe9;
	--box-color: #ffffff;

	/* Text Colors: */
	--text-color: #4f5854;
	--text-lemon: #f9ffd7;

	/* Text: */
	--font: : "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
	--heading-font: Georgia, "Times New Roman", Times, serif;
	--font-size: 14px;

	/* Other Settings: */
	--border: 1px solid #607456;
	--round-borders: 5px;
}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
	/* border-box: width and height properties include the content, padding, and border, but do not include the margin. 
	Note that padding and border will be inside of the box. */
	box-sizing: border-box;
}

body {
	display: flex;

	min-height: 100vh;
	flex-direction: column;
	align-items: center;
	font-size: var(--font-size);
	margin: 0;
	color: var(--text-color);
	font-family:
		"Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;

	background-image: url("./imgs/view-of-cotopaxi.jpg");
	background-origin: border-box;
	background-size: contain;
}

ul {
	line-height: 1.8;
}

::selection {
	/* (Text highlighted by the user) */
	background: rgb(201, 229, 223);
}

main {
	width: 500px;
	max-height: 732px;
	background: rgba(255, 255, 255, 0.4);

	border-radius: var(--round-borders);
	border: 1px solid rgba(255, 255, 255, 0.5);

	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

	-webkit-backdrop-filter: blur(9.8px);
	backdrop-filter: blur(9.8px);

	margin: 2rem 0.5rem;
	flex-grow: 1;
	overflow-y: auto;
	scrollbar-color: #6f846f rgba(255, 255, 255, 0.4);
	position: relative;
}

.title-bar {
	width: 100%;
	background-color: #6f846f;
	padding: 1px 0;
	margin-top: 0;
	margin-bottom: 15px;
	height: 2rem;
	border-radius: 5px 5px 0 0;
}

.title-bar p {
	color: white;
	text-align: center;
	font-weight: bold;
}

.main-box {
	padding: 0 1rem 1rem 1rem;
}

.box {
	line-height: 0.5;
	margin: 3rem 0;
}

.box ul {
	line-height: 1.8;
}

.footie {
	bottom: 1px;
	position: absolute;
	margin: 2rem 0 0 7rem;
}

.sticker {
	width: 160px;
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

header {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 0;
	color: var(--text-lemon);
}

header .header-title {
	text-align: center;
	font-family: "Rubik Bubbles", system-ui;
	font-size: xxx-large;
	font-weight: 400;
	font-style: normal;
	margin: 1.5rem 0 0 0;
	padding: 0;
}

header ul {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-self: center;
	list-style: none;
	color: var(--text-lemon);
	margin-left: -2em;
	gap: 3rem;
}

header a {
	color: var(--text-lemon);
	text-decoration: none;
}

header a:hover {
	background-color: var(--text-lemon);
	padding: 1px;
	color: rgb(52, 117, 80);
}

/* -------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------- */

footer {
	width: 100%;
	font-size: 1em;
	padding: 15px;
	text-align: center;
	color: var(--text-lemon);
}

/* -------------------------------------------------------- */
/* CONTENT IMAGES */
/* -------------------------------------------------------- */

hr {
	border: none;
	border-top: 1px solid;
	color: #7e7a7a;
	height: 5px;
}

.image {
	height: auto;
	width: 150px;
}

.images {
	display: flex;
	width: calc(100% + 5px + 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(--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 "leftSidebar" auto "main" auto "footer" auto / 1fr;
		/* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
	}

	.right-sidebar {
		display: none;
	}

	aside {
		border-bottom: 1px solid;
		padding: 9px;
		font-size: 0.9em;
	}

	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;
	}
}

/* music player */
.player {
	width: fit-content;
	border: #cecece solid 2px;
	border-radius: 100px;
	background: linear-gradient(0deg, rgba(205, 205, 205, 1) 0%, rgba(230, 230, 230, 1) 30%, rgba(255, 255, 255, 1) 100%);
	padding: 5px;
	-webkit-font-smoothing: none;
}

.player button {
	border: none;
	min-width: 20px;
	background: none;
	text-align: center;
	opacity: 0.7;
	color: #aaa;
}

.player button:hover {
	opacity: 1;
	cursor: pointer;
}

.window-body {
	display: flex;
	padding: 5px;
}

.wheel {
	width: 90px;
	height: 90px;
	align-content: center;
	background:
		linear-gradient(white, white) padding-box,
		linear-gradient(to top, white, #a2a2a2) border-box;
	border-radius: 50em;
	border: 2px solid transparent;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(128, 128, 128, 0.27) inset;
	-moz-box-shadow: 1px 1px 10px 0px rgba(128, 128, 128, 0.27) inset;
	box-shadow: 1px 1px 10px 0px rgba(128, 128, 128, 0.27) inset;
}

.innerwheel {
	border-radius: 60em;
	border: 2px solid #e2e2e2;
	padding: 5px;
	margin: 0;
	-moz-box-shadow: 1px 1px 10px 0px rgba(128, 128, 128, 0.17) inset;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(128, 128, 128, 0.17) inset;
	box-shadow: 1px 1px 10px 0px rgba(128, 128, 128, 0.17) inset;
}

.wheelcontrols {
	text-align: center;
}

button,
input[type="reset"],
input[type="submit"] {
	border-radius: 0;
	box-sizing: border-box;
	color: transparent;
	padding: 0;
	text-shadow: 0 0 #222;
}

#musicplayer {
	background:
		linear-gradient(0deg, #f1e3f0, white) padding-box,
		linear-gradient(to top, white, #a2a2a2) border-box;
	border-radius: 60em;
	border: 2px solid transparent;
	margin-left: 8px;
	padding: 0 10px;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(128, 128, 128, 0.27) inset;
	-moz-box-shadow: 1px 1px 10px 0px rgba(128, 128, 128, 0.27) inset;
	box-shadow: 1px 1px 10px 0px rgba(128, 128, 128, 0.27) inset;
	color: #a3a3a3;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#musicplayer .songtitle {
	padding-top: 18px;
	margin: 0 18px 5px 18px;
	font-size: 16px;
	line-height: 1;
}

#musicplayer .seeking {
	justify-content: space-evenly;
	display: flex;
	font-size: 12px;
}

.seek_slider {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-transition: 0.2s;
	transition: opacity 0.2s;
	height: 6px;
	background: #e4d5dc;
	border-radius: 8px;
	margin: auto 0;
}

.seek_slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	width: 10px;
	height: 10px;
	background: white;
	border-radius: 50%;
	border: 1px solid #cecece;
	position: relative;
	bottom: 3px;
}

input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
}

input[type="range"]:focus {
	outline: none;
}

/* settings for chrome browsers */
input[type="range"]::-webkit-slider-runnable-track {
	width: 100%;
	height: 2px; /* thickness of seeking track */
	cursor: pointer;
}

/* settings for firefox browsers */
input[type="range"]::-moz-range-track {
	width: 100%;
	height: 2px; /* thickness of seeking track */
	cursor: pointer;
}

.current-time {
	padding-right: 5px;
}

.total-duration {
	padding-left: 5px;
}

.controls {
	display: flex;
	justify-self: center;
	justify-content: space-evenly;
	width: 70%;
}

.controls button {
	font-size: medium;
	color: #ccb3be;
}

/* contents  */
.blinkies {
	width: 180px;
}

.blinkie-section {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	justify-content: center;
}

.button-section {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
