/* $c1: #F2F2F2; */

/* $c2:#A6A6A6; */

body {
  font-family: 'Montserrat', sans-serif;
  margin: 40px auto;
  max-width: 650px;
  line-height: 1.6;
  font-size: 18px;
  color: #262626;
  letter-spacing: .2rem;
  padding: 0 10px;
  height: 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background: #F2F2F2;
  background: linear-gradient(30deg, #e9e9e9, #f7f7f7);
}

h1 {
  color: #A6A6A6;
}

#centered {
  margin: auto;
  /* flex: 1; */
}

#age {
  margin-bottom: 1rem;
}

#life {
  margin-top: 3rem;
  border-radius: .5rem;
  width: 100%;
  height: 2rem;
  display: flex;
  background-color: #A6A6A6;
}

#past {
  border-top-left-radius: .5rem;
  border-bottom-left-radius: .5rem;
  background-color: #fff;
  box-shadow: 5px 5px 10px #a2a2a2, -5px -5px 10px #ffffff;
  -webkit-box-shadow: 5px 5px 10px #a2a2a2, -5px -5px 10px #ffffff;
  -moz-box-shadow: 5px 5px 10px #a2a2a2, -5px -5px 10px #ffffff;
}

#futur {
  border-top-right-radius: .5rem;
  border-bottom-right-radius: .5rem;
  flex: 1;
}

.selector {
  padding: 1rem;
  display: flex;
}

input[type="range"] {
  display: block;
  -webkit-appearance: none;
  background-color: #bdc3c7;
  width: 300px;
  height: 5px;
  border-radius: 5px;
  margin: 0 auto;
  outline: 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: #A6A6A6;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
  transition: .3s ease-in-out;
  box-shadow: 5px 5px 10px #a2a2a2, -5px -5px 10px #ffffff;
  -webkit-box-shadow: 5px 5px 10px #a2a2a2, -5px -5px 10px #ffffff;
  -moz-box-shadow: 5px 5px 10px #a2a2a2, -5px -5px 10px #ffffff;
}

input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.6);
}

select {
  cursor: pointer;
  padding: .2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: #363636;
  background-color: rgba(0, 0, 0, 0);
  border-color: rgba(0, 0, 0, 0);
  box-shadow: 5px 5px 10px #c4c4c4, -5px -5px 10px #ffffff;
  -webkit-box-shadow: 5px 5px 10px #c4c4c4, -5px -5px 10px #ffffff;
  -moz-box-shadow: 5px 5px 10px #c4c4c4, -5px -5px 10px #ffffff;
}

#sources {
  font-size: .8rem;
  margin-top: 4rem;
}

a {
  color: #262626;
  text-decoration: none;
}

.heart {
  display: inline-block;
  animation: heartbeat 10s infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  5% {
    transform: scale(1);
  }
  6.25% {
    transform: scale(1.25);
  }
  7.5% {
    transform: scale(1);
  }
  8.75% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}