@import url("https://fonts.googleapis.com/css2?family=Jacquard+12+Charted&family=Pixelify+Sans:wght@500&family=VT323&display=swap");

:root {
	--window-background-color: whitesmoke;
	--window-border-color: rgb(0, 64, 255);
	--window-box-shadow-color: rgb(0, 28, 68);
	--cyber-green: rgb(30, 247, 30);
	--actual-darkgrey: rgb(37, 37, 37);
	--crt-highlight-background: rgba(10, 205, 10, 0.90);
	/* --crt-highlight-background: rgb(0, 224, 224); */
	--crt-button-color: rgb(0, 54, 0);
}

html {
	font-family: "Pixelify Sans", "Consolas";
	/* font-size: 1.15rem; */
	font-size: calc(0.85rem + 0.25vw);
	/* line-height: 1.6; */
	/* font-size: 0.95vw; */
	/* font-size: 2vh; */
	image-rendering: pixelated;

	cursor: url("assets/raccoon-cursor.png"), auto;

	scrollbar-width: thin;
	scrollbar-color: var(--actual-darkgrey) var(--cyber-green); 
}

.title {
	font-weight: bold;
}

.crt-window {
	/* background-color: mintcream; */
	/* background-color: var(--crt-highlight-background); */
	background-color: var(--cyber-green);

	padding: 8px;
	/* padding: 0.6vw; */

	position: relative;

	border-style: solid;
	border-width: 16px;
	/* border-width: 1.2vw; */
	border-image: url("assets/crt-border-image.png") 12;

	box-shadow: 4px 4px var(--actual-darkgrey);
	/* box-shadow: 0.3vw 0.3vw var(--actual-darkgrey); */
}

.crt-window::after {
	content: "";
	background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
	background-size: 100% 2px, 3px 100%;

	width: 100%;
	height: 100%;
	position: absolute;

	top: 0;
	left: 0;
	pointer-events: none;
}

.crt-highlight, .crt-button {
	background: var(--crt-highlight-background);
	/* background: var(--cyber-green); */
	/* background: rgb(0, 224, 224); */
}

.crt-content {
	/* color: lightcyan; */
	color: ivory;
	/* color: black; */
	padding: 8px;
	/* padding: 0.6vw; */
	margin: 0;
}

.crt-button {
	text-decoration: none;
	/* color: var(--crt-button-color); */
	color: ivory;
	/* color: black; */
	font-weight: bold;

	padding-left: 12px;
	/* padding-left: 1vw; */
	padding-right: 12px;
	/* padding-right: 1vw; */
}

.crt-button:hover {
	animation-name: crt-button-hover;
	animation-duration: 2s;
	background: none;
	cursor: url("assets/raccoon-cursor-pointer.png"), auto;
}

@keyframes crt-button-hover {
	0% {background: var(--crt-highlight-background);}
	3% {background: none;}
	6% {background: var(--crt-highlight-background);}
	9% {background: none;}
	12% {background: var(--crt-highlight-background);}
	30% {background: none;}
	100% {background: none;}
}

#corner-racc {
	z-index: 3;
	position: fixed;
	top: 1%;
	right: 1%;
	width: 8%;
	content: url("assets/raccoon-pixel-gif.gif");
}

#corner-trashcan-racc {
	z-index: 3;
	position: fixed;
	bottom: 0%;
	left: 0%;
	width: 8%;
	content: url("assets/raccoon-in-trashcan.png");
}

/* section ~ section { */
	/* margin-top: 36px; */
	/* margin-top: 5%; */
/* } */

.window-sized {
	width: 100%;
	height: 100%;
	object-fit: cover;
	padding: 0;
}


