@import url('https://fonts.googleapis.com/css?family=Anton|Lora:400i|Raleway:400,600');

body {
    background: #292b2f;
    color: white;
    font-family: "Raleway", sans-serif;
}

.main-header {
    height: 42em;
    z-index: 10;
    position: relative;
    top: 0;
}

/* .main-header:after {
    background: #66fcf1;
    content: '';
    left: 50%;
    position: absolute;
    width: 1px;
    z-index: 2;
    height: 100%;
} */

.header-skew:before {
  content: '';
  position: absolute;
  top: -6em;
  left: 0;
  overflow: visible;
  width: 50%;
  height: 42em;
  background: #018185;
  z-index: 0;
  transform: skewY(13deg);
  backface-visibility: initial;
}

.header-skew:after{
  content: '';
  position: absolute;
  top: -6em;
  right: 0;
  overflow: visible;
  width: 50%;
  height: 42em;
  background: #018185;
  z-index: 0;
  transform: skewY(-13deg);
  backface-visibility: initial;
}

.main-title {
    position: relative;
    top: 3.5em;
    text-align: center;
    font-size: 4em;
    font-family: "Anton";
    letter-spacing: 2px;
    word-spacing: 1px;
    z-index: 4;
}

.second-title {
  font-size: 2em;
  letter-spacing: 3px;
  position: relative;
  top: 8.5em;
  /* left: 18em; */
  width: 100%;
  text-align: center;
  margin-left: -6em;
  z-index: 4;
}

/*Vertical Sliding*/
.sliding-vertical {
	text-indent: 8px;
}
.sliding-vertical span{
	animation: topToBottom 17.5s linear infinite 0s;
	-ms-animation: topToBottom 17.5s linear infinite 0s;
	-webkit-animation: topToBottom 17.5s linear infinite 0s;
	opacity: 0;
	position: absolute;
}
.sliding-vertical span:nth-child(2){
	animation-delay: 3.5s;
	-ms-animation-delay: 3.5s;
	-webkit-animation-delay: 3.5s;
}
.sliding-vertical span:nth-child(3){
	animation-delay: 7s;
	-ms-animation-delay: 7s;
	-webkit-animation-delay: 7s;
}
.sliding-vertical span:nth-child(4){
	animation-delay: 10.5s;
	-ms-animation-delay: 10.5s;
	-webkit-animation-delay: 10.5s;
}

.sliding-vertical span:nth-child(5){
	animation-delay: 14s;
	-ms-animation-delay: 14s;
	-webkit-animation-delay: 14s;
}

/* topToBottom Animation*/
@-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; }
}

.header-skew-second:before {
  content: '';
  position: absolute;
  top: 35.7rem;
  left: 0;
  overflow: visible;
  width: 50%;
  height: 7vh;
  background: #d7d5d9;
  z-index: 0;
  transform: skewY(13deg);
  backface-visibility: initial;
  border-bottom: 1px solid #66fcf1;
  border-top: 1px solid #66fcf1;
}

.header-skew-second:after {
  content: '';
  position: absolute;
  top: 35.7rem;
  right: 0;
  overflow: visible;
  width: 50%;
  height: 7vh;
  background: #d7d5d9;
  z-index: 0;
  transform: skewY(-13deg);
  backface-visibility: initial;
  border-bottom: 1px solid #66fcf1;
  border-top: 1px solid #66fcf1;
}

.header-skew-line:before {
  content: '';
  position: absolute;
  top: 32rem;
  left: 0;
  overflow: visible;
  width: 50%;
  height: 1px;
  background: #66fcf1;
  z-index: 0;
  transform: skewY(13deg);
  backface-visibility: initial;
}

.header-skew-line:after {
  content: '';
  position: absolute;
  top: 32rem;
  right: 0;
  overflow: visible;
  width: 50%;
  height: 1px;
  background: #66fcf1;
  z-index: 0;
  transform: skewY(-13deg);
  backface-visibility: initial;
}

.scroll-top {
    position: fixed;
    top: 93%;
    left: 96%;
    z-index: 10;
    cursor: pointer;
}

.scroll-top i {
    color: #66fcf150;
    font-size: 3em;
}

.scroll-top i:hover {
    color: #66fcf1;
}


/* ********* MAIN ******** */
.project-section {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5em 0;
    border-bottom: 1px solid #66fcf1
}

