/* *{border: 1px solid #fff} */

#mainNav {
  min-height: 56px;
  background-color: #fff
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: .75rem;
  color: #64a19d;
  border: 1px solid #64a19d
}

#mainNav .navbar-toggler:focus {
  outline: 0
}

#mainNav .navbar-brand {
  color: #161616;
  font-weight: 700;
  padding: .9rem 0
}

#mainNav .navbar-nav .nav-item:hover {
  color: fade(white, 80%);
  outline: 0;
  background-color: transparent
}

#mainNav .navbar-nav .nav-item:active,
#mainNav .navbar-nav .nav-item:focus {
  outline: 0;
  background-color: transparent
}

@media (min-width:992px) {
  #mainNav {
      padding-top: 0;
      padding-bottom: 0;
      border-bottom: none;
      background-color: transparent;
      -webkit-transition: background-color .3s ease-in-out;
      transition: background-color .3s ease-in-out
  }
  #mainNav .navbar-brand {
      padding: .5rem 0;
      color: rgba(255, 255, 255, .5)
  }
  #mainNav .nav-link {
      -webkit-transition: none;
      transition: none;
      padding: 2rem 1.5rem;
      color: rgba(255, 255, 255, .5)
  }
  #mainNav .nav-link:hover {
      color: rgba(255, 255, 255, .75)
  }
  #mainNav .nav-link:active {
      color: #fff
  }
  #mainNav.navbar-shrink {
      background-color: #fff
  }
  #mainNav.navbar-shrink .navbar-brand {
      color: #161616
  }
  #mainNav.navbar-shrink .nav-link {
      color: #161616;
      padding: 1.5rem 1.5rem 1.25rem;
      border-bottom: .25rem solid transparent
  }
  #mainNav.navbar-shrink .nav-link:hover {
      color: #64a19d
  }
  #mainNav.navbar-shrink .nav-link:active {
      color: #467370
  }
  #mainNav.navbar-shrink .nav-link.active {
      color: #64a19d;
      outline: 0;
      border-bottom: .25rem solid #64a19d
  }
}


/* HERO IMAGE */

