/*
Theme Name: RickRosinski Borg
Theme URI: http://localhost:8082/
Description: A readable green-on-black child theme for RickRosinski.net.
Author: Rick Rosinski
Template: twentytwentyfive
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: rickrosinski-borg
*/

:root {
	color-scheme: dark;
}

html {
	scroll-behavior: smooth;
}

body {
	background:
		radial-gradient(circle at 88% 8%, rgba(54, 255, 112, 0.09), transparent 32rem),
		linear-gradient(180deg, #020503 0%, #040a06 48%, #020503 100%);
	background-attachment: fixed;
}

::selection {
	background: #66ff88;
	color: #020503;
}

a {
	transition: color 160ms ease, text-shadow 160ms ease;
}

a:hover {
	color: #baffc9;
	text-shadow: 0 0 0.5rem rgba(102, 255, 136, 0.38);
}

:where(a, button, input, textarea, select):focus-visible {
	outline: 2px solid #8affaa;
	outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-shadow: 0 0 0.7rem rgba(46, 230, 107, 0.13);
}

.wp-block-site-title {
	letter-spacing: 0.065em;
	text-transform: uppercase;
}

.wp-block-site-title a {
	text-decoration: none;
}

header.wp-block-template-part {
	background: rgba(2, 8, 4, 0.82);
	border-bottom: 1px solid #1f5f34;
	box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(8px);
}

footer.wp-block-template-part {
	border-top: 1px solid #1f5f34;
}

.wp-block-navigation a {
	text-decoration: none;
}

.wp-block-navigation a:hover {
	text-decoration: underline;
	text-decoration-color: #39d96d;
	text-underline-offset: 0.3em;
}

.wp-block-navigation__responsive-container.is-menu-open {
	background: #030806 !important;
	color: #d9ffe3 !important;
}

.wp-block-query .wp-block-post {
	border-top: 1px solid #173824;
	padding-top: clamp(1.5rem, 4vw, 2.75rem);
}

.wp-block-post-title a {
	text-decoration-color: transparent;
	text-underline-offset: 0.18em;
}

.wp-block-post-title a:hover {
	text-decoration-color: currentColor;
}

.wp-block-post-featured-image {
	max-width: 36rem;
}

.wp-block-post-featured-image img {
	border: 1px solid #2b7444;
	box-shadow: 0 0 2rem rgba(46, 230, 107, 0.13);
}

.wp-block-post-date,
.wp-block-post-author-name,
.wp-block-post-terms {
	color: #8dc99b;
}

.wp-block-categories-list {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	list-style: none;
	padding-left: 0;
}

.wp-block-categories-list .cat-item {
	background: rgba(7, 21, 13, 0.7);
	border: 1px solid #173824;
	padding: 0.75rem 0.9rem;
}

.wp-block-button__link,
button,
input[type="button"],
input[type="submit"] {
	box-shadow: 0 0 0 1px rgba(102, 255, 136, 0.14), 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
	transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.wp-block-button__link:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
	box-shadow: 0 0 1rem rgba(102, 255, 136, 0.3);
	transform: translateY(-1px);
}

input:not([type="button"]):not([type="submit"]),
textarea,
select {
	background: #07150d;
	border: 1px solid #2b7444;
	border-radius: 2px;
	color: #d9ffe3;
	font: inherit;
	padding: 0.7em 0.85em;
}

.rr-contact-form {
	display: grid;
	gap: 1.25rem;
	margin-top: 2rem;
	max-width: 46rem;
}

.rr-contact-field,
.rr-contact-actions {
	margin: 0;
}

.rr-contact-field label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.rr-contact-field input,
.rr-contact-field textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
}

.rr-contact-field textarea {
	min-height: 12rem;
	resize: vertical;
}

.rr-contact-actions button {
	background: #66ff88;
	border: 0;
	border-radius: 2px;
	color: #030806;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0.8rem 1.2rem;
}

.rr-contact-privacy {
	color: #8dc99b;
	font-size: 0.9rem;
	margin-top: -0.35rem;
	max-width: 42rem;
}

.rr-contact-honeypot {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.rr-contact-notice {
	border-left: 3px solid #66ff88;
	margin: 1.5rem 0;
	padding: 0.85rem 1rem;
}

.rr-contact-notice--success {
	background: rgba(46, 230, 107, 0.12);
}

.rr-contact-notice--error {
	background: rgba(255, 117, 117, 0.1);
	border-left-color: #ff8f8f;
}

blockquote,
.wp-block-quote {
	background: rgba(7, 21, 13, 0.72);
	border-left: 3px solid #39d96d;
	padding: 1rem 1.25rem;
}

code,
kbd,
pre {
	background: #07150d;
	border: 1px solid #173824;
	color: #8affaa;
}

code,
kbd {
	padding: 0.12em 0.35em;
}

pre {
	padding: 1rem;
}

.wp-block-separator {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
