#header,
#about,
#projects,
#timeline,
#contact,
#footer {
  font-family: Roboto, sans-serif;
  font-weight: 100;
}

.card .img {
  max-height: 100%;
  max-width: 100%;
}

.heading {
  color: #659DBD;
  padding-bottom: 1em;
  font-weight: 100;
}

/* Header Typewriter effect */
.typewriter h1 {
  font-family: Roboto, sans-serif;
  font-weight: 100;
  font-size: 3em;
  color: white;
  overflow: hidden;
  border-right: 2px solid lightgray;
  white-space: nowrap;
  margin: auto;
  animation: typing 3s steps(30), blink-caret 1s infinite;
}

@keyframes typing {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: lightgray;
  }
}

/* Header */
#header {
  background: #333;
  text-align: center;
  justify-content: center;
  padding: 15em 0;
  display: flex;
  background-image: url("https://images.unsplash.com/photo-1461994319301-06e2de6207c3?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=a0b08578544258864b3e0c6bfa856995&auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
}

.enter {
  padding-top: 5rem;
}

.fa-angle-double-down {
  font-size: 3rem;
  color: white;
}

/* About */
#about {
  text-align: left;
  padding: 2em 0;
}

.aboutText {
  font-size: 1.2em;
}

/* Projects */
#projects {
  text-align: left;
  padding: 2em 0;
}

#projects img {
  height: 180px;
  width: 100%;
  transition: 1s;
}

#projects img:hover {
  transform: scale(1.1);
  transition: 1s;
}

/* Timeline */
.section-timeline {
  background-color: white;
  padding-top: 3rem;
  color: #5f5f5f;
}

.timeline {
  list-style: none;
  padding: 20px 0px 80px;
  padding-top: 50px;
  position: relative;
}

.timeline-title {
  margin-top: 25px;
  font-size: 1rem;
  text-align: right;
  font-weight: 300;
}

.fa-2x {
  margin-top: -10px;
}

.timeline-title-inverted {
  margin-top: 20px;
  font-size: 1rem;
  text-align: left;
  font-weight: 300;
}

.timeline-languages {
  margin-top: 1px;
  font-size: 0.6rem;
  font-weight: 100;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: "";
  width: 3px;
  background-color: #cacaca;
  left: 50%;
  margin-left: -1.5px;
}

.timeline > li {
  margin-bottom: 40px;
  position: relative;
}

.timeline > li:before,
.timeline > li:after {
  content: "";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li > .timeline-panel {
  width: 50%;
  float: left;
  padding: 10px;
  position: relative;
}

.timeline > li:not(.timeline-inverted) {
  padding-right: 90px;
}

.timeline > li.timeline-inverted {
  padding-left: 90px;
}

.timeline > li > .timeline-badge {
  font-size: 0.7rem;
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  position: absolute;
  top: 16px;
  left: 50%;
  margin-left: -25px;
  background-color: #659DBD;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}

.fa-clock-o {
  padding-right: 3px;
}

/* Contact */
#contact {
  padding: 2em 0;
  text-align: left;
}

.submit-btn:hover {
  color: #659DBD !important;
  border-color: #659DBD !important;
  background: none !important;
}

.contactme {
  text-decoration: none;
  color: #659DBD;
  transition: 0.4s;
}

.contactme:hover {
  text-decoration: none;
  color: #333;
  transition: 0.4s;
}
/* Footer */
#footer {
  color: #888;
  background: #333;
  font-weight: 300;
}

#footer p {
  margin-top: 1rem;
  float: left;
}

.social-links {
  list-style: none;
  float: right;
  margin-top: 0.5em;
}

.social-links li {
  display: inline-block;
  margin-right: 20px;
  padding-right: 25px;
}

.social-links li:last-child {
  margin-right: 0;
}

.social-links li a:link,
.social-links li a:visited {
  text-decoration: none;
  border: 0;
  color: #888;
  font-size: 160%;
}

.fa-instagram:hover {
  color: #bc2a8d;
}

.fa-github:hover {
  color: #4078c0;
}

.fa-envelope:hover {
  color: #c71610;
}

.fa-linkedin:hover {
  color: #0077b5;
}

@media only screen and (max-width: 1920px) {
    .enter {
        padding-top: 10rem;
    }
}

@media only screen and (max-width: 1200px) {
    .enter {
        padding-top: 5rem;
    }
}
