body, html{
  margin: 0;
  height: 100vh;
  background-color: black;
  font-family: 'Playfair Display', 'Slabo 27px', serif;
}

.container {
  background-color: white;
  justify-content: center;
  z-index: 5;
}

.nav-header {
  position: relative;
  height: 100vh;
  background-image: url("../images/space-mountain-min.jpg");
  color: white;
  background-position: center;
  background-repeat: repeat-x;
  background-size: auto 100%;
  overflow: hidden;
}

nav {
  display: flex;
  flex-direction: column;
  align-content: center;
  margin: 0 auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  max-width: 1100px;
}

.nav-items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.nav-items a{
  width: 90%;
  height: 2em;
  padding: 1em 0;
  margin: 0 1em;
  text-decoration: none;
  color: white;
  text-align: center;
  align-self: center;

}


.nav-logo-btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.nav-btn {
  color: white;
  width: 3em;
  text-align: center;
  justify-content: center;
  align-self: center;
  padding: .7em;
  margin-right: 1em;
  border: 1px solid white;
}

.nav-btn:hover {
  cursor: pointer;
}

.intro {
  font-size: 4em;
  text-align: center;
  background-position: center;
  width: 100%;
  position: absolute;
  top: 50%;
  margin-top: -1em;

}
 section {
  background-color: #F8F8F8;
 }

 .nav-icons {
   display: flex;

    align-items: center;
 }

.nav-logo {
  height: 100px;
  width: 100px;
  margin-left: 1em;
}

.nav-social {
  height: 26px;
  margin-left: 3px;
}

.nav-icons:hover > a {
  opacity: 0.5;
}

.nav-icons a:hover{
  opacity: 1;
}



.nav-icons hr{
  height: 40px;
  margin-right: 10px;
  margin-left: 5px;
}

.parallax-section {
  height: 50vh;
  background-color: black;
  color: white;
  position: relative;
  background-size: auto 100vw;
  overflow: hidden;
}

.parallax-section p{
  font-size: 3em;
  text-align: center;
  background-position: center;
  width: 100vw;
  position: absolute;
  top: 50%;
  margin-top: -1em;
  z-index: 0;
  transition: 0s linear;
  transition-property: background-position;

}

*:focus {
    outline: none;
}

#about {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#about p{
  max-width: 1000px;
  text-align: justify;
  margin: 2em;
}

#about a{
  color: #ff9966;
  text-decoration: none;
}

.main-container {
  padding: 3em 1em;
  margin: 0 auto;
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
}

.main-container2 {
  margin: 0 auto;
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 900px;
}

.main-container3 {
  padding: 4em 0;
  margin: 0 auto;
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
}

.portfolio-item {
  margin: 1em;
  box-shadow: 2px 2px 4px #e6e6e6;
  border-radius: 3px;
  background-color: white;
  position: relative;
  overflow: hidden;
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: 300px;
  height: 300px;
  text-decoration: none;
}
.portfolio-item a {
  color: black;
}

.portfolio-image{
  opacity: 1;
   width: 100%;
   height: 100%;
   transition: .4s ease;
   backface-visibility: hidden;
}

.portfolio-info {
  background-color: white;
  position: absolute;
  top: 60%;
  height: 120px;
  width: 100%;
  border-radius: 4px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;

}

.portfolio-description {
  margin-top: .5em;
  padding: 0 .8em;
}

.port-date-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: flex-start;
  padding: 0 .8em;
}


.portfolio-title {
  color: #32230E;
  font-size: 1.8em;
}

.portfolio-date {
  display: flex;
  align-items: center;
  align-self: center;
  color: gray;

}

.portfolio-item:hover {
  box-shadow: 5px 5px 5px #fff0e6, -5px -5px 5px #fff0e6;
}

.experience-tile {
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 350px;
  background-color: white;
  padding: .3em;
  text-align: center;
  margin: 1em 0;
}


.exp-title {
  font-size: 2em;
}
.exp-description {
  font-size: 1em;
}

.icon-container {
  height: 290px;
  width: 250px;
  display: flex;
  align-self: center;
}
.icon {
  position: relative;
  width:100%;
  margin-bottom: 1em;
}

#experience {
  background-color: white;
  padding: 1em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}


  footer{
    background-color: white;
  }

  .container3{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    background-color: white;
  }

  .personal-info {
    align-items: center;
    align-self: center;
    margin-left: 0;
    margin-top: 1.5em;
  }

  .contact-info {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.2em;
    margin: .8em 0;
  }

  .contact-info img{
    height: 75px;
    width: 75px;
    margin-right: 5px;
  }
  .contact-info a{
    text-decoration: none;
    color: black;
  }
  .contact-info a:hover{
    cursor: pointer;
  }

  iframe {
    width: 300px;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: black;
    color: white;
    height: 180px;
    align-items: center;
  }
  .copyright{
    margin: 0;
    margin-right: 1em;
    margin-bottom: 2em;
    align-self: flex-end;
  }

  .social-icons {
    display: flex;
    flex-direction: row;
    align-self: flex-start;
    margin-left: 1em;
  }

  .social-icons img{
    height: 32px;
    width: 32px;
    margin: 2.5em 0 .2em .2em;
  }

  .container4 {
    background-color: black;
  }

  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #F8F8F8;
    display: block;
    transition: 0.3s;
    text-align: center;
    margin-right: 1em;
}

.sidenav a:hover, .offcanvas a:focus{
    color: #818181;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 36px;
    margin-left: 50px;
}

.top-image {
  height: 35px;
  width: 35px;
  align-self: center;

}

.top-holder {
  margin-top: -215px;
	border-radius: 50%;
	width: 80px;
	height: 80px;
  background-color: white;
  display:flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  text-decoration: none;

}

.top-text {
  margin: 0;
  color: black;
}

.top-holder a{
  text-decoration: none;
}





@media screen and (min-width: 600px) {
  iframe {
    width: 500px;
  }


}

@media screen and (min-width: 770px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
  }
  .nav-btn {
    display: none;

  }
  .nav-items {
    flex-direction: row;
    border-bottom: none;
    display: flex !important;
  }
  .nav-items a{
    padding: 0;
  }

  .nav-items a:hover{
    border-bottom: 1px solid #ff9966;
  }

  .nav-header {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .footer-bottom {
    flex-direction: row;
    max-width: 1100px;
    margin: 0 auto;
    height: 150px;
  }
  .copyright{
    margin: 0 ;
    margin-right: 1em;
    margin-bottom: 0;
    align-self: center;
  }

  .social-icons {
    display: flex;
    flex-direction: row;
    align-self: center;
  }

  .social-icons:hover > a {
    opacity: 0.5;
  }

  .social-icons a:hover{
    opacity: 1;
  }

  .social-icons img{
    margin: 0em 0 .2em .2em;
  }
  .sidenav {
    width: 0 !important;
  }

  #main {
    margin-left: 0;
  }

  .personal-info {
    margin-left: 2em;
  }

  .top-holder {
    margin-top: -160px;
  }

}
