body,
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

h1 {
  font-size: 3.5rem;
}

.container {
  height: 100vh;
  width: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.page {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1;
}

#content {
  position: relative;
  color: #e5e3e3;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
}

#name {
  font-family: "Times New Roman", Times, serif;
  font-size: 6.5em;
}

#title {
  font-family: "Times New Roman", Times, serif;
  font-size: 2.5em;
}

.social-icons {
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 1.2rem;
}

.icon {
  font-size: 2em;
  margin: 0 0.5em;
  color: #ffffff;
  text-decoration: none;
}

.icon:hover {
  color: #0077b5;
}
@media screen and (max-width: 900px) {
  #name {
    font-size: 2.2em;
  }

  #title {
    font-size: 1.5em;
  }

  .social-icons {
    font-size: 0.96rem;
  }

  .icon {
    font-size: 1.5em;
    margin: 0 0.3em;
  }
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, #01acde, #1dd201, #f59a00, #e30613, #c91d61);
  background-size: 1000% 1000%;
  animation: changeColors 30s ease infinite;
  z-index: -1;
}

@keyframes changeColors {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
