* {
  box-sizing: border-box;
}

:before,
:after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  scroll-behavior: smooth;
}

body {
  font: 16px sans-serif;
  margin: 0;
}

#menuShowHide {
  display: none;
}

#menuShowHide:checked ~ body {
  overflow: hidden;
  z-index: -1;
}

#menuShowHide:checked ~ #menu {
  display: block;
}

#menuShowHide:checked ~ header {
  display: block;
}

.spansc {
  font-variant: small-caps;
}

.spanu {
  text-decoration: underline;
}

.agray {
  color: gray;
}

.awhite {
  color: #fff;
}

.colorule {
  border-color: maroon;
  color: maroon;
  margin-top: 20px;
  margin-bottom: 20px;
  border-top: 1px;
}

.svg-inline--fa {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.fa-map-marker {
  vertical-align: 0em;
}

.fa-flag {
  width: 1.333334em;
}

a,
.btn {
  transition: 0.5s ease all;
}

a,
a:active,
a:hover {
  background-color: transparent;
  text-decoration: none;
  outline: 0;
}

a:hover {
  color: maroon;
}

img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

.row {
  margin-right: -15px;
  margin-left: -15px;
}

.rowflex {
  display: flex;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-align: center;
}

.btn:hover {
  color: maroon;
  background: #fff;
  text-decoration: none;
  border: 3px solid maroon;
}

.btn-white {
  color: #fff;
  border: 3px solid #fff;
}

.btn-gray {
  color: #304050;
  border: 3px solid #304050;
}

.btn-rounded {
  padding: 16px 24px;
  border-radius: 30px;
}

.btn-squared {
  padding: 8px;
  border-radius: 16px;
}

.btn-bg {
  font-family: monospace;
  background-blend-mode: luminosity;
}

.btn-bg:hover {
  background-size: 100% 100%;
  font-weight: 900;
  text-shadow: -2px -2px 4px #fff, 2px -2px 4px #fff, -2px 2px 4px #fff, 2px 2px 4px #fff;
}

.btn-bg-EN:hover {
  background-image: url("https://static.simondasilva.fr/images/EN.png");
}

.btn-bg-FR:hover {
  background-image: url("https://static.simondasilva.fr/images/FR.png");
}

.shadow {
  box-shadow: 0 2px 4px rgba(48, 64, 80, 0.25), 0 2px 4px rgba(48, 64, 80, 0.5);
}

.shadow-large {
  box-shadow: 0 8px 16px rgba(48, 64, 80, 0.125), 0 8px 16px rgba(48, 64, 80, 0.25);
}

.heading {
  position: relative;
  display: inline-block;
  font-size: 2em;
  font-weight: 300;
  margin: 0 0 30px;
}

.heading:after {
  position: absolute;
  content: "";
  top: 100%;
  height: 1px;
  width: 50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: maroon;
}

.background {
  background: #fff;
}

.background-alt {
  background: #eff2f5;
}

.bg {
  background-image: url(https://static.simondasilva.fr/images/map.svg);
  background-color: #eff2f5;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

@keyframes dropHeader {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pulsate {
  0% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1.5, 1.5);
  }

  100% {
    transform: scale(1, 1);
  }
}

#mobile-menu-open {
  display: none;
  cursor: pointer;
  position: fixed;
  right: 15px;
  top: 10px;
  color: #304050;
  font-size: 1.5em;
  z-index: 20;
  padding: 0 7px;
  border-radius: 4px;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  animation-name: dropHeader;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-duration: 1s;
}

header ul {
  display: inline-block;
  background: rgba(255, 255, 255, 0.97);
  text-align: center;
  padding: 10px;
  margin: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

header li {
  display: inline-block;
  background: transparent;
}

header a {
  display: block;
  color: #304050;
  padding: 10px;
}

header a:focus {
  color: #304050;
  text-decoration: none;
}

header.sticky {
  position: fixed;
  z-index: 999;
}

#experience h2,
#education h2,
#projects h2,
#skills h2,
.optional-section h2 {
  color: #304050;
  margin-bottom: 50px;
}

#lead {
  position: relative;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

#lead-flags,
#lead-content {
  position: absolute;
  z-index: 10;
  transform: translate(-50%, -50%);
  text-align: center;
  left: 50%;
}

#lead-flags {
  top: 90%;
  width: 100%;
}

