#education h1 {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 0.7rem;
  color: #42446e !important;
}

#education h3 {
  font-size: 0.8em;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: #666666;
}

.position-details h2 {
  color: #666666;
  font-weight: 400;
  font-size: 22px;
}

#education ul {
  padding-left: 0.9rem;
  padding-top: 0.15rem;
  padding-bottom: 0.2rem;
  color: #666666;
  font-size: 13px;
}

#education ul li {
  margin-bottom: 0.2rem;
}

.position-details h3 {
  color: #a7a7a7 !important;
  font-size: 19px;
  margin-top: 0.1rem;
}

#education .card-title {
  gap: 20px;
}

.time-span {
  color: #a7a7a7;
  font-weight: 400;
  font-size: 0.7rem;
  margin-top: 0.1rem;
}

.position-details img {
  height: 20px;
  margin-right: 0.4rem;
}

#education .used-tech-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0.7rem;
}

#education .role {
  font-size: 0.6rem;
  font-weight: 300;
  color: #018c0f;
  background-color: #d7ffe0;
  padding: 0.2rem 0.5rem;
  border-radius: 0.5rem;
  display: block;
  max-width: fit-content;
  margin: 0.35rem 0rem;
}

#education .pill {
  font-size: 0.6rem;
  font-weight: 300;
  color: #666666;
  background-color: #f0f0f0;
  padding: 0.2rem 0.5rem;
  border-radius: 0.5rem;
  margin: 0.3rem 0.5rem 0.3rem 0;
}

#education .card {
  margin-top: 2rem;
  border: none;
  padding: 0.4rem 1rem;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.education-wrapper {
  padding: 0 7rem;
  padding-bottom: 4rem;
}

#education .card:hover {
  transform: scale(1.015);
}

@media screen and (max-width: 480px) {
  #education {
    padding-top: 0rem;
  }
}

@media screen and (max-width: 992px) {
  .education-wrapper {
    padding: 0rem;
    padding-bottom: 3.5rem;
  }

  #education .card {
    margin-top: 1.5rem;
  }
}

@media screen and (max-width: 573px) {
  #education .card-title {
    flex-direction: column;
    align-items: flex-start;
  }

  #education .time-details {
    flex-direction: row !important;
    align-items: center !important;
    width: 100%;
    justify-content: space-between !important;
  }

  #education .card-title {
    gap: 0px;
  }

  #education .card {
    margin: 0px 12px;
    margin-top: 2rem;
    padding: 0.3rem 0.6rem;
  }
}
