html {
  scroll-behavior: smooth;
}

body {
  background-color: #0c0e12;
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk';
  color: #f1f1f2;
  text-align: center;
}

.nav {
  background-color: #151921;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navlink {
  text-decoration: none;
  color: #f1f1f2;
  font-weight: 500;
  text-align: center;
}

.navbox {
  display: flex;
  text-align: center;
  gap: 50px;
}

.contact {
  color: #f1f1f2;
  text-decoration: none;
  font-size: 21px;
  position: absolute;
  right: 40px;
  font-weight: 500;
}

.home {
  color: #f1f1f2;
  text-decoration: none;
  font-size: 40px;
  position: absolute;
  left: 40px;
  font-weight: 500;
}

.about-container {
  border: #f1f1f200 solid;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.pfp {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid #8299ef;
  object-fit: cover;
  transition: 0.3s;
}

.pfp:hover {
  transform: scale(1.02);
  border-color: #a4b8ff;
}

.subtitle {
  font-size: 20px;
  color: #8299ef;
  margin-top: -30px;
}

.about-card {
  background-color: #151921;
  padding: 10px 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 70%;
  box-shadow: 10px 10px 10px #ffffff05;
  text-align: center;
}

.about-card h2 {
  margin-bottom: 10px;
  color: #f1f1f2;
}

.about-card p {
  color: #c3c3c5;
  line-height: 1.6;
}

.foot {
  position: static;
  height: 50px;
  background-color: #11141a;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  text-align: center;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.old {
  align-self: center;

  color: #f1f1f2;
}