.project-section:before {
    background: #66fcf1;
    content: '';
    height: 150%;
    left: 50%;
    position: absolute;
    top: 0;
    width: 1px;
    z-index: -1;
}

.project-title {
    background: #292b2f;
    font-family: "Anton";
    letter-spacing: 2px;
    width: 40rem;
    margin: 8em auto 6em;
    padding: 1em 0;
    position: relative;
    border-top: 1px solid #66fcf1;
    border-bottom: 1px solid #66fcf1;
    z-index: 1;
}

.project-title:before,
.project-title:after {
    background: #66fcf1;
    content: '';
    display: block;
    height: 1px;
    left: 0%;
    position: absolute;
    width: 100%;
}

.project-title h1 {
    font-size: 3em;
    padding: 1.2em;
    text-align: center;
    z-index: 2;
}

.project-container {
    width: 63em;
    margin: 0 auto;
}

.project-container:before {
    background: #66fcf1;
    content: '';
    left: 50%;
    position: absolute;
    width: 1px;
    z-index: -1;
    height: 90%;
}

.project {
    width: 100%;
    height: 20em;
    display: flex;
}

.project-image {
    width: 50%;
    background: teal;
    position: relative;
}

.project.left img {
    width: 100%;
    height: 100%;
    border-right: 1px solid #292b2f;
    border-radius: 5px 0 0 5px;
}

.project.right img {
    width: 100%;
    height: 100%;
    border-radius: 0 5px 5px 0 ;
}

.project-overlay.left {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(126, 131, 133, 0.7);
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .75s ease;
}

.project-overlay.right {
  position: absolute;
  bottom: 0;
  left: 100%;
  right: 0;
  background-color: rgba(126, 131, 133, 0.7);
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .75s ease;
}

.project-image:hover .project-overlay.right {
  width: 100%;
  left: 0;
}

.project-image:hover .project-overlay.left {
  width: 100%;
}

