body{
    font-family: "Nunito", serif;
    font-style: normal;
    background-color: #1c7ce3;
}

/* site grid set up */

.wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    grid-template-rows: auto;
    grid-template-areas: 
        "header header"
        "nav nav"
        "main aside"
        "footer footer";
    grid-gap: 6px;
}

header {
    grid-area: header;
    background-color: #21327a; /* navy blue */
    color: #dbdde8;
}

/* border */
header, nav, main, aside, footer {
    border-style: solid;
    border-width: 3px;
}

nav {
    grid-area: nav;
    background-color: #21327a; /* navy blue */
    color: #dbdde8;
}

main {
    grid-area: main;
    background-color: #21327a; /* navy blue */
    color: #dbdde8;
}

aside {
    grid-area: aside;
    background-color: #21327a; /* navy blue */
    color: #dbdde8;
}

footer {
    grid-area: footer;
    background-color: #21327a; /* navy blue */
    color: #dbdde8;
}

/* front page image grid */

.homeimages{
  display: grid;
  grid-template-columns: 250px 25-px;
  grid-template-rows: auto;
  grid-template-areas: 
      "free haiku";
  grid-gap: 4px;

  width: 500px;
  margin: auto;
  padding: 5px;
}

/* general formatting */

.box {
    padding: 20px;
    border-radius: 10px;
}

h1, h2, h3 {
        font-family: "Nunito Sans", serif;
        font-style: normal;
}

img.roundleft{
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  float: left;
  padding-right: 50px;
}

.allround{
  border-radius: 20px;
  box-shadow: 1px 0px 10px #000;
}

.centred {
  text-align: center;
}

.italics {
  font-style: italic;
}

/* link formatting */

/*main / sidebar section links*/

a:link {color:#66d5dd;}
a:visited{color:#c3ceff;}
a:hover {color:#66d5dd;}

/* top nav */
 
nav a{text-decoration: none;}
nav a:link {color: white;}
nav a:visited {color:#c3ceff;}
nav a:hover {color:#48f3ff;}

/* dropdown menu */
/* from https://www.w3schools.com/Css/css_dropdowns.asp */

.littlearrow{
 font-size: 50%;   
}

/* Style The Dropdown Button */
.dropbtn {
    background-color: #21327a;
    color: white;
    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) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color:#21327a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-style: solid;
    border-color: #f1f1f1;
    border-width: 1px;
  }
  
  /* 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: #f1f1f1}
  
  /* 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: #1c7ce3;
  }

  iframe {
    width: 85%;
    height: 754px;
    margin: auto;
    border: 0;
  }

  /*  text over image css */
  /* code is 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%;
	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;
}

.info {
  background-color: #000;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  border-color: #f1f1f1;
  padding: 10px;
  width: 50%;
}

.composername {
  font-size: 150%;
  font-weight: bold;
  padding-right: 15px;
}

#showhide {
  background-color: #1c7ce3;
  border-color: #f1f1f1;
  border-style: solid;
  color:#f1f1f1;
}

#showhide:hover {
  background-color: #21327a;
}