body {
  margin: 0;
  padding: 0;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
	font-size: min(4vw, 1em);
  color: #ddd;
  text-align: center;
}

header, footer, loader {
  background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%,
    #8A6E2F 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%,
      #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);

  margin: 0;
  padding: 2vmax;
  height: 100%;
}

header, footer {
	position: relative;
}

loader {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 120px 1fr;
  grid-template-rows: 1fr 120px 1fr;
  width: 100vw;
  height: 100vh;
}

.loader {
  grid-area: 2 / 2;
  border: 0px;
  border-top: 5px solid #af8938;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

.backToTop {
	display: none;
  position: fixed;
	z-index: 10;
	cursor: pointer;
	left: 0px;
	bottom: 0px;
	border-radius: 50%;
	height: 64px;
	width: 64px;
	align-content: center;
	justify-content: middle;
	background-color: #4447;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

main {
  opacity: 0%;
  transition: opacity 2s;
}

hamburger {
	/* hamburger style is also controled in script.js */
	display: none;
	align-items: center;
}

hamburger img {
	width: 32px;
	cursor: pointer;
}

hamburger p {
	color: #fed837;
	margin: 0 0 0 1em;
}

nav {
	/* <nav> style is also controled in script.js */
	justify-content: center;
	z-index: 10;
}

nav a {
  margin: 0;
  padding: 0;
  overflow: hidden;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
}

nav a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

nav a:hover:not(.active) {
  background-color: #777;
	color: white;
}

submenu nav {
	display: flex;
	flex-direction: row;
	font-size: min(2vw, 1em);
	border: 0;
	padding: 0;
	margin: 0 0 -1em 0;
}

.active {
  background-color: #7777 !important;
	color: #fed837;
}

a {
  color: #BB2;
  text-decoration: none;
  font-weight: bold;
}

a:hover:not(.active) {
  color: lightcoral;
}

img, video, slide > div {
  max-width: 60vw;
  max-height: 100vh;
}

video {
	border: 1px solid #555;
}

section {
  margin: 0;
  padding: 5vmax;
  padding-bottom: 8vmax;
  border: 0;
  height: 100%;
  border-top: 1px solid #555;
}

section:nth-child(odd) {
  background-color: #222;
}

section:nth-child(even) {
  background-color: #111;
}

section img, slide > div {
  cursor: zoom-in;
}

section h1 {
  padding-bottom: 2vmax;
  color: #c93;
}

section h5 {
  padding-bottom: 0;
	border: 0;
  font-size: 0.8em;
  color: #888;
}

section h6 {
  padding-bottom: 2vmax;
  font-size: 0.8em;
  color: #555;
}

section p {
	padding: 0 6vw;
}

fullscreen {
  display: block;
  position: absolute;
  background-color: #111;
  left: 0;
  top: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  min-height: 100%;
}

fullscreen img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  cursor: zoom-out;
}

carroussel {
  display: inline-grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto 1fr;
  height: 100%;
}

carroussel > p {
  grid-column: 2;
}

slide {
  display: grid;
}

slide > img, slide > div {
  display: none;
  grid-area: 1 / 1;
}

slide > div {
  width: 90vw;
  height: 90vh;
}

fullscreen slide > div {
  width: 70vw;
}

slide_btn {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  font-size: 3em;
  padding: 10px;
  cursor: pointer;
  transition: background-color 1s, color 1s;
}

slide_btn:hover {
  background-color: #444;
  color: #c93;
}

.show {
  display: initial;
  opacity: 100%;
}

.hide {
  display: none;
}

small {
	color: #C0C000;
}

stress {
	font-style: italic;
}