body {
    color: black;
    font-family: "Winky Sans", serif;
    font-size: large;
}
/* Set up site grid */
.wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: auto;
    grid-gap: 4px;
    grid-template-areas: 
        "header header"
        "nav nav"
        "main aside"
        "footer footer";
}

/* Set up grid for images on home page */
.homeimages {
  display: grid;
  grid-template-columns: 250px 250px;
  grid-template-rows: auto;
  grid-template-areas: 
  "cake burger"
  "steak cheese";
  grid-gap: 8px;
  width: 320px;
  margin: auto;
  padding: 5px;
}

/* Define styles for areas */
header {
    grid-area: header;
    background-color: #2C3930; 
    height: 84px;
}
nav {
    grid-area: nav;
    background-color: #3F4F44;
    color: #F2F2F2;
}

nav.box {
  padding: 25px;
}

main {
    grid-area: main;
    background-color: #A27B5C;
    color: #000;
}

aside {
    grid-area: aside;
    background-color: #3F4F44;
    color: #F2F2F2;
}

footer {
    grid-area: footer;
    background-color: #2C3930;
    color: #fff;
}

/* General formating */
.box {
    padding: 20px;
    border-radius: 10px;
    padding-left: 60px;
}

h1 {
    font-family: "Winky Sans", serif;
    font-weight: 300;
    padding-left: 150px;
    margin: auto;
    color: #F2F2F2;
     /* Make vertically centered */
     position: relative;
     top: 50%;
     transform: translateY(-50%);
     -webkit-transform: translateY(-50%);
     -ms-transform: translateY(-50%);
}

.allround {
  border-radius: 20px;
  float: left;
  box-shadow: 1px 0px 10px #000;
}

.centered {
  text-align: center;
  float: right;
}

.poemtype {
  font-size: 150%;
  font-weight: bold;
}


/* ---- Hover Text Formatting ---- */
.hvrbox {
  box-sizing: border-box;
	position: relative;
	display: inline-block;
	overflow: hidden;
	max-width: 100%;
	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; /* This will hide it by default */
}

.info {
  background-color: #A27B5C;
  color: #000;
  border: 1px solid #000;
  padding: 7px;
  border-radius: 3px;
}

#showhide {
  background-color: #fff;
  color: #000;
  font-style: italic;
  margin-left: 10px;
}

#showhide:hover {
  color: #fff;
  background-color: #000;
}


/* ---- Link Colour Formatting ---- */
a:link {color: #262626;}
a:visited {color: #2e2e2e;}
a:hover {color: #F2F2F2;}


/* Top Navigation */
nav a{text-decoration: none;}
nav a:link, nav a:visited {color: #262626;}
a:hover {color: #333333;}

/* ----Drop Down---- */
/* customized from https://www.w3schools.com/Css/css_dropdowns.asp */

/* Style The Dropdown Button */
.dropbtn {
    background-color: #DCD7C9;
    color: #262626;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 7px;
  }
  
/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    border: #262626 6px;
  }
  
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #c5bca4;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px black;
    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: #DCD7C9}
  
/* 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: #c5bca4;
  }

.arrow {
  font-size: 70%;
}