body{
    color: #000;
    font-family: 'Roboto Condensed', sans-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;
}

header, nav, main, aside, footer {
    padding: 20px;
    border-radius: 10px;
    }

header {
    grid-area: header;
    background-color: #0a6629;  /* dark green */
    color: #fff;
    padding: 0;
    
    height: 84px;
    }

/* border width for light areas */
nav, main, aside {
    border-style: solid;
    border-width: 1px;  
}

nav {
    grid-area: nav;
    background-color: #cef0a0;  /* pale green */
    border-color: #839966;  /* dark grey / lime */
}

main{
    grid-area: main;
    background-color: #f5fca8;  /* very light lime */
    border-color: #d2d891;  /* medium greyish green */
    
}

aside{
    grid-area: aside;
    background-color: #e6f077;  /* pale lime */
    border-color: #acb259;  /* olive green */
}

footer{
    grid-area: footer;
    color: #e6f077;  /* pale lime */
    background-color: #0a6629;  /* dark green */
    text-align: right;
}

/* ---- grid for front page images ---- */

.homeimages {
    display: grid;
    grid-template-columns: 250px 250px;
    grid-template-rows: auto;
    grid-template-areas: 
        "free haiku"
        "limerick acrostic";
    grid-gap: 20px;
    
    width: 520px;
    margin: auto;
    padding: 5px;
}

.free {grid-area: free;}
.haiku {grid-area: haiku;}
.limerick {grid-area: limerick;}
.acrostic {grid-area: acrostic;}

/* ---- General formatting ---- */


h1 {
    font-family: 'Amatic SC', sans-serif;  
    font-size: 300%;
    padding-left: 150px;
    margin: auto;
        
    /* -- 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: 1px 0px 10px #000;
}

.centered {
    text-align: center;
}

.firstletter {
    font-family: 'Amatic SC', sans-serif;  
    font-size: 150%;
    font-weight: bold;
}

/* ---- Hover Text Formatting --- */
/* from 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: #cef0a0;  /* pale green */
    border-color: #839966;  /* dark grey / lime */
    padding: 10px;
    width: 85%;    
}



#showhide {
    background-color: #8ad0a2; /* teal green */
    font-style: italic;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 3px;
    width: 100px; 
}

#showhide:hover {
    color: #fff;
    background-color: #0a6629; /* dark green */
    }

/* ---- Link Formatting ---- */

/* Links in the main section & Sidebar */
a:link {color: #0a6629;}    /* dark green */
a:visited{color: #333;}
a:hover {color: #7f890d;}   /* olive green */


/* Top Navigation */
nav a{text-decoration: none;}
nav a:link, nav a:visited {color: #0a6629;} /* dark green */
nav a:hover {color: #7f890d;} /* olive green */

/* colour of sub-menu link */
.dropdown-content a:hover{
    color: #000;
}

/* ---- Drop Down Menu ---- */
/* Style The Dropdown Button */
.dropbtn {
/*  background-color: #4CAF50; */
  color: #0a6629;   /* very dark green */
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* 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: #8ad0a2;    /* teal green */
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #bbedcb}   /* light teal */

/* 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: #3e8e41;
} */

/* --- Google Form Styling --- */

iframe {
    width: 85%;
    height: 754px;
    margin: auto;
    border: 0;
}
