*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
 Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

section {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 3rem;
  text-transform: capitalize;
  color: #fff;
}

section.section1 {
  background: #006c67;
}

section.section2 {
  background: #23ce6b;
}

section.section3 {
  background: #62c370;
}

section.section4 {
  background: #15616d;
}

body aside {
  position: fixed;
  top: 50%;
  left: 5%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

body aside nav {
  position: relative;
}

body aside a {
  display: block;
  height: 40px;
  width: 4px;
  background-color: #f4f4f44f;
  border-radius: 9px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: none;
}

body aside a span {
  color: #fff;
  margin-left: 1rem;
  opacity: 0;
  display: none;
}

body aside a.active span {
  display: block;
  -webkit-animation: spyActive 2s ease forwards;
          animation: spyActive 2s ease forwards;
}

body aside a.show span {
  display: block;
  opacity: 1;
}

body aside a:not(:last-child) {
  margin-bottom: 1rem;
}

body aside .spy {
  height: 20px;
  width: 20px;
  background-color: #fff;
  position: absolute;
  top: 0%;
  left: 0%;
  -webkit-transition: 300ms ease-in-out all;
  transition: 300ms ease-in-out all;
  border-radius: 99px;
  cursor: pointer;
}

@-webkit-keyframes spyActive {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    display: none;
  }
  1% {
    display: block;
  }
  50% {
    opacity: 1;
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

@keyframes spyActive {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    display: none;
  }
  1% {
    display: block;
  }
  50% {
    opacity: 1;
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
/*# sourceMappingURL=style.css.map */