:root {
    --primary-header: 'Teko', sans-serif;
    --default-header: 'Coda Caption', sans-serif;
    --secondary-header: 'Roboto Condensed', sans-serif;
}
* {
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--default-header);
  font-size: 20px;
  cursor: crosshair;
  background-color: rgb(250, 249, 249);
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

li {
  list-style: none;
}

a {
  color: white;
}

a:hover,
a:focus {
  color: white;
  text-decoration: none;
}

h1 {
  color: white;
  text-align: center;
  margin-top: 10%;
  font-size: 512.5%;
  line-height: 3rem;
}

h1 > small {
  display: block;
  color: white;
  font-size: 2.5rem;
  line-height: 3rem;
  margin-top: 7%;
}

h2 {
  margin-top: 140px;
  text-align: center;
}

h2:after {
  display: block;
  content: "";
}

h3 {
  font-weight: bold;
}

h1 .logo {
  font-family: var(--primary-header);
  width: 0 auto;
}

/* ELEMENTS */
.noir {
  display: block;
  background-color: black;
  padding: 18px;
  border: 3px solid white;
  border-radius: 1rem;
}
/* END OF ELEMENTS */

.overflow {
  overflow: hidden;
}

.courtesy-of {
  padding-top: 30px;
}

.overlay {
  background-color: #000000f0;
  height: 100%;
  width: 100%;
  padding-bottom: 80px;
  opacity: 90%;
}

#home {
    background: url(images/IMG-5244.jpg);
    width: 100%;
    background-size: cover;
}

#home nav {
  margin: 0 auto;
  padding-top: 80px;
}

#home nav ul {
  overflow: hidden;
}

#home nav ul li {
  width: 25%;
}

#home nav a {
  padding: 16px;
}

#home nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: black;
  z-index: 999;
  padding: 0;
  transition: background-color 0.8s;
}

#home nav.fixed ul {
  max-width: 700px;
  margin: 0 auto;
}

.social-links {
  margin-top: 100px;
  overflow: hidden;
  padding: 0;
  display: table;
  margin: 0 auto;
  margin-top: 90px;
}

.social-links li {
  display: inline-table;
  margin-right: 10px;
}

.github {
  border-color: #ffe100;
  text-align: center;
}

.github:hover {
  background-color: #ffe100;
  transition: background-color 0.4s;
}

.top-arrow{
  padding-top: 30px;
}

.bottom-arrow {
  padding-bottom: 30px;
}

#about .info {
  display: flex;
  flex-direction: row;
  text-align: center;
}

#about h2 {
  color: #C03D28;
  font-size: 3rem;
}

#about h2::after {
  border-bottom: 2px dashed #918d8d;
  margin-top: 1.5rem;
}

#about .info p {
  line-height: 270%;
  font-family: var(--secondary-header);
}

#about .signature {
  font-family: "Brush Script MT", cursive;
  font-size: 250%;
  float: none;
  color: #C03D28;
  opacity: 0.9;
}

.img-fluid {
    max-width: 110%;
    height: auto;
}

.perfect {
  font-family: var(--secondary-header);
  padding-top: 100px;
  line-height: 270%;
  padding-bottom: 4rem;
}

.perfect-title {
  font-weight: 900px;
  font-family: var(--default-header);
}

.wpm, .cpm {
  color: white;
  font-family: var(--secondary-header);
  font-size: 18px;
}
.skills-page {
  background: linear-gradient(109.6deg, rgba(0, 0, 0, 0.93) 11.2%, rgb(63, 61, 61) 78.9%);
}

#skill-set {
  margin-top: 80px;
  padding-bottom: 80px;
  color: #ffc400;
}

.skills {
  color: white;
  font-weight: 100;
}

.skills li {
  padding: 20px;
  font-family: var(--secondary-header);
}

.intro {
  background: #ffc400;
  padding: 100px 0;
}