.window {
	/* background-color: var(--window-background-color); */
	/* border-style: solid; */
	/* border-width: 4px; */
	/* border-width: 0.35vw; */
	/* border-image: url("assets/window-border.png") 16; */
	/* border-image-outset: 1; */

	/* box-shadow: 10px 10px var(--window-box-shadow-color); */
	/* box-shadow: 0.75vw 0.75vw var(--window-box-shadow-color); */

	background-color: black;
	/* background-color: lime; */
	/* background-color: dodgerblue; */
	background-color: red;
	/* color: white; */
	color: black;
	/* color: dodgerblue; */
	border-style: ridge;
	/* border-color: orangered; */
	border-color: black;
	/* border-color: lawngreen; */
	/* border-color: cyan; */
	border-width: 3px;
}

.insta-icon::before, .github-icon::before {
	content: "";
	background-size: 16px 16px;
	width: 16px;
	height: 16px;
	display: inline-block;
	margin-right: 5px;
}

.insta-icon::before {
	background-image: url("https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.pngkit.com%2Fpng%2Ffull%2F1-13187_instagram-logo-new-vector-eps-free-download-logo.png&f=1&nofb=1&ipt=d97a9bb43be7c3c7d809d2faffa886713bf2f888b93f98183f26ea5a466344b6&ipo=images");
}

.github-icon::before {
	background-image: url("https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fcdn.iconscout.com%2Ficon%2Ffree%2Fpng-512%2Fgithub-153-675523.png&f=1&nofb=1&ipt=0b1931e938ca28e98ef339b916fe5fc925a2931269e26668946651c734d3feef&ipo=images");
}

.warning-icon::before {
	content:url("assets/warning-sign.png");
	margin-top: 4px;
	/* margin-right: 5px; */
}

.window-title {
	font-weight: bold;

	background: linear-gradient(to right, red, orangered, red);
	/* background: linear-gradient(to right, lime, lawngreen, lime); */
	/* background: linear-gradient(to right, deepskyblue, cyan, deepskyblue); */
	background-size: 200%;
	background-position: left;

	/* color: black; */
	color: white;

	display: grid;
	align-items: center;
	grid-auto-flow: column;
	grid-template-columns: auto 1fr auto;
	/* grid-column: 1; */

	animation-name: window-title-background-animation;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}

@keyframes window-title-background-animation {
	/* 0% {background: linear-gradient(to right, red, orangered);} */
	/* 100% {background: linear-gradient(to right, orangered, red);} */
	0% {background-position: left;}
	100% {background-position: right;}
	/* 100% {background: linear-gradient(to right, red, orangered);} */
}

.window-title::after {
	/* content: url("assets/window_buttons.png"); */
	grid-column: 3;
	margin-top: 2px;
	margin-left: 5px;
}

.window-content {
	/* background-color: var(--window-background-color); */
	/* border-style: solid; */
	/* border-width: 0.35vw; */
	/* border-width: 4px; */
	/* border-image: url("assets/window-border.png") 16; */
	/* border-image-outset: 1; */
	
	padding: 4px;
	/* padding: 1%; */
	margin: 6px;
	/* margin: 1%; */
	/* display: grid; */
}

.window-content ~ .window-content, .crt-content ~ .crt-content {
	margin-top: calc(10px + 0.05vw);
	/* margin-top: 4%; */
	/* margin-top: calc(6px + 0.05vw); */
}

section ~ section {
	margin-top: calc(16px + 0.05vw);
}

p, a {
	word-break: break-word;
	margin: 0;
	padding: 0;
	/* word-break: keep-all; */
}

a {
	text-decoration: none;
	color: black;
	cursor: url("assets/raccoon-cursor-pointer.png"), auto;
}

ul {
	margin: 0;
	/* padding: 0; */
}

.crt-content, .window-content {
	display: grid;
	/* grid-auto-flow: row; */
	gap: calc(12px + 0.05vh);
}

.model {
	padding: 0;
	margin: 0;
}

.model:hover {
	rotate: 0 0 1 10deg;
}

#back-racc {
	position: fixed;
	left: 3%;
	bottom: 3%;
}

#back-racc-text {
	color: white;
	background: black;
	padding: 5px;
}