#lead-content,
.awhite {
  color: #fff;
  text-shadow: 0 0 8px #000, 0 0 4px #000, 0 0 2px #000;
}

#lead-content {
  top: 50%;
}

#lead-content h1,
#lead-content h2 {
  margin: 0;
}

#lead-content h1 {
  color: maroon;
  font-weight: 900;
  font-size: 4em;
}

#lead-content h2 {
  font-weight: 500;
  font-size: 2em;
  margin-bottom: 15px;
}

#lead-content h3 {
  font-size: 1em;
}

#lead-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(#000, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  z-index: 1;
}

#lead-down {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
  bottom: 15px;
}

#lead-down span {
  cursor: pointer;
  display: block;
  margin: 0 auto;
  width: 35px;
  height: 35px;
  text-align: center;
}

#lead-down .fa-chevron-down {
  animation: pulsate 2s ease;
  animation-iteration-count: infinite;
  padding-top: 5px;
  color: #304050;
  height: 35px;
}

#about {
  padding: 75px 15px;
  border-bottom: 1px solid maroon;
  border-top: 1px solid maroon;
}

#about p {
  color: #304050;
  margin: 0;
}

#experience {
  padding: 75px 15px;
  text-align: center;
  border-bottom: 1px solid maroon;
}

#experience-timeline {
  margin: 30px auto 0;
  position: relative;
  max-width: 1000px;
}

#experience-timeline:before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 303px;
  right: auto;
  height: 100%;
  width: 3px;
  background: #304050;
  z-index: 0;
}

#experience-timeline:after {
  position: absolute;
  content: "";
  width: 3px;
  height: 40px;
  background: linear-gradient(to bottom, #304050, rgba(48, 64, 80, 0));
  top: 100%;
  left: 303px;
}

.vtimeline-content {
  margin-left: 350px;
  background: #fff;
  border: 1px solid maroon;
  padding: 15px;
  border-radius: 3px;
  text-align: left;
}

.vtimeline-content h3 {
  font-size: 1.5em;
  font-weight: 300;
  color: #304050;
  display: inline-block;
  margin: 0;
}

.vtimeline-content h4 {
  font-size: 1.2em;
  font-weight: 300;
  color: gray;
  margin: 0 0 15px;
}

.vtimeline-content p {
  color: gray;
  font-size: 0.9em;
  margin: 0;
}

.vtimeline-content li {
  color: gray;
}

.vtimeline-point {
  position: relative;
  display: block;
  margin-bottom: 30px;
}

.vtimeline-icon {
  position: relative;
  width: 50px;
  height: 50px;
  color: #eff2f5;
  background: #304050;
  border-radius: 50%;
  float: left;
  z-index: 99;
  margin-left: 280px;
}

.vtimeline-icon .fa-map-marker {
  display: block;
  font-size: 2em;
  margin: 10px auto;
}

.vtimeline-date {
  width: 260px;
  text-align: right;
  position: absolute;
  left: 0;
  top: 10px;
  font-weight: 300;
  color: #304050;
}

#education {
  padding: 75px 15px 20px;
  border-bottom: 1px solid maroon;
  text-align: center;
}

.education-block {
  max-width: 700px;
  margin: 0 auto 30px;
  padding: 15px;
  border: 1px solid maroon;
  text-align: left;
}

.education-block h3 {
  font-weight: 500;
  float: left;
  margin: 0;
  color: #304050;
}

.education-block span {
  color: #304050;
  float: right;
}

.education-block h4 {
  color: gray;
  clear: both;
  font-weight: 500;
  margin: 0;
}

.education-block p {
  margin: 15px 0 0;
  color: gray;
  font-size: 0.9em;
}

.education-block ul {
  margin: 0;
  color: gray;
  font-size: 0.9em;
  padding: 0 0 0 15px;
}

#projects {
  padding: 75px 15px;
  border-bottom: 1px solid maroon;
  text-align: center;
}

.project {
  position: relative;
  max-width: 900px;
  margin: 0 auto 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid maroon;
  border-radius: 4px;
}

.project-image {
  float: left;
}

