@import "compass/css3"

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: "Inconsolata", sans-serif;
  background-color: #eeeeee;
}

section.about-contain,
.work-contain {
  max-width: 1400px;
  margin: 0 auto;
}

.header-contain {
  width: 100%;
  height: 75px;
  /* position: sticky; */
  top: 0;
  background-color: #eeeeee;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  z-index: 9999;
  position: fixed;
}
.nav-spacer {
  width: 100%;
  height: 75px;
  display: block;
}
.shrink {
  height: 75px;
}

ul {
  width: 300px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-around;
  list-style: none;
}

h1 {
  margin: 0 auto;
  padding: 5px;
  font-family: "Bubbler One", sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
}

.img-background {
  width: 100%;
  min-height: 430px;
  background-color: #888e9d;
}

.img-contain {
  max-width: 1200px;
  min-height: 430px;
  margin: 0 auto;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../images/header-image-smaller.jpg");
  background-color: #888e9d;
}

h2 {
  width: 195px;
  margin: auto;
  margin-top: 40px;
  border-bottom: 3px double coral;
  font-family: 'Ubuntu', sans-serif;
  text-transform: uppercase;
}

h3 {
  width: 316px;
  margin-left: 20px;
  margin-top: 50px;
  margin-bottom: 60px;
  font-family: 'Ubuntu', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  border-bottom: 3px double #fcb365;
}

h2.intro {
  width: 216px;
  margin-bottom: 44px;
}

.intro-two {
  width: 100%;
  margin-left: -70px;
  margin-right: -85px;
  margin-bottom: -23px;
  text-transform: uppercase;
  font-size: 20px;
}

span.intro-two.min-view {
  margin: 5px;
}

span {
  text-transform: uppercase;
  font-size: 20px;
}

.section-descriptor {
  text-align: center;
}

.resume-contain {
  width: 80%;
  margin: 0 auto;
  margin-top: 80px;
  background-color: #383737;
  color: #ccc;
  text-align: center;
}

