* {
  margin: 0;
  padding: 0;
}
html {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #151515;
}

#lang {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: whitesmoke;
  z-index: 15;
}
#lang span {
  cursor: default;
}
.selected {
  font-weight: bold;
}
#lang button:not(.selected):hover {
  text-decoration: underline;
  cursor: pointer;
}
#fr,
#en {
  background-color: transparent;
  border: none;
  color: whitesmoke;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #151515;
  color: whitesmoke;
  text-align: center;
  padding: 4rem 0 0.5rem 0;
  box-shadow: -10px 3px 15px 0px #111;
  z-index: 10;
}
section {
  margin-top: 283px;
}
#name {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 3px;
  font-size: 42pt;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
#title {
  font-size: 23pt;
  margin-bottom: 0.7rem;
}
#desc {
  width: 70%;
  margin: auto;
  font-size: 14pt;
}
#cv {
  float: right;
  margin-right: 1rem;
  margin-top: 0.5rem;
}
#cv img {
  width: 2rem;
  transition: scale 0.1 linear;
}
#cv img:hover {
  scale: 1.1;
}

article {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #b71129;
  color: whitesmoke;
}
#loading {
  width: 3rem;
  height: 3rem;
  margin: 7rem calc(50% - 1.5rem);
  margin-bottom: 10rem;
}
.light,
.light a {
  color: whitesmoke;
}
.light a:visited {
  color: whitesmoke;
}
.light h3 {
  color: #ddd;
}
.light a:hover {
  color: lightgray !important;
}
article .text {
  padding: 2rem 0;
  margin-left: 10%;
  margin-right: 10%;
  width: 35%;
  display: inline-block;
  text-align: justify;
  font-size: 15pt;
  height: 100%;
}
article .text h2 {
  margin-bottom: 1rem;
  font-size: 26pt;
  vertical-align: top;
}
article .text h3 {
  margin-bottom: 1rem;
  font-size: 14pt;
  font-weight: normal;
}
article .text p br {
  display: block;
  margin-bottom: 7px;
  content: " ";
}
article .link.none {
  display: none !important;
}
article .text .link {
  margin-top: 0.5rem;
  display: block;
}
article .media {
  display: inline-block;
  width: 45%;
  cursor: pointer;
}
article .media img,
article .media video {
  width: 100%;
  margin-bottom: -4px;
}
article.invert {
  flex-direction: row-reverse;
  background-color: #787575; /* #3f7c8a; /*#c97b14; /* #151515; */
}
article.invert .media {
  margin-right: 0;
}

#full {
  z-index: 10;
  background-color: rgba(50, 50, 50, 0.75);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#full img,
#full video {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 80%;
  max-width: 80%;
  max-height: 80%;
}

footer {
  width: 100%;
  background-color: #151515;
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  line-height: 1.5rem;
}

#timeline {
  z-index: 5;
  position: fixed;
  right: 0;
  width: 90px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  transition: width 0.1s ease-in-out;
}
#line {
  position: absolute;
  top: 15px;
  right: calc(2rem - 1px);
  height: calc(100% - 30px);
  width: 2px;
  background-color: whitesmoke;
}
#steps {
  width: 100%;
  height: calc(100% - 30px);
  margin: 15px 0;
  position: absolute;
  top: 0;
  left: 0;
}
.step {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  position: absolute;
  right: calc(2rem - 6px);
  background-color: whitesmoke;
}
#tooltip {
  position: fixed;
  top: 0;
  right: calc(2rem + 12px);
  color: whitesmoke;
  visibility: hidden;
}

@media (max-width: 1200px) {
  #timeline {
    display: none;
  }
  article .text {
    margin-left: 7%;
    margin-right: 7%;
    width: 41%;
  }
  article .text h2 {
    text-align: left;
  }
}

@media (max-width: 992px) {
  #name {
    font-size: 35pt;
    margin-left: 2rem;
    margin-right: 2rem;
  }
  article {
    display: block;
  }
  article .text {
    padding: 2rem 0 1.5rem 0;
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
    display: inline-block;
    text-align: justify;
    height: 100%;
  }
  article .media {
    display: inline-block;
    width: 100%;
  }
}
