/* Typography */

html {
  font-family: 'Roboto', sans-serif;
}

body {
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
}
@media (min-width: 576px) {
  html {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 20px;
  }
}

.icons-social i {
  font-size: 2em;
}

/* Custom Styles */

main.flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

main > .intro {
  font-family: 'TitilliumWeb', sans-serif;
  font-size: 3.75em;
  transition: 1s;
  text-shadow: 0 1px 0 hsl(174, 5%, 80%), 0 2px 0 hsl(174, 5%, 75%),
    0 3px 0 hsl(174, 5%, 70%), 0 4px 0 hsl(174, 5%, 66%),
    0 5px 0 hsl(174, 5%, 64%), 0 6px 0 hsl(174, 5%, 62%),
    0 7px 0 hsl(174, 5%, 61%), 0 8px 0 hsl(174, 5%, 60%),
    0 0 5px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.2),
    0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.2),
    0 10px 10px rgba(0, 0, 0, 0.2), 0 20px 20px rgba(0, 0, 0, 0.3);
  font-weight: 700 !important;
  color: white;
}

main > .tagline {
  font-size: 1.5rem;
  margin: 1.5rem 0;
  font-weight: 100;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 700px;
}

main > .tagline > .stats_box {
  font-size: 0.6em;
  background-color: white;
  color: #afb6b6;
  padding: 10px 26px;
  border-radius: 20px;
  margin: 8px 12px;
  position: relative;
}

@media only screen and (max-width: 576px) {
  main > .tagline > .stats_box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

main > .desc {
  font-size: 1rem;
  margin: 0.4rem 0;
  font-weight: 100;
}

main > .tagline > .stats_box > .progress {
  height: 2px;
  z-index: 1;
  position: absolute;
  top: 0px;
  background-color: #ff0000;
  left: 15px;
}

.dot {
  height: 12px;
  width: 12px;
  margin-left: 6px;
  border-radius: 50%;
  display: inline-block;
}

.dot.online {
  background-color: #0ee07b;
  animation: pulse-green 2s infinite;
}

.dot.offline {
  background-color: #ff3b3b;
  animation: pulse-red 1s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 222, 124, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 16, 16, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@media (max-width: 768px) {
  main > .tagline {
    max-width: 540px;
  }

  main > .desc {
    font-size: 1.2em;
  }
}

@media (max-width: 576px) {
  main > .desc {
    width: 50%;
    text-align: center;
    font-size: 1.4em;
  }
  main > .tagline {
    max-width: 330px;
  }
}

main > .intro {
  font-size: 4.5em;
}

.icons-social i {
  padding: 10px;
}
.icons-social .inactive {
  color: #0000004f;
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}
.devto {
  margin-bottom: -0.2rem;
}
.devto svg {
  margin-bottom: -0.2rem;
  margin-left: 0.675rem;
  width: 2.65rem;
  height: 2.65rem;
}
footer {
  bottom: 46px;
  position: fixed;
  width: 100%;
}
footer > .footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
footer > .footer > a > button {
  text-decoration: none;
  color: #ffffff;
}
footer > .footer > a:hover > button {
  text-decoration: none;
  color: black;
  border-color: #e2e2e2;
}
footer > .footer > a > button {
  background: black;
  font-weight: 500;
  font-size: 0.6em;
  text-transform: uppercase;
  margin: auto;
  border-top-right-radius: 36px;
  width: 180px;
  text-align: center;
  padding: 10px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-bottom-left-radius: 36px;
  border-color: black;
}
footer > .footer a > button:hover {
  background: white;
  color: black;
  transition-duration: 0.2s;
  transition-timing-function: linear;
  transition-property: 'background';
}
@media (max-width: 768px) {
  footer > .footer {
    width: 360px;
    font-size: 1.2em;
    font-weight: 100;
  }
}
canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- stats.js ---- */
.count-particles {
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13e8e9;
  font-size: 0.8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}
.js-count-particles {
  font-size: 1.1em;
}
#stats,
.count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}
#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}
.count-particles {
  border-radius: 0 0 3px 3px;
}

/* ---- particles.js container ---- */
#particles-js {
  position: relative;
  width: 100vw;
  height: 100vh;
  /* background-color: #b61924; */

  background-image: #4facfe;
  /* fallback for old browsers */

  background-image: -webkit-linear-gradient(to bottom, #22e1ff, #625eb1);
  /* Chrome 10-25, Safari 5.1-6 */

  background-image: linear-gradient(
    -225deg,
    #22e1ff 0%,
    #1d8fe1 48%,
    #625eb1 100%
  );
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  /* background-image: url(''); */

  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
