/* pico defaults overwrite */
:root {
	--pico-font-family: monospace;
	--pico-background-color: rgb(46, 46, 46);
	--pico-color: rgb(200, 200, 200);
	--pico-primary: rgb(69, 157, 224);
	--pico-primary-hover: rgb(61, 133, 198);
	--pico-card-background-color: rgb(22, 83, 126);
	--pico-card-border-color: transparent;
	--pico-border-color: rgb(61, 133, 198);
	--pico-muted-color: rgb(61, 133, 198);
}

body {
	background-color: rgb(19, 23, 31);
}

/* Slider stuff */


.slides {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

.slides::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

.slides::-webkit-scrollbar-thumb {
	background: black;
	border-radius: 10px;
}

.slides::-webkit-scrollbar-track {
	background: transparent;
}

.slides>div {
	scroll-snap-align: start;
	flex-shrink: 0;
	width: 300px;
	height: 300px;
	margin-right: 50px;
	background: rgb(200, 200, 200);
	transform-origin: center center;
	transform: scale(1);
	transition: transform 0.5s;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 100px;
}

.slides>div:target {
	transform: scale(0.8);
}

.slides>div img {
	width: 90%;
	max-height: 200px;
	object-fit: cover;
	margin-bottom: 10px;
}

.slides>div p {
	margin: 0;
	color: rgb(46, 46, 46);
	text-align: center;
	font-size: 18px;
}

.products {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.products>div {
	width: 100%;
	background: rgb(200, 200, 200);
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 30px;
	box-sizing: border-box;
	padding: 20px;
	transition: background 0.2s;
}

.products>div:hover {
	background: rgb(230, 230, 230);
}

.products>div p {
	display: flex;
	flex-direction: row;
	align-items: center;
	font-size: 24px;
	gap: 30px;
	text-decoration: none;
	color: rgb(18, 18, 18);
	width: 100%;
}

.products>div img {
	width: 200px;
	height: 160px;
	object-fit: cover;
	flex-shrink: 0;
}

/** pico stuff **/
/* headers */
header {
	background-color: rgb(18, 18, 18);
	padding: 1rem 2rem;
}

header .container {
	display: flex;
	align-items: center;
	max-width: 100%;
}

header h1 {
	margin: 0;
	font-size: 2rem;
	color: rgb(200, 200, 200);
}

header nav {
	margin-left: auto;
}

header nav ul {
	margin: 0;
	padding: 0;
	display: flex;
	list-style: none;
}

header nav a {
	display: block;
	padding: 0.5rem 1rem;
	color: rgb(200, 200, 200);
	text-decoration: none;
	font-size: 1.1rem;
}

header nav a:hover {
	background-color: rgb(22, 83, 126);
}

/* banner */
.banner {
	background-color: rgb(22, 83, 126);
	display: flex;
	align-items: center;
	padding: 3rem 2rem;
}

.banner h2 {
	font-size: 3.5rem;
	color: rgb(200, 200, 200);
	margin: 0;
}

/* section */
.section-label {
	background-color: rgb(61, 133, 198);
	padding: 1.5rem 2rem;
}

.section-label h3 {
	font-size: 2.5rem;
	color: rgb(18, 18, 18);
	margin: 0;
}

/* info */
.info-card {
	background-color: rgb(61, 133, 198);
	padding: 2.5rem;
}

.info-card h3 {
	font-size: 1.75rem;
	color: rgb(18, 18, 18);
	margin-bottom: 1rem;
}

.info-card p {
	font-size: 1.1rem;
	color: rgb(200, 200, 200);
	line-height: 1.8;
	margin: 0;
}

/* mascot */
.mascot {
	position: fixed;
	bottom: 20px;
	right: 20px;
	opacity: 0;
	animation: appear 0.5s ease forwards;
	animation-delay: 2s;
	cursor: pointer;
	z-index: 9999;
}

@keyframes appear {
	to {
		opacity: 1;
	}
}

.tooltip {
	display: none;
	position: absolute;
	bottom: 100%;
	right: 0;
	background-color: rgb(22, 83, 126);
	color: rgb(200, 200, 200);
	padding: 0.5rem 1rem;
	font-family: monospace;
	white-space: nowrap;
	z-index: 9999;
}

.mascot:hover .tooltip {
	display: block;
}

.mascot img {
	width: 120px;
	height: 160px;
	image-rendering: pixelated;
	background-color: rgb(69, 157, 224);
}

.mobile {
	display: none;
}

/*  mobile */

@media only screen and (hover: none) and (pointer: coarse) {
	.mobile {
		display: block;
	}

	/* header */
	header {
		padding: 0.75rem 1rem;
	}

	header .container {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	header h1 {
		font-size: 1.2rem;
	}

	header nav {
		margin-left: 0;
		width: 100%;
	}

	header nav ul {
		flex-wrap: wrap;
	}

	header nav a {
		font-size: 0.9rem;
		padding: 0.4rem 0.6rem;
	}

	/* banner */
	.banner {
		padding: 1.5rem 1rem;
		margin: 0.5rem !important;
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.banner h2 {
		font-size: 1.8rem;
	}

	/* section label */
	.section-label {
		padding: 1rem;
		margin: 0 0.5rem !important;
	}

	.section-label h3 {
		font-size: 1.5rem;
	}

	/* info cards */
	.info-card {
		padding: 1.5rem 1rem;
	}

	.info-card h3 {
		font-size: 1.3rem;
	}

	.info-card p {
		font-size: 1rem;
	}

	/* slides */
	.slides {
		flex-direction: column;
		overflow-x: hidden;
		overflow-y: auto;
		scroll-snap-type: y mandatory;
		max-height: 600px;
		margin: 0.5rem !important;
	}

	.slides>div {
		width: 100%;
		height: 260px;
		margin-right: 0;
		margin-bottom: 10px;
	}

	.slides>div p {
		font-size: 16px;
	}

	/* products */
	.products>div {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 16px;
	}

	.products>div img {
		width: 100%;
		height: 180px;
	}

	.products>div p {
		font-size: 18px;
	}

	/* mascot */
	.mascot img {
		width: 90px;
		height: 120px;
	}

	.tooltip {
		display: block;
	}
}
