body{
    color: #000;
    font-family: "Roboto Condensed", serif;
}

/* ---- Set up site grid ----*/

.wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: auto;
    grid-template-areas:
        "header header"
        "nav nav"
        "main aside"
        "footer footer";
    grid-gap: 4px;
}

/* border width for gaps between sections */
nav, main, aside, header, footer {
  border-color: #000;
  padding: 30px;
  border-radius: 15px;
  border-style: solid;
  border-width: 1px;
}

header {
    grid-area: header;
    background-color: #5EAD3D; /* grass green */
    color: #000;
    padding: 0px;
    height: 84px;

}


nav {
    grid-area: nav;
    background-color: #4F321F; /* brown dirt */
    color: #F4EBD0;
}

main{
    grid-area: main;
    background-color: #5f5f5f; /* stone grey */
    color: #F4EBD0;
}

aside{
    grid-area: aside;
    background-color: #5f5f5f; /* stone grey */
    color: #F4EBD0;
    
}

footer{
    grid-area: footer;
    background-color: #5f5f5f; /* stone grey */
    color: #F4EBD0;
    text-align: right;
}

/* ---- grid for front page images ---- */

.homeimages {
  display: grid;
  grid-template-columns: 250px 250px;
  grid-template-rows: auto;
  grid-template-areas:
      "enchants biomes"
      "monuments builds";
  grid-gap: 20px;

  width: 520px;
  margin: auto;
  padding: 5px;
}

.enchants {grid-area: enchants;}
.biomes {grid-area: biomes;}
.monuments {grid-area: monuments;}
.builds {grid-area: builds;}


/* ---- General formatting ---*/


h1 {
    font-family: "Josefin Sans", serif;
    font-size: 300%;
    padding-left: 115px;
    margin: auto;
    padding-top: 7px;  /*  adjusts height position */

    /* -- Transform to vertically center heading */
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);

}

img.roundleft{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: 1px 0px 10px #000;
    float: left;
}

.allround{
    border-radius: 20px;
    box-shadow: 3px 0px 17px #000;

}

.centered {
    text-align: center;  
}

/******  text over image css *********/
/* http://css-workshop.com/hover-box-text-over-images-on-hover-and-more/ */

.hvrbox,
.hvrbox * {
	box-sizing: border-box;
}
.hvrbox {
	position: relative;
	display: inline-block;
	overflow: hidden;
	max-width: 100%;
  border-radius: 20px;
	height: auto;

}
.hvrbox img {
	max-width: 100%;
}
.hvrbox .hvrbox-layer_bottom {
	display: block;
}
.hvrbox .hvrbox-layer_top {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 15px;
	-moz-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}
.hvrbox:hover .hvrbox-layer_top,
.hvrbox.active .hvrbox-layer_top {
	opacity: 1;
}
.hvrbox .hvrbox-text {
	text-align: center;
	font-size: 18px;
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.hvrbox .hvrbox-text_mobile {
	font-size: 15px;
	border-top: 1px solid rgb(179, 179, 179); /* for old browsers */
	border-top: 1px solid rgba(179, 179, 179, 0.7);
	margin-top: 5px;
	padding-top: 2px;
	display: none;
}
.hvrbox.active .hvrbox-text_mobile {
	display: block;
}

/* --- Hidden Box Formatting ---*/

#hidden {
  display: none;
}

.poemtype {
  font-size: 150%;
  font-weight: bold;
  padding-right: 15px;
}

.info {
  border-style: solid;
  border-width: 1px;
  background-color: #8A9B9E;
  border-color: #000;
  padding: 10px;
  width: 85%;
}

#showhide {
  background-color: #8A9B9E;
  font-style: italic;
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
}

#showhide:hover {
  color: #fff;
  background-color: #33575E;
}

/* change the link hover color in the show more drop down */
.info a:hover { color: #000000;}

/* ---- Link Formatting ---- */

/* Links in the main section & Sidebar */
a:link {color: #F4EBD0;}
a:visited {color: #F4EBD0;}
a:hover {color: #52C5FF;} 

/* Top Navigation */
nav a{text-decoration:none;}
nav a:link, nav a:visited {color: #F4EBD0}
nav a:hover {color: #52C5FF;} /* ocean blue */


/* ---- Drop Down Menu ---*/
/* Style The Dropdown Button */

.dropbtn {
    background-color: #4F321F;
    color: #F4EBD0;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Change background and text color of dropdown links on hover */
  .dropdown-content a:hover {
  background-color: #5EAD3D; /* Green background on hover */
  color: #000; /* Black to ensure readable text */
  }

  /* Dropdown Content (Hidden by Default) */
  /* Customised from https://www.w3schools.com/css/css_dropdowns.asp */

.littlearrow {
    font-size: 75%;
}

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #5f5f5f;
    min-width: 160px;
    box-shadow: 4px 16px 32px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: #F4EBD0;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .dropdown:hover .dropbtn {
    background-color: #5f5f5f;
  }

  /* --- Google Form Styling ---*/

  iframe {
    width: 85%;
    height: 754px;
    margin: auto;
    border: 0;
  }


