html,
body {
  font-family: "Times New Roman", Times, serif;
  text-align: center;
}

* {
  margin: 0;
  padding: 0;
}

.intro {
  top: 0;
  background:#F4F4F2 ;
  min-height: 40vh;
  padding-top: 10vh;
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/2864924/laptop%20unsplash.jpg")fixed center;
  
}
  
  .intro p {
  color:#AD1700;
}

nav ul {
  text-align: right;
  position: fixed;
  width: 100%;
  background-color: #000000;
}

nav ul li {
  display: inline-block;
  height: 50px;
  margin: 55px;
  margin-bottom: 15px;
  margin-top: 25px;
}

nav ul li a {
  color: #FFF;
  text-decoration: underline;
}

nav ul li a:hover {
  color: red;
}


.work {
  padding-top: 60px;
  margin-top: -60px;
}

.work .work-header {
  margin-top: 50px;
  color: #AD1700;
  font-weight: bold;
}

.project {
  text-decoration: none;
  color: #AD1700;
  display: inline-block;
  overflow: hidden;
  border: 3px solid red;
  height: 350px;
  width: 350px;
  margin: 40px 100px;
/*   background: url("https://res.cloudinary.com/dck40m3wf/image/upload/v1455459914/Portfolio/fancy-floral-pattern-384.jpg") repeat; */
}

.project-pic {
  width: 100%;
  height: 310px;
  border-bottom: 2px solid red;
}

.project-title {
  font-weight: bold;
  text-decoration: underline;
}

.show-all {
  text-decoration: none;
  display: block;
  width: 200px;
  height: 30px;
  margin: 20px auto 90px;
   background: #AD1700;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 1em;
  border: 2px solid #000000;
  border-radius: 4px;
  cursor: pointer;
  padding-top:20px;
}

.show-all:hover {
  background: yellow;
  color: black;
}
  
  @media only screen and (max-width: 500px) {
  nav ul {
    text-align: center;
  }
  nav ul li {
    margin: 20px;
  }
  .project {
    margin: 40px 0;
  }
}
  
  .contact {
  /*   height:800px; */
  /*   min-height:800px; */
  background: #C8F7C5;
  padding-bottom: 160px;
   color: #FFFFFF;
}
  
  .header {
  padding: 160px 0 110px;
}

.contact-details {
  display: inline-block;
  font-weight: bold;
  margin: 0 35px 45px 35px;
  list-style-type: none;
  border: 2px solid red;
  border-radius: 100%;
  width: 100px;
  height: 100px;
  line-height: 100px;
  background: #000000;
  color: #FFF;
  text-decoration: none;
}
  
  .contact-details:hover {
  background: yellow;
  color: black;
}
  
@media only screen and (max-width: 500px) {
  nav ul {
    text-align: center;
  }
  nav ul li {
    margin: 20px;
  }
  .project {
    margin: 40px 0;
  }
}

.contact {
  /*   height:800px; */
  /*   min-height:800px; */
  background: #000000;
  padding-bottom: 160px;
}

.header {
  padding: 160px 0 110px;
}


.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 45vh;
  padding: 0 2rem;
  background: #000000;
}

.contact-section-header > h2 {
  font-size: 6rem;
  color: #fff;
}

@media (max-width: 28.75em) {
  .contact-section-header > h2 {
    font-size: 4rem;
    
  }
}

.contact-section-header > p {
  font-style: italic;
  color: #FFF
}

.contact-links {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.contact-details {
  font-size: 2.4rem;
  text-shadow: 2px 2px 1px #1f1f1f;
  transition: transform 0.3s ease-out;
}

.contact-details:hover {
  transform: translateY(8px);
}

/* Footer */

footer {
  font-weight: 300;
  display: flex;
  justify-content: space-evenly;
  padding: 2rem;
  background: red;
  border-top: 4px solid var(--main-red);
}

footer > p {
  margin: 2rem;
}

footer i {
  vertical-align: middle;
}

@media (max-width: 28.75em) {
  footer {
    flex-direction: column;
    text-align: center;
  }
}
  