@charset 'UTF-8';
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,600);

html, body {
	background: rgb(35, 35, 35);
}

body, input, textarea, select {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 1.2rem;
	line-height: 1.75em;
	color: rgb(255, 255, 255);
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	color: inherit;
	margin-top: 0;
	margin-bottom: 1rem;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}
	
h2 {
	font-size: 2.25em;
	letter-spacing: -2px;
	line-height: 1.25em;
}
	
strong, b {
	font-weight: 600;
	letter-spacing: 0px;
	color: inherit;
}

em, i {
	font-style: italic;
}

a {
	color: rgb(255, 255, 255);
	font-weight: 600;
	text-decoration: none;
}

a:hover {
	color: rgb(85, 85, 85);
	text-decoration: underline;
}

nav ul, .elsewhere {
	margin: 0;
	padding: 0;
	opacity: 0.5;
}

nav li, .elsewhere li {
	display: inline-block;
	padding: 0 0.25rem;
}

header, section {
	max-width: 60vw;
	margin: 2rem auto;
	padding: 2rem;
	border-radius: 1rem;
	background-color: rgba(0, 0, 0, 0.2);
	/*box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.2),
	            -20px -20px 60px #ffffff;*/
}

.images {
	display: inline-block;
}

.image {
	display: inline-block;
	width: 19vw;
	margin: 0.2rem 0.2rem;
}

.image img {
	max-width: 100%;
	vertical-align: middle;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  overflow: auto;
}

.modal-content {
  position: relative;
  background-color: rgb(35, 35, 35);
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 80vw;
  border-radius: 5px;
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

.modal-text {
  margin: 15px 0 0;
  text-align: center;
  color: rgb(255, 255, 255);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover {
  color: #000;
}

@media (max-width: 460px) {
	header, section {
		max-width: 100vw;
		margin: 0.5rem auto;
	}

	.image {
		width: 34vw;
	}

	.modal-content {
		max-width: 80vw;
	}
}