.container-time {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.timeline ul {
  background: url(https://images.pexels.com/photos/7563615/pexels-photo-7563615.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940https://images.pexels.com/photos/4605240/pexels-photo-4605240.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940);
  padding: 50px 0;
  background-size: cover;
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background: #fff;
}

.timeline ul li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
  z-index: 1;
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 15px;
  background: #ffc400;
}

.timeline ul li div::before {
  content: "";
  position: absolute;
  bottom: 7px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ul li:nth-child(odd) div {
  left: 45px;
}

.timeline ul li:nth-child(odd) div::before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent #ffc400 transparent transparent;
}

.timeline ul li:nth-child(even) div {
  left: -439px;
}

.timeline ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #ffc400;
}

.process-list {
    font-family: var(--secondary-header);
}

time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: var(--default-header);
  margin-bottom: 8px;
}

.timeline ul li::after {
  transition: background 0.5s ease-in-out;
}

.timeline ul li.in-view::after {
  background: #000000;
}

.timeline ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
  transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
  transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
}

.timeline-clippy ul li::after {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.timeline-rhombus ul li::after {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.timeline-rhombus ul li div::before {
  bottom: 12px;
}

.timeline-star ul li::after {
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.timeline-heptagon ul li::after {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
}

.timeline-infinite ul li::after {
  animation: scaleAnimation 2s infinite;
}

@keyframes scaleAnimation {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.25);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

.section.z-bigger-2 {
  z-index: 200;
}

.project-link-wrap {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  cursor: pointer;
}

.project-link-wrap p {
  font-size: 100px;
  line-height: 80px;
  color: rgb(7, 7, 7);
  font-weight: 700;
  text-align: center;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
  cursor: pointer;
  opacity: 0.35;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.project-link-wrap:hover p {
  opacity: 0.15;
}

.page-footer {
  position: fixed;
  right: 0;
  bottom: 20px;
  display: flex;
  align-items: center;
  padding: 5px;
  padding-left: 15px;
  color: black;
  background: rgba(255, 255, 255, 0.65);
  font-size: .75rem;
  overflow-x: hidden;
}

.page-footer a {
  display: flex;
  margin-left: 4px;
  overflow-x: hidden;
}

/* Media Queries */

@media screen and (max-width: 790px) {
  body {
    font-size: 18px;
  }

  h2 {
    margin-top: 80px;
  }

  #about img {
    display: block;
    margin: 0 auto;
  }

  .perfect {
  line-height: 3rem;
}
 
  #skill-set .skills {
    margin-top: 20px;
  }
}

@media screen and (max-width: 570px) {
  h1 {
    font-size: 300%;
  }

  #home nav {
    width: inherit;
  }

   #about .signature {
    float: none;
  }
}

@media screen and (max-width: 480px) {
  #home nav a {
    font-size: 60%;
  }

  .social-links li {
    display: block;
    width: 100%;
  }

  .social-links {
    width: 100%;
  }

  #about img {
    width: 100%;
  }

  #skill-set #web-development-skills::before {
    display: none;
  }

  #skill-set .skills {
    width: 100%;
    display: block;
  }
}

@media screen and (max-width: 302px) {
  
  h1 {
    font-size: 200%;
  }

   h1 > small {
    font-size: 80%;   
  }

  #home nav a {
    padding: 10%;
  }

  .project-link-wrap p {
    font-size: 400%;
  }
}

@media screen and (max-width: 900px) {
  .timeline ul li div {
    width: 250px;
  }
  .timeline ul li:nth-child(even) div {
    left: -289px;
    /*250+45-6*/
  }
}
@media screen and (max-width: 600px) {
  .page-footer {
    overflow: hidden;
  }
  .timeline ul li {
    margin-left: 20px;
  }
  .timeline ul li div {
    width: auto;
  }
  .timeline ul li:nth-child(even) div {
    left: 45px;
  }
  .timeline ul li:nth-child(even) div::before {
    border-width: 8px 16px 8px 0;
    border-color: transparent #ffc400 transparent transparent;
  }
}