@import url("https://fonts.googleapis.com/css2?family=Climate+Crisis:YEAR@1979&family=Fira+Code:wght@300..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

/* Variables */
:root {
	--color-primary: rgb(199, 0, 109);
	--color-secondary: rgb(255, 102, 0);
	--color-dark: rgb(26, 26, 26);
	--color-white: #fff;
	--color-light: #f5f5f5;
	--color-gray: rgb(128, 128, 128);
	--color-body: var(--color-dark);
	--color-strong: var(--color-dark);
	--color-title: var(--color-dark);
	--color-link: rgb(0, 76, 255);
	--color-link-light: rgb(100, 210, 255);
	--color-success: #48c78e;
	--color-shadow: rgba(0, 0, 0, 0.5);
	--color-shadow-light: rgba(0, 0, 0, 0.2);
	--color-border: rgba(128, 128, 128, 0.5);
	--color-dot-red-start: rgb(255, 0, 0);
	--color-dot-red-end: rgb(255, 81, 0);
	--color-dot-yellow-start: rgb(255, 145, 0);
	--color-dot-yellow-end: rgb(255, 230, 0);
	--color-dot-green-start: rgb(6, 184, 0);
	--color-dot-green-end: rgb(0, 255, 85);
}

/* Base / Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: "Work Sans", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--color-body);
	background: var(--color-white);
	margin: 0;
	padding: 0;
}

strong,
b {
	color: var(--color-strong);
	font-weight: 700;
}

a {
	color: var(--color-link);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

figure {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
}

/* Layout */
.section {
	padding: 3rem 1.5rem;
}

.container {
	margin: 0 auto;
	max-width: 960px;
}

@media screen and (min-width: 1152px) {
	.container {
		max-width: 1152px;
	}
}

@media screen and (min-width: 1344px) {
	.container {
		max-width: 1344px;
	}
}

.columns {
	display: flex;
	flex-wrap: wrap;
	margin: -0.75rem;
}

@media screen and (max-width: 768px) {
	.columns {
		flex-direction: column;
	}
}

.column {
	flex: 1 1 0%;
	padding: 0.75rem;
}

/* Typography */
.title {
	font-family: "Work Sans", sans-serif;
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-title);
	line-height: 1.125;
	margin-bottom: 0.5em;
}

h3.title {
	font-size: 2rem;
}

.content {
	line-height: 1.6;
}

.content p {
	margin-bottom: 1em;
}

.content ul {
	margin-bottom: 1em;
	padding-left: 2em;
	list-style: disc;
}

.content li + li {
	margin-top: 0.25em;
}

/* Components */

.footer {
	background: linear-gradient(to bottom, var(--color-light), transparent);
	margin-top: 1.5rem;
}

.footer .has-text-centered {
	margin-top: 1.5rem;
}

.image {
	display: block;
}

.image.is-128x128 {
	width: 128px;
	height: 128px;
}

.image.is-128x128 img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Utility: Color */
.has-text-success {
	color: var(--color-success) !important;
}

.has-text-link {
	color: var(--color-link) !important;
}

.has-text-light {
	color: var(--color-light) !important;
}

/* Utility: Text */
.has-text-weight-semibold {
	font-weight: 600;
}

.has-text-centered {
	text-align: center;
}

/* Utility: Display */
.is-block {
	display: block;
}

.is-flex {
	display: flex;
}

/* Utility: Spacing */
.mt-3 {
	margin-top: 0.75rem;
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.mb-4 {
	margin-bottom: 1rem;
}

/* Banner */
.banner {
	position: relative;
}

.banner .title {
	font-family: "Climate Crisis", sans-serif;
	font-weight: normal;
	font-size: 50px;
}

/* Colorful gradient text */
.colorful {
	background-image: linear-gradient(to right, var(--color-primary), var(--color-secondary));
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent !important;
}

/* Terminal */
.terminal {
	font-family: "Fira Code", monospace;
	font-variant-ligatures: normal;
	border: 1px solid var(--color-dark);
	border-radius: 15px;
	padding: 1.25rem;
	box-shadow: 0 20px 10px -15px var(--color-shadow);
	margin-bottom: 15px;
	background-color: var(--color-dark);
	color: var(--color-white);
}

.terminal [href] {
	color: var(--color-link-light) !important;
}

.terminal .header {
	display: flex;
	margin-bottom: 10px;
}

.terminal .line {
	margin-bottom: 5px;
}

.terminal .header span {
	background: rgba(255, 255, 255, 0.2); /* translucent white — not a palette color */
	margin-inline-end: 10px;
	padding: 2px;
	display: block;
	height: 13px;
	width: 13px;
	border-radius: 100%;
}

.terminal .header span:nth-child(1) {
	background: linear-gradient(var(--color-dot-red-start), var(--color-dot-red-end));
}

.terminal .header span:nth-child(2) {
	background: linear-gradient(var(--color-dot-yellow-start), var(--color-dot-yellow-end));
}

.terminal .header span:nth-child(3) {
	background: linear-gradient(var(--color-dot-green-start), var(--color-dot-green-end));
}

.terminal ul {
	list-style: circle;
	padding-left: 30px;
	margin-top: none !important;
	margin-bottom: 5px;
}

/* Card */
.card {
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

/* Project logo */
.project-logo {
	filter: drop-shadow(0 5px 7px var(--color-shadow-light));
}

/********************************************************************************/
.with-pattern {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='rgba(255, 255, 255, .2)' fill-opacity='0.4'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#scene3d {
	border: 1px dashed var(--color-gray);
	border-radius: 10px;
}

/* Screen reader only */
.is-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
