@charset "utf-8";
body {
	margin: 0px;
	background-color: #ddd;
}

a{
	text-decoration: none;
	color:inherit;
}

#content{
	padding-left: 5%;
	padding-right: 5%;
	margin:auto;
	position: relative;
	top: 100px;
	max-width:1500px;
}

#content h1, h2, h3, h4, h5{
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	color: #00A09B;
	
}

.title{
    font-size: 36pt;
    clear: both;
	margin-top: auto;
	margin-bottom: auto;
}

.subtitle{
    font-size: 24pt;
	margin-top: auto;
	margin-bottom: auto;
	margin-left: 50px;
    clear: both;
    color: hsla(177,19%,53%,1.00);
}

#content p{
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    text-align: justify;
	padding-left: 50px;
    padding-right: 50px;
}

nav {
	position: fixed;
	top: 0;
	width: 100%;
	overflow: hidden;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
	align-content: stretch;
	background-repeat: no-repeat;
	background-color: rgba(0, 0, 0, .75);
	z-index: 2;
}

nav h1{
    flex-shrink: 0;
    margin: 0px;
    flex-grow: 1;
    padding-left: 0px;
}

nav .navitem {
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	color: #00A09B;
	text-decoration: none;
}

nav .spacer{
	flex: 0 1 20px;
}

nav .endspacer{
	flex: 8 8 0px;
}
/* Dropdown Button */
.dropbtn {
	all:inherit
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    height: 100px;
    margin: 0px;
	flex: 1 1 0px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, .75);
    min-width: 160px;
    z-index: 1;
    padding-bottom: 15px;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Links inside the dropdown */
.dropdown-content h1 {
    flex: 1 1 0px;
    display: block;
    margin: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
	padding-right:10px;
}

.dropdown-content h1 a{
	vertical-align: center;
}

/* Change color of dropdown links on hover */
.dropdown-content h1:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: flex;}

/* Change the background color of the dropdown button when the dropdown content is shown */
/*.dropdown:hover .dropbtn {background-color: #3e8e41;}*/


nav img {	
	width: 10px;
	flex: 0 0 50px;
	padding:10px 0px;
}

.rotateimg90 {
  -webkit-transform:rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

#works{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	padding: 0px 20px;
}

#works h2{
	
	height:50px;

}

#bio-image{
    float: left;
    width: 200px;
    border-radius: 30px;
    border: thick solid #00A09B;
    margin-left: 50px;
    margin-right: 20px;
	margin-bottom:20px;
}

.works-entry{
	text-align: center;
	flex: 1 0 400px;
	margins: 0px 20px;
	margin-top: 0px;
	margin-right: 20px;
	margin-left: 20px;
	margin-bottom: 40px;
	background-color: hsla(0,0%,90%,1.00);
}

.works-entry img{
    width: 300px;
	height: 300px;
}

.works-entry h2 {
	color: #00A09B;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

#writtenContent{
    text-indent: 40px;
	background-color: hsla(0,0%,90%,1.00);
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 15%;
    margin-right: 15%;
    border-radius: 30px;
}

#writtenContent p{

}

#bibliograpy {
	background-color: #ccc;
	margin: 0px 5%;
	padding: 10px;
	border-radius: 30px;
}
#bibliograpy p{
	margin-left: 50px ;
  	text-indent: -50px ;
}

@media (max-width: 480px){
	
	#writtenContent{
		margin-left: 5%;
		margin-right: 5%;
	}

	.title{
		font-size: 20pt;
	}

	.subtitle{
		font-size: 14pt;
	}	

	nav h1{
		flex-shrink: 0;
		margin: 5px;
		flex-grow: 1;
	}

	nav .spacer{
		flex: 0 1 5px;
	}
	.dropdown-content h1 {
		flex: 1 1 0px;
		display: block;
		font-size:16pt;
	}
	.works-entry img{
		width: 75%;	
	}

	.works-entry{
		flex: 1 0 200px;
		margin:10px 0px;
		background-color: hsla(0,0%,90%,1.00);
	}
	
	#content .works-entry p{
    	padding-left: 0px;
    	margin: 20px;
   		padding-right: 0px;
	}
	
}
