.personal-information {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-items: center;
  margin: 0 auto;
}

.tech-stack h1 {
  font-size: var(--mobile-h1);
}

.tech-stack h2 {
  font-size: var(--mobile-h2);
}

.about {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 3rem;
  align-self: start;
  background-color: #000a;
  margin: 0 auto;
  width: 70%;
  border-radius: 5px;
}

/* .personal-information {
  flex-direction: column;
}

.about {
  margin-bottom: 8rem;
}

.tech-stack-cards {
  margin-bottom: 0;
} */

.about h1 {
  font-size: var(--mobile-h1);
  font-weight: 500;
  margin-bottom: 4rem;
  justify-self: start;
  color: white;
}

.about h2 {
  font-size: 2.4rem;
  margin-bottom: 4rem;
  text-align: center;
}

.about p {
  font-size: var(--mobile-p);
  text-align: center;
  color: white;
}

.tech-stack {
  display: grid;
  grid-template-columns: 3fr;
  grid-gap: 20px;
  /* width: 65%; */
  padding-bottom: 3rem;
  align-self: start;
  margin: 0 auto 5rem auto;
}

.tech-stack-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
}

.tech-stack-card {
  cursor: pointer;
  display: grid;
  grid-template-rows: auto-fit;
  grid-template-areas:
    "cover"
    "title"
    "list";
  justify-items: center;
  border-radius: 5px;
}

.tech-stack-card img {
  grid-area: cover;
  height: 7rem;
  width: 7rem;
  margin: 1rem;
  opacity: 1;
}

.tech-stack-card h2 {
  grid-area: title;
  font-weight: bold;
  font-size: 1.8rem;
  padding: 0;
  margin: 0;
  opacity: 0.85;
}

.tech-stack-card ul {
  grid-area: list;
  display: none;
  flex-direction: column;
  align-items: center;
  list-style-type: none;
  padding: 0;
  margin: 0;
  color: black;
  font-size: 1.4rem;
}

@media screen and (min-width: 300px) {
  .tech-stack-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 600px) {
  .sections-wrapper {
    width: 70%;
  }

  .about h1 {
    font-size: var(--desktop-h1);
  }

  .about h2 {
    font-size: var(--desktop-h2);
  }

  .about p {
    font-size: var(--desktop-p);
  }
}

@media screen and (min-width: 800px) {
  .tech-stack-cards {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 4rem;
  }

  .tech-stack img {
    margin-bottom: 2rem;
  }

  .tech-stack h1 {
    display: none;
    font-size: 2.7rem;
  }

  .tech-stack-card h2 {
    margin-bottom: 1rem;
  }

  .personal-information {
    flex-direction: row;
    justify-content: space-around;
  }

  .tech-stack {
    margin: 0;
    margin-left: 2rem;
  }
}

@media screen and (min-width: 950px) {
  .tech-stack-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1200px) {
  .tech-stack-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (min-width: 1300px) {
  .tech-stack-cards {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .tech-stack h1 {
    display: flex;
  }
}

@media screen and (min-width: 1500px) {
  .tech-stack-cards {
    grid-template-columns: repeat(6, 1fr);
  }
  .tech-stack-card ul {
    display: flex;
  }
}
