html, body {
    margin: 0;
    height: 100%;
	width: 100%;
	overflow: hidden;
}

body { 
  margin: 1;
  height: 100%;
  width: 100%;
  background-color: #ede9e8;
  font: 2vw 'Raleway', sans-serif;
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  -webkit-transform: translate3d(0,0,0);
  -webkit-font-smoothing: antialiased;
   text-rendering: optimizeLegibility;
	
  }

#background-video-1, #background-video-2 {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}


li {
	color: white;
}

.highlight {
	font-size: 1.5vh;
	color: black;
}

.code-container {
	position: relative;
    display: grid;
	text-align: center;
}

.title {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 40%;
}


::-webkit-scrollbar {
    display: none;
}

.nav {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 10%;
}

.nav > div {
	width: 100px;
	font-size: 2vh;
	font-weight: bolder;
	margin-left: 2%;
	border-color: white;
	border-bottom-style: dotted;
	border-width: thin;
	vertical-align: top;
	text-align: left;
	/* display: inline-block; */
}

.nav > li {
	/* display: inline-block; */
	vertical-align: top;
}

.nav{
	margin: 0;
    padding:0;
    list-style:none;
}

.nav li {
	margin-right: 10px;
	margin-left: 10px;
}

.nav a{
    /* display:inline-block; */
	text-decoration:none;
	/* font-weight:bold; */
}

.nav a:hover{
	text-decoration:underline;
	text-decoration-color: white;
}


#jomp {
    font-family: 'Helvetica', 'Arial', sans-serif;
	font-style: italic;
	font-weight: bolder;
	font-size: max(2vh, 2vw);
}

.poetry-container {
	margin: 0%;
	grid-column: 2/6;
}

.poetry-container-sub {
  	/* box-shadow:
    0 1px 1px rgba(0,0,0,0.15),
    0 10px 0 -5px #eee,
    0 10px 1px -4px rgba(0,0,0,0.15),
    0 20px 0 -10px #eee,
    0 20px 1px -9px rgba(0,0,0,0.15); */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.poem-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    text-transform: uppercase;
	font-size: 3.5vh;
	text-align: center;
	width: 100%;
}

a {
	text-decoration: none;
}

a:visited {
    color: black;
}

.about-box {
	width: 100%;
	text-align: center;
	font-family: 'Playfair Display', serif;
	font-size: 2vh;
	grid-column: 1 / 7;
}

.poem-subhead {
	margin-bottom: 2%;
	margin-top: 2%;
	font-size: 1.5vh;
	text-align: center;
	width: 100%;
    border-bottom: 2px solid #2f2f2f;
    border-top: 2px solid #2f2f2f;
    padding: 12px 0 12px 0;
}

.poetrybox {
	margin-bottom: 10%;
	display: flex;
	justify-content: space-between;
	width: 80%;
	height: 30%;
}

.poem-box {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.gallery-toilet, .gallery-art, .gallery-poetry-night {
	margin-left: 2%;
	margin-right: 2%;
	display: grid;
	grid-template-columns: repeat(4, 1fr); 
	grid-auto-rows: 0.5fr;
	grid-column-gap: 0.75vw; 
    grid-row-gap: 0.75vw; 
	padding: 0vw 0.75vw; 
	width: auto;
	height: auto;
	/* margin-left: 5%;
	margin-right: 5%;
	display: flex;
	flex-direction: column;
	height: 100%; */
}

.art-wrapper > h1 {
	font-family: 'Playfair Display', serif;
}

.gallery-toilet {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-art {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-poetry-night {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-title {
	text-align: baseline;
	font-family: 'Playfair Display', serif;
	font-size: 30px;
	font-weight: 700;
	border-bottom: #000;
	border-bottom-width: 1;
	border-bottom-style: double;
}

.gallery-row {
	display: flex;
	justify-content: space-around;
	width: 100%;
}

.gallery-img {
	box-shadow: 2px 1px 1px 1px black;
	display: block;
	margin: 1%;
}

.gallery-img img {
	height: 100%;
	width: 100%;
}

.poem {
	margin-left: 5%;
	margin-right: 5%;
	color: #2f2f2f;
	line-height: 2vh;
	font-style: italic;
	font-size: 1.5vh;
	width: 100%;
}

.poem-img {
	height: 100%;
	width: 50%;
}

.main-wrapper {
  height: 100%;
  margin-top: 5%;
  width: 100%;
  display: grid; 
  grid-template-columns: 10% 1fr 1fr 1fr 1fr 10%; 
  grid-template-rows: 1fr 1fr 1fr;
  animation: none;
  perspective: 500px;
  position: relative;
  transform-style: preserve-3d;
  overflow: hidden;
} 

svg {
	height: 100%;
	width: 100%;
    display: block;
    margin: auto;
}

#img-box {
	height: 100%;
	width: 100%;
}

h1, h2 {
	width: 100%;
	margin-top:10px;
	margin-bottom:10px;
	font-size: 2em;
}

.text-box {
  height: 100%;
  width: 100%;
  display: flex;
  grid-column: 2 / 6;
  grid-row: 2 / 3;
  z-index: 1;
  font: 1.4vw 'Raleway', sans-serif;
  font-weight: 600;
  margin: 0;
}

@media screen and (max-width: 600px) {
	.poetrybox {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.poem-img {
		width: 100%;
	}
	.poem-box {
		margin-top: 5%;
		margin-bottom: 5%;
	}

	.gallery-art, .gallery-poetry-night {
		grid-template-columns: repeat(2, 1fr);

	}

	.gallery-toilet {
		grid-template-columns: repeat(4, 1fr);
	}

	#jomp {
		margin-left: 2%;
		margin-right: 2%;
	}
	
	.nav li {
		margin-left: 2%;
		margin-right: 2%;
	}

}