html {
  scroll-behavior: smooth;
}

body {
  background: #0b0c10;
  font-family: Sans, Helvetica, sans-serif;
}

.even-section {
  background-color: #66fcf1;
  color: #0b0c10;
  height: fit-content;
  min-height: 100vh;
  width: 100%;
  padding-bottom: 10px;
  padding-top: 10px;
}

.odd-section {
  background-color: #0b0c10;
  color: #66fcf1;
  height: fit-content;
  min-height: 100vh;
  width: 100%;
}

#nav {
  position: fixed;
  top: 0px;
  right: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  z-index: 2;
}

.currentsection {
  background-color: #0b0c10;
  color: #66fcf1;
}

.nav-buttons {
  font-size: 280%;
  text-decoration: none;
  padding-left: 15px;
  padding-right: 15px;
  background-color: #c5c6c7;
  color: #45a29e;
}

.nav-buttons:hover {
  animation-name: navOnHover;
  animation-duration: 0.3s;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}

@keyframes navOnHover {
  0% {
    background-color: #c5c6c7;
    color: #45a29e;
  }
  100% {
    background-color: #0b0c10;
    color: #66fcf1;
  }
}

.currentSection {
  background-color: #0b0c10;
  color: #66fcf1;
}

#home {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

#welcome {
  position: relative;
  width: 200px;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  z-index: 1;
}

#helloworld-containor {
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 50px;
  background-color: #c6c7c8;
  width: fit-content;
  height: fit-content;
  border: 20px solid #c6c7c8;
  text-align: center;
}

#profile {
  display: block;
  margin-right: auto;
  margin-left: auto;
  margin-top: 30px;
  width: 150px;
  border-radius: 50%;
  border: 15px solid #45a29e;
}

#name {
  font-size: 500%;
  font-weight: 900;
  font-family: monospace, sans-serif;
  position: relative;
  text-align: center;
}

#helloworld {
  margin: 0px;
  font-size: 500%;
  color: #45a29e;
}

.sec-titles {
  font-size: 700%;
  padding: 2%;
  margin: 0px;
}

.description {
  display: inline-block;
  font-size: 3em;
  margin-left: 10%;
  margin-right: 10%;
  max-width: 80%;
}

#wave {
  position: absolute;
  margin-top: -40%;
  font-size: 400%;
  text-align: center;
}

#welcome:hover p {
  animation-name: wave;
  animation-duration: 0.5s;
  animation-iteration-count: infinite;
  transform-origin: bottom right;
  animation-timing-function: linear;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.icon {
  margin-top: 2%;
  width: 8em;
  float: left;
  border-radius: 50%;
}

.project {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
  width: 80%;
  height: auto;
  border-radius: 100px;
  background-color: #0b0c10;
  display: flex;
  flex-direction: row;
}

.screenshot {
  object-fit: fill;
  max-width: 50%;
  height: auto;
  vertical-align: top;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
}

.project-desc {
  text-align: center;
}

.project-desc p {
  font-size: 1.7em;
  padding: 20px;
  vertical-align: top;
  width: 90%;
  color: #c6c7c8;
}

.links {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5em;
  background-color: #66fcf1;
  color: #0b0c10;
  width: 45%;
  height: 1.5em;
  margin: 10px auto;
  text-decoration: none;
  border-radius: 100px;
}

.links:hover {
  animation-name: glow-on-hover;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

@keyframes glow-on-hover {
  0% {
    background-color: #66fcf1;
    color: #0b0c10;
  }
  100% {
    background-color: #00ffff;
    color: #0b0c10;
  }
}

.langs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 50px 200px;
}

.langs div {
  text-align: center;
  padding: 30px;
}

.langs div h3 {
  font-weight: 900;
  font-size: 2em;
}

.lang-icon {
  display: inline;
  width: 100px;
  height: 100px;
  padding: 10px;
}

.lang-icon:hover {
  animation-name: zoom;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes zoom {
  0% {
    transform: scale(100%);
  }
  100% {
    transform: scale(120%);
  }
}
