@charset "UTF-8";

/*
——————————————————————————————————————————
	font source */


@font-face {
	font-family: 'GT-Ultra-Standard-Thin';
	src: url("GT-Ultra-Standard-Thin.woff2") format("woff2"),
		url("GT-Ultra-Standard-Thin.woff") format("woff");
	font-weight: normal;
}

/*
——————————————————————————————————————————
	reset	 */

*,
*::before,
*::after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	text-size-adjust: none;
}

/*
——————————————————————————————————————————
	variables */

:root {
	--unit-1: 1.65rem;
	--unit-2: 0.5rem;
	--border: 0.06rem;
	--color: #C8FFEF;
}

/*
——————————————————————————————————————————
*/

html,
h1 {
	font-family: 'GT-Ultra-Standard-Thin', sans-serif;
	font-weight: normal;
	font-size: 1.5vw;
	/* = 1rem */
	line-height: 1.2;
}

body {
	padding: var(--unit-1) calc(var(--unit-1) * 5);
}

.bg {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	z-index: -1;
}

.a {
	background: url('hg-1.png');
	background-position: right;
	background-repeat: no-repeat;
	background-size: cover;
}

.b {
	background: url('hg-2.png');
	background-position: right;
	background-repeat: no-repeat;
	background-size: cover;
}

.c {
	background: url('hg-3.png');
	background-position: right;
	background-repeat: no-repeat;
	background-size: cover;
}

.d {
	background: url('hg-4.png');
	background-position: right;
	background-repeat: no-repeat;
	background-size: cover;
}

.e {
	background: url('hg-5.png');
	background-position: right;
	background-repeat: no-repeat;
	background-size: cover;
}

.f {
	background: url('hg-6.png');
	background-position: right;
	background-repeat: no-repeat;
	background-size: cover;
}

.container {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.content {
	grid-column-start: 2
}

.text-box {
	padding: var(--unit-2);
	border: var(--border) solid black;
	margin-bottom: calc(var(--border) * -1);
	background-color: white;
}

p,
ul {
	padding-bottom: 1.2rem;
}

ul {
	padding-left: 1.1rem;
}

li {
	list-style-type: '—';
	padding-left: var(--unit-2);
}

.quote {
	font-size: 5.75vw;
	line-height: 1;
	margin-top: -1vw;
	padding-bottom: calc(2 * var(--unit-1));
}

/*
——————————————————————————————————————————
	text links */

a:link,
a:visited {
	color: black;
	text-decoration: none;
	text-decoration-color: black;
}

a:hover,
a:active,
a:focus {
	text-decoration: none;
	background-color: var(--color);
}

/*
——————————————————————————————————————————
	navigation	*/

.name,
.home,
.menu {
	display: none;
	position: fixed;
	top: var(--unit-1);
	padding: var(--unit-2);
	border: var(--border) solid black;
	background-color: var(--color);
}

.name,
.home {
	left: var(--unit-1);
}

.menu {
	right: var(--unit-1);
}

.x {
	display: none;
}

nav {
	position: fixed;
	top: var(--unit-1);
	left: var(--unit-1);
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}

.nav-item {
	border: var(--border) solid black;
	margin-bottom: calc(var(--border) * -1);
	background-color: white;
}

.nav-item:first-child {
	margin-bottom: calc(var(--unit-1) + var(--border));
	background-color: var(--color);
}

.selected {
	padding: var(--unit-2);
	margin-left: var(--unit-1);
}

.nav-item:first-child.selected {
	padding: var(--unit-2);
	margin-left: 0;
}

nav a {
	display: block;
	padding: var(--unit-2);
}

nav a:link,
nav a:visited {
	color: black;
	text-decoration: none;
}

nav a:hover,
nav a:active,
nav a:focus {
	text-decoration: none;
	background-color: transparent;
}

.home a:link,
.home a:visited {
	color: black;
	text-decoration: none;
}

.home a:hover,
.home a:active,
.home a:focus {
	text-decoration: none;
	background-color: transparent;
}

.home:hover,
.home:active,
.home:focus {
	cursor: pointer;
	background-color: white;
}

.menu:hover,
.menu:active,
.menu:focus {
	cursor: pointer;
	background-color: white;
}

.nav-item:hover,
.nav-item:active,
.nav-item:focus {
	background-color: var(--color);
}

.nav-item:hover:first-child,
.nav-item:active:first-child,
.nav-item:focus:first-child {
	background-color: white;
}

.selected:hover,
.selected:active,
.selected:focus {
	background-color: white;
}

.nav-item:hover:first-child.selected,
.nav-item:active:first-child.selected,
.nav-item:focus:first-child.selected {
	background-color: var(--color);
}

/*
——————————————————————————————————————————
——————————————————————————————————————————
——————————————————————————————————————————
——————————————————————————————————————————
——————————————————————————————————————————
	narrow viewport*/

@media screen and (max-aspect-ratio: 1/1) {

	/*
——————————————————————————————————————————
*/

	html,
	h1 {
		font-size: 4.5vw;
	}

	body {
		padding: calc(var(--unit-1) * 6) var(--unit-1);
	}

	.container {
		display: block;
	}

	.quote {
		font-size: 17vw;
	}

	/*
	——————————————————————————————————————
		navigation*/

	.name,
	.home,
	.menu {
		display: block;
	}

	#nav-container {
		display: none
	}

	nav {
		position: fixed;
		display: block;
		width: calc(100vw - 2 * var(--unit-1));
		box-shadow: 0 1rem 1rem -1rem rgba(0, 0, 0, 0.5);
	}

	.nav-item {
		background-color: var(--color);
	}

	.nav-item:first-child {
		margin-bottom: calc(var(--border) * -1);
	}

	.selected {
		margin-left: 0;
		background-color: white;
	}

	.nav-item:hover,
	.nav-item:active,
	.nav-item:focus {
		background-color: white;
	}

	.x:hover,
	.x:active,
	.x:focus {
		cursor: pointer;
	}

	.x {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: var(--unit-2);
	}

	.x::before,
	.x::after {
		content: '';
		position: absolute;
		width: 4.5vw;
		height: 0.24vw;
		background-color: black;
	}

	.x::before {
		transform: rotate(45deg);
	}

	.x::after {
		transform: rotate(-45deg);
	}
}