body{
    color: white;
    font-family: "Exo 2", 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{
    border-color: black;
    padding: 20px;
    border-radius: 10px;
}

header {
    grid-area: header;
    background-color: #2C1A35;
    color: #fff;
    padding: 0;
    border-style: solid;
    border-width: 3px;

    height: 84px;
}

nav, main, aside {
    border-style: solid;
    border-width: 3px;
}

nav {
    grid-area: nav;
    background-color:#401E31; 
}

main{
    grid-area: main;
    background-color: #15061C; 
}

aside{
    grid-area: aside;
    background-color: #2C1A35; 
}

footer{
    grid-area: footer;
    color: white; 
    background-color: #401E31;  
    text-align: right;   
    border-style: solid;
    border-width: 3px;
}

/* ---- 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: "Black Ops One", 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;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 1px 0px 10px #000;
        float: left;
    }

.allround{
    border-radius: 20px;
    box-shadow: 1px 0px 10px #ffffff;
}

.centered {
    text-align: center;
}

.centered {
    text-align: center;
}

/* ---- Hover Text Formatting ----*/

.hvrbox,
.hvrbox * {
	box-sizing: border-box;
}
.hvrbox {
	position: relative;
	display: inline-block;
	overflow: hidden;
	max-width: 100%;
    border-radius: 20px;
	height: auto;
    margin:15px;
}
.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: white;
	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-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 1px 0px 10px #000;
    padding: 10px;
    color: white; 
    background-color: #401E31;  
    text-align: right;   
    border-style: solid;
    border-width: 3px;
}

#showhide {
    background-color: white;
    font-style: italic;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
}

#showhide:hover {
    color: #343131;
    background-color:#8e4870;
}

/* ---- Link Formatting ---- */

/* Links in the main section & Sidebar */
a:link {color: yellow;} 
a:visited{color:yellow;}
a:hover {color: white;} 


/* Top Navigation */
nav a{text-decoration: none;}
nav a:link, nav a:visited {color:yellow;} /* yellow font colour */
nav a:hover {color: yellow;} 


    /* ---- Drop Down Menu ----*/
    /* Style The Dropdown Button */

.dropbtn {
    background-color: #15061C;
    color: rgb(0, 0, 0);
    padding: 13px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 10px;
  }
  
  /* 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: #000000;
    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: #464343}
  
  /* 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: #2C1A35;
  }

  /* --- Google Form Styling --- */

  iframe {
    width: 85%;
    height: 754px;
    margin: auto;
    border: 0;
  }