.masthead {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 35rem;
  padding: 15rem 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(22, 22, 22, .3)), color-stop(75%, rgba(22, 22, 22, .7)), to(#161616)), url(../img/bigsur.jpg);
  background: linear-gradient(to bottom, rgba(22, 22, 22, .3) 0, rgba(22, 22, 22, .7) 75%, #161616 100%), url(../img/bigsur.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

.masthead h1 {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  line-height: 2.5rem;
  letter-spacing: .8rem;
  background: -webkit-linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text
}

.masthead h2 {
  max-width: 20rem;
  font-size: 1rem
}

/* COMET ANIMATION */

header.comet a {
  width: 433px;
  height: 135px;
  line-height: 94px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -218px;
  margin-top: -95px;
}
header.comet a:after {
  content: '';
  width: 5px;
  height: 212px;
  background-color: #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-transform: rotate(45deg) translate(0%, 0%);
  -moz-transform: rotate(45deg) translate(0%, 0%);
  -ms-transform: rotate(45deg) translate(0%, 0%);
  -o-transform: rotate(45deg) translate(0%, 0%);
  transform: rotate(45deg) translate(0%, 0%);
  -webkit-transform-origin: 100% 50%;
  -moz-transform-origin: 100% 50%;
  -ms-transform-origin: 100% 50%;
  -o-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -2.5px;
  margin-top: -106px;
  opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
}
header.comet a:hover:after {
  -webkit-animation: comets 0.5s forwards;
  -moz-animation: comets 0.5s forwards;
  -ms-animation: comets 0.5s forwards;
  animation: comets 0.5s forwards;
}
@-moz-keyframes comets {
  0% {
    width: 0;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -webkit-transform: rotate(45deg) translate(-20%, -100%);
    -moz-transform: rotate(45deg) translate(-20%, -100%);
    -ms-transform: rotate(45deg) translate(-20%, -100%);
    -o-transform: rotate(45deg) translate(-20%, -100%);
    transform: rotate(45deg) translate(-20%, -100%);
  }
  50% {
    width: 2px;
    opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
  }
  100% {
    width: 0%;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -webkit-transform: rotate(45deg) translate(20%, 100%);
    -moz-transform: rotate(45deg) translate(20%, 100%);
    -ms-transform: rotate(45deg) translate(20%, 100%);
    -o-transform: rotate(45deg) translate(20%, 100%);
    transform: rotate(45deg) translate(20%, 100%);
  }
}
@-webkit-keyframes comets {
  0% {
    width: 0;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -webkit-transform: rotate(45deg) translate(-20%, -100%);
    -moz-transform: rotate(45deg) translate(-20%, -100%);
    -ms-transform: rotate(45deg) translate(-20%, -100%);
    -o-transform: rotate(45deg) translate(-20%, -100%);
    transform: rotate(45deg) translate(-20%, -100%);
  }
  50% {
    width: 2px;
    opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
  }
  100% {
    width: 0%;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -webkit-transform: rotate(45deg) translate(20%, 100%);
    -moz-transform: rotate(45deg) translate(20%, 100%);
    -ms-transform: rotate(45deg) translate(20%, 100%);
    -o-transform: rotate(45deg) translate(20%, 100%);
    transform: rotate(45deg) translate(20%, 100%);
  }
}
@keyframes comets {
  0% {
    width: 0;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -webkit-transform: rotate(45deg) translate(-20%, -100%);
    -moz-transform: rotate(45deg) translate(-20%, -100%);
    -ms-transform: rotate(45deg) translate(-20%, -100%);
    -o-transform: rotate(45deg) translate(-20%, -100%);
    transform: rotate(45deg) translate(-20%, -100%);
  }
  50% {
    width: 2px;
    opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
  }
  100% {
    width: 0%;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -webkit-transform: rotate(45deg) translate(20%, 100%);
    -moz-transform: rotate(45deg) translate(20%, 100%);
    -ms-transform: rotate(45deg) translate(20%, 100%);
    -o-transform: rotate(45deg) translate(20%, 100%);
    transform: rotate(45deg) translate(20%, 100%);
  }
}

@media (min-width:768px) {
  .masthead h1 {
      font-size: 4rem;
      line-height: 4rem
  }
}

@media (min-width:992px) {
  .masthead {
      height: 100vh;
      padding: 0
  }
  .masthead h1 {
      font-size: 6.5rem;
      line-height: 6.5rem;
      letter-spacing: .8rem
  }
  .masthead h2 {
      max-width: 30rem;
      font-size: 1.25rem
  }
}

/* ABOUT SECTION */

.about-section {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 35rem;
  padding: 15rem 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(22, 22, 22, .3)), color-stop(75%, rgba(22, 22, 22, .7)), to(#161616)), url(../img/portrait.JPG);
  background: linear-gradient(to bottom, rgba(22, 22, 22, .3) 0, rgba(22, 22, 22, .7) 75%, #161616 100%), url(../img/portrait.JPG);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

.about-section p {
  margin-bottom: 5rem
}

.about-text{
font-size: 18px;
}
.top-margin {
  padding-top: 150px;
}

/* PROJECTS SECTION */

.projects-section {
  padding: 10rem 0
}

.projects-section .featured-text {
  padding: 2rem
}

.link-color {
  color: white;
  text-decoration: none;
  background-color: none;
}

a:hover {
  color: grey;
  text-decoration: none;
}

/* HOVER EFFECT */

img {
  transition: filter .5s ease-in-out;
  -webkit-filter: grayscale(0%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
  filter: grayscale(0%); /* FF 35+ */
}

img:hover {
  -webkit-filter: grayscale(100%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
  filter: grayscale(100%); /* FF 35+ */
}

@media (min-width:992px) {
  .projects-section .featured-text {
      padding: 0 0 0 2rem;
      border-left: .5rem solid #64a19d
  }
}

.projects-section .project-text {
  padding: 3rem;
  font-size: 90%
}

@media (min-width:992px) {
  .projects-section .project-text {
      padding: 5rem
  }
  .projects-section .project-text hr {
      border-color: #64a19d;
      border-width: .25rem;
      width: 30%
  }
}

.signup-section {
  padding: 10rem 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(22, 22, 22, .3)), color-stop(75%, rgba(22, 22, 22, .7)), to(#161616)), url(../img/yosemite.jpg);
  background: linear-gradient(to bottom, rgba(22, 22, 22, .3) 0, rgba(22, 22, 22, .7) 75%, #161616 100%), url(../img/yosemite.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover
}

.signup-section .form-inline input {
  -webkit-box-shadow: 0 .1875rem .1875rem 0 rgba(0, 0, 0, .1)!important;
  box-shadow: 0 .1875rem .1875rem 0 rgba(0, 0, 0, .1)!important;
  padding: 1.25rem 2rem;
  height: auto;
  font-family: 'Lora', serif;
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: .15rem;
  border: 0
}


.bg-black {
  background-color: #161616!important
}

.bg-primary {
  background-color: #64a19d!important
}


footer {
  padding: 5rem 0
}


/* CONTACT */

#contact {
  width: 100%;
  height: 100vh;
  background-color: #111;
  overflow: hidden;
  padding-bottom: 200px;
}

.section-header {
  text-align: center;
  margin: 0 auto;
  padding-top: 50px;
  margin-bottom: 50px;
  font: 300 60px 'Oswald', sans-serif;
  letter-spacing: 6px;
  color: #fff;
  margin-bottom: 25px;
}

.contact-wrapper {
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Begin Right Contact Page */
.direct-contact-container {
  max-width: 400px;
  float: inherit;
  margin-top: 5px;
}

/* Location, Phone, Email Section */

.location{
  font-size: 2.3rem;
}
.contact-list {
  list-style-type: none;
  margin-left: -30px;
  padding-right: 20px;
}

.list-item {
  line-height: 4;
  color: rgb(248, 248, 248);
}

.contact-text {
  font: 300 18px 'Lato', sans-serif;
  letter-spacing: 1.9px;
  color:  rgb(248, 248, 248);
}

.place {
  margin-left: 62px;
}


.gmail {
  margin-left: 53px;
}

.contact-text a {
  color: rgb(248, 248, 248);
  text-decoration: none;
  transition-duration: 0.2s;
}

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


/* Social Media Icons */
.social-media-list {
  position: relative;
  font-size: 2.3rem;
  text-align: center;
  width: 100%;
}

.social-media-list li a {
  color: #fff;
}

.social-media-list li {
  position: relative; 
  top: 0;
  left: -20px;
  display: inline-block;
  height: 70px;
  width: 70px;
  margin: 10px auto;
  line-height: 70px;
  border-radius: 50%;
  color: #fff;
  background-color: rgb(27,27,27);
  cursor: pointer; 
  transition: all .2s ease-in-out;
}

.social-media-list li:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 0 1px #fff;
  transition: all .2s ease-in-out;
}

.social-media-list li:hover {
  background-color: #fff; 
}

.social-media-list li:hover:after {
  opacity: 1;  
  transform: scale(1.12);
  transition-timing-function: cubic-bezier(0.37,0.74,0.15,1.65);
}

.social-media-list li:hover a {
  color: #111;
}

.copyright {
  font: 200 14px 'Lora', serif;
  color: rgb(248, 248, 248);
  letter-spacing: 1px;
  text-align: center;
}

hr {
  border-color: rgba(255,255,255,.8); ;
}

/* Begin Media Queries*/
@media screen and (max-width: 760px) {
    #contact {
        height: 1000px;
    }
  .section-header {
    font-size: 65px;
  }
  .direct-contact-container, .form-horizontal {
    float: none;
    margin: 10px auto;
  }  
  .direct-contact-container {
    margin-top: 60px;
    max-width: 300px;
  }    

  .contact-text{
    font-size: 15px;
  }
  
  .social-media-list li {
    height: 60px;
    width: 60px;
    line-height: 60px;
  }
  .social-media-list li:after {
    width: 60px;
    height: 60px;
    line-height: 60px;
  }
}

@media screen and (max-width: 569px) {
  #contact {
    height: 1200px;
    }
  .section-header{
    font-size: 50px;
  }
  .direct-contact-container, .form-wrapper {
    float: none;
    margin: 0 auto;
  }  


  .direct-contact-container {
    margin-top: 60px;
    max-width: 280px;
  }  

  .contact-text{
    font-size: 15px;
  }

  .social-media-list {
    left: 0;
  }
  .social-media-list li {
    height: 55px;
    width: 55px;
    line-height: 55px;
    font-size: 2rem;
  }
  .social-media-list li:after {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }
  
}

@media screen and (max-width: 410px) {
  .send-button {
    width: 99%;
  }
}