.resume-section {
  margin: 10px 10px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.resume-descriptor {
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 5px;
  font-size: 16px;
}

.resume-answer {
  margin: 0 auto;
  font-size: 14px;
  font-weight: 200;
}

.resume-space {
  margin-bottom: 30px;
}

.res-link {
  border: 1px solid #fda07e;
  padding: 10px 25px 10px 25px;
  text-decoration: none;
  color: #dddddd;
  background-color: #5f5f5f;
}

.res-link:hover {
  border: 3px solid #fda07e;
  background-color: #dddddd;
  color: #5f5f5f;
  cursor: pointer;
  -webkit-transition: background-color 2s ease-out;
  -moz-transition: background-color 2s ease-out;
  -o-transition: background-color 2s ease-out;
  transition: background-color 2s ease-out;
}

.web-design-work {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 30px;
  margin-top: -20px;
  background-color: #dddddd;
}

.mac-img {
  width: 525px;
  height: 371px;
  margin: 10px;
}

.project-descriptor {
  box-sizing: border-box;
  width: 525px;
  height: 100px;
  margin: 0 auto;
  margin-top: -13px;
  margin-bottom: 30px;
  padding: 15px;
  line-height: 2;
  background-color: white;
  color: #474747;
  text-align: center;
  font-size: 13px;
}

.email-para {
  box-sizing: border-box;
  width: 800px;
  height: 100px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 15px;
  line-height: 2;

}

.email-design {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.on-brand-img {
  width: 65%;
  height: 1010px;
  margin: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.thought-process {
  text-align: center;
}

.thought-img {
  width: 400px;
  height: 400px;
}

.art-examples {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.print-img {
  width: 472px;
  height: 266px;
  margin: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.print-img-two {
  width: 250px;
  height: 370px;
  margin: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.graphic-art-work {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 50px;
}

.graphic-img {
  margin: 8px;
  width: 502px;
  height: 342px;
}

.carousel {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 350px;
  height: 350px;
  background-color: #dddddd;
}

img.caro-img {
  width: 200px;
  margin: auto;
  padding: 18%;
}

img.caro-img.palette {
  padding: 4%;
}

.contact {
  text-align: center;
  margin: 50px 20px 50px 20px;
}

.email-link {
  margin: 0 auto;
  margin: 75px 75px;
  padding: 10px;
  width: 100px;
  position: relative;
  margin: 0.5em;
  border: solid 5px transparent;
  background-color: ##888e9d;
  color: black;
  text-decoration: none;
}

.email-link:after {
  content: '';
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border: solid 10px #fda07e;
  margin: -15px;
  z-index: -1;
  transition: transform 0.6s linear;
  transform: scale(.95, 0.85);
}

.email-link:hover::after {
  transform: scale(1,1);
}

footer {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: space-around;
  padding-top: 70px;
}

.footer-icon {
  width: 100%;
  display: flex;
  justify-content: space-around;
  position: absolute;
}

.icon {
  width: 42px;
  height: 42px;
  margin: auto;
  border-radius: 50%;
}

.icon:hover {
  background-color: #fda07e;
}

.icon-pos {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.footer-info-text {
  height:120px;
  margin: 100px 80% 20px 5%;
  font-size: 12px;
}

/* beginning sliding text*/

.sliding-vertical{
	display: list-item;
	text-indent: 80px;;
}
.sliding-vertical span{
	animation: topToBottom 12.5s linear infinite 0s;
	-ms-animation: topToBottom 12.5s linear infinite 0s;
	-webkit-animation: topToBottom 12.5s linear infinite 0s;
	color: #000000;
	opacity: 0;
	overflow: hidden;
	position: absolute;
}
.sliding-vertical span:nth-child(2){
	animation-delay: 2.5s;
	-ms-animation-delay: 2.5s;
	-webkit-animation-delay: 2.5s;
}
.sliding-vertical span:nth-child(3){
	animation-delay: 5s;
	-ms-animation-delay: 5s;
	-webkit-animation-delay: 5s;
}
.sliding-vertical span:nth-child(4){
	animation-delay: 7.5s;
	-ms-animation-delay: 7.5s;
	-webkit-animation-delay: 7.5s;
}
.sliding-vertical span:nth-child(5){
	animation-delay: 10s;
	-ms-animation-delay: 10s;
	-webkit-animation-delay: 10s;
}

@-moz-keyframes topToBottom{
	0% { opacity: 0; }
	5% { opacity: 0; -moz-transform: translateY(-50px); }
	10% { opacity: 1; -moz-transform: translateY(0px); }
	25% { opacity: 1; -moz-transform: translateY(0px); }
	30% { opacity: 0; -moz-transform: translateY(50px); }
	80% { opacity: 0; }
	100% { opacity: 0; }
}
@-webkit-keyframes topToBottom{
	0% { opacity: 0; }
	5% { opacity: 0; -webkit-transform: translateY(-50px); }
	10% { opacity: 1; -webkit-transform: translateY(0px); }
	25% { opacity: 1; -webkit-transform: translateY(0px); }
	30% { opacity: 0; -webkit-transform: translateY(50px); }
	80% { opacity: 0; }
	100% { opacity: 0; }
}
@-ms-keyframes topToBottom{
	0% { opacity: 0; }
	5% { opacity: 0; -ms-transform: translateY(-50px); }
	10% { opacity: 1; -ms-transform: translateY(0px); }
	25% { opacity: 1; -ms-transform: translateY(0px); }
	30% { opacity: 0; -ms-transform: translateY(50px); }
	80% { opacity: 0; }
	100% { opacity: 0; }
}

/* end sliding text*/

@media screen and (min-width: 1399px) {
  .img-contain {
    /* width: 100%;
    height: 580px; */
  }
}

@media screen and (max-width: 635px) and (min-width: 501px) {
  .intro-two {
    margin: 0 auto;
  }

  span.rolling-text {
    display: none;
  }

  span.min-view {
    display: none;
  }

  .mac-img {
    width: 485px;
    height: 331px;
  }

  .project-descriptor {
    width: 485px;
  }

  .email-para {
    width: 485px;
    height: 200px;
  }

  .graphic-img {
    width: 482px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .footer-info-text {
    margin: 100px 80% 20px 30%;
  }

}

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

  h1 {
    padding-top: 25px;
    letter-spacing: 0.2em;
  }

  .intro-two {
    margin: 0 auto;
  }

  .header-contain {
    height: 95px;
  }

  .img-contain {
    background-attachment: inherit;
    background-image: url("../images/header-img-smallscreen.jpg");
  }

  .mac-img {
    width: 370px;
    height: 271px;
  }

  .project-descriptor {
    width: 369px;
    height: 130px;
  }

  .email-para {
    width: 369px;
    height: 271px;
  }

  span.rolling-text {
    display: none;
  }

  span.min-view {
    display: none;
  }

  .graphic-img {
    width: 360px;
    height: 261px;
  }

  .footer-info-text {
    margin: 100px 80% 20px 30%;
  }

}
