.about-page {
  height: auto;
}

.info-item-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1.5rem;
}

.info-item {
  border: 2px solid var(--border-color);
  border-radius: 1rem;
  padding: 1rem;
  font-size: larger;
  background-color: var(--secondary-background-color);
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px,
    rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.align-left {
  text-align: left;
  width: 100%;
}

.specialization {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

#keywordGrid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1rem;
  margin: 1.5rem 0;
}

.keyword {
  font-size: 1rem;
  border: 2px solid var(--border-color);
  display: flex;
  height: 5rem;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  border-radius: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.keyword:hover {
  background-color: var(--secondary-background-color);
  color: var(--primary-font-color);
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.info-item p {
  margin: 5px 0;
}

.info-item strong {
  font-weight: bold;
}

.info-item a {
  color: #333;
  text-decoration: none;
  display: block;
}

.info-item a:hover {
  text-decoration: underline;
}

.contact-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item-text {
  font-size: 2.5rem;
}

.info_capsule-container {
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  flex-direction: column;
  display: flex;
}

.info_capsule {
  column-gap: 16px;
  row-gap: 16px;
  border: 1px solid #1d3d3c;
  border-radius: 2.5rem;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  align-items: center;
  width: 100%;
  min-width: 100%;
  padding: 1.5rem 3rem;
  display: grid;
}

.text-content .logo {
  text-align: left;
  padding: 0;
}

.text-content-text {
  font-size: calc(1rem + 0.4vw);
  font-weight: 300;
  line-height: 2;
}

.about-wrapper {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1em;
}

.text-left {
  text-align: left;
}

@media (max-width: 767px) {
  .text-content-text {
    font-size: 1rem;
  }

  .about-page .info-item {
    font-size: 1rem;
  }

  .about-page .logo {
    font-size: 2rem;
  }

  .grid-gap {
    row-gap: 3rem;
  }

  .info-item p,
  .info-item a {
    font-size: 0.75rem;
  }

  .info-item strong {
    font-size: 0.8rem;
  }

  #keywordGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .keyword {
    font-size: 0.75rem;
    height: 4rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .grid-gap {
    column-gap: 3rem;
  }

  #keywordGrid {
    grid-template-columns: repeat(3, 1fr);
  }

  .keyword {
    height: 5rem;
  }
}
