main, hr, i, p, img, input, textarea, div, section, article {
    box-sizing: border-box;
}

blockquote {
	font-family: 'Josefin Sans', 'Century Gothic', 'San Francisco', sans-serif;
	margin-left: 0;
	padding-left: 2em;
	text-align: justify;
	font-style: italic;
	font-size: larger;
	letter-spacing: 0.5pt;
	box-sizing: border-box;
}

blockquote > cite {
	display: block;
	text-align: right;
	font-size: smaller;
	font-style: normal;
	opacity: 0.75;
}


strong {
  font-weight: 700;
}

.planet-data dt, .planet-data dd {
  float: left;
  display: table-cell;
}

.planet-data dt {
  width: 25%;
  clear: left;
  text-align: left;
}

.planet-data dd {
  text-align: right;
  width: 75%;
  margin-left: 0;
}

.planet-data dl > hr {
	border-color: transparent;
	border-bottom: 1px dashed #333;
}

.planet-data dl {

  letter-spacing: 0.1em;
}

hr {
	width: 100%;
}

html, body {
	/*overflow: hidden;*/
	height: 100vh;
	background-color: #111;
}

main {
	height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
}
.fullpage {
	width: 100vw;
	height: 100vh;
	max-width: 100%;
	max-height: 100%;
	/*overflow: auto;*/
}

.fixed {
	position: fixed;
	top: 0;
	left: 0;
}

.grid {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	align-content: stretch;
}

.grid-row {
	flex: 1 1 auto;
}

/*.grid { outline: 1px dashed #f00; }
.grid-row { outline: 1px dashed #0ff; }
.nav-item { outline: 1px dashed #40f; }*/

.swiper-grid {
	z-index: 100;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
}
.swiper-title {
	/*flex: 0 0 auto;*/
}
.swiper-container {
	/*flex: 1 1 100%;*/
}

#map > .fullpage, #themes > .fullpage {
	max-width: 1024px;
	margin: 0 auto;
}

#about {
	display: block;
	/*height: 100vh;*/
	min-height: 100vh;
	height: auto;
	align-items: center;
}
#about > .heading {
	width: 64rem;
	max-width: calc(100% - 4rem);
	margin: 0 auto;
	height: 33%;
	margin-top: 8rem;

	display: flex;
	justify-content: center;
	align-items: center;
}
#about > .content {
	height: 75%;
	flex: 0 0 75%;
}

#content {
	display: none;
}

#event-details {
}
#event-details > h2, #event-details > h3 {
	text-align: center;
}

.participants {
	max-width: 48em;
	width: 100%;
	column-width: 20em;
	margin-left: 4em;
}

@media screen and (min-width: 44em) {
	#event-details > h2:nth-child(odd) {
	}

	#event-details > h2:nth-child(even) {
	}
}

.title {
	/*display: none;*/
}
.clearfix:before, .clearfix:after {
	content: ' ';
	display: table;
	clear: both;
}

.title h1 {
    text-align: center;
    font-size: 5em;
}





#modal, .article {
	box-sizing: border-box;
	width: 100%;
	position: fixed;
	top: 0;
	height: 100vh;
	max-height: 100vh;
	z-index: 20;
	background-color: #111;
}

.article {
	/*opacity: 0;*/
	/*visibility: hidden;*/
	display: none;
}
.article:target {
	/*opacity: 1;*/
	/*visibility: visible;*/
	display: block;
}

.card {
	display: none !important;
	flex: 0 1 auto;
	height: 100%;
	/*width: var(--body-width);*/
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 1rem;
}

.modal-menu {
	width: 4rem;
	/*position: fixed;*/
	position: absolute;
	display: flex;
	flex-direction: column;
	background: #111;
	z-index: 100;
	top: 0;
	left: 0;
}


.action {
    min-width: 2em;
    height: 2em;
	background: transparent;
    color: var(--primary);
	border: none;
    box-sizing: border-box;
	padding: 0.5ex 1em;
}
.menu .action {
	border: 1px solid var(--pink);
	flex-grow: 1;
	text-align: center;
}
.menu .action:first-child {
	xborder-left: none;
}
.action > span {
	padding-left: 1ex;
	opacity: 0;
	transition: opacity 500ms;
}
.action:hover > span {
	opacity: 1;
}

/* portrait */
@media screen and (max-aspect-ratio: 1/1) {
	#modal {
		padding: 0 0 0 0;
	}
	.card {
		flex: 1 1 auto;
	}
	.modal-menu {
		flex-direction: row;
		align-items: stretch;
		justify-content: space-between;
		flex-wrap: nowrap;
		width: 100%;
		padding: 0;
	}
	.modal-menu > .action:first-child {
		text-align: left;
	}
	.menu > .action:last-child {
		text-align: right;
	}
	.action > span {
		opacity: 1 !important;
		font-size: smaller;
	}
	#map > .fullpage {
		margin-top: 2rem;
	}
}


#header-image {
    background-image: url(../images/header-bg.jpg);
    background-size: cover;
    background-position: center;
    margin: 0 auto;
    max-width: 1200px;
}


.screen {
	opacity: 1;
	visibility: visible;
	transition: opacity 1s, visibility 1s 0s;
	width: 100%;
}
.first-load .screen {
	transition: opacity: 1ms visibility 1ms 0s;
}
body {
	min-height: 100vh;
	height: 100%;
}
/*
body:not(.map-open) #map {
	opacity: 0;
	visibility: hidden;
}
body:not(.themes-open) #themes {
	opacity: 0;
	visibility: hidden;
}
body:not(.about-open) #about {
	opacity: 0;
	visibility: hidden;
}*/
body:not(.modal-open) .modal-menu {
	opacity: 0;
	visibility: hidden;

}

/*body:not(.modal-open) .article-background {
	opacity: 0;
	visibility: hidden;

}*/

main::-webkit-scrollbar-thumb {
	background-color: rgba(128, 128, 128, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.75);
	box-shadow: 0 0 4px rgba(192, 192, 192, 0.5) inset;
}
main::-webkit-scrollbar {
	background-color: rgba(51, 51, 51, 0.33);
	opacity: 0;
	visibility: hidden;
	width: 1px;
}
.scrollable {
	overflow-y: auto;
	overflow-x: hidden;
}
.scrollable::-webkit-scrollbar-thumb {
	background-color: rgba(128, 128, 128, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.75);
	box-shadow: 0 0 4px rgba(192, 192, 192, 0.5) inset;
}
.scrollable::-webkit-scrollbar {
	/*background-color: rgba(51, 51, 51, 0.33);*/
	background-color: rgba(51, 51, 51, 0);
}

body, main, .scrollable {
	-webkit-overflow-scrolling: touch;
}
