/* CSS Reset */

/* Box sizing rules */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Prevent font size inflation */
html {
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
	margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
	list-style: none;
}

/* Set core body defaults */
body {
	min-height: 100vh;
	line-height: 1.5;
	margin: 0;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
	line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
	text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
	text-decoration-skip-ink: auto;
	color: currentColor;
}

/* Make images easier to work with */
img,
picture {
	max-width: 100%;
	display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
	min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
	scroll-margin-block: 5ex;
}

/* Variables */

:root {
	--font-size: 62.5%;
	--font-size-default: 1.6rem;

	/* temp colours */
	--terminal-color-border: #ff60b4;
	--terminal-color-text1: #ffc0cb;
	--terminal-color-text: #fff;

	/* Font weight */
	--font-weight-extra-light: 200;
	--font-weight-light: 300;
	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--font-weight-bold: 700;

}


body {
	/* 	background-color: #444; */
	/* 	background: linear-gradient(#eee, #333 80%); */
	background: #fff5d7;
	background-color: rgba(255, 245, 215, 0.65);
	background-color: rgb(244, 239, 231);
	font-size: 62.5%;
	/*height: 100vh;*/
	display: grid;
	font-family: "Fira Sans", sans-serif;
	font-weight: var(--font-weight-regular);
	font-optical-sizing: auto;
	font-style: normal;
	font-variation-settings:
		"wdth" 100;
}

.roboto-uniquifier {
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: var(--font-weight-regular);
	font-style: normal;
	font-variation-settings:
		"wdth" 100;
}

.cabin-uniquifier {
	font-family: "Cabin", sans-serif;
	font-optical-sizing: auto;
	font-weight: var(--font-weight-regular);
	font-style: normal;
	font-variation-settings:
		"wdth" 100;
}

.wrapper {
	max-width: 960px;
	width: 90%;
	margin: 0 auto;
	/* 	place-self: center; */
}

.heading {
	/*place-self: center;*/
	padding-bottom: 40px;
	padding-top: 40px;
	margin: 0;

	h2 {
		font-size: 20px;
		margin-bottom: 0;
	}
}

h1 {
	background: linear-gradient(240deg, #00ff95, #fff 100%);
	background-clip: text;

	-webkit-text-fill-color: transparent;

	display: inline-block;

	font-size: 60px;
	-webkit-text-stroke: 2px #444;
	/*rotate: -10deg;*/
	letter-spacing: 1px;

	padding: 0;
	margin: 0;
}

h2 {
	font-size: 42px;
	font-family: "Ruda", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-weight: var(--font-weight-regula);
	line-height: 46px;
	font-variation-settings:
		"wdth" 100;

	margin-top: 0;
	margin-bottom: 20px;
}

p,
time {
	font-size: 16px;
}

time {
	border-bottom: 1px solid #ccc;
	padding-bottom: 20px;
	display: block;
}

p {
	line-height: 1.5rem;
	margin-bottom: 40px;



	&:first-of-type {
		margin-top: 40px;
	}

	&:last-child {
		margin-bottom: 0;
	}
}

article {
	background-color: #fff;
	border: 1px solid #aaa;
	border-radius: 5px;
	padding: 30px;
	margin-bottom: 100px;
	box-shadow: #555 5px 5px;
}

footer {

	margin-bottom: 50px;


	p {
		color: #000;
	}
}


@media (max-width: 47.9em) {

	.heading,
	main,
	footer {
		width: 100%;
	}
}


@media (min-width: 48rem) {

	.wrapper {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
	}

	.heading {
		/* 	place-self: center; */
		grid-column: 2 / 12;
	}

	main {
		grid-column: 2 / 12;
		/*border: 1px solid;*/
	}

	footer {
		grid-column: 2 / 12;
	}

}


/** {*/
/*	border: 1px solid*/
/*}*/

/* night shift colour */

/*@media (prefers-color-scheme: dark) {

	body {
		background-color: #444;
		color: #fff;
	}

	a {
		color: #fff;
	}

	article {
		color: #444;
		box-shadow: yellow 4px 3px;
	}
} */
