* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow: scroll;
}

main,
body {
  font-family: "Rubik", sans-serif;
  background-color: #24273a;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.spacing {
  padding: 5rem;
}

.info {
  display: flex;
  margin: 0 15%;
}

@media (max-width: 800px) {
  .info {
    flex-direction: column;
    align-items: center;
  }


}

.about {
  background: #363a4f;
  color: #cad3f5;
  padding: 30px 25px;
  border-radius: 25px;
}

.about h1 {
  font-size: 2rem;
  font-weight: 1000;
  margin-bottom: 20px;
  display: block;
}

.about p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  padding: 0 20px;
  display: flex;
}

.current {
  padding: 25px 25px;
  background: #363a4f;
  color: #cad3f5;
  border-radius: 25px;
  margin-top: 20px;
  margin-left: 15%;
  margin-right: 15%;
}

.current h2 {
  font-size: 1.5rem;
  font-weight: 1000;
  margin-bottom: 15px;
  display: block;
}

.current p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  padding: 0 20px;
  display: flex;
}

.navbar {
  background: #494d64;
  color: #8aadf4;
  border-radius: 20px;
  margin-top: 20px;
  margin-left: 15%;
  margin-right: 15%;
}

.navbar h2 {
  font-size: 1.5rem;
  font-weight: 1000;
  margin-bottom: 15px;
  display: block;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 10vh;
}

.links {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.links li {
  padding: 0 20px;
}

.links a {
  color: #8aadf4;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
}

.links a:hover {
  color: #ed8796;
}

.links a.active {
  color: #ed8796;
}

.intro {
  background: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider {
  background: #575757;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
}

.intro-text {
  font-family: "Rubik", sans-serif;
  color: #ffeb00;
  align-content: center;
  text-align: center;
}

.profile {
  border-radius: 50%;
  width: 150px;
  height: auto;
  margin: 20px;
}

.hide {
  background: black;
  overflow: hidden;
}

.hide span {
  transform: translateY(100%);
  display: inline-block;
}

.headimg {
  font-family: "Rubik", sans-serif;
  color: #ffeb00;
  align-content: center;
  text-align: center;
  position: center;
}

.main-img {
  position: center;
  top: 0;
  left: 0;
  border-radius: 50%;
  width: 125px;
  height: auto;
  margin: 20px;
  transform: translateY(-250%);
  animation-name: MoveUpDown;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

@keyframes MoveUpDown {
  0% {
    transform: translateY(0%);
  }

  50% {
    transform: translateY(-5%);
  }

  100% {
    transform: translateY(0%);
  }
}
