body {
	color: white;
	font-family: "Zilla Slab", serif;
	word-wrap: break-word;
	background: #c96767;
	background: linear-gradient(90deg, rgba(201, 103, 103, 1) 0%, rgba(69, 53, 53, 1) 100%);
	margin: 0;
	min-height: 100vh;
	display: grid;
	place-content: start center;
}

h1 {
	font-size: 75px;
}

.title {
	font-size: 100px;
	border: 5px solid black;
	-webkit-border: 5px solid black;
	border-radius: 25px;
	cursor: grabbing;
	color: black;
	padding: 1%;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	 -khtml-user-select: none; /* Konqueror HTML */
	   -moz-user-select: none; /* Firefox */
		-ms-user-select: none; /* Internet Explorer/Edge */
			user-select: none; /* Non-prefixed version, currently
								  supported by Chrome and Opera */
}

.postBox {
	border-top: 5px solid white;
	-webkit-border-top: 5px solid white;
	border-radius: 0px;
	padding: 3%;
	margin: 2%;
}

h2 {
	font-size: 24px;
}

.subtitle {
  font-size: 50px;
  transition: color .5s, border 1s;
  transition-timing-function: ease-out;
}

.subtitle:hover {
	color: black;
	transition: .5s;
}

p {
	font-size: 25px;
}

.tiny {
	font-size: 14px;
}

.black {
	color: black;
}

fieldset {
	margin: 2%;
}

input[type=password], input[type=text], textarea, input[type=submit] {
	background-color: #222121;
	border: 5px solid white;
	color: white;
	padding: 15px 32px;
	text-decoration: none;
	display: block; /* was inline-block */
	font-size: 20px;
	margin: 4px 2px;
	-webkit-appearance: none;
	border-radius: 15px;
	width: 100%; /* make it fill the container */
	max-width: 100%; /* ensure it doesn't overflow */
	box-sizing: border-box; /* include padding in width */
}

a:link, a:visited {
	color: white;
	text-decoration: none;
}

a:link.visible {
	text-decoration: overline white;
}

a:visited.visible {
	color: #ddc;
}

.white-button {
	border: 5px solid white;
	border-radius: 15px;
	padding: 2px 4px;
}

.blue-button {
	border: 5px solid #b9d0d8;
	border-radius: 15px;
	padding: 2px 4px;
}

.blue {
	color: #b9d0d8;
}

.square-white-button {
	border: 5px solid white;
	padding: 2px 4px;
	border-radius: 0px;
}

.square-blue-button {
	border: 5px solid #b9d0d8;
	padding: 2px 4px;
	border-radius: 0px;
}

hr {
	border: 5px solid white;
	-webkit-border: 5px solid white;
	margin: 0;
}

.gallery {
	--s: 240px; /* control the size */
	--g: 10px;  /* control the gap */
	--f: 1.8;   /* control the scale factor */

	display: grid;
	gap: var(--g);
	width: calc(3*var(--s) + 2*var(--g));
	aspect-ratio: 1;
	grid-template-columns: repeat(3,auto);
}

.gallery > a > img {
	width: 0;
	height: 0;
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
	cursor: pointer;
	filter: blur(4px);
	transition: .35s linear;
}

.gallery a:hover > img {
	filter: blur(0px);
	width:  calc(var(--s)*var(--f));
	height: calc(var(--s)*var(--f));
}

.framed {
	border: solid 2px;
	border-bottom-color: #ffe;
	border-left-color: #eed;
	border-right-color: #eed;
	border-top-color: #ccb;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.frame {
	background-color: #ddc;
	border: solid 15px #eee;
	border-bottom-color: #fff;
	border-left-color: #eee;
	border-right-color: #eee;
	border-top-color: #ddd;
	border-radius: 2px;
	box-shadow: 
		0 0 5px 0 rgba(0,0,0,.25) inset, 
		0 5px 10px 5px rgba(0,0,0,.25);
	box-sizing: border-box;
	display: inline-block;
	position: relative;
	width: auto;
	margin: 20px auto;
	max-width: min(600px, 90vw);
	padding: min(20px, 3vw);
	border-width: min(15px, 2vw);
}

