


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: menlo, monospace;
  font-weight: lighter;
}
body {
  background-color: #e8f5e9;
  width: 100%;
  height: 100%;
  font-size: 62.5%;
  margin: 0;
}
.clearfix::after {
  display: block;
  content: "";
  clear: both;
}
a {
  text-decoration: none;
}
ul {
  list-style-type: none;
}

h1 {
  font-size: 2.4em;
  color: #f57f17;
  margin: 0;
}
h2 {
  font-size: 1.8em;
  color: #808080;
}
h3 {
  font-size: 2.1em;
  color: #000;
}
h4 {
  font-size: 1.4em;
  font-style: italic;
  color: #808080;
}
h5 {
  font-size: 1em;
  padding-top: .25em;
}
section {
  position: fixed;
  background-color: #fff;
  width: 25%;
  min-width: 24em;
  height: auto;
  min-height: 14.5em;
  top: 0;
  bottom: 0;
  transition: all .2s ease-out;
  z-index: 1000;
}
#navlist {
  list-style-type: none;
  margin: 2.5em 0;
}
.social-large li {
  font-size: 1.5em;
}
.social-small {
  display: none;
}
.social li a {
  color: #f57f17;
  transition: all .2s ease-out;
}
.social li i {
  font-size: 1.5em;
  float: left;
  margin: 0 .5em;
}
.social li a:hover {
  color: #000;
}
#profile {
  margin: 1.5em 2.5em;
}
#profile h1 {
  position: relative;
  width: 100%;
  min-width: 8.5em;
}
#profile h1 i {
  float: right;
}
#profile:hover h1, #profile:hover h2, #profile:hover {
  color: #000;
  cursor: pointer;
  transition: all .2s ease-out;
}
#intro {
  position: absolute;
  background-color: #fff;
  padding: 0 2em 2em;
  transition: opacity .2s ease-out;
}
.intro-min {
  width: 100%;
  opacity: 0;
  top: -40em;
}
.intro-full {
  border-bottom: 1px solid #000;
  font-size: 1.25em;
  top: 8.5em;
  opacity: 1;
  transition: opacity .2s ease-out;
}
.intro-full p {
  font-size: .75em;
}
#intro a {
  color: #f57f17;
}
#intro a:hover {
  color: #000;
}
#navlist li {
  padding: 1em 2.5em;
  border-right: 3px solid transparent;
  transition: all .2s ease-out;
}
.contact {
  position: absolute;
  width: 100%;
  height: auto;
  bottom: 0;
  transition: all .2s ease-out;
}
.contact-button:hover {
  cursor: pointer;
  color: #000;

}
.contact-button {
  margin: 0 0 .25em;
  font-size: 2em;
  color: #fff;
  transition: all .2s ease-out;
}
.contact-minimize {
  position: absolute;
  bottom: -16.5em;
}
.form-expand {
  float: right;
  font-size: 1.25em;
}
form {
  width: 100%;
  height: auto;
  background-color: #b6c2b7;
  padding: .5em 2.5em;
}
input, textarea, #form-submit {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  min-height: 1.75em;
  max-height: 5em;
  background: none;
  border: 1px solid #000;
  border-radius: 2px;
  padding: .25em .5em;
  font-size: 1.5em;
  margin: .25em 0;
}
input:focus, textarea:focus {
  border: 1px solid #fff;
  outline: none;
}
.with-errors {
  color: #ff0;
}
.minimize {
  font-size: 1em;
  position: relative;
  top: -10em;
  left: 2em;
  z-index: 105;
}
.minimize:hover {
  cursor: pointer;
}
.minimize i {
  float: right;
  font-size: 3em;
}
.minimize-button-rotate {
  transform: rotate(180deg);
}
.content {
  width: 75%;
  padding: 1em;
  margin: 0 auto;
  transition: all .2s ease-out;
}
.content h3 {
  width: 100%;
}
.title {
  margin: 6em 0 3em;
  text-align: center;
}
.photo {
  width: 25%;
  height: auto;
  display: inline-block;
  float: left;
  margin: 0 auto;
  padding: 2em;
  transition: all .2s ease-out;
}
.photo:hover, .photolarge:hover {
  cursor: pointer;
}
.photo:hover {
  opacity: .8;
}
.photo img {
  width: 100%;
}
.photolarge {
  width: 100%;
  height: auto;
  display: inline-block;
  float: left;
  margin: 0 auto;
  transition: all .2s ease-out;
}
.photolarge img {
  width: 100%;
}
/*==============================small screen==============================*/
@media only screen and (max-width: 599px) {
  .minimize{
    display: none;
  }
  .social li i {
    font-size: 1.5em;
    float: left;
    margin: 0 .5em 0 0;
  }
  section {
    width: 100%;
    height: 20vh;
  }
  #profile {
    padding: 1em 2.5em;
    margin: 0;
    width: 90%;
    display: inline-block;
  }
  #intro {
    z-index: -10;
  }
  .intro-full {
    top: 10em;
    font-size: 1.5em;
  }
  .social-small {
    display: block;
    margin-top: .5em;
  }
  .social-large {
    display: none;
  }
  #navlist {
    margin: 1em 2.5em;
    display: flex;
    flex-flow: row nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
  }
  #navlist::-webkit-scrollbar {
    display: none;
  }
  #navlist li {
    flex: 0 0 auto;
    margin: 1em 2em;
  }
  .photo {
    width: 100%;
  }
  .content {
    width: 100%;
  }
  .mainwrap {
    margin-left: 0;
    width: 100%;
    position: absolute;
    top: 20%;
    z-index: -10;
  }
  .contact-min {
    bottom: 100vh;
    opacity: 0;
  }
  .contact-full {
    display: absolute;
    bottom: 0;
    opacity: 1;
    transition: opacity .2s ease-out;
    transition-delay: .2s;
  }
  .section-full {
    height: 100%;
  }
}
@media only screen and (min-width: 600px) and (max-width: 959px) {
  #navlist li:hover {
    border-right: 3px solid black;
    padding-left: 2.75em;
  }
  .section-min {
    transform: translateX(-23em);
  }
  .photo {
    width: 100%;
  }
  .content {
    margin-left: 24em;
    width: auto;
  }
  #profile {
    margin-bottom: 4em;
  }
  .intro-full {
    top: 7.25em;
    font-size: 1.5em;
  }

}
@media only screen and (min-width: 960px) and (max-width: 1199px) {
  #navlist li:hover {
    border-right: 3px solid black;
    padding-left: 2.75em;
  }
  .section-min {
    transform: translateX(-95%);
  }

  .photo {
    width: 50%;
  }
  .content {
    margin-left: 25%;
    width: auto;
  }
  #profile {
    margin-bottom: 4em;
  }
  .intro-full {
    top: 7.25em;
    font-size: 1.5em;
  }
}
@media only screen and (min-width: 1200px) {
  #navlist li:hover {
    border-right: 3px solid black;
    padding-left: 2.75em;
  }
  .photo {
    width: 25%;
  }
  .section-min {
    transform: translateX(-95%);
  }

  .content {
    margin-left: 25%;
    width: auto;
  }
  .intro-full {
    top: 6.25em;
    font-size: 1.5em;
  }

}
.no-margin {
  margin-left: 1em;
}
/*
* {
  border: 1px solid red;
}
*/
