* {
  box-sizing: border-box; }

body {
  background: #555151;
  color: #fff;
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5; }
  body#bg-img {
    background: url(../img/background.jpg);
    background-attachment: fixed;
    background-size: cover; }
    body#bg-img:after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: rgba(85, 81, 81, 0.9);
      z-index: -1; }

h1, h2, h3 {
  margin: 0;
  font-weight: 400; }
  h1.lg-heading, h2.lg-heading, h3.lg-heading {
    font-size: 5rem; }
  h1.sm-heading, h2.sm-heading, h3.sm-heading {
    margin-bottom: 1.5rem;
    padding: 0.2rem 1rem;
    background: rgba(90, 86, 86, 0.5); }

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

header {
  position: fixed;
  z-index: 2;
  width: 100%; }

.text-secondary {
  color: #76dbd1; }

.menu-btn {
  position: absolute;
  z-index: 3;
  right: 35px;
  top: 35px;
  cursor: pointer;
  transition: all 0.5s ease-in-out; }
  .menu-btn .btn-line {
    width: 28px;
    height: 3px;
    margin: 0 0 5px 0;
    background: #fff;
    transition: all 0.5s ease-in-out; }
  .menu-btn.close {
    transform: rotate(180deg); }
    .menu-btn.close .btn-line:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px); }
    .menu-btn.close .btn-line:nth-child(2) {
      opacity: 0; }
    .menu-btn.close .btn-line:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px); }

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  opacity: 0.9;
  visibility: hidden; }
  .menu.show {
    visibility: visible; }
  .menu-branding, .menu-nav {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    float: left;
    width: 50%;
    height: 100vh;
    overflow: hidden; }
  .menu-nav {
    margin: 0;
    padding: 0;
    background-color: #484545;
    list-style: none;
    transform: translate3d(0, -100%, 0);
    transition: all 0.5s ease-in-out; }
    .menu-nav.show {
      transform: translate3d(0, 0, 0); }
  .menu-branding {
    background-color: #555151;
    transform: translate3d(0, 100%, 0);
    transition: all 0.5s ease-in-out; }
    .menu-branding.show {
      transform: translate3d(0, 0, 0); }
    .menu-branding .portrait {
      width: 250px;
      height: 250px;
      background: url("../img/theo-portrait.gif");
      border-radius: 50%;
      border: solid 3px #76dbd1; }
  .menu .nav-item {
    transform: translate3d(600px, 0, 0);
    transition: all 0.5s ease-in-out; }
    .menu .nav-item.show {
      transform: translate3d(0, 0, 0); }
    .menu .nav-item.current > a {
      color: #76dbd1; }
  .menu .nav-link {
    display: inline-block;
    position: relative;
    font-size: 30px;
    text-transform: uppercase;
    padding: 1rem 0;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    transition: all 0.5s ease-in-out; }
    .menu .nav-link:hover {
      color: #76dbd1; }

.nav-item:nth-child(1) {
  transition-delay: 0.1s; }

.nav-item:nth-child(2) {
  transition-delay: 0.2s; }

.nav-item:nth-child(3) {
  transition-delay: 0.3s; }

.nav-item:nth-child(4) {
  transition-delay: 0.4s; }

#main-footer {
  text-align: center;
  padding: 1rem;
  background: #3b3838;
  color: #fff;
  height: 60px; }

.btn, .btn-dark, .btn-light {
  display: block;
  padding: 0.5rem 1rem;
  border: 0;
  margin-bottom: 0.3rem;
  transition: all 0.5s ease-in-out;
  /* maybe, do more testing */ }
  .btn:hover, .btn-dark:hover, .btn-light:hover {
    color: #000;
    background: #76dbd1; }

.btn-dark {
  background: black;
  color: #ecf4f3; }

.btn-light {
  background: #d4d1d1;
  color: #333; }

.back {
  text-align: center;
  display: inline-block;
  margin-top: 1em; }

.send {
  font-size: 1.2em;
  color: #76dbd1;
  background: #555151; }

.about-info {
  display: grid;
  grid-gap: 30px;
  grid-template-areas: "bioimage bio bio" "bioimage skills skills" "job1 job2 job3";
  grid-template-columns: repeat(3, 1fr); }

.bio-image {
  grid-area: bioimage;
  margin: auto;
  border-radius: 50%;
  border: 3px solid #76dbd1; }

.job {
  background: #625d5d;
  padding: 0.5rem;
  border-bottom: 5px solid #76dbd1; }

.skills {
  grid-area: skills;
  font-size: 1.5rem; }

.bio {
  grid-area: bio;
  font-size: 1.5rem; }

.job-1 {
  grid-area: job1; }

.job-2 {
  grid-area: job2; }

.job-3 {
  grid-area: job3; }

.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 1rem;
  /*
  div{
    font-size: 2rem;
    border: 3px solid #ecf4f3;
    padding: 1.5rem 2.5rem;
    margin-bottom: 3rem;
    @include easeOut;

      &:hover{
        padding: 0.5rem 1.5rem;
        background: $secondary-color;
        color: set-text-color($secondary-color);
        span{
          color: set-text-color($secondary-color);
        }
      }
  }
*/ }
  .boxes input[type=text],
  .boxes input[type=email],
  .boxes select,
  .boxes textarea {
    width: 100%;
    padding: .5em;
    border: 1px solid #76dbd1;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: .5em;
    margin-bottom: 1.2em; }
  .boxes label {
    font-size: 1.2em; }
  .boxes textarea {
    height: 10em; }

.contact-form {
  text-align: left; }
  .contact-form .btn-dark {
    border-radius: 4px;
    padding: 1em 2em;
    cursor: pointer;
    transition: all 0.5s ease-in-out; }

h2 a {
  transition: all 0.5s ease-in-out;
  color: #76dbd1; }
  h2 a:hover {
    color: #fff; }

.project-about {
  color: #fff;
  border-bottom: 5px solid #76dbd1; }

.project-about .center {
  padding: 1.2em 0;
  display: block;
  margin-left: auto;
  margin-right: auto; }

.project-about a {
  color: #76dbd1; }

.multi-image {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap; }
  .multi-image img {
    margin: .5em;
    align-self: center; }

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: .8rem; }
  .projects img {
    width: 100%;
    border: 3px solid #fff; }
    .projects img:hover {
      opacity: 0.5;
      border-color: #76dbd1;
      transition: all 0.5s ease-in-out; }
  .projects .item h3 {
    color: #76dbd1;
    text-align: center; }

.project-about h4, .project-about .sm-heading {
  color: #76dbd1; }

#work .lg-heading {
  margin-bottom: .5em; }

#email-confirmation a {
  transition: all 0.5s ease-in-out;
  color: #76dbd1; }
  #email-confirmation a:hover {
    color: #fff; }

#email-confirmation .icons {
  padding-top: 2em; }

.mobile-portfolio-images {
  text-align: center; }
  .mobile-portfolio-images img {
    margin: 1.5em; }

main {
  padding: 4rem;
  min-height: calc(100vh - 60px); }
  main .icons {
    margin-top: 1rem; }
    main .icons a {
      padding: 0.4rem; }
      main .icons a:hover {
        color: #76dbd1;
        transition: all 0.5s ease-in-out; }
  main#home {
    overflow: hidden; }
    main#home h1 {
      margin-top: 20vh; }

@media screen and (min-width: 1171px) {
  .projects {
    grid-template-columns: repeat(4, 1fr); } }

@media screen and (min-width: 769px) and (max-width: 1170px) {
  .projects {
    grid-template-columns: repeat(3, 1fr); } }

@media screen and (max-width: 768px) {
  main {
    align-items: center;
    text-align: center; }
    main .lg-heading {
      line-height: 1;
      margin-bottom: 1rem; }
  ul.menu-nav, div.menu-branding {
    float: none;
    width: 100%;
    min-height: 0; }
    ul.menu-nav.show, div.menu-branding.show {
      transform: translate3d(0, 0, 0); }
  .menu-nav {
    height: 75vh;
    transform: translate3d(-100%, 0, 0);
    font-size: 24px; }
  .menu-branding {
    height: 25vh;
    transform: translate3d(100%, 0, 0); }
    .menu-branding .portrait {
      background: url("../img/theo-portrait-small.gif");
      width: 150px;
      height: 150px; }
  .about-info {
    grid-template-areas: "bioimage" "bio" "skills"  "job1" "job2" "job3";
    grid-template-columns: 1fr; }
  .projects {
    grid-template-columns: repeat(2, 1fr); }
  #project {
    padding: 1rem; } }

@media screen and (max-width: 500px) {
  main#home h1 {
    margin-top: 10vh; }
  .projects {
    grid-template-columns: 1fr; } }