.project-info {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 300px;
  padding: 15px;
}

.project-info h3 {
  font-size: 1.5em;
  font-weight: 300;
  color: #304050;
  margin: 0 0 15px;
}

.project-info p {
  color: gray;
  margin: 0 0 15px;
  font-size: 0.9em;
}

.no-image .project-info {
  position: relative;
  margin: 0;
  padding: 30px 15px;
  transform: none;
}

#more-projects {
  display: none;
}

#skills {
  padding: 75px 15px;
  text-align: center;
}

#skills ul {
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
}

#skills li {
  display: inline-block;
  margin: 7px;
  padding: 5px 10px;
  color: #fff;
  background: #304050;
  list-style: none;
  cursor: default;
  font-size: 1.2em;
}

.optional-section {
  padding: 75px 15px;
  text-align: center;
  border-top: 1px solid maroon;
}

.optional-section-block {
  max-width: 700px;
  margin: 0 auto 30px;
  padding: 15px;
  border: 1px solid maroon;
  background: #fff;
  text-align: left;
}

.optional-section-block h3 {
  font-weight: 500;
  margin: 0 0 15px;
  color: #304050;
}

.optional-section-block h4 {
  color: gray;
  clear: both;
  font-weight: 500;
  margin: 0 0 15px;
}

.optional-section-block p,
.optional-section-block ul {
  margin: 0 0 15px;
  color: gray;
  font-size: 0.9em;
}

.optional-section-block ul {
  padding: 0 0 0 15px;
}

footer {
  padding: 50px 0;
  border-top: 1px solid maroon;
}

.copyright {
  margin: 0;
  color: gray;
}

.social {
  text-align: right;
}

.social ul {
  margin: 3px 0 0;
  padding: 0;
}

.social li {
  display: inline-block;
  font-size: 1.25em;
  list-style: none;
}

.social a {
  display: block;
  color: gray;
  padding: 10px;
}

.social a:hover {
  color: maroon;
}

@media only screen and (max-width: 750px) {
  #experience-timeline:before,
  #experience-timeline:after {
    left: 23px;
  }

  .vtimeline-date {
    width: auto;
    text-align: left;
    position: relative;
    margin-bottom: 15px;
    display: block;
    margin-left: 70px;
  }

  .vtimeline-icon {
    margin-left: 0;
  }

  .vtimeline-content {
    margin-left: 70px;
  }
}

@media only screen and (max-width: 992px) {
  #lead {
    height: auto;
    min-height: auto;
    max-height: 100%;
    padding: 100px 15px;
  }

  #lead-content {
    position: relative;
    transform: none;
    left: auto;
    top: auto;
  }

  #lead-content h1 {
    font-size: 3em;
  }

  #lead-content h2 {
    font-size: 1.75em;
  }

  #about p {
    text-align: left;
  }
}

@media only screen and (max-width: 768px) {
  header {
    position: fixed;
    display: none;
    z-index: 999;
    animation: none;
    bottom: 0;
    height: 100%;
  }

  #mobile-menu-open {
    display: block;
    z-index: 9999;
  }

  #menu {
    height: 100%;
    overflow-y: auto;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
  }

  #menu li {
    display: block;
    margin-bottom: 10px;
  }

  #lead-content h1 {
    font-size: 2em;
  }

  #lead-content h2 {
    font-size: 1.3em;
  }

  #lead-content a {
    padding: 10px 20px;
  }

  .education-block h3,
  .education-block span {
    float: none;
  }

  .project-image {
    display: none;
  }

  .project-info {
    position: relative;
    margin: 0;
    padding: 30px 15px;
    top: auto;
    transform: none;
  }

  footer {
    text-align: center;
  }

  .social {
    text-align: center;
  }
}

@media only screen and (max-width: 480px) {
  #lead-content h2 {
    font-size: 1em;
  }

  #lead-content a {
    font-size: 0.9em;
    padding: 5px 10px;
  }
}

.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

.col-sm-3,
.col-lg-3 {
  position: relative;
  min-height: 1px;
  flex-grow: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .col-sm-3 {
    width: 25%;
  }
}

@media (min-width: 1200px) {
  .col-lg-3 {
    width: 25%;
    float: left;
  }
}
