/*--------------------------------------------------------------
Normalize
--------------------------------------------------------------*/

body {
    margin: 0;
    padding: 0;
    font-family: "futura-pt",sans-serif;
    font-weight: 500;
}

li {
    list-style: none;
}

a {
    color: #dab058;
}

a:hover,
a:active,
a:visited {
    color: #dab058;
    text-decoration: none;
}

article {
    font-size: 13px;
}


/*--------------------------------------------------------------
 Helpers
--------------------------------------------------------------*/

.wrapper {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.padding-left-none {
    padding-left: 0;
}

/*--------------------------------------------------------------
	Header
--------------------------------------------------------------*/

.topbar {
    height: 100px;
    line-height: 100px;
    overflow: hidden;
    letter-spacing: 1px;
}

.topbar a {
    color: #000;
}

.logo {
    width: 50%;
    float: left;
}

.header-text-main p {
    font-size: 40px;
    width: 570px;
    padding: 0 0 20px 0px;
    font-weight: 700;
}

.header-text {
    margin-bottom: 30px;
    border-bottom: 4px solid #f1c361;
}

.header-text p {
    font-size: 40px;
    width: 570px;
    padding: 0 0 20px 0px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .header-text p {
        width: 100%;
    }

    .header-text-main p {
        width: 100%;
    }
}

/*--------------------------------------------------------------
	Navigation
--------------------------------------------------------------*/

.open-menu {
    display:none;
}

.nav {
    width: 50%;
    text-align: right;
    float: left;
}

.nav li {
    display: inline-block;
    font-size: 13px;
    padding: 0px 15px 0px 15px;
}

@media (max-width: 769px) {

    .nav li {
        padding: 0px 7px 5px 7px;
    }

    .nav ul.active {
        display:none;
    }

    .open-menu {
        font-size: 20px;
        display: inline-block;
    }

    .overlay {
      position: fixed;
      background: rgba(20, 20, 21, 0.99);
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      visibility: hidden;
      transition: opacity .35s, visibility .35s, height .35s;
      overflow: hidden;
      z-index: 1;
    }

    .overlay.open {
      opacity: 1;
      visibility: visible;
      height: 100%;
    }

    .overlay .nav-title {
      color: #fff;
      font-weight: bold;
      text-transform: uppercase;
      text-align: center;
      position: absolute;
      left: 50%;
      transform: translate(-50%);
      top: 8%;
    }

    .overlay .overlay-menu {
      position: relative;
      height: 50%;
      top: 50%;
      transform: translateY(-50%);
      font-size: 25px;
      font-weight: 400;
      text-transform: uppercase;
      text-align: center;
      letter-spacing: 2px;
      line-height: normal;
    }

    .overlay ul {
      list-style: none;
      padding: 0;
      margin: 0 auto;
      display: inline-block;
      position: relative;
      height: 100%;
    }

    .overlay ul li {
      display: block;
      position: relative;
      opacity: 0;
      margin-bottom: 50px;
      color: #FFF;
    }

    .overlay ul li a {
      display: block;
      position: relative;
      color: #FFF;
      text-decoration: none;
      overflow: hidden;
    }

    .overlay.open li {
      animation: fadeInRight .5s ease forwards;
      animation-delay: .35s;
    }
    .overlay.open li:nth-of-type(2) {
      animation-delay: .4s;
    }
    .overlay.open li:nth-of-type(3) {
      animation-delay: .45s;
    }
    .overlay.open li:nth-of-type(4) {
      animation-delay: .50s;
    }

    @keyframes fadeInRight {
      0% {
        opacity: 0;
        left: 20%;
      }
      100% {
        opacity: 1;
        left: 0;
      }
    }

    button:focus {
      outline:0;
    }

    .open-menu,
    .close-menu,
    .button {
      cursor: pointer;
      transition: transform 0.30s;
    }
    .open-menu:hover,
    .close-menu:hover,
    .button:hover {
      transform: scale(1.1);
    }

    .overlay ul li a:after {
      content: '';
      position: absolute;
      top: 50%;
      left: 43.5%;
      width: 0%;
      transform: translateX(-50%);
      height: 3px;
      background: #FFF;
      transition: .35s;
    }

    .overlay ul li a:hover,
    .overlay ul li a:focus,
    .overlay ul li a:active {
      color: #fff;
    }

    @media (max-width: 670px) {
      .overlay nav {
        font-size: 30px;
      }
    }
    @media (max-width: 550px) {
      .overlay nav {
        font-size: 20px;
      }
    }
}

.nav a {
    position: relative;
}

.nav li a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #000;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.nav li a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/*--------------------------------------------------------------
	Home Page
--------------------------------------------------------------*/

.port-display {
    margin-bottom: 30px;
}

.port-display img {
    width: 100%;
    margin: 0 0 15px 0;
}

.col-sm-6 {
    padding-right: 0px;
}

/*--------------------------------------------------------------
	About Page
--------------------------------------------------------------*/

#about {
    color: #60666b;
}

#about h1 {
    font-weight: 700;
    margin-top: 10px
}

@media (max-width: 769px) {
    #about h1 {
        margin-top: 20px
    }

    #about h2 {
        padding-bottom: 8px;
    }
}

#about h2 {
    font-size: 19px;
}

#about h3 {
    font-size: 17px;
}

#about h4 {
    font-size: 15px;
    padding-bottom: 4px;
}

#about h1, h2, h3, h4 {
    color: #2d2a28;
}

.bio {
    padding: 15px 0 0 0;
}

.bio ul {
    padding-left: 0;
}

