@font-face {
	font-family: Open Sans;
	src: url(/fonts/opensans-regular.ttf) format("truetype"),
	url(/fonts/opensans-regular.svg) format("svg"),
	url(/fonts/opensans-regular.woff) format("woff"),
	url(/fonts/opensans-regular.woff2) format("woff2");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Open Sans;
	src: url(/fonts/opensans-italic.ttf) format("truetype"),
	url(/fonts/opensans-italic.svg) format("svg"),
	url(/fonts/opensans-italic.woff) format("woff"),
	url(/fonts/opensans-italic.woff2) format("woff2");
	font-weight: normal;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: Open Sans;
	src: url(/fonts/opensans-semibold.ttf) format("truetype"),
	url(/fonts/opensans-semibold.svg) format("svg"),
	url(/fonts/opensans-semibold.woff) format("woff"),
	url(/fonts/opensans-semibold.woff2) format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}
body {
	color: #5a5a5a;
	background: #dedede;
	font-family: Open Sans, sans-serif;
	margin: 0;
	padding: 0;
}
h1 {
	color: rgb(13, 116, 175);
	font-weight: normal;
	font-style: italic;
}
h2 {
	font-weight: normal;
	font-style: italic;
}
h3 {
	color: rgb(13, 116, 175);
	font-weight: normal;
	font-style: italic;
}
p {
	font-weight: normal;
}
a {
	color: rgb(13, 116, 175);
	text-decoration: none;
}
b {
	font-weight: 600;
	font-style: normal;
}
mark {
	background-color: red;
	color: white;
}
a:visited {
	text-decoration: underline;
}
.footnote {
	font-size: 0.7em;
}

