html {
    font-family: 'Josefin Sans', sans-serif;
    font-family: 'Crimson Text', serif;
    margin: 0;
    padding: 0;
    font-size: 100%;
}

body {
    background-color: #111;
    margin: 0%;
    padding: 0;
}

h1 {
    color: #999;
    font-size: 2.5em;
}

p, a, a:hover {
    color: #999;
    font-size: 1.2em;
    text-decoration: none;
}

#creditline a {
    font-size: 0.8em;
}

a {
    outline: 0;
}


/* home */

#home {
	position: absolute;
    	width: 100%;
	height: 100vh;
	z-index: 9999;
	background-color: #111;
	background-image: url(images/constructivegreen2.JPG);
	background-size: cover;
}

#title {
	position: absolute;
	top: 80%;
	left: 55%;
	text-align: right;
}

#home p, #home h1 {
	display: block;
	margin: 0 auto;
	text-align: right;
	padding: 1%;
}

#home h1 {
	margin-bottom: 2%;
	font-size: 2.5em;
}

#home p {
	position: absolute;
	right: 0;
	width: 80%;
	padding: 0.1vw;
}

#home a {
	position: absolute;
	bottom: 4%;
	left: 4%;
}

#home a img {
	height: 30px;
}

@media only screen and (max-width: 800px) {

	#title {
	top: 5%;
	left: 4%;
	max-width: 90%;
	}

	#home h1 {
		font-size: 2em;
	}

	#home p {
	}

}


#homeflex {
    display: flex;
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
	width: 60vw;
	height: 60vh;
	margin: 8% auto 0% auto;
}

#home div div {
	width: 15em;
	height: 15em;
	background-position: center;
	background-size: cover;
	border: 1px solid #000;
}

#home div a {
	display: block;
	text-align: right;
	text-decoration: none;
	margin-top: 11em;
	padding-right: 1em;
}

@media only screen and (max-width: 800px) {
	#homeflex {
			width: 90%;
			margin-top: 2%;
	}

	#home div div {
			width: 10em;
			height: 6em;
			margin-bottom: 1em;
	}

	#home div a {
			margin-top: 0.5em;
	}
}

/* credit */

#credit{
    position: absolute;
    bottom: 4%;
    right: 4%;
    z-index: 999;
    padding: 0;
}

#credit p {
    padding: 0;
    margin: 0;
    text-align: right;
    color: #999;
    font-size: 1.1em;
}

/* main image */

#imagine {
    height: 100vh;
    margin: 0;
    padding: 0;
    background-image: url(images/departingyellow1.JPG);
    background-size: cover;
    background-position: center;
}


/* context */

#context {
    position: absolute;
    right: 4%;
    bottom: 10%;
    width: 70%;
}

#context h1 {
    margin: 5% 0% 0.5% 0;
    text-align: right;
    color: #999;
    font-size: 4em;
    line-height: 0.3;
    font-weight: normal;
}

#context p {
    text-align: right;
    color: #999;
    font-size: 2em;
    line-height: 1;
}

@media only screen and (max-width: 800px) {

    #context {
	top: 1%;
	left: 2%;
	width: 90%;
    }

    #context h1 {
	margin: 0;
        font-size: 2.5em;
        line-height: 1;
    }

    #context p {
	font-size: 1.5em;
    }

    #credit {
	max-width: 60%;
    }

    #credit p {
	font-size: 1em;
    }
}


/* in series navigation */

#explore {
    position: absolute;
    left: 6%;
    bottom: 6%;
    width: 80%;
}

#explore img {
    display: none;
    margin: 0 2% 2% 0;
    width: auto;
    height: 8em;
}

@media only screen and (max-width: 800px) {

    #explore {
        bottom: 14%;
    }

    #explore img {
	height: 4.5em;
    }
}

/* navigation icons */

#nav {
    position: absolute;
    left: 4%;
    bottom: 4%;
    width: 20%;
}


#aboutnav, #explorenav {
    height: 30px;
    padding: 0 2%;
}

#footernav1 {
    margin-left: 4%;
    margin-top: 2%;
    height: 30px;
}

@media only screen and (max-width: 800px) {
    #aboutnav, #footernav1, #explorenav {
            padding: 0 4%;
    }
}


/* beneath the fold: footer */

footer {
    width: 100%;
    height: 100vh;
    border-top: 2px solid #999;
}


#about {
	width: 60%;
	margin: 5% auto 8% auto;
}


/* beneath the fold: series */

#series {
    display: flex;
    flex-wrap: no-wrap;
    justify-content: space-between;
    align-content: space-between;
    width: 60%;
    margin: 0 auto;
    padding: 2% 0 0 0;
    border-top: 1px solid #999;
}

#series div {
    width: 6vw;
    height: 6vw;
    margin: 5px;
    border: 1px solid #999;
}

#series a {
    display: block;
    width: 90%;
    height: 70%;
    padding-top: 30%;
    margin: auto;
    text-decoration: none;
    text-align: center;
    font-size: 1em;
}

#creditline {
    width: 60%;
    margin: 5em auto 0 auto;
}


@media only screen and (max-width: 1025px) {

    #series, #footer, #creditline, #about {
	    width: 85%;
    }

    #series {
	    border-top: none;
	    flex-wrap: wrap;
    }

    #series div {
	    width: 25vw;
	    height: 25vw; 
    }

}

@media only screen and (max-width: 800px) {
	#series div {
		width: 35vw;
		height: 35vw;
	}
}


/* webform */

form {
	width: 40%;
	margin: 10% auto 0 auto;
}

input, textarea {
    font-family: 'Crimson Text', serif;
	border: 1px solid #999;
	background-color: #111;
	color: #999;
	width: 100%;
	font-size: 1.5em;
}

input[type="submit"] {
	width: 30%;
	margin-top: 5%;
	font-weight: normal;
	background-color: #999;
	color: #111;
}

.formreply {
	display: block;
	width: 40%;
	margin: 10% auto 0 auto;
}

.formreply a {
	text-decoration: underline;
	font-size: 1.3em;
}

#formnav {
    position: absolute;
    left: 4%;
    top: 2%;
    height: 30px;
}
