html {
  background-color: #171717;
  color: #96de5f;
  font-family: "Jersey 10", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h2 {
  font-size: 4rem;
  font-weight: 400;
}

h3 {
  font-size: 1.5rem;
  font-weight: 400;
}

p {
  font-size: 1.5rem;
}

.main-layout {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem;
  gap: 3rem;
}

.name-header {
  font-family: "Workbench", sans-serif;
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: 0.15em solid #96de5f; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: 0.15em; /* Adjust as needed */
  animation:
    typing 3.5s steps(40, end),
    blink-caret 0.75s step-end infinite;
}

.experience-categories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-category {
  border: #96de5f 2px dashed;
  border-radius: 5px;
  padding: 0.5rem;
}

.experience-category-title {
  transform: translateY(-1.75rem);
  margin-bottom: -1.75rem;
  background-color: #171717;
  padding: 0 0.5rem;
  width: fit-content;
}

.experience-chip {
  font-size: 1.5rem;
  background-color: black;
  padding: 0.5rem;
  border-radius: 5px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 1rem;
}

.project-card {
  background-color: #96de5f;
  border-radius: 10px;
}

.socials-list {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.socials-list a {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
  align-items: center;
  color: #96de5f;
}

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

/* The typewriter cursor effect */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #96de5f;
  }
}
