
/* START nav and modal */

body {
	background-color:rgb(18, 15, 13);
	overflow-x:hidden;
	margin:0 0 0 0;
}			
a {
	color:inherit;
	text-decoration: none;
}
nav {
	min-height: 64px;
	max-height:64px;
	background-color:rgba(0,0,0,.7);
	position:sticky;
	top:0;
	left:0;
	z-index: 1001;
	display:flex;
	padding:0 16px;
	width:calc(100% - 32px);
	align-items: center;
	justify-content: space-between;
}
img {
	width:32px;
	padding:0 8px 0 0;
	display: flex;
}
.menu-row {
	display: flex;
	align-items: center;
}
.contact {
	display:flex;
	max-width:100px;
	align-items:center;
}
.contact a:first-of-type {
	margin-right: 8px;
}
.menu-row .selected {
	background-color:rgb(4, 99, 129);
	color:#fff;
}
.menu-drop a, .menu-close a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    line-height: 0;
    align-items: center;
	padding:8px;
	border-radius: 4px;
}
.menu-close a {
	background-color:rgba(4, 99, 129, .5);
	color:#fff;
}
.menu-close a:hover {
	background-color:rgba(4, 99, 129, 1);
	color:#fff;
}
.menu-drop a:hover {
	background-color:rgba(4, 99, 129, .5);
	color:#fff;
}

.menu-drop, .menu-close {
	color: #aaa;
	font-family: Montserrat, sans-serif;
	margin:0 8px;
	text-align: center;
	border:none;
	letter-spacing: .05em;
	display: flex;
	align-items: center;
}
.menu-drop:hover svg, .menu-close:hover svg {
	fill:#fff;
}
.menu-drop svg, .menu-close svg {
	width: 24px;
	height: 24px;
	fill:#aaa;
	margin-right:8px;
	vertical-align: text-top;
}
.menu-window {
	position: fixed;
    background-color: rgba(0, 0, 0, 1);
    top: 0;
    right: 0;
    left: 0;
    z-index: 1002;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.menu-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.menu-bg {
	height: calc(100vh - 64px);
	display: flex;
	flex-direction: column;
	align-items: center;
}
.menu-bg > div {
	text-align: center;
	width: 100%;
	font-family: Montserrat, sans-serif;
	color: #aaa;
	font-size: 1.4em;
}
.menu-bg > div a {
	display:block;
	padding:8px 16px;
	border-radius: 4px;
}
.menu-bg > div:not(.active) a:hover {
	background-color:rgba(4, 99, 129, .5);
	color:#fff;			
}
.menu-bg .active {
	background-color:rgb(18, 15, 13);
	color: rgb(224,208,166);
	border-radius:4px;
}

/* END nav and modal */

section {
/*
	background-image: url("01-homebkgd.jpg");
	background-position: center;
*/
	display: grid;
	column-gap:16px;
	row-gap:16px;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	padding:16px;
	margin:0 0;
}
.card {
	padding:8px;
/* 				border: solid 1px #b7b7b7; */
	border-radius: 8px;
	display:inline-block;
	background-color:rgba(0, 0, 0, .8);
/* 				background-color:#fff; */
	min-width: 80px;
	display:flex;
	flex-direction: column;
	justify-content: space-between;
}
.card h1 {
	font-family: Montserrat, sans-serif;
	font-size:.9em;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: .25em;
	margin-top:0;
	margin-bottom:8px;
	color: rgb(224,208,166);
	text-align: center;
	font-weight: 500;
}
h2, .spacer {
	font-weight: normal;
	font-size:22px;
	letter-spacing: .05em;
	color: rgb(224,208,166);
	height:70px;
	line-height:70px;
    text-align: left;
    margin:0;
    padding-left: 16px;
    font-family: Montserrat, sans-serif;
}

.card .image {
	background-position: center;
	width:100%;
	height: 112px;
	background-size:cover;
	background-repeat: no-repeat;
	background-clip: border-box;
}
#ui-ux {
	background-image: url("03-uiux.jpg");
	background-position: center;
	}
