@charset "UTF-8";
body {
  background-color: #e7e7e7;
  color: #333;
  background: #282832;
  font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", "Avenir", "Segoe UI", "Lucida Grande", "Helvetica Neue", "Helvetica", "Fira Sans", "Roboto", "Noto", "Droid Sans", "Cantarell", "Oxygen", "Ubuntu", "Franklin Gothic Medium", "Century Gothic", "Liberation Sans", sans-serif;
  text-align: center;
  padding: 0;
  margin-left: 0;
  margin-top: 30; }

section.header {
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("../images/h.jpg");
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }
  section.header h1 {
    color: white; }
  section.header figure {
    width: 90%;
    padding: 2em;
    background-color: white;
    border: 3px solid #ebebeb; }
    section.header figure img {
      max-width: 35%;
      border-radius: 50%; }

section.about {
  padding-top: 10vh;
  min-height: 125px;
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap; }
  section.about h1 {
    text-align: center;
    vertical-align: top; }
  section.about p {
    text-align: center;
    vertical-align: inherit;
    max-width: 60%;
    margin: 0 auto; }
  section.about figure {
    padding: 2em;
    background-color: white; }
    section.about figure img {
      max-width: 25%;
      border-radius: 50%; }

section.skills {
  min-height: 200px;
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  /* Skills grid */ }
  section.skills h1 {
    text-align: center;
    vertical-align: top; }
  section.skills .grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -ms-flex-pack: distribute;
        justify-content: space-around; }
  section.skills .gridelement {
    margin-top: 4vw;
    margin-bottom: 4vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column wrap;
            flex-flow: column wrap;
    max-width: 15%; }
    section.skills .gridelement img {
      -ms-flex-item-align: center;
          align-self: center; }
    section.skills .gridelement p {
      -ms-flex-pack: distribute;
          justify-content: space-around; }
  section.skills .projelement img {
    border-radius: 30px; }

section.portfolio {
  padding-top: 20vh;
  min-height: 10vh;
  background-color: white; }
  section.portfolio h1 {
    text-align: center;
    vertical-align: top; }

section.contact {
  height: 40vh;
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

section.footer {
  height: 25vh;
  background-color: black;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

/* The navigation bar */
.navbar {
  z-index: 2;
  overflow: hidden;
  position: fixed;
  background: white;
  top: 0%;
  width: 100%;
  max-height: 30%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

/* Links inside the navbar */
.navbar a {
  z-index: 3;
  display: block;
  color: black;
  text-align: center;
  padding: 14px;
  text-decoration: none; }

/* Change background on mouse-over */
.navbar a:hover {
  color: red; }

.navbar .icon {
  display: none; }

button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none; }

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.jtime {
  background: #c8be64;
  padding: 50px 0;
  color: white; }
  .jtime h1 {
    font-size: 2.5rem; }
  .jtime h2 {
    font-size: 1.3rem; }
  .jtime .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; }
  .jtime .timeline {
    white-space: nowrap;
    overflow-x: hidden; }

.timeline ol {
  font-size: 0;
  width: 100vw;
  padding: 250px 0;
  -webkit-transition: all 1s;
  transition: all 1s; }

.timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 160px;
  height: 3px;
  background: #fff; }

.timeline ol li:last-child {
  width: 280px; }

.timeline ol li:not(:first-child) {
  margin-left: 14px; }

.timeline ol li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 12px;
  height: 12px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  border-radius: 50%;
  background: #c8be64; }

.timeline ol li div {
  position: absolute;
  left: calc(100% + 7px);
  width: 280px;
  padding: 15px;
  font-size: 1rem;
  white-space: normal;
  color: black;
  background: white; }

.timeline ol li div::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid; }

.timeline ol li:nth-child(odd) div {
  top: -16px;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%); }

.timeline ol li:nth-child(odd) div::before {
  top: 100%;
  border-width: 8px 8px 0 0;
  border-color: white transparent transparent transparent; }

.timeline ol li:nth-child(even) div {
  top: calc(100% + 16px); }

.timeline ol li:nth-child(even) div::before {
  top: -8px;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent white; }

.timeline time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px; }

/* TIMELINE ARROWS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
.timeline .arrows {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.timeline .arrows .arrow__prev {
	margin-right: 20px;
}

.timeline .disabled {
	opacity: .5;
}

.timeline .arrows img {
	width: 45px;
	height: 45px;
}*/
/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 599px) {
  .timeline ol,
  .timeline ol li {
    width: auto; }

  .timeline ol {
    padding: 0;
    -webkit-transform: none !important;
            transform: none !important; }

  .timeline ol li {
    display: block;
    height: auto;
    background: transparent; }

  .timeline ol li:first-child {
    margin-top: 25px; }

  .timeline ol li:not(:first-child) {
    margin-left: auto; }

  .timeline ol li div {
    width: 94%;
    height: auto !important;
    margin: 0 auto 25px; }

  .timeline ol li div {
    position: static; }

  .timeline ol li:nth-child(odd) div {
    -webkit-transform: none;
            transform: none; }

  .timeline ol li:nth-child(odd) div::before,
  .timeline ol li:nth-child(even) div::before {
    left: 50%;
    top: 100%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    border: none;
    border-left: 1px solid white;
    height: 25px; }

  .timeline ol li:last-child,
  .timeline ol li:nth-last-child(2) div::before,
  .timeline ol li:not(:last-child)::after,
  .timeline .arrows {
    display: none; }

  .navbar {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between; }

  .navbar a:not(:first-child) {
    display: none; }

  .navbar a.icon {
    float: right;
    display: block; }

  .navbar.responsive {
    position: relative; }

  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0; }

  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left; }

  .skills {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    min-height: 400vh; }

  .skills .grid {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column wrap;
            flex-flow: column wrap; }

  .skills .gridelement {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    float: none;
    width: 100%;
    padding-bottom: 20vh; }
    .skills .gridelement p {
      display: none; } }
