/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   /* COLORS ====================================
   Background (sea green): #7aafbc;
   Accent (yellow): #ffff00;
   Type (dark grey): #939393;
   font-family: 'Roboto Slab', serif;
   font-family: 'Open Sans', sans-serif;
   font-family: 'Montserrat', sans-serif;
   font-family: HelveticaNeueLTStd-Th;
   ============================================= */

   header{
   	width: 0;
    margin: 0;
   }


   body{
     width: 100%;
     font-family: 'Montserrat', sans-serif;
     font-size: 1em;
     height: 100%;
     background: #7aafbc;
     color: #fff;
   }

   img {
   	width:80%;
   	height:auto;
   }


   /* =================
  hamburger nav
   ==================== */
   .hamburger{
     background:none;
     position:absolute;
     top:0;
     right:0;
     padding: 20px 25px 0 0;
     line-height:45px;
     color:#ffff00;
     border:0;
     font-size:2.5em;
     font-weight:lighter;
     cursor:pointer;
     z-index:10000000000000;
   }
   .cross{
     background:none;
     position:absolute;
     top:0;
     right:0;
     padding: 20px 25px 0 0;
     color:#fa0707;
     border:0;
     font-size:5em;
     line-height:70px;
     font-weight:100;
     cursor:pointer;
     z-index:10000000000000;
   }

   .full-nav-home{display:none;}
   .main-header {display:none;}

   .menu {z-index:1000000; margin-left: 4%; font-weight:lighter; font-size:2em; width:100%; background:none;  text-align:left; text-transform: lowercase; font-family: 'Montserrat', sans-serif;}
   .menu ul {margin: 0; padding: 0; list-style-type: none; list-style-image: none;}
   .menu li {display: block; padding:0;}
   .menu li:hover{display: block; padding:0;}
   .menu ul li a {text-decoration:none;  margin: 0; color:#ffff00;}
   .menu ul li a:hover {color: #fff; text-decoration:none;}
   .menu a{text-decoration:none; color:#ffff00;}
   .menu a:hover{text-decoration:none; color:#fff;}

   .glyphicon-home{
     color:white;
     font-size:1.5em;
     margin-top:5px;
     margin:0 auto;
   }

   .static{display:none;}




   /* =================
      end hamburger nav


   ==================== */



main {
    width: 100;
    margin-top:5%;
    }

   /* =================
      home page

   ==================== */
   .horizontal-center {
       justify-content: center;
     }
   .vertical-center {
       align-items: center;
     }
   .box {
     display:flex;
     flex-direction:column;
     height: auto;
     margin-top: 20%;
     align-content:flex-start;
     width:auto;
     }


  .logotype {
  font-size: 2.2em;
  text-transform: uppercase;
  text-align: left;
  line-height: normal;
  margin-left: 5%;

}

.firstname {
  font-weight:bolder;
  color: #ffff00;
  letter-spacing: -1;
  font-family: 'Open Sans', sans-serif;
 }

.lastname {
  font-weight:200;
  margin-left: -10px;
  color: #fff;
  letter-spacing: -1;
 }

 .tagline {
   display: flex;
   font-size: 14px;
   color: #fff;
   text-transform:lowercase;
   letter-spacing: .1px;
   font-family: 'Montserrat', sans-serif;
   font-weight:300;
   line-height: 18px;
   text-align:left;
   margin: 3% 2% 3% 5%;
   width: auto;
 }

 #animateToRight {
     display:none;
     width: 125px;
     height: 125px;
     position: absolute;
     margin-top: 4%;
}

 #animateToLeft {
     display:flex;
     width: 135px;
     height: 135px;
     position: absolute;
     margin-bottom: 4%;
 }


   footer{
     width:100;
     right: 0;
     left: 0;
     height:auto;
     background-color: #7aafbc;
     margin:none;
   }

   footer ul {
       list-style: none;
       width: 50%;
       margin-left: 20%;
       margin-right: 20%;
     }

   footer ul li {
     display:inline-block;
     padding: 5% 5% 5% 5%;
   }

   .social-icons{
       width: 25px;
       height: 25px;
     }



  /*-- MOBILE --*/
  .mb-section-head {
    margin-top:5% 5% 5% 0;
    width: auto;
    height: 30px;
    text-align: right;
    line-height: .5em;
    padding-right: 24px;
    border-bottom: 1px solid #ffff00;
  }
  .home-img{
    display: block;
    width: 30px;
    height: 30px;
    float: left;
    margin-left:20px;
  }

  /* ==============================
     mb head drop down
  ================================= */
  .mb-section-head ul{
   list-style:none;
   position:relative;
   float:right;
   margin-top:2%;
   margin-bottom: 3%;
   font-weight:200;
   font-family: 'Montserrat', sans-serif;
   font-size: 18px;
   display:block;
   text-decoration:none;
   color:#ffff00;
   width:100px;

  }

  .mb-section-head ul li a{
   position:relative;
   float:left;
   text-align:left;
   margin-bottom: 27px;
   color:#fff;
  }
  .mb-section-head ul li a:hover{
    color:#ff0000;
  }

  .mb-section-head ul ul li a{
   display:block;
   position:relative;
   top:100%;
   left:0;
   float:none;
   width:100px;
   text-align:left;
   line-height: 6px;
   color:#fff;
   background-color:#7aafbc;
  }

  /* ===== Help not working! ====== */
  .mb-section-head:hover .mb-section-head ul{
    display:none;
    position:absolute;
  }
  /* ==============================*/


  .mb-section-head a:hover{
    color:#ff0000;
  }

  /* ==============================
     end mb section head drop down
  ================================= */


   /*-- MOBILE ABOUT --*/
  .about-page {display:none;}
  .resume-button {font-size:12px; padding: 0;}

  .intro {
   font-size: 28px;
   font-weight:normal;
   color: #fff;
   padding-left: 6%;
   text-align: left;
   font-family: 'Montserrat', sans-serif;
   line-height: 50px;
   padding-top: 30%;
   }

  .bodytext {
   font-family:'Montserrat', sans-serif;
   font-size: 16px;
   text-align:left;
   line-height: 30px;
   font-weight:300;
   color: #fff;
   padding: 0 6% 0 2%;
 }
 .resume-button a {
   text-decoration: none;
   color: #ffff00;
   vertical-align:middle;
   text-align: left;
 }
 .resume-button a:hover{
   color: #fff;
}
   /*-- MOBILE PROJECTS --*/
  .project {
    display:block;
    height:auto;
    width: auto;
    }

  .text-project{
    font-size: 11px;
    font-family: 'Roboto Slab', serif;
    text-align:left;
    font-weight:300;
    color: #fff;
    padding: 18% 0 5% 5%;
    }
   #first-category{margin-top: 35%}

  .project-categories {
    font-family:'Montserrat', sans-serif;
    font-size: 18px;
    text-align:center;
    line-height: 30px;
    font-weight:300;
    color: #fff;
    padding-bottom: 5%;
    margin-left: 0;
    }

  .box-project {
    display: flex;
    flex-flow: row;
    width:auto;
    height:auto;
    padding-bottom: 20px;
    text-align: center;
    }

   /*-- COMMENTS --*/
   .comments {
    font-family:'Montserrat', sans-serif;
    font-size: 14px;
    text-align:left;
    line-height: 20px;
    font-weight:300;
    color: #fff;
    margin: 6% 2% 1% 2%;
    font-style: italic;
    height:auto;
    border-bottom-color: #fff;
    border-bottom-style:solid;
    border-bottom-width:thin;
  }



   /*-- MOBILE CONTACT --*/
    .contact-background{
      color:#7aafbc;
    }

    .contact {
      margin: 36% 5% 12% 5%;
      font-size: 16px;
      line-height: 28px;
      line-height: 22px;
      color: #fff;
      text-align: left;
      font-weight: 300;
    }

  .left-logotype{
    font-size: 24px;
    text-transform: uppercase;
    text-align: left;
    line-height: 20px;
    margin-left: 4%;}

  .contact-info {
      display: block;
      font-size: 18px;
      line-height: 20px;
      font-weight: 300;
      text-align: left;
      color: #fff;
      margin-bottom: 50px;
      text-transform: lowercase;
      margin-left: 4%;
    }

    a {
      text-decoration: none;
      color: #fff;
      }

    a:hover {
        color: #ffff00;
      }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media (min-width: 641px) {

body {
  background:#fff;
  max-width: 100%;
}

.body-background-landing {background: #7aafbc;}
.body-background-contact {background:#7aafbc;}

 .mb-section-head{display:none;}
 .hamburger{display: none;}
 .cross{display: none;}
 .menu{display: none;}

/* === nav for full landing page === */

.logotype {margin-left: 15%;}
.tagline {margin-left: 15%; margin-top: 5px;}
.box {
  margin-top: 10%;
  }

.lastname {
  font-weight:lighter;
}

#animateToRight {
    display:block;
    width: 125px;
    height: 125px;
    position: absolute;
    margin-top: 24%;
}

#animateToLeft {
    display: none;
}

 .static{
   display: flex;
   flex-direction: column;
   align-content:flex-start;
   font-weight:lighter;
   font-size:2em;
   background:none;
   text-align:left;
   text-transform: lowercase;
   margin-left: 11%;

 }
 .static ul {list-style-type: none; list-style-image: none;}
 .static li {padding:0;}
 .static li:hover{padding:0;}
 .static ul li a {text-decoration:none;  margin: 0; color:#ffff00;}
 .static ul li a:hover {color: #fff; text-decoration:none;}
 .static a{text-decoration:none; color:#ffff00;}
 .static a:hover{text-decoration:none; color:#fff;}

/* === nav for about/projects/content pages === */

.main-header{
  display: block;
  width:auto;
  height: 40px;
  margin-bottom: 5%;
  background-color: #7aafbc;
  padding-top: 18px;
}

.full-nav-home {
  display:block;
  margin-bottom: none;
  padding: none;
}
.home-img{
  display: block;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 1%;
}

.top-nav {
	background: #7aafbc;
  width: auto;
  height: auto;
}
.top-nav ul {
    list-style: none;
    width: 450px;
    float:right;
    font-weight:300;
    font-family:'Montserrat', sans-serif;
    font-size: 1em;
	}
.top-nav ul li{
			text-align: center;
      display: inline;
      padding:0 9% 0 0;
      line-height: 1em;
		}
.top-nav ul li a{
				text-transform: lowercase;
				color: #fff;
			}
.top-nav ul li a:hover{
				color: #939393;
			}
      #ur-here{
      color: #ffff00;
      }





.contact-page-rule{
      border-bottom: 1px solid #ffff00;
      width: 100%;
      height: 40px;
      }



/* === footer for about/projects/content pages === */

footer{
  display: block;
  height: 20px;
  background-color: #7aafbc;
  padding-bottom: 45px;
  padding-top: 0px;
}
footer .length {
  width:100%;
}

footer ul {
    list-style: none;
    width: 35%;
    margin-left: 35%;
    margin-right: 35%;
  }

  .social-icons{
      width: 30px;
      height: 30px;
      margin-top: 0;
      margin-bottom: 2px;
    }




/* === about.html page === */


.intro {
  text-align: left;
  margin: 0 0 0 5%;
  color: #939393;
  flex-direction: column;
  align-items:flex-start;
  display:flex;
  line-height: 40px;
  padding-top: 0;
}
.bodytext {
  text-align:left;
  color: #939393;
  width: 600px;
  padding: 0;
}

.resume-button{
  padding: 15px;
  background-color: #7aafbc;
  font-size: 16px;
  line-height:normal;
  color: #ffff00;
  margin: 20px 0 20px 0;
  display:block;
  }

.resume-button a {
  text-decoration: none;
  color: #ffff00;
  vertical-align:middle;
  text-align: center;
}
.resume-button a:hover{
  color: #fff;
}

.about-page {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin: 3% 1% 3% 11%;
  align-items:flex-start;
}

.jobtitle{
  font-weight:300;
  font-family:'Montserrat', sans-serif;
  color: #939393;
  line-height: 2px;

}

h1 {
  line-height: 2px;
  font-weight: lighter;
  padding: 0;
}

h3{
  font-weight:bolder;
  font-size: 1em;
  color: #7aafbc;
  line-height: 2px;
  padding: 0;
  }

/*-- COMMENTS.html page  --*/

  .comments {
   font-family:'Montserrat', sans-serif;
   font-size: 14px;
   text-align:left;
   line-height: 25px;
   font-weight:300;
   color: #939393;
   width: 600px;
   border-bottom-color: #7aafbc;
 }

/* === projects.html page === */

      .project {
        display:block;
        }

      .text-project{
        display: block;
        font-size: 16px;
        color: #7aafbc;
        text-align:center;
        }

      #first-category{margin-top: 0}

      .project-categories {
        font-size: 28px;
        line-height: 20px;
        padding: 2% 0 0 5%;
        color: #7aafbc;
        display: flex;
        flex-flow: row;
        align-items: flex-start;
        font-weight: 200;
        }

      .page-thumbs {
        padding-bottom: 40px;
        display:flex;
        flex-flow:row;
        flex-wrap:wrap;
        height: auto;
        align-items: flex-start;
        margin-left: 1%;
      }

      .box-project {
        display:flex;
        width: 30%;
        padding-bottom: 20px;
        text-align: center;
        }


/* === contact.html page === */

.contact {
  margin-top: 3%;
  font-size: 22px;
  line-height: 50px;
  color: #fff;
  text-align: left;
  font-weight: 300;
  margin-left: 6%;
}

.left-logotype {
font-size: 24px;
text-transform: uppercase;
text-align: left;
display: block;
margin-left: 6%;
}


.contact-info {
  display: block;
  font-size: 20px;
  line-height: 34px;
  font-weight: 300;
  text-align: left;
  color: #fff;
  margin-bottom: 100px;
  text-transform: lowercase;
  margin-left: 6%;
}

a {
  text-decoration: none;
  color: #fff;
  }

a:hover {
    color: #ffff00;
  }
}


@media print{
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi)}
    /* Style adjustments for high resolution devices */

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