.project-text.left {
  color: white;
  font-size: 1.2em;
  position: absolute;
  width: 15em;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.project-text.right {
  color: white;
  font-size: 1.2em;
  width: 15em;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.project-text p {
    width: 120%;
    line-height: 2;
}

.project-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-content h1 {
    font-size: 2.1em;
    font-weight: 600;
    text-transform: uppercase;
    color: #66fcf1;
    margin-bottom: 1em;
    letter-spacing: 1px;
}

.project-content p {
    max-width: 85%;
    font-size: 1.1em;
    font-family: "Lora";
    font-style: italic;
}

.repo {
    margin-top: 2em;
    border-bottom: 1px dotted white;
}

.repo a {
    font-family: "Raleway";
    font-style: normal;
    cursor: pointer;
}

.repo:hover {
    color: #66fcf1;
    border-bottom: 1px solid #66fcf1;
}

/* ********** About ********** */
.about-section {
    width: 100%;
    height: 52em;
    padding-top: 6em;
    border-bottom: 1px solid #66fcf1;
}

.about-section:before {
    background: #66fcf1;
    content: '';
    left: 50%;
    position: absolute;
    width: 1px;
    z-index: 0;
    height: 103.1%;
}

.about-section:after{
    background: #66fcf1;
    content: '';
    left: 50%;
    position: absolute;
    width: 1px;
    z-index: 0;
    height: 100%;
}

.about-title {
    font-family: "Anton";
    letter-spacing: 2px;
    background: #292b2f;
    width: 40rem;
    margin: 0 auto 6em;
    padding: 1em 0;
    position: relative;
    border-top: 1px solid #66fcf1;
    border-bottom: 1px solid #66fcf1;
}

.about-title:before,
.about-title:after {
    background: #66fcf1;
    content: '';
    display: block;
    height: 1px;
    left: 0%;
    position: absolute;
    width: 100%;
}

.about-title h1 {
    text-align: center;
    font-size: 3em;
    padding: 1.2em;
    z-index: 1;
}

.about-container {
    width: 59em;
    margin: 0 auto;
    background: #292b2f;
    border-top: 1px solid #66fcf1;
    border-bottom: 1px solid #66fcf1;
    position: relative;
    z-index: 2;
}

.about-me {
    width: 100%;
    height: 25em;
    display: flex;
    padding: 2em 0;
}

.my-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-image img {
    width: 55%;
    height: 70%;
    border-radius: 10px;
}

.my-bio{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.my-bio p {
    max-width: 90%;
    margin: 1em auto;
    line-height: 1.8;
}

.my-bio a {
    border-bottom: 1px dotted white;
}

.my-bio a:hover {
    color: #66fcf1;
    border-bottom: 1px solid #66fcf1;
}

/* ********* Skills ********* */
.skill-section {
    width: 100%;
    padding-top: 6em;
    margin-bottom: 6em;
}

.skill-section:after {
    background: #66fcf1;
    content: '';
    left: 50%;
    position: absolute;
    width: 1px;
    z-index: 1;
    height: 80%;
}

.skill-title {
    font-family: "Anton";
    letter-spacing: 2px;
    background: #292b2f;
    width: 40rem;
    margin: 0 auto 6em;
    padding: 1em 0;
    position: relative;
    border-top: 1px solid #66fcf1;
    border-bottom: 1px solid #66fcf1;
}

.skill-title:before,
.skill-title:after {
    background: #66fcf1;
    content: '';
    display: block;
    height: 1px;
    left: 0%;
    position: absolute;
    width: 100%;
}

.skill-title h1 {
    font-size: 3em;
    padding: 1.2em;
    text-align: center;
    z-index: 1;
}

.skill-container {
    width: 85%;
    background-color: #292b2f;
    margin: 0 auto;
    padding: 2em 0;
    position: relative;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #66fcf1;
    border-bottom: 1px solid #66fcf1;
}

.skill-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 3em auto;
}

.skills {
    display: flex;
}

.skill {
    max-width: 8em;
    max-height: 8em;
    margin: auto 1em;
    transition: .75s ease-in-out;
}

.skill:hover {
    transform: scale(1.5);
}

.skill.gulp {
    margin: 0 1em;
}

.skill.med {
    max-width: 7em;
    max-height: 6em;
}

.skill.small {
    max-width: 5.5em;
    max-height: 5.5em;
}

.skill img {
    width: 100%;
    height: auto;
}

.skill img.gulp-svg {
    max-height: 8em;
}

/* ********* Footer ********** */
footer {
    width: 100%;
    height: 8em;
    z-index: 3;
    position: relative;
    bottom: -16em;
}

.footer-skew:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: visible;
  width: 50%;
  height: 14.5em;
  background: #018185;
  z-index: 0;
  transform: skewY(13deg);
  backface-visibility: initial;
}

.footer-skew:after{
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  overflow: visible;
  width: 50%;
  height: 14.5em;
  background: #018185;
  z-index: 0;
  transform: skewY(-13deg);
  backface-visibility: initial;
}

.footer-skew-second:before {
  content: '';
  position: absolute;
  bottom: 14.5em;
  left: 0;
  overflow: visible;
  width: 50%;
  height: 6vh;
  background: #d7d5d9;
  z-index: 3;
  transform: skewY(13deg);
  backface-visibility: initial;
  border-bottom: 1px solid #66fcf1;
  border-top: 1px solid #66fcf1;
}

.footer-skew-second:after {
  content: '';
  position: absolute;
  bottom: 14.5em;
  right: 0;
  overflow: visible;
  width: 50%;
  height: 6vh;
  background: #d7d5d9;
  z-index: 0;
  transform: skewY(-13deg);
  backface-visibility: initial;
  border-bottom: 1px solid #66fcf1;
  border-top: 1px solid #66fcf1;
}

.footer-skew-line:before {
  content: '';
  position: absolute;
  bottom: 11em;
  left: 0;
  overflow: visible;
  width: 50%;
  height: 1px;
  background: #66fcf1;
  z-index: 0;
  transform: skewY(13deg);
  backface-visibility: initial;
}

.footer-skew-line:after {
  content: '';
  position: absolute;
  bottom: 11em;
  right: 0;
  overflow: visible;
  width: 50%;
  height: 1px;
  background: #66fcf1;
  z-index: 0;
  transform: skewY(-13deg);
  backface-visibility: initial;
}

.footer-content {
    width: 100%;
    background: #018185;
    height: 30em;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}


.contact {
    position: relative;
    top: 10em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coming-soon {
    padding-top: 1em;
}

.email {
    font-size: 2em;
}

.contact a {
    font-size: 1em;
    border-bottom: 1px dotted white;
    cursor: pointer;
}

.contact a:hover {
    border-bottom: 1px solid white;
}

.footer {
    width: 100%;
    height: 3em;
    margin-bottom: 2em;
    color: #ffffff75;
    position: relative;
    top: 100%;
    background-color: #292b2f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer p {
    font-size: 1em;
}

.icon-list {
    width: 100%;
    text-align: center;
    list-style: none;
    margin-bottom: 1.5em;
}

.icon {
     display: inline;
     padding: 0 .5em;
     cursor: pointer;
     padding: 0 1em;
}

.icon a {
    color: #ffffff75;

}

.icon-list i {
    font-size: 1.8em;
}

.icon-list i:hover{
    color: #66fcf1;
}

.hidden {
    visibility: hidden;
}

.visible {
    visibility: visible;
}

/* Fades */

.fadeinDown {
  animation: fadeInDown 1000ms ease-in-out;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeoutDown {
  animation: fadeoutDown 1000ms ease-in-out;
}

@keyframes fadeoutDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(+50px);
  }
}

.fadeinUp {
  animation: fadeInUp 1000ms ease-in-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeoutUp {
  animation: fadeoutUp 1000ms ease-in-out;
}

@keyframes fadeoutUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(80px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

.fadeInRight {
  -webkit-animation: fadeInRight 1000ms ease-in-out;
  animation: fadeInRight 1000ms ease-in-out;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}


.fadeInLeft {
  -webkit-animation: fadeInLeft 1000ms ease-in-out;
  animation: fadeInLeft 1000ms ease-in-out;
}

@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(80px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(80px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

/* ******* Media Queries ******* */
@media only screen and (max-width: 1115px) {
   .scroll-top {
        display: none;
    }

    .project-container {
        width: 100vw;
    }

    .project.left {
        flex-direction: column;
        align-items: center;
    }

    .project.right {
        flex-direction: column-reverse;
        align-items: center;
    }

    .project {
        width: 80%;
        height: 36em;
        padding: 2em 0;
        position: relative;
        background: #292b2f;
        border-top: 1px solid #66fcf1;
        border-bottom: 1px solid #66fcf1;
        margin: 2em auto 2em;
    }

    .project.left .project-image {
        width: 75%;
        margin-bottom: 5em;
    }

    .project.right .project-image {
        width: 75%;
        margin-bottom: 3em;
    }

    .project-content p {
        max-width: 100%;
    }

    .ss .repo {
        margin-bottom: 2.5em;
    }

    .sh .repo {
        margin-bottom: 3em;
    }

    .wf .repo,
    .bt .repo {
        margin-bottom: 1em;
    }

    .about-container {
        width: 100%;
    }
}

@media only screen and (max-width: 940px) {
    .main-title {
        font-size: 3em;
    }

    .second-title {
        font-size: 1.5em;
    }

    .about-container {
        width: 100%;
        height: 38em;
    }

    .about-me {
        height: 36em;
        flex-direction: column;
        align-items: center;
    }

    .my-image {
        margin-bottom: 1em;
    }

    .my-bio {
        width: 85%;
    }

    .my-bio p {
        max-width: 100%;
    }

    .skill-section {
        margin-top: 5em;
    }

    .skill-row {
        flex-direction: column;
        margin-bottom: 0;
    }

    .skills.first {
        margin-bottom: 5em;
    }

    .email {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 605px) {
    .main-header {
        height: 39em;
    }

    .main-title {
        font-size: 1.8em;
        top: 7em;
    }

    .second-title {
        font-size: 1em;
        top: 15em;
        width: 80%;
        text-align: justify;
        left: 2.5em;
        margin: 0;
    }

    .project-container {
        width: 100%;
    }

    .project {
        height: 19em;
    }

    .project.left .project-image {
        margin-bottom: 2em;
    }

    .wf .repo,
    .bt .repo,
    .ss .repo,
    .sh .repo {
        margin-bottom: 1em;
    }

    .project-title,
    .about-title,
    .skill-title {
        font-size: .8em;
        width: 100%;
    }

    .project-text p {
        width: 80%;
        margin: 0 auto;
        font-size: .7em;
        line-height: 1.3;
    }

    .project-content p {
        font-size: .9em;
    }

    .project-content h1 {
        font-size: 1.2em;
    }

    .my-bio p {
        font-size: .8em;
        max-width: 80%;
    }

    .email {
        font-size: .9em;
    }

    .coming-soon {
        font-size: .7em;
    }
}

    @media only screen and (max-width: 400px) {
        .project-text p {
        width: 60%;
        font-size: .6em;
        line-height: 1.1;
    }
} 

@media only screen and (min-height: 1040px) {
    .skill-section:after {
        height: 40%;
    }
}