@import url('https://fonts.googleapis.com/css?family=Cormorant:300,300i,400,400i,500,500i,600,600i,700,700i');

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: white;
  font-family: 'Cormorant', serif;
}

h1 {
  font-size: 3rem; /* 48/16 */
  padding: 8px 0;
  margin: 8px 0;
}

h2 {
  font-size: 2rem; /* 32/16 */
  padding: 8px 0;
  margin: 8px 0;
}

h3 {
  font-size: 1.5rem; /* 24/16 */
  padding: 8px 0;
  margin: 8px 0;
}

h4 {
  display:inline-block;
  color: #838181;
  font-size: 1rem;
  line-height: 1.5rem;
}

p {
  font-size: 1.5rem; /* 24/16 */
  line-height: 2rem; /* 32/16 */
  margin: 32px auto 16px auto;
}

#arrow-down {
  color: white;
}

#arrow-down:hover {
  color: white;
  background-color: transparent;
  border-radius: 100%;
}

#arrow-down {
  display: inline-block;
  animation: .7s down  infinite alternate;
  -webkit-animation: .7s down infinite alternate;
}

/***Animation Arrow down***/
@keyframes down{ 0%{transform:translateY(0px)} 100%{transform:translateY(20px)} }
@-webkit-keyframes down{ 0%{-webkit-transform:translateY(0px)} 100%{-webkit-transform:translateY(20px)} }

i {
  transition: 0.7s ease;
  font-size: 1.5rem; /* 24/16 */
  padding: 8px 8px;
  margin: 8px 8px;
  color: black;
  min-width: 40px;
  text-align: center;
}

i:hover {
  color: white;
  background-color: #D07C7C;
  border-radius: 100%;
}

nav {
  border-style: solid;
  border-color: #EBEBEB;
  border-width: 1px 0 1px 0;
  max-width: 100%;
  margin: 0 24px 0 24px;
  display: flex;
  align-items: center;
}

.nav-links {
  transition: 0.3s ease;
  color: black;
  text-decoration: none;
  margin: 0 16px;
  padding: 0 8px 0 8px;
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
}

.nav-links:hover {
  color: #D07C7C;
  border-top: 3px solid #D07C7C;
  border-bottom: 3px solid #D07C7C;
  padding: 16px 8px;
}

#handle {
  margin: 8px auto 8px 0;
}

ul {
  display: inline-block;
  float: right;
}

li {
  font-size: 1rem;
  line-height: 1.5rem;
  display: inline;
}

header {
  color: white;
  text-align: center;
  max-width: 100%;
  margin: 24px 24px 0 24px;
  height: calc(100vh - 82px);
  display: flex;
  justify-content: center;
  align-items: center;
/* background gradient */
	background: linear-gradient(-45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
	background-size: 400% 400%;
	-webkit-animation: Gradient 15s ease infinite;
	-moz-animation: Gradient 15s ease infinite;
	animation: Gradient 15s ease infinite;
}

@-webkit-keyframes Gradient {
	0% {
		background-position: 0% 50%
	}
	50% {
		background-position: 100% 50%
	}
	100% {
		background-position: 0% 50%
	}
}

@-moz-keyframes Gradient {
	0% {
		background-position: 0% 50%
	}
	50% {
		background-position: 100% 50%
	}
	100% {
		background-position: 0% 50%
	}
}

@keyframes Gradient {
	0% {
		background-position: 0% 50%
	}
	50% {
		background-position: 100% 50%
	}
	100% {
		background-position: 0% 50%
	}
}

section {
  margin: 124px 24px 24px 24px;
  text-align: center;
}

section > p {
  max-width: 1024px;
}

.breaker {
  width: 62px;
  height: 3px;
  background-color: #D07C7C;
  margin: 16px auto;
}

.work-wrapper {
  display:flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  max-width: 1024px;
  margin: 0 auto;
}

.work-link {
  transition: 0.3s ease;
  padding: 24px 24px;
  margin: 24px 24px;
  color: white;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background-image: url('https://placeimg.com/640/480/tech');
  background-repeat: no-repeat;
  background-size: cover;
  font-size: 33px;
  border-top-style: solid;
  border-color: white;
}

.work-link:hover {
  border-top-style: solid;
  border-color: #D07C7C;
  -webkit-box-shadow: 10px 10px 61px -21px rgba(0,0,0,0.58);
  -moz-box-shadow: 10px 10px 61px -21px rgba(0,0,0,0.58);
  box-shadow: 10px 10px 61px -21px rgba(0,0,0,0.58);
}

footer {
  background-color: black;
  color: white;
  padding: 1px 16px;
}

footer > p {
  font-size: 1em;
  margin: 8px auto 8px auto;
}

#footer-icon {
  color: white;
  font-size: 1rem;
}

#footer-icon:hover {
  color: white;
  background-color: transparent;
  border-radius: 100%;
}
/* Media Queries */

@media only screen and (max-width: 600px) {
  #handle {
    display: none;
  }
  ul {
    width: 100%;
    text-align: center;
  }
}
