

/*main cascading style sheet beings here*/
body {
	margin: 0;
	color: #111;
	background: white;
	font-family: helvetica neue;
	font-weight: 300;
	letter-spacing: 1px;
	line-height: 1.5;
	padding-left: 50px;
	padding-right: 50px;
	padding-top: 15px;
}

.full-width {
  width: 100vw;
  position: relative;
  z-index: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

header { 
	top: 0;
	background-color: #f5f5f5;
}

header h1 {
	margin: 0;
}

nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0px;
	overflow: hidden;
	background-color: #f5f5f5;
	white-space: nowrap;
}

nav ul li {
	display: inline-block; /*might be useless*/
	float: left;
	list-style-type: none;
	padding:  0px;	
	text-align: center;
	flex: 1;
}

nav ul li a {
	display: block;
	color: black;
	text-align: center;
	padding: 14px 16px;
	border-radius: 5px;
	text-decoration: none;
}

li a:hover {
	color: white;


}

h1, h2, h3, h5 {
	color: #444;
	font-weight: bold;
	font-size: calc(15px + 2.5vw);
	font-size: -webkit-calc(15px + 2.5vw);
	font-size: -moz-calc(15px + 2.5vw);

}

h4 {
	font-weight: 300;
	font-size: calc(5px + 1.5vw);
	font-size: -webkit-calc(5px + 1.5vw);
	font-size: -moz-calc(5px + 1.5vw);
}

h6 {
	padding-top: 50px;
	font-weight: 300;
	font-size: calc(4px + 1vw);
	font-size: -webkit-calc(4px + 1vw);
	font-size: -moz-calc(4px + 1vw);
}

li {
	color: black;
	font-weight: thin;
	padding: 5px;
	font-size: calc(10px + 1.5vw);
	font-size: -webkit-calc(10px + 1.5vw);
	font-size: -moz-calc(10px + 1.5vw);
}

a {
	color: #999;
}

img {
	max-width: 100%;
	height: auto;
}

p {
	font-size: calc(10px + 1.5vw);
	font-size: -webkit-calc(10px + 1.5vw);
	font-size: -moz-calc(10px + 1.5vw);
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 2; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: white; /* Black(#111)*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    box-shadow: inset -15px 0 30px -15px #BEBEBE;
}	

/* The navigation menu links */
.sidenav a {
    padding: 0px 16px 16px 30px;
    text-decoration: none;
    font-size: 18px;
    color: black;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: #8dc63f;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 30px;
    margin-left: 50px;
}

.sidenav .active {
	color: #8dc63f;
	font-weight: 400;
}
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav li {font-size: 18px;}
}

#nav {
	display: flex;
}

.active {
	color: white;

}

.secondary {
	font-weight: 300;
	color: #555;

}

.fixednav {
	position: fixed;
	z-index: 1;
	top: 0;
	right: 0;
	padding-left: 30px;
	background-color: white;
	filter: drop-shadow(0 0 0.25rem #999);
	width: 100vw;
  	left: 50%;
 	right: 50%;
 	margin-left: -50vw;
  	margin-right: -50vw;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */  
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
    background-color: #8dc63f;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
    background-color: #C0C0C0;
}

/* Add a background color and some padding around the form */
.container {
    border-radius: 5px;
    background-color: white;
    padding: 20px;
    filter: drop-shadow(3px 3px 0.2rem #C0C0C0);
}

/* Place the navbar at the bottom of the page, and make it stick */
.navbar {
    background-color: white;
    overflow: hidden;
    bottom: 0;
    width: 100%;
    filter: drop-shadow(3px 3px 0.2rem #C0C0C0);
    border-radius: 3px;
    border: 1px solid #dcdcdc;
}

/* Style the links inside the navigation bar */
.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.navbar a:hover {
    background-color: white;
    color: white;
}

span:hover {
	color: #8dc63f;
}

@media screen and (max-width: 1020px) {
  #container, #header, #content, #footer {
    float: none;
    width: auto;
  }
}


