/** write your styles in this sheet. **/

* {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background:#f9f1e9;
  color: darkblue;
  /**/
 font-family: 'Abel', sans-serif;
}

h1{font-size: 30px;
    position: relative;
    padding-left: 1.5em
    
}

body {
  width: 100%;
  margin: 0;
  overflow: auto;
}

#arrow{
 position:absolute;
  right: 0;
  top:350px;
  width:18px;
  height:112px;
  z-index:9999;
    padding: 0;
}





/*** project overlay ***/
.project-page {
  position: fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index: 9999999999;
  padding: 3em;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color:#f9f1e9;    
}
.project-page.bg-black {
  background-color:darkcyan;
}

.project-page * {
  margin-left: auto;
  margin-right:auto;
}
.project-page .container {
    display: flex;
}

.project-page .container .projectInfo {
    max-width: 250px;
    font-size: 12px;
    color:#bebbbb;
}
.project-page .modules-list {
    max-width: 50em;
}

.project-page button.close {
  background-color: transparent;
  border: 2px ;
  border-radius: 20%;
  position: fixed;
  top: 2rem;
  right: 2rem;
  font-size: 1rem;
  height: 3.5rem;
  width: 3.5rem;
  line-height: 3.5rem;
}

/* easy class to add to <ul>s to get rid of listy stuff */
.list-reset {
  list-style: none;
  margin:0;
  padding: 0;

}

.container h1{
    margin:0;
    padding:0;
    font-size: 30px;
    color:darkblue;
    

}
/* try to keep body from scrolling in the background */
.stop-scrolling {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.image-wrapper {
    position: relative;
    
    
}

.image-wrapper:hover .name-wrapper {
    opacity: 1;
    top: 100%;
    transform: translate(-50%, -100%);
    color:#aaa;
}
.name {
 text-align: center;
 color:darkblue;
 font-family: 'Abel', sans-serif;
font-size: 15px;
}

.name-wrapper {
    margin: 0;
    padding: 0;
    opacity: 0;
    position: absolute;
    top: 25%;
    left: 50%;
    width: 110%;
    transform: translate(-50%, -50%);
    background: #f9f1e9;
}

.close{
    color:darkblue;
}












img {
/*  width: 100%;*/
  max-width: 100%;
  height: auto;
}

/*** project grid ***/
/*** attempting to use flexbox for ease of use in regards to mismatched heights, etc ***/
/*** http://codepen.io/bjornmeansbear/pen/OpRqEW?editors=0100 ***/

#behance-magix {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: row wrap;
}

.project {
  width: 50%;
  padding: 3em;
  position: relative;
  top:120px;
}

.project:nth-child(3n) {
    width: 100%;
    color: darkturquoise;
}

.project .image-wrapper {
  margin: -1em -1em 0;
}

/*** project overlay ***/
.project-page {
  color: white;
}

.project-page a {
  color: #bebbbb;
 position:fixed;
}






*{
    box-sizing: border-box;
    transition:all 350ms;
}

body{
    background-color: #f9f1e9;
}


header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    background-color: #f9f1e9;
    z-index: 2;
    
}



header nav ul {
    display: none;
    list-style: none;
    margin: 0;
    padding:0;
    position:relative;
    right: auto;
}

header nav ul li{
    float:right;
    text-align: center;
}


header nav ul li a{
    display:block;
    padding:1em;
    text-decoration: none;
    color:darkblue;
   
}

header nav li a:hover{
display:table-row;
   color:white;
}

.modal {
    background: #4286f4;
    position: fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index: 100;
    color: white;
}

.modaltitle{
    z-index: 102;
    position: absolute;
    color: white;
    left:35px;
}


.hamburger{
    height:3em;
    width:3em;
    background:#f9f1e9;
    border:none;
    border-radius:50%;
    text-align: center;
    position: absolute;
    right: 8%;
    top: 25px;
}

.hamburger span{
    display:block;
    width:2em;
    height:.25em;
    border-radius: .125em;
    background-color: darkblue;
    margin-bottom: .25em;
    
    
}

@media (min-width:50em){
    .hamburger{
        display: none;
    }
    header nav ul{
        display: block;
    }
}

.title-name {
    text-decoration: none;
    color: white;
}

.title-name:hover {
    color: darkblue;
}


