* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background-color: black;
  font-family: "Jost", sans-serif;
  color: white;
  height: 100%;
}
*::selection {
  color: black;
}

/* nav bar */
.nav-bar {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 100%;
  padding: 0 100px;
  margin-bottom: 10px;
  /* background-color: rgb(0, 0, 0); */
  background-color: black;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
    rgba(0, 0, 0, 0.22) 0px 10px 10px;
  z-index: 99;
}

.nav-bar > a {
  padding: 0 30px;
  font-size: 18px;
  text-decoration: none;
  font-weight: 400;
  color: white;
  width: 150px;
  text-align: center;
}
.nav-bar > a:hover {
  border-bottom: 1px solid white;
}
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100%;
  }
}
.header,
.nav-bar {
  animation: fadeInAnimation ease 3s;
}

.header-container,
.contact-container {
  display: flex;
  align-items: center;
  margin: auto;
  max-width: 800px;
  height: 100vh;
  /* height: 100%; */
  padding-left: 20px;
  padding-right: 20px;
  /* padding-bottom: 100px; */
  /* border-bottom: 1px solid white; */
}
.header-title > div {
  margin-bottom: 10px;
}
.header-title > div:nth-child(2),
.contact-title > div:nth-child(2) {
  letter-spacing: 0.1px;
  font-size: 65px;
  font-weight: 500;
  margin-bottom: 0;
  text-transform: uppercase;
  /* max-height: 80px; */
}
.header-title > div:nth-child(3) {
  letter-spacing: 0px;
  font-size: 40px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.664);
}
.header-title > div:nth-child(4) {
  max-width: 400px;
}
.body-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 600px;
  margin: auto;
}
.inner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 14px;
  width: 100%;
  padding-top: 70px;
}
.introduction {
  display: flex;
}
.name-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 350px;
  padding-left: 10px;
  /* position: relative; */
}
.name {
  position: relative;
}
.name-container > .name > span {
  position: absolute;
  top: 10px;
  left: 195px;
  font-size: 13px;
  /* text-decoration: underline; */
}
/* .avatar {
  margin: 0 10px;
  height: 100px;
  width: 100px;
  background-color: aliceblue;
  border-radius: 110px;
} */
.avatar > img {
  margin: 0 10px;
  height: 100px;
  width: 100px;
  background-color: aliceblue;
  border-radius: 110px;
}
.name,
.about-me-header {
  font-size: 20px;
  font-weight: bold;
  color: white;
}
.name-text,
.about-me-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.64);
  margin-top: 5px;
}
.about-me {
  margin: 30px 0;
}
.about-me-header,
.about-me-text {
  font-size: 15px;
}
.work-exp-header,
.side-pro-header {
  margin-bottom: 30px;
  /* text-decoration: underline; */
  font-weight: 500;
  /* text-align: center; */
}
.work-exp-present {
  display: flex;
}
.work-exp-des > p {
  color: rgba(255, 255, 255, 0.64);
}
.years,
.types {
  /* width: 100%; */
  min-width: 100px;
  opacity: 0.5;
}
.side-projects {
  margin-bottom: 30px;
}
.work-exp-des {
  margin-left: 30px;
}
.work-exp-des > p {
  margin-top: 10px;
}
.contact-title {
  text-align: center;
}
.footer-container {
  display: flex;
  justify-content: center;
  margin: 10px;
}
.footer-title > div {
  text-align: center;
  font-size: 14px;
  opacity: 0.5;
}

/* .portfolio-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
} */
.portfolio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin-top: 20px;
}
.portfolio-container {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
}
.types > p {
  margin: 0;
}
.port-items {
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
}
.port-items > ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  list-style: none;
  padding: 0;
}
.port-items > ul > li {
  margin: 0 10px;
}
.item-box {
  height: 200px;
  width: 200px;
  background-color: aliceblue;
  border-radius: 2%;
}
.item-des {
  margin-top: 5px;
  text-align: center;
  font-weight: 500;
}
.port-title {
  text-align: center;
}
.port-title > div:nth-child(2) {
  letter-spacing: 0.1px;
  font-size: 50px;
  font-weight: 500;
  margin-bottom: 0;
  text-transform: uppercase;
  /* max-height: 80px; */
}

@media only screen and (max-width: 800px) {
  .nav-bar {
    display: none;
  }
  .nav-bar-mobile {
    display: flex;
    padding: 0 10px;
  }
  .nav-bar-mobile > a {
    padding: 0 0;
    text-align: center;
  }
  .portfolio-container {
    padding-top: 200px;
  }
  .contact {
    margin-top: 100px;
  }
}
@media only screen and (min-width: 800px) {
  .nav-bar-mobile {
    display: none;
  }
}

/* .header-title > div:nth-child(2) {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(40, end);
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
} */

.scroller {
  scroll-snap-type: x mandatory;
  overflow-x: scroll;
}

.scroller > div {
  scroll-snap-align: start;
}