#info {
	background-image: url("04-infographics.jpg");		
	background-position: center bottom;
}
#web {
	background-image: url("05-webdesign.jpg");
	}
#print {
	background-image: url("06-printdesign.jpg");		
	background-position: center 58%;
}
.card .summary {
	text-indent: 0;
	font-family: Roboto;
	font-size: .9em;
	line-height: 1.5;
	font-weight: 300;
		color: #e7e7e7; 
/* 				color: #333; */
}
.card .action, .home .action {
	display:flex;
	justify-content: flex-end;
	margin-bottom:8px;
}
.home .action {
	justify-content: flex-start;
	width: 50%;
	margin:0 16px 32px 0;
}
a.button {
	padding: 6px 12px;
	border-radius:16px;
	border: none;
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	letter-spacing: .075em;
	line-height:1;
	background-color: rgb(4, 99, 129);
	border:solid 1px #fff;
	color: #fff;	
	text-decoration: none;			
}
.item a.button {
	padding:4px 12px;
}
.home a.button {
	font-size: 13px;
}
.home a.button:first-of-type {
	margin-right:16px;
}
a.button:hover {
	background-color:rgb(0, 63, 83);
	outline:solid 1px #fff;
}
a.button.secondary {
	border:solid 1px rgb(4, 99, 129);
	background-color: rgb(18, 15, 13);
}
a.button.secondary:hover {
	border:solid 1px #fff;
	outline:solid 1px #fff;
}
.greeting {
	max-width: 100%;
	margin:32px 16px 0;
	color:#fff;
	text-align: center;
	font-family: Montserrat, sans-serif;
	font-size:48px;
	display: flex;
	flex:1 1 auto;				
}
.me {
	text-indent:0;
	font-size:1em;
	line-height: 1.5;
	font-family: Montserrat, sans-serif;
	color: rgb(224,208,166);
	margin:16px 16px;	
	border: solid 1px #777;
	border-left: none;
	border-right: none;
	padding:16px 0;				
}
.home {
	background-image: linear-gradient(to right, rgba(0,0,0,0) 25%,rgba(0,0,0,0.75) 50%), url("01-homebkgd.jpg");
	background-size: cover;
	background-position: 10% top;
	display:flex;
	flex-direction: column;
	width:100%;
	height:auto;
	align-items: flex-end;
}
.home .greeting {
	margin:32px 16px 0;
	color:#fff;
	text-align: left;
	font-family: Montserrat, sans-serif;
	display: flex;
	font-size:48px;
	display: flex;
	flex:1 1 auto;				
	max-width: 50%;
}
.home .me {
	text-indent:0;
	font-size:1em;
	line-height: 1.5;
	font-family: Montserrat, sans-serif;
	color: rgb(224,208,166);
	margin:16px 16px;	
	border: solid 1px #777;
	border-left: none;
	border-right: none;
	padding:16px 0;				
	max-width: 50%;
}

@media only screen and (min-width : 801px) and (max-width : 1024px) {
  section {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .home .greeting {
	  font-size:40px;
  }
}
@media only screen and (min-width : 481px) and (max-width : 800px) {
  section {
    grid-template-columns: 1fr 1fr;
  }
  .home .greeting {
	  font-size:32px;
  }
}
@media only screen and (max-width : 480px) {
  section {
	grid-template-columns: 1fr;
	row-gap:16px;
	}
	  .home .greeting {
		  font-size:32px;
		  max-width:100%;
	  }
	  .home .me {
		  max-width: 100%;
	  }
	  .home .action {
		  margin: 0 16px 32px 16px;
		  width: calc(100% - 32px);
	  }
	  .home {
		  background-position:15% top;
	  }
}
@media only screen 
	and (min-device-width : 320px) 
	and (max-device-width : 550px) {
	  section {
		grid-template-columns: 1fr;
		row-gap:16px;
		}
	  .home .greeting {
		  font-size:32px;
		  max-width:100%;
	  }
	  .home .me {
		  max-width: 100%;
	  }
	  .home .action {
		  margin: 0 16px 32px 16px;
		  width: calc(100% - 32px);
	  }
	  .home {
		  background-position:15% top;
	  }
	}




