@charset "utf-8";
/* CSS Document */

:root {font-size: 16px; height: 100%}

* {margin: 0; padding: 0; text-decoration: none; box-sizing: border-box; list-style-type:none }

h1, h2, h3, h4, h5, h6, p {margin-bottom: 20px}



/* MAIN TAGS */
body {
	font-family: "roboto", sans-serif;
	background: #dae9f6;
}

h1 {
	font-size: 3rem;
	margin-bottom: 0.3125em;
}

h3 {
	letter-spacing: 2px;
}

p {
	font-size: 1.2rem;
	line-height: 1.5625em;
}

form {
	width: 100%;
	border-radius: 50px;
}

fieldset {
	background: rgba(255,255,255,.6);
	border: none;
	padding: 50px 0;
	border-radius: 30px;
}

legend {
	margin-left: 40px;
	background: #dae9f6;
	padding: 10px 40px;
	border-radius: 30px;
	border: solid 3px  rgba(255,255,255,.6);
	font-size: 1.375rem;
	color: #141B32;
}

label {
	display: inline-block;
	width: 180px;
	text-align: right;
	margin: 0 10px 20px 0;
	color: #141B32; 
	vertical-align: center;
}

input {
	cursor: pointer;
}
/* Ira, add-on */
.scalePic{
  border:solid 3px;
  max-width:50%;
  height:auto;
  display:block;
  margin: 1.2em auto;
}

/* CLASS & ID */
.container {
	display: flex;
	flex-direction: column;
	background: pink;
}

.nav {
	position: fixed;
	display: flex;
	background: #455275;
	width: 200px;
	height: 100%;
}

.logo {
	position: absolute;
	top: 20px;
	left: 25px;
	width: 75%;
}
.menu {
	visibility: hidden;
}

.nav h1 {
	font-size: 1.375rem;
	position: absolute;
	top: 220px;
	left: 23px;
	color: white;
	font-family: 'Pacifico', cursive;
	letter-spacing: 2px;
}

.nav-bar {
	height: 400px;
	padding: 10px;
	position: absolute;
	top: 240px;
	left: 43px;
}

.nav-bar a {
	text-align: center;
	font-size: 1.375rem;
	margin: 30px 0;
	display: block;
	border-bottom: solid 1px #333;
	padding:10px;
	color: rgba(255,255,255,.8);
}

.nav-bar a:hover {
	color: #141B32;
	border-radius: 15px 15px 0 0;
	font-weight: 800;
}

.content  {
	position: absolute;
	left: 200px;
	margin: 50px 50px;
}

.cover {
	width: 100%;
	margin-bottom: 50px;
}

.portfolio {
	width: 49%;
	display: inline-block;
	margin: 2px;
}

.title {
	text-align: center;
}

.red {
	font-family: 'Shojumaru', cursive;
	color: red;
	font-size: 2.5rem;
	font-weight: 600;
}

.gold {
	font-family: 'Droid Serif', serif;
	color: gold;
	font-size: 1.875rem;
}

.button {
	width: 15%;
	display: inline-block;
	padding: 10px;
	margin-left: 20px;
	background: #455275;
	border: none;
	color: rgba(255,255,255,.9);
	box-shadow: 0px 12px 10px -7px rgba(0,0,0,0.5);
	transition: all .5ms ease-in-out;
}

.button:hover {
	box-shadow: 0px 22px 10px -10px rgba(0,0,0,0.2);
	transform: rotateX(360deg);
	background: #455275;
	color: white;	
}


/* RESPONSIVE */
@media (max-width:640px) {
	.container {
		position: relative;
	}

	.nav {
		position: fixed;
		top: 0;
		height: 75px;
		width: 100%;
		z-index: 1;
	}

	.nav h1 {
		display: none;
	}

	.menu {
		position: absolute;
		cursor: pointer;
		top: 15px;
		left: 15px;
		color: rgba(255,255,255,0.8);
		visibility: visible;
		height: 60%;
		transition: all .5s ease-in-out;
	}	

	.menu:hover {
		color: #141B32;
		transform: rotateZ(180deg);
		backface-visibility: hidden;
	}

	.nav-bar {
		opacity: 0.98;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #455275;
		text-align: center;
		transform: translateX(-100%);
		transition: transform .5s ease-out;
	}

	.nav-bar.open {
		transform: translateX(0);
		top: 75px;
	}

	.nav-bar a {
		display: inline-block;
		width: 300px;
		font-size: 1.875rem;
		color: rgba(255,255,255,0.7);
		border-bottom:  solid 2px rgba(255,255,255,0.2);
		padding-top: 10px;
		transition: all .2s ease-in;
		font-weight: 800;
	}

	.nav-bar a:hover {
		background: rgba(255,255,255,0.8);
		color: #455275;
		border-radius: 15px 15px 0 0;
	}

	.logo {
		display: none;
	}

	.content {
		position: absolute;
		left: 0;
		top: 75px;
	}
}