@import url("./font/font.css");

html,
body {
	margin: 0;

	background-color: #fefff8;
	color: #6b64c3;
	font-family: Arial, Helvetica, sans-serif;
	font-family: Grotezk;
	text-decoration: none;

	font-size: 1.25rem;
	line-height: 1.4;

	box-sizing: border-box;

	/*
	green #69781C 
    purple #6B64C3
	*/
}

a {
	text-decoration: underline currentColor dotted 2px;
	color: currentColor;
}

/* HEADER */

header {
	width: 100%;
	height: 100vh;

	padding: 0;
	margin: 0;

	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	text-align: center;
	background-color: #6b64c3;
	color: #fefff8;
}

header h1 {
	font-size: clamp(36px, 1rem + 8vw, 256px);
	font-family: Bluu;
	font-weight: bold;
	margin: 0;
	margin-bottom: 16px;
}

header .issue {
	font-size: clamp(14px, 1rem + 1vw, 20px);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(10deg);
	border: 2px solid currentColor;
	background-color: #fefff8;
	color: #6b64c3;
	padding: 16px;
}

.issue .current {
	text-align: left;
}

.issue h2 {
	margin: 8px 0;
}

.documentation {
	flex-basis: 33vw;
	flex-shrink: 0;
}

/* DESCRIPTION */

.description {
	margin: 32px 0;
	padding: 0 32px;
	display: flex;
}

.description h2 {
	margin: 0;
	max-width: 40ch;
}

.description p {
	margin-top: 16px;
}

/* UPDATE CARDS */

.updates {
	margin-top: 64px;
	padding: 32px;
}

.updates > * + * {
	margin-top: 64px;
}

.update {
	display: flex;
}

.update > * {
	flex: 1;
}

.update blockquote {
	flex-grow: 1.2;

	font-size: 48px;
	line-height: 1.2;
	font-family: Bluu;
	color: #c4c1eb;
	text-indent: 6ch;
	padding: 48px;
	margin: 0;
}

.log {
	padding-left: 24px;
	border-left: 2px dashed #ada9e0;
	align-self: center;
	flex-grow: 0;
	flex-basis: 45%;
	margin-left: auto;
}

.log .date {
	margin: 0;
	font-size: 1rem;
}

.log .title {
	margin: 8px 0;
}

.log .media {
	width: 100%;
	margin: 24px 0;
}

.log figcaption,
.log .caption {
	margin: 0;
	margin-top: 8px;
	font-size: 1rem;
	font-style: italic;
}

.media img,
.media video {
	width: 100%;
	height: 100%;
}

.log .text {
	margin: 0;
	margin-top: 16px;
	white-space: break-spaces;
}

/* HIGHLIGHT */

.highlight {
	color: #6b64c3;
}

@media (max-width: 991.98px) {
	header .issue {
		position: relative;
		top: auto;
		left: auto;
		transform: none;

		background-color: transparent;
		color: #fefff8;
		border: none;
		border-radius: 0;
	}

	.issue .current {
		text-align: center;
	}

	.description {
		display: block;
		padding: 0 16px;
	}

	.updates {
		padding: 0 16px;
	}

	.updates > * + * {
		margin-top: 48px;
	}

	.update {
		display: block;
	}

	.update blockquote {
		padding: 0;
		margin: 32px 0;
		font-size: 32px;
		line-height: 1.4;
		text-indent: 32px;
	}

	.update .log {
		padding-left: 16px;
	}
}