.frame:before, .frame:after {
	content: "";
	position: absolute;
	border-radius: 2px;
	pointer-events: none;
}
.frame:before {
	bottom: -10px;
	left: -10px;
	right: -10px;
	top: -10px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.25) inset;
}
.frame:after {
	bottom: -12px;
	left: -12px;
	right: -12px;
	top: -12px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.25);
}

@media screen and (max-width: 1000px) {
	body {
		margin: 3vw;
	}
	h1 {
		font-size: 50px;
	}
	.title {
		font-size: 75px;
	}
	.subtitle {
		font-size: 50px;
	}
	.gallery {
		--s: 25vw;
		--g: 0;
	}
	.gallery a > img {
		filter: blur(0px);
	}
}

@media screen and (max-width: 480px) {
	h1 {
		font-size: 32.5px;
	}
	a, h2 {
		font-size: 20px;
	}
	.title {
		font-size: 50px;
	}
	.subtitle {
		font-size: 25px;
	}
}

/* NAVBAR */
* {
	box-sizing: border-box;
}

nav {
	padding: 30px;
}

nav ul {
	float: right;
}

nav ul li {
	display: inline-block;
	float: left;
}

nav ul li:not(:first-child) {
	margin-left: 25px;
}

nav ul li a {
	display: inline-block;
	outline: none;
	color: #ffffff;
	font-size: 20px;
	text-decoration: none;
	letter-spacing: 0.04em;
}

nav ul li a:hover {
	color: #6666ff;
	text-decoration: none;
}

.nav-container {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: -1;
	background: #000000;
	opacity: 0;
	transition: all 0.2s ease;
}

.nav-container ul {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
}

.nav-container ul li {
	display: block;
	float: none;
	width: 100%;
	text-align: right;
	margin-bottom: 10px;
}

.nav-container ul li:nth-child(1) a {
	transition-delay: 0.2s;
}

.nav-container ul li:nth-child(2) a {
	transition-delay: 0.3s;
}

.nav-container ul li:nth-child(3) a {
	transition-delay: 0.4s;
}

.nav-container ul li:nth-child(4) a {
	transition-delay: 0.5s;
}

.nav-container ul li:nth-child(5) a {
	transition-delay: 0.6s;
}

.nav-container ul li:nth-child(6) a {
	transition-delay: 0.7s;
}

.nav-container ul li:nth-child(7) a {
	transition-delay: 0.8s;
}

.nav-container ul li:not(:first-child) {
	margin-left: 0;
}

.nav-container ul li a {
	padding: 10px 25px;
	opacity: 0;
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	transform: translateY(-20px);
	transition: all 0.2s ease;
}

.nav-open {
	position: fixed;
	right: 10px;
	top: 10px;
	display: block;
	width: 48px;
	height: 48px;
	cursor: pointer;
	z-index: 9999;
	border-radius: 50%;
	-moz-border-radius: 30px;
	border-radius: 30px;
	background-color: black;
}

.nav-open i {
	display: block;
	width: 20px;
	height: 2px;
	background: #ffffff;
	border-radius: 2px;
	margin-left: 14px;
}

.nav-open i:nth-child(1) {
	margin-top: 16px;
}

.nav-open i:nth-child(2) {
	margin-top: 4px;
	opacity: 1;
}

.nav-open i:nth-child(3) {
	margin-top: 4px;
}

#nav:checked + .nav-open {
	transform: rotate(45deg);
}

#nav:checked + .nav-open i {
	background: #fff;
	transition: transform 0.2s ease;
}

#nav:checked + .nav-open i:nth-child(1) {
	transform: translateY(6px) rotate(180deg);
}

#nav:checked + .nav-open i:nth-child(2) {
	opacity: 0;
}

#nav:checked + .nav-open i:nth-child(3) {
	transform: translateY(-6px) rotate(90deg);
}

#nav:checked ~ .nav-container {
	z-index: 9990;
	opacity: 1;
}

#nav:checked ~ .nav-container ul li a {
	opacity: 1;
	transform: translateY(0);
}

.hidden {
	display: none;
}