* {
  margin: 0;
}

html,
body {
  height: 100vh;
  scroll-behavior: smooth;
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background: #0E0E0E;
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  background-color: transparent;
}

nav {
  z-index: 100;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  width: 30%;
  top: 80px;
  padding: 20px 20px;
}

nav a {
  color: #ffffff80;
  font-size: 20px;
  text-decoration: none;
  transition: 250ms;
}

main {
  height: 100%;
  width: 100%;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  gap: 20px;
}

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 250%;
  transform: translate(-50%, -50%);
  width: 40%;
  font-size: 22px;
}

.about span {
  color: #ffffff80;
}

.main img {
  border-radius: 100%;
}

.main .info span,
.main .info div {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  font-size: 24px;
  color: white;
}

nav a:hover {
  background-size: 100% 2px;
  cursor: pointer;
  transition: 250ms;
}

.underline {
  background-image: linear-gradient(#ffffff80 0 0);
  background-position: bottom center;
  background-size: 0% 2px;
  background-repeat: no-repeat;
  padding-bottom: 4px;
}

.main-transition {
  transition: transform 0.5s ease;
}

.projects {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: fixed;
  top: 60%;
  left: 150%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 50%;
  font-size: 22px;
  overflow: scroll;
  overflow-x: hidden;
}

.project {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  color: #ffffffdf;
  background-color: #ffffff0d;
  max-width: 300px;
  padding: 20px;
  border-radius: 8px;
}

.project span {
  font-size: 13px;
}

.project h4 {
  font-weight: 400;
}

.project a {
  text-decoration: none;
  color: #ffffff;
  transition: 250ms;
  font-size: 13px;
  width: auto;
  text-align: center;
  background-color: transparent;
  border-radius: 5px;
  padding: 8px;
  border: #ffffff40 2px solid;
  padding-top: 4px;
  padding-bottom: 4px;
  transition: 250ms;
}

.project a:hover {
  background-color: #ffffff;
  color: #000000;
  transition: 250ms;
}

@media (max-width: 1200px) {
  .projects {
    width: 80%;
  }
}

@media (max-width: 1000px) {
  nav {
    width: 50%;
  }
}

@media (max-width: 875px) {
  .projects {
    width: 100%;
  }

  .about {
    width: 60%;
  }
}

@media (max-width: 720px) {
  .projects {
    width: 70%;
  }

  .about {
    width: 70%;
  }
}

@media (max-width: 600px) {
  nav {
    width: 70%;
  }

  .about span {
    font-size: 20px;
  }
}

@media (max-width: 450px) {
  nav {
    width: 80%;
  }

  nav a {
    font-size: 16px;
  }

  .about span {
    font-size: 18px;
  }
}