.navbar {
	overflow: hidden;
	width: 100%;
	height: 80px;
	background-color: #cecece;
	display: flex;
	align-items: center;
	position: fixed;
	z-index: 5;
}
.under-nav-bar {
	width: 100%;
	height: 80px;
}
.menu {
	width: calc(100% - 60px);
	margin-left: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.logo {
	height: 50px;
	width: auto;
	display: block;
	content:url("../images/logo.svg");
}
.logo-anniversary {
	height: 50px;
	width: auto;
	display: block;
	content:url("../images/logo_anniversary.svg");
}

.menu-button {
	display: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.menu-button:active,
.menu-button:focus,
.menu-button:focus:active {
	box-shadow: none;
}
.menu-icon {
	height: 14px;
	width: 24px;
	display: block;
	float: right;
	position: fixed;
	top: 0;
	right: 0;
	margin-right: 12px;
	margin-top: 23px;
}
.menu-icon-line {
	position: absolute;
	left: 0;
	height: 2px;
	width: 18px;
	background: #5a5a5a;
	border-radius: 0;
	display: block;
	transition: 0.3s;
	transform-origin: center;
}

.menu-icon-line:nth-child(1) { top: 2px; }
.menu-icon-line:nth-child(2) { top: 7px; }
.menu-icon-line:nth-child(3) { top: 12px; }

.menu-icon.checked .menu-icon-line:nth-child(1){
	transform: translateY(5px) rotate(-45deg);
}

.menu-icon.checked .menu-icon-line:nth-child(2){
	opacity:0;
}

.menu-icon.checked .menu-icon-line:nth-child(3){
	transform: translateY(-5px) rotate(45deg);
}


.menu-container {
	height: auto;
	width: auto;
	overflow: hidden;
	float: right;
	display: flex;
	flex-direction: row;
}
.menu-container a {
	float: left;
    display: block;
    color: #5a5a5a;
    text-align: center;
    padding: 5px 5px;
    text-decoration: none;
    font-size: 17px;
    font-weight: normal;
}
.menu-container a:hover {
    color: rgb(13, 116, 176);
}
.nav-item {
	color: #3E3E3E;
	margin-left: 10px;
	margin-right: 10px;
	padding: 5px;
	height: auto;
	font-size: 0.9em;
	font-weight: normal;
	text-decoration: none;
}
.nav-item:hover {
	color: rgb(13, 116, 175);
}
.header-image {
	width: 100%;
	height: 400px;
	position: relative;
	overflow: hidden;
}
.header-image-item {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.header {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 2.5em;
	z-index: 0;
	font-style: italic;
	text-shadow: 0 0 15px rgba(29, 29, 29, 1);
	color: #dedede;
	background: rgba(89, 89, 89, 0.3);
}
.header span {
	position: absolute;
	bottom: 0;
	margin-bottom: 20px;
}
.content {
	width: 600px;
	margin-left: auto;
	margin-right: auto;
}
.text-container {
	margin-top: 40px;
}
.bottom-space {
	height: 20px;
}
.icon {
	fill: #5a5a5a;
}
.structure {
	font-size: 0.9em;
	padding-top: 25px;
	border-bottom: 1px solid #5a5a5a;
}
.structure a {
	color: #5a5a5a;
}
.footer {
	background-color: #cecece;
	height: auto;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 0.8em;
	margin-top: 80px;
}
@supports(padding: max(0px)) {
	.footer {
		padding-bottom: max(10px, env(safe-area-inset-bottom));
	}
}

.footer span {
	color: rgb(13, 116, 176);
}

@media (max-width: 985px) {
	/* 930px with normal logo */
.menu {
	width: calc(100% - 30px);
	margin-left: 15px;
}
.menu-container a {
	float: left;
    display: block;
    color: #3e3e3e;
    text-align: center;
    padding: 5px 5px;
    text-decoration: none;
    font-size: 14px;
}
}

@media (max-width: 850px) {
	/* 790px with normal logo */
h1 {
	font-size: 1.6em;
}
h2 {
	font-size: 1.2em;
}
h3 {
	font-size: 1.1em;
}
p {
	font-size: 0.9em;
}
li {
	font-size: 0.9em;
}
.navbar {
	height: auto;
}
.under-nav-bar {
	height: 60px;
	display: block;
}
.menu {
	width: calc(100% - 30px);
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 15px;
	display: block;
}
.logo {
	height: 40px;
}
.logo-anniversary {
	height: 40px;
}

.menu-button {
	width: 40px;
	height: 40px;
	display: block;
	float: right;
	position: fixed;
	top: 0;
	right: 0;
	margin-right: 6px;
	margin-top: 10px;
}

.menu-container {
	height: auto;
	width: 100%;
	overflow: hidden;
	margin-top: 5px;
	display: none;
	flex-direction: column;
}
.menu-container a {
	display: inline-block;
	width: 100%;
    color: #5a5a5a;
    text-align: center;
    padding: 10px 0;
    text-decoration: none;
    font-size: 18px;
}
.menu-container a:hover {
    color: rgb(13, 116, 176);
}
.nav-item {
	color: #3E3E3E;
	margin-left: 0;
	margin-right: 0;
	padding: 0;
	height: auto;
	font-size: 0.9em;
	font-weight: normal;
	text-decoration: none;
}
.header-image {
	height: 200px;
}
.header {
	font-size: 1.8em;
}
.content {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
}

@media(min-width: 850px) {
	/* 790px with normal logo */
	.menu-container {
	height: auto;
	width: auto;
	overflow: hidden;
	float: right;
	display: flex !important;
	flex-direction: row;
}
}

@media (prefers-color-scheme: dark) {
	body {
		color: #dedede;
		background: #121212;
	}

	.navbar {
		background-color: #000000;
	}

	.logo {
		content:url("../images/logo-dark.svg");
	}

	.logo-anniversary {
		content:url("../images/logo_anniversary_dark.svg");
	}

	.menu-icon-line {
		background: #dedede;
	}

	.menu-container a {
		color: #dedede;
	}

	.icon {
		fill: #dedede;
	}

	.structure {
		font-size: 0.9em;
		padding-top: 25px;
		border-bottom: 1px solid #dedede;
	}

	.structure a {
		color: #dedede;
	}

	.footer {
		background-color: #000000;
	}
}