/*****
RESET
******/

body {
  box-sizing: border-box;
  margin: 0;
	padding: 0;
	border: 0;
  max-width: 100%;
  font-family: 'Quattrocento Sans', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	vertical-align: baseline;
}

h1 {
  font-size: 3em;
}

h3 {
  font-size: 1.5em;
  font-family: 'Montserrat', serif;
}

ul, li {
  list-style-type: none;
}

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

a:visited {
  color: #000;
}

/*****
BASIC
******/

#home,
#about,
#portfolio,
#contact {
  min-height: 100vh;
  padding-top: 70px;
}

.span {
  font-weight: 600;
  font-size: 1.5em;
  font-family: 'Advent Pro', sans-serif;
  margin-bottom: 50px;
}

/*****
NAV
******/

.nav,
.main-nav {
  display: flex;
}

.nav {
  background-color: #fff;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  width: 100%;
  border-color: rgba(34,34,34,.08);
}

.nav ul {
  padding-right: 20px;
}

.main-nav a {
  padding: 10px 25px;
  text-transform: uppercase;
  color: #000;
}

/*****
HOME
******/

#home {
  background: url('../img/bg2.jpg') no-repeat center center fixed;
  background-size: cover;
  text-align: center;
  color: #fff;
}

#home h1 {
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 50px;
  margin-top: 250px;
  font-family: 'Advent Pro', sans-serif;
  font-size: 6em;
}

#home h3 {
  text-transform: uppercase;
}

/*****
ABOUT
******/

#about {
  margin-top: -25px;
  padding: 3em;
  background-color: #ececec;
}

#about h4 {
  font-family: 'Advent Pro', sans-serif;
  font-size: 1.2em;
  margin-bottom: 0;
}

#about span {
  text-decoration: line-through;
}

.about {
  padding-left: 2em;
}

/*****
PORTFOLIO
******/

#portfolio {
  margin-top: -25px;
  padding: 3em;
  display: flex;
  flex-direction: column;
}

#portfolio h1 {
  margin-bottom: 0;
}

.portfolio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;

}

.proj1, .proj2, .proj3,
.proj4, .proj5, .proj6 {
  text-align: center;
  margin-bottom: 10px;
}

a > img{
  border-radius: 5px;
}


/*****
CONTACT
******/

#contact {
  background: url('../img/contact.jpg') no-repeat center center fixed;
  background-size: cover;
  padding: 3em;
  display: flex;
  flex-direction: column;
}

.contact {
  padding-left: 2em;
  display: flex;
  font-family: 'Advent Pro', sans-serif;
  font-size: 2em;
}

.contact i {
  padding-right: 20px;
  color: #000;
  position: relative;
  z-index: 1;
  transition: all .3s ease-in-out;
}

.contact i:hover {
  transform: scale(1.1);
  color: red;
}

/*****
MEDIA QUERIES
******/

@media screen and (max-width: 768px) {
  .nav {
    align-items: center;
  }

  .main-nav {
    padding: 0 20px;
  }

  .main-nav a {
    padding: 5px;
  }
}
