/*-------------------------------------------------------------------------------*/
/*Brian Chipman*/
/*Fall 2015*/
/*INF 133 - User Interaction Software*/
/*Midterm Project*/
/*-------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------*/
/*All*/
/*-------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------*/
* {
  color: white;
  text-decoration: none;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 0; }

body {
  background: #000;
  margin: auto;
  font-family: Arial, sans-serif;
  overflow-x: hidden; }

h1 {
  font-size: 2.25em;
  font-weight: bold;
  text-align: center; }

h2 {
  font-size: 1.5em;
  font-weight: normal;
  text-align: center; }

p {
  text-align: justify; }

p, form {
  margin: 0 0.5em 0.75em 0.5em; }

/*-------------------------------------------------------------------------------*/
/*Background*/
/*-------------------------------------------------------------------------------*/
#black-top {
  height: 3em;
  position: fixed;
  z-index: 1;
  background-color: black;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0; }

#bg-image {
  background: url("../img/WebPic5.jpg") no-repeat;
  background-size: cover; }

#line {
  position: fixed;
  top: 3em;
  right: 0;
  bottom: auto;
  left: 0;
  height: 1px;
  z-index: 1;
  background-color: #2680ff; }

#darkness {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; }

@keyframes bounce {
  0%, 11.4%, 28.5%, 45.6%, 100% {
    transform: translateY(0); }
  22.8% {
    transform: translateY(-30px); }
  34.2% {
    transform: translateY(-15px); } }
#down-arrow {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 0.25em;
  left: calc(50% - 1.25em);
  animation: bounce 3.5s infinite; }
  #down-arrow img {
    width: 2.5em; }

/*-------------------------------------------------------------------------------*/
/*Transitions*/
/*-------------------------------------------------------------------------------*/
nav #right a {
  transition: all 0.3s ease-in-out; }
  nav #right a:hover, nav #right a:focus {
    color: #2680ff; }

#welcome a, #about a {
  border: 2px solid gold;
  transition: all 0.3s ease-in-out; }
  #welcome a:hover, #welcome a:focus, #about a:hover, #about a:focus {
    border: 2px solid #2680ff;
    background-color: #2680ff; }

#send-message {
  border: 2px solid gold;
  transition: all 0.3s ease-in-out;
  background-color: transparent; }
  #send-message:hover, #send-message:focus {
    border: 2px solid black;
    background-color: black; }

/*-------------------------------------------------------------------------------*/
/*Navigation - Hamburger Menu & Side Arrow*/
/*-------------------------------------------------------------------------------*/
#hamburger-lines, #hamburger-x {
  background: transparent;
  position: fixed;
  top: 0.3em;
  right: 0.5em;
  border: 0;
  font-size: 1.4em;
  font-weight: bold;
  outline: none;
  z-index: 1000000;
  visibility: hidden; }

#hamburger-x {
  color: red; }

#to-top-arrow {
  position: fixed;
  z-index: 100000000;
  opacity: 0;
  top: calc(75% - 1.25em);
  right: 1em;
  bottom: auto;
  left: auto; }
  #to-top-arrow img {
    width: 2.5em; }

/*Media Queries *START* ---------------------------------------------------------*/
/*-------------------------------------------------------------------------------*/
/* < 20em */
/*-------------------------------------------------------------------------------*/
header {
  position: fixed;
  z-index: 10; }

nav #left {
  position: fixed;
  left: 0.25em;
  top: 0.25em; }
  nav #left img {
    margin-top: 2px;
    margin-left: 2px;
    width: 16em; }
nav #right {
  position: fixed;
  font-size: 1em;
  top: 3.5em;
  right: 0.5em;
  bottom: auto;
  left: auto; }
  nav #right a {
    font-size: 1.5em;
    float: left;
    clear: both;
    margin-bottom: 1em;
    user-select: none; }
  nav #right a:last-child {
    margin-bottom: 0; }

/*Welcome----------------------------------------------------------------------*/
#welcome {
  position: absolute;
  top: 3em;
  right: 0;
  bottom: auto;
  left: auto; }
  #welcome > h1 {
    text-align: left;
    font-weight: bold;
    font-size: 1.5em;
    margin: 0 0.5em 0.8em 0.5em;
    padding-top: 4em; }
  #welcome a {
    margin-left: 1.25em;
    margin-top: 2em;
    padding: 0.15em 1em;
    font-size: 1em; }

/*About------------------------------------------------------------------------*/
#about-container {
  background-color: #414141;
  overflow: auto;
  position: relative;
  padding: 3em 0 6em 0;
  margin-left: -0.5em;
  margin-right: -0.5em; }

#about {
  margin-top: 2em;
  background-color: #414141;
  overflow: auto;
  padding: 3em 0 6em 0;
  visibility: hidden; }
  #about h1 {
    margin: 0;
    font-size: 2.25em;
    font-weight: bold;
    text-align: center;
    color: #d2d2d2; }
  #about #img-container {
    text-align: center;
    float: right; }
  #about img {
    width: 5em;
    margin: 0.5em 1em 0 0.5em; }
  #about p {
    color: #d2d2d2;
    font-size: 1.15em;
    margin: 0 1em;
    position: static; }
  #about #link-container {
    text-align: center;
    width: 9.125em;
    margin: auto; }
    #about #link-container a {
      color: #d2d2d2;
      float: left;
      clear: both;
      width: 8em;
      padding: 0.25em 1em;
      margin-bottom: 1em;
      font-size: 0.9em;
      text-align: center; }

