/* About */
.about-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 7vw;
  margin-top: 2rem;
}
.about-text {
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
}

.about-text p {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-align: left;
  hyphens: auto;
  line-height: 2;
  margin-block-end: 1em;
  margin-block-end: 2em;
}
.about-image {
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
  max-width: 300px;
}
.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.typewriter {
  display: flex;
  justify-content: center;
  max-width: 90%;
  overflow: hidden;
}
.typewriter p {
  font-size: clamp(1rem, 4vw, 2rem);
  font-family: monospace;
  margin-inline: auto;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 7s steps(28) infinite, blink 0.7s infinite;
}

/* Responsive */
@media screen and (min-width: 950px) {
  .about-container {
    flex-direction: row;
    justify-content: center;
    column-gap: min(10vw, 200px);
    padding: 1rem;
  }

  .about-image {
    max-width: 450px;
    height: 100%;
    flex: 2 1 100%;
    background-color: aliceblue;
  }
  .about-text {
    max-width: 500px;
    flex: 1 1 100%;
    padding: 0;
  }
}

/* Animations */
@keyframes typing {
  0% {
    width: 0;
  }
  90% {
    width: 100%;
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