.bio h3, p {
    padding-bottom: 10px;
}

.bio img {
    width: 100%;
}

.skills h2 {
    padding: 0 0 0 15px;
}

.skills ul {
    padding: 0 0 12px 15px;
}

.skills li {
    padding: 0 0 5px 0;
    list-style: unset;
}

.skills span {
    padding-right: 7px;
}

#about-info {
    padding-left: 30px;
}

/*--------------------------------------------------------------
	Contact Page
--------------------------------------------------------------*/

#contact {
    padding-left: 15px;
    color: #60666b;
}

#contact div {
    padding-left: 0px;
}

#contact h3 {
    padding: 0px 0 15px 0;
    font-size: 20px;
    letter-spacing: 1px;
    color: #2d2a28;
}

#contact p {
    font-size: 14px;
    padding-bottom: 25px;
    width: 85%;
}

#contact a {
    transition: all 0.3s ease-out;
}

#contact a:hover {
    color: #60666b;
}

.sidebar {
    width: 340px;
}

@media (max-width: 1150px) {
    .sidebar {
        width: 310px;
    }
}

.sidebar ul {
    padding: 0 0 15px 0;
    font-size: 13px;
}

.sidebar li {
    border-bottom: 1px solid #f0f1f2;
    padding: 10px 0 10px 0;
}

.sidebar li:last-child {
    border: none;
}

.sidebar h4 {
    border-bottom: 2px solid #d9d9d9;
    padding-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 0;
}

.popmessage {
    font-size: 13px;
}

/*--------------------------------------------------------------
	Input Forms
--------------------------------------------------------------*/

form {
    margin-bottom: 30px;
}

label {
    float: left;
    width: 120px;
    color: #2d2a28;
    font-weight: 500;
    text-align: left;
    font-size: 13px;
    margin: 13px 0 0 0;
    padding: 0 0 10px 0;
}

input, textarea {
    text-align: left;
}

input[type="text"],
input[type="email"] {
    width: 480px;
    background-color: #f0f1f2;
    line-height: 22px;
    border-radius: 1px;
    border: 0;
    font-size: 13px;
    height: 40px;
    margin: 0 0 20px 0;
    padding: 0 11px;
    outline: none;
    color: #41484e;
}

textarea {
    overflow: auto;
    margin: 0 0 20px 0;
    padding: 10px 11px;
    height: 100px;
    width: 610px;
    background-color: #f0f1f2;
    line-height: 22px;
    border-radius: 3px;
    border: 0;
    font-size: 13px;
    resize: none;
    outline: none;
    color: #41484e;
}

input[type="submit"] {
    background-color: #fff;
    border: 1px solid #60666b;
    color: #60666b;
    padding: 7px 18px;
    display: block;
    width: initial;
    font-weight: 700;
    font-size: 12px;
    border-radius: 2px;
    margin: 0 0 0 120px;
    transition: all 0.3s ease-out;
}

input[type="submit"]:hover {
    border: 1px solid #fff;
    background-color: #dab058;
    color: #fff;
}

@media (max-width: 859px) {
  textarea {
    width: 550px;
  }

  input[type="text"],
  input[type="email"] {
      width: 450px;
  }
}

@media (max-width: 795px) {
  textarea {
    width: 510px;
  }

  input[type="text"],
  input[type="email"] {
      width: 420px;
  }

  #about-info {
      padding-left: 0px;
      padding-top: 20px;
  }
}

@media (max-width: 767px) {
    .port-main {
        padding-left: 0px;
    }

    .col-sm-6 {
        padding-right: 15px;
    }
}

@media (max-width: 748px) {

  input[type="submit"] {
      margin: 0;
      width: 100%;
      text-align: center;
      border: 1px solid #dab058;
      color: #dab058;
  }

  #contact p {
      width: 100%;
  }
}

@media (max-width: 500px) {
  textarea {
    width: 100%;
  }

  input[type="text"],
  input[type="email"] {
      width: 100%;
  }

  form {
      margin-bottom: 45px;
  }
}

/*--------------------------------------------------------------
	Single Portfolio Page
--------------------------------------------------------------*/

#project-info {
    border-bottom: 1px solid #f0f1f2;
    padding: 0 0 20px 0;
}

.website-link {
    padding: 5px 0 0 0;
}

.port-main {
    height: auto;
    overflow: hidden;
    padding-right: 0px;
}

.port-main img {
    width: 100%;
    margin: 15px 0 15px 0;
}

.port-main h5 {
    padding-bottom: 8px;
}

.port-info {
    overflow: hidden;
    padding-left: 0;
}

.port-info h4 {
    font-size: 19px;
}

.port-info p {
    padding: 15px 0 0 0;
}

.port-info h5 {
    padding: 0 0 30px 0;
    border-bottom: 1px solid #f0f1f2;
    font-weight: 400;
    font-size: 12px;
}

.port-info ul {
    padding: 10px 0 15px; 0;
}

.port-info li {
    padding: 5px 0 2px 0;
}

/*--------------------------------------------------------------
	Footer
--------------------------------------------------------------*/

footer {
    margin-top: 50px;
    text-align: center;
}

footer h3 {
    text-transform: uppercase;
    font-weight: 600;
}

footer p {
    font-size: 13px;
    padding: 15px 0 15px 0;
}

footer ul {
    padding-left: 0;
}

footer a {
    transition: all 0.3s ease-out;
}

footer a:hover {
    color: #404040;
}

.icons a {
    padding: 5px;
    font-size: 16px;
    color: #000;
    transition: all 0.3s ease-out;
}

.icons a:hover {
    color: #dab058;
}
