@font-face {
	font-family: OCR-B;
	src: url(resources/OCR-B.ttf);
}

:root {
	overscroll-behavior: none;

	--text-color: white;
	--box-bg-color: rgba(0, 0, 0, 0.25);
}

body {
	min-height: 100dvh;
	background:
		linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
		url("resources/soggycat.webp");
	background-repeat: no-repeat;
	background-size: cover;
	color: var(--text-color);
	text-align: center;
	font-family: "OCR-B", "Courier New", monospace;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr;
	gap: 5rem;
	justify-items: center;
}

a {
	text-decoration: none;
}

a:visited {
	color: rgb(145, 78, 203);
}
a:link {
	color: rgb(84, 84, 233);
}
a:hover {
	text-decoration: underline;
}

* {
	padding: 0px;
	margin: 0px;
}

*::selection {
	background-color: var(--text-color);
	color: black;
}

*:hover {
	cursor: default;
}

img::selection {
	background-color: transparent;
	color: transparent;
	user-select: none;
}

.header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	grid-row: 1;
}

.header h1 {
	font-size: 2.25rem;
}

.ideas {
	display: flex;
	flex-wrap: wrap;
	grid-row: 2;
	justify-content: space-evenly;
	gap: 5rem;
}

.idea {
	width: min(20rem, 95vw);
	flex-grow: 1;
	height: max-content;
	background-color: var(--box-bg-color);
	backdrop-filter: blur(7.5px);
	border-radius: 30px;
	outline: 3px solid rgba(255, 255, 255, 0.5);
	padding: 2rem;
	margin: 2rem;
	display: flex;
	flex-direction: column;
	row-gap: 2rem;
	align-items: center;
}

.idea img {
	width: 100%;
	border-radius: 15px;
	outline: 3px solid white;
}

.idea img:hover {
	cursor: pointer;
}

.idea p {
	font-size: 0.85rem;
	text-wrap: balance;
}

.idea button {
	color: transparent;
	border: none;
	background-color: transparent;
}

.info {
	grid-row: 3;
	padding-bottom: 2rem;
}

::backdrop {
	backdrop-filter: blur(5px);
	background-color: rgba(0, 0, 0, 0, 1);
}

.popup {
	margin: auto;
	max-height: 95vh;
	background-color: rgba(23, 23, 23, 0.75);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	border: none;
	outline: 3px solid white;
}

.popup:open {
	display: inline-flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	row-gap: 1rem;
}

.popup img {
	height: auto;
	outline: none;
	width: 100cqw;
}

.popup img:hover {
	cursor: default;
}

.popup button {
	height: 3rem;
	width: 3rem;
	color: white;
	background-color: black;
	border: 3px solid white;
	border-radius: 50%;
}

.popup button :hover {
	cursor: pointer;
}

.popup button svg {
	color: white;
	margin: auto;
}

.funny {
	color: transparent !important;
	background-color: transparent !important;
	border: none !important;
	position: absolute !important;
	height: 7rem !important;
	width: 7rem !important;
	outline: none !important;
	border-radius: 0px !important;
	top: 0;
	left: 0;
}
