body {
  /* Background */
  background-color: #013938;
  /* Typography */
  font-family: acme-gothic, sans-serif;
	font-weight: 400;
	font-style: normal;
  font-size: 16px;
  color: #ECDDDD;
  max-width: 1300px;
  margin: auto;
}

h1 {
  font-size: 3.5em;
  line-height: 1.2;
}

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

main {
  height:100vh;
  margin: 0 45px 0 45px;
  position: sticky;
  position: -webkit-sticky;
}


 /* ––––––– TOP NAVIGATION ––––––– */

header {
  width: 100%;
  max-width: 1300px;
  padding: 0 45px 45px 45px;
  position: fixed;
  z-index: 1;
  overflow: hidden;
}



/* Logo */
header a img {
  width: 70px;
  float: left;
  margin-right: 45px;
}

aside.socialmedia {
  position: absolute;
  right: 140px;
  top: 0;
  height: 25px;
  z-index: 2;
  width: 120px;
}

aside.socialmedia a img {
  height: 25px;
  width: 25px;
  margin: 0 0 0 0;
  padding-left: 15px;
}



 /* ––––––– CONTENT ––––––– */
main.content {
  top: 100px;
}

.content h1 {
  position: relative;
  padding-top: 10%;
  width: 50%;
}


.email {
  float: left;
  background-color: #ECDDDD;
  padding: 10px 18px 12px 18px;
  border-radius: 25px;
  color: #013938;
}

.email:hover {
  background-color: #d8aa00;
  transition: 0.5s ease;
}

.about:hover {
  color: #d8aa00;
  transition: 0.5s ease;
}

 /* Pattern */
.content img {
  position: absolute;
  width: 45vw;
  max-width: 650px;
  top: 5px;
  right: 0;
  float: right;
}



/* ––––––– PROJECTS ––––––– */

section {
  background-color: #FFFFFF;
  height: 100%;
  max-height: ;
  padding: 45px 45px 50px 45px;
  position: sticky;
  position: -webkit-sticky;
  top: 0px;
}

 section.footer {
  position: static;
  height: 30px;
  padding: 0;
}

.project01 img, .project02 img, .project03 img {
  width: 100%;
}

.container {
  position: relative;
  width: 80%;
  margin: auto;
}

.image {
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 1.5s ease;
  background-color: rgba(255, 255, 255, 0.7);
}

.container:hover .overlay {
  opacity: 1;
}

.text {
  color: #013938;
  font-size: 40px;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.overlay a {
  font-size: 16px;
  background-color: #013938;
  padding: 10px 18px 12px 18px;
  border-radius: 25px;
  color: white;
}

.overlay a:hover {
  background-color: #d8aa00;
  transition: 0.3s ease;
}

/* ––––––– FOOTER ––––––– */


footer {
  height: 20px;
  width: 90%;
  position: sticky;
  bottom: 20px;
  padding: 20px 0 0 45px;
}

footer p {
  font-size: 10px;
}

footer a {
  margin: 0 0 0 50px;
}

footer a:hover {
  color: #d8aa00;
  transition: 0.3s ease;
}



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



@media only screen and (max-width: 1300px) {


}

@media only screen and (max-width: 940px) {


  .content h1 {
    width: 100%;
    padding-top: 90px;
  }

  .content img {
    position: absolute;
    top: 400px;
    left: 0px;
    width: 100%;
    float: none;
    clip: rect(0px,850px,700px,0px)
  }



  footer {
    position: fixed;
    max-width: 880px;
  }

  aside.socialmedia {
    right: 0;
    height: 25px;
    position: fixed;
    top: 38px;
    z-index: 2;
    width: 120px;
    margin-right: 50px;
  }

  aside.socialmedia a img {
  height: 25px;
  width: 25px;
  margin: 0 0 0 0;
  padding-left: 15px;
  }

}

@media only screen and (max-width: 768px) {

  .content img {
    top: 550px;
    clip: rect(0px,850px,400px,0px)
  }

  .project01 img, .project02 img, .project03 img {
    width: 100%;
    margin: auto;
  }

  .container {
    width: 100%;
  }

  .text {
    font-size: 30px;
  }


}


@media only screen and (max-width: 600px) {

header {
  padding-top: 5px;
}


  .content img {
    top: 500px;
}

  .content h1 {
    position: relative;
    width: 100%;
    font-size: 2.9em;
  }


    .text {
      font-size: 25px;
      line-height: 45px;
    }

}

@media only screen and (max-width: 425px) {

  header {
    padding: 0 45px 45px 20px;
  }

  .content h1 {
    font-size: 2.4em;
  }

  main {
    height:100vh;
    margin: 0 20px 0 20px;
    position: sticky;
    position: -webkit-sticky;
  }

  main.content {
    top: 30px;
  }

  aside.socialmedia {
    top: 25px;
    right: -25px;
  }

  .content img {
    top: 400px;
    clip: rect(0px,400px,300px,0px)
}

  footer {
    padding: 20px 0 0 20px;
  }

  section {
    padding: 20px 20px 20px 20px;
  }

}


@media only screen and (max-width: 375px) {

  .text {
    font-size: 20px;
    line-height: 40px;
  }

  .content img {
    top: 400px;
    clip: rect(0px,400px,250px,0px)
}

}