/*Work-------------------------------------------------------------------------*/
#work-container {
  background-color: whitesmoke;
  overflow: hidden;
  position: relative;
  padding: 3em 0 6em 0; }

#work {
  margin-top: 2em;
  background-color: whitesmoke;
  overflow: hidden;
  padding: 3em 0 6em 0;
  margin-left: 0;
  margin-right: 0;
  visibility: hidden; }
  #work > h1 {
    margin: 0;
    font-size: 2.25em;
    font-weight: bold;
    text-align: center;
    color: #414141; }
  #work .work-example {
    width: 32%;
    height: 29em;
    background-color: white;
    box-shadow: 5px 5px 5px darkgrey;
    float: left;
    border: 1px dotted black;
    transition: all 0.3s ease-in-out; }
    #work .work-example figure {
      text-align: center;
      margin-bottom: 2em; }
      #work .work-example figure img {
        margin-top: 0.5em;
        width: 90%;
        height: 10em; }
    #work .work-example h1 {
      background-color: #2680ff;
      color: white;
      text-align: center;
      font-size: 1.8em; }
    #work .work-example h4 {
      color: #2680ff;
      margin: 0 0.5em; }
    #work .work-example p {
      color: #414141; }
    #work .work-example:hover, #work .work-example:focus {
      box-shadow: 10px 10px 10px darkgrey;
      transform: translate(-0.5em, -0.5em); }
      #work .work-example:hover h1, #work .work-example:focus h1 {
        background-color: #f1592a; }

/*Contact----------------------------------------------------------------------*/
#contact-container {
  position: relative;
  overflow: auto;
  background-color: #2680ff;
  margin: auto;
  padding: 3em 0 6em 0; }
  #contact-container .spacer {
    width: 12.5%;
    height: 29em;
    float: left; }

#contact {
  visibility: hidden; }
  #contact article {
    position: relative;
    float: left; }
    #contact article:nth-of-type(1) {
      width: 45%; }
    #contact article:nth-of-type(2) {
      width: 20%;
      margin-left: 6em;
      margin-top: 7em; }
      #contact article:nth-of-type(2) p:nth-of-type(1) {
        float: left;
        margin-bottom: 2em; }
      #contact article:nth-of-type(2) img {
        float: left;
        margin-left: 3em;
        height: 2.5em; }
      #contact article:nth-of-type(2) a:nth-of-type(2) {
        float: left;
        margin-top: 0.4em; }
  #contact h1 {
    margin: 0.5em 0 1em 0; }
  #contact p {
    font-size: 1.15em; }
  #contact form input {
    width: 100%;
    height: 3em;
    margin-bottom: 0.25em;
    float: left;
    padding-left: 0.5em;
    font-size: 1em; }
    #contact form input:nth-of-type(4) {
      height: 10em; }
    #contact form input:nth-of-type(5) {
      width: 101.5%; }

/*Footer-----------------------------------------------------------------------*/
footer {
  position: relative;
  top: 40em;
  text-align: center;
  color: rgba(255, 255, 255, 0.25); }

/*-------------------------------------------------------------------------------*/
/* 20em - 37.5em */
/*-------------------------------------------------------------------------------*/
@media screen and (min-width: 20em) {
  #line {
    /*background-color: red;*/ } }
/*-------------------------------------------------------------------------------*/
/* 37.5em - 48em */
/*-------------------------------------------------------------------------------*/
@media screen and (min-width: 37.5em) {
  #line {
    /*background-color: orange;*/ }

  #down-arrow {
    top: auto;
    right: auto;
    bottom: 0.25em;
    left: calc(50% - 1.575em); }
    #down-arrow img {
      width: 3.15em; }

  #to-top-arrow {
    top: calc(50% - 1.575em);
    right: 1em;
    bottom: auto;
    left: auto; }

  nav #left {
    font-size: 1em; }
    nav #left img {
      width: 18em; }
  nav #right {
    float: left;
    clear: both;
    font-size: 0.8em;
    top: 0;
    margin-top: 1.65em;
    background-color: transparent;
    border: none; }
    nav #right a {
      padding: 0 0.9em;
      float: none;
      clear: none;
      margin-bottom: 0;
      font-size: 1em; }

  #about #link-container {
    width: auto; }
    #about #link-container a {
      position: absolute;
      clear: none;
      width: auto; }
      #about #link-container a:nth-of-type(1) {
        left: 1em; }
      #about #link-container a:nth-of-type(2) {
        right: 1em; } }
/*-------------------------------------------------------------------------------*/
/* 48em - 62.5em */
/*-------------------------------------------------------------------------------*/
@media screen and (min-width: 48em) {
  #line {
    /*background-color: yellow;*/ }

  nav #right {
    margin-top: 1.25em;
    float: right;
    clear: none;
    font-size: 1em; }
    nav #right a {
      padding: 0 1.55em; }

  #welcome > h1 {
    font-size: 2em; }

  #about #link-container a {
    position: static;
    margin-left: 1em; }

  #work {
    width: 80%;
    margin: auto; } }
/*-------------------------------------------------------------------------------*/
/* > 62.5em */
/*-------------------------------------------------------------------------------*/
@media screen and (min-width: 62.5em) {
  #welcome {
    left: 50%; }

  #about p, #about > h1 {
    width: 65%; }
  #about #img-container {
    float: right;
    width: 30%;
    right: 3em;
    margin-right: 3em; }
  #about img {
    float: right;
    right: 3em;
    margin-right: 3em; } }
/*-------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------*/

/*# sourceMappingURL=styles.css.map */
