:root {
  --main-font-size: 20px;
}

@font-face {
  font-family: "Roboto";
  src: url("roboto/Roboto-Regular.ttf?#iefix") format("truetype");
}

@media (min-width: 700px) {
  .container {
    padding: 0 10% 0;
    --main-font-size: 20px;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 5% 0;
    --main-font-size: 18px;
  }
}
html {
  overflow-x: hidden;
}
body {
  text-size-adjust: auto;
  font-size: var(--main-font-size);
  font-family: "Roboto", sans-serif;
  position: center;
  text-align: center;
  display: inline-block;
  padding-left: 10%;
  padding-right: 10%;
}
select {
  font-size: var(--main-font-size);
}

#counting {
  color: rgb(13, 34, 64);
  transition: 0.8s ease-out;
}
p {
  color: rgb(125, 134, 140);
  font-size: var(--main-font-size);
  text-align: left;
}

h4 {
  margin-top: -5%;
  color: rgb(125, 134, 140);
  font-size: 18px;
}
h3 {
  color: rgb(13, 34, 64);
  font-size: 25px;
  text-align: left;
}

h2 {
  color: rgb(55, 86, 90);
  font-size: 70px;
}

h1 {
  font-size: 35px;
  color: rgb(13, 34, 64);
}

.button {
  background-color: rgb(125, 134, 140);
  color: white;
  text-align: center;
  border-radius: 50%;
}

.fade-in-1 {
  animation: fadeIn 1s;
}
.fade-in-2 {
  animation: fadeIn 1.5s;
  margin-top: -3%;
  margin-bottom: 3%;
}
.fade-in-3 {
  animation: fadeIn 2s;
}
.fade-in-4 {
  animation: fadeIn 2.5s;
}
.fade-in-5 {
  animation: fadeIn 3s;
}

.chart-container {
  position: sticky;
  display: inline-flex;
  height: 60vh;
  width: 80vw;
}
.sticky-div {
  padding-top: 2%;
  z-index: 100;
  background-color: white;
  position: sticky;
  top: 0px;
  line-height: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 90%,
    rgba(255, 255, 255, 0) 100%
  );
}
.start {
  height: 0px;
}
.end {
  height: 0px;
}
#inflacion {
  color: rgb(125, 134, 140);
  font-size: 18px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pregunta {
  white-space: normal;
}

/* Tooltip container */
.tooltip {
  white-space: normal;
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: "Lucida Console", "Courier New", monospace;
  background-color: rgb(176, 183, 187);
  color: white;
  text-align: center;
  border-radius: 50%;
  padding: 1px;
  height: 12px;
  width: 12px;
  font-size: 12px;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  font-family: "Roboto", sans-serif;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}
