* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  margin: 0;
  padding: 0;
}

:root {
  --blue: #1447e6;
  --light-gray: #e5e7eb;
  --dark-gray: #6a7282;
  --light-black: #4a5565;
  --dark-black: #1e2939;
}

nav {
  border-bottom: 2px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5%;
}

.brand {
  width: 35%;
  color: var(--blue);
  font-size: 35px;
  font-weight: 600;
  margin-left: 5%;
}

.nav-links {
  padding-right: 5%;
  width: 50%;
  list-style-type: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10%;
}

.nav-link {
  min-width: 0px;
  text-decoration: none;
  font-size: 25px;
  color: var(--dark-black);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  margin: 50px 0;
}

section {
  display: flex;
  flex-direction: column;
  margin: 0% 20%;
  width: 60%;
}

.about {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.about-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 30%;
  border-radius: 50%;
}

.about-header {
  color: var(--blue);
  font-size: 50px;
  font-weight: 500;
  margin-bottom: 0px;
}

.about-title,
.about-description {
  color: var(--light-black);
  font-size: 25px;
}

.about-title {
  margin-top: 6px;
}

.social-links {
  display: flex;
  justify-content: space-evenly;
  margin-top: 25px;
  width: 100%;
}

.social-link {
  text-decoration: none;
  color: var(--dark-black);
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border: 2px solid var(--light-gray);
  border-radius: 6px;
  width: 30%;
  padding: 15px;
}

.social-link:hover {
  background-color: #f3f4f6;
}

.resume.social-link {
  width: 30%;
  color: white;
  background-color: var(--blue);
}

.resume.social-link:hover {
  background-color: rgb(94, 94, 242);
}

.project-header {
  font-size: 30px;
  color: var(--dark-black);
  font-weight: 500;
}

.project-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.project {
  max-width: 475px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 20px;
}

.project:hover {
  background-color: #f3f4f6;
}

.project-link {
  text-decoration: none;
}

.project-name {
  color: var(--blue);
  font-weight: 500;
  font-size: 20px;
  margin: 0;
}

.project-description {
  color: var(--light-black);
}

.stack {
  color: var(--dark-gray);
}

.code {
  color: var(--blue);
}

.contact {
  a {
    color: var(--blue);
  }
}

.contact-header {
  font-size: 30px;
  color: var(--dark-black);
  font-weight: 500;
  margin: 0;
}

.contact-text {
  color: var(--light-black);
}

footer {
  text-align: center;
  padding: 10px;
  border-top: 2px solid var(--light-gray);
  color: var(--dark-gray);
  font-size: 15px;
}

@media (max-width: 750px) {
  main {
    gap: 60px;
  }
  section {
    margin: 0% 10%;
    width: 80%;
  }
  .brand {
    font-size: 20px;
  }
  .nav-link {
    font-size: 12px;
  }
  .about-header {
    font-size: 22px;
  }
  .about-title,
  .about-description,
  .project-description,
  .stack,
  .code,
  .contact-text {
    font-size: 14px;
  }
  .social-link {
    font-size: 12px;
    padding: 10px;
  }
  .project-header,
  .contact-header {
    font-size: 20px;
  }
  .project-name {
    font-size: 17px;
  }
  .project-container {
    flex-wrap: wrap;
  }
  footer {
    font-size: 10px;
  }
}
