.about {
  background: var(--almost-white);
  height: 34.375rem;
}

.about__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.about__left {
  width: 30.53%;
  flex-shrink: 0;
}

.about__photo {
  height: 24.375rem;
  position: relative;
  margin-bottom: 1.25rem;
}

.about__photo-image {
  width: 96.49%;
  height: auto;
  display: block;
  border-radius: 0.625rem;
  position: relative;
  z-index: 1;
}

.about__photo-border {
  content: "";
  position: absolute;
  width: 96.49%;
  height: 23.75rem;
  top: 0.625rem;
  left: 0.625rem;
  border: 0.125rem solid var(--azul-escuro);
  border-radius: 0.625rem;
  z-index: 2;
}

.about__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  font-size: 2.5rem;
  color: var(--azul-escuro);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.about__social::before,
.about__social::after {
  content: "";
  width: 1.875rem;
  height: 1.875rem;
  background-size: cover;
  background-image: var(--emoji-azul);
}

.about__social-link:hover {
  color: var(--azul-claro);
}

.about__right {
  width: 66.07%;
  flex-shrink: 0;
}

.about__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}

.about__title {
  font-family: var(--calistoga);
  font-size: 1.875rem;
  display: flex;
  align-items: center;
  color: var(--roxo);
}

.about__title::after {
  content: "";
  width: 1.875rem;
  height: 1.875rem;
  margin-left: 0.8125rem;
  background-size: cover;
  background-image: var(--emoji-roxo);
}

.about__typing {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0.3125rem;
}

.about__button {
  text-transform: uppercase;
  margin-left: 1rem;
  font-weight: var(--font-bold);
  color: var(--roxo);
  padding: 0.3125rem 0.625rem;
  border: 0.0625rem solid var(--roxo);
  border-radius: 0.3125rem;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.about__button:hover {
  background-color: var(--roxo);
  color: var(--almost-white);
}

.about__button:focus {
  outline: 0.125rem solid var(--lilas);
  outline-offset: 0.125rem;
}

.about__description p {
  text-align: justify;
  margin-bottom: 1.5625rem;
  line-height: 1.25rem;
}

.about__skills {
  margin-top: 1.875rem;
}

.about__skills-title {
  font-family: var(--calistoga);
  font-size: 1.375rem;
  display: flex;
  align-items: center;
  color: var(--roxo);
  margin-bottom: 0.625rem;
}

.about__skills-title::after {
  content: "";
  width: 1.5625rem;
  height: 1.5625rem;
  margin-left: 0.25rem;
  background-size: cover;
  background-image: var(--emoji-roxo);
}

.about__skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.125rem;
}

.about__skills-item {
  background: #fff;
  padding: 0.1875rem 0.625rem;
  border-radius: 0.625rem;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.about__skills-item:hover {
  background: transparent;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about {
    padding: 3rem 2rem;
  }

  .about__photo {
    height: auto;
  }

  .about__photo-border {
    height: 100%;
  }

  .about__header {
    justify-content: space-around;
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .about__title {
    font-size: 1.75rem;
  }

  .about__title::after {
    width: 1.5rem;
    height: 1.5rem;
  }

  .about__button {
    margin: 0;
  }

  .about__description p {
    margin-bottom: 1.2rem;
  }

  .about__skills-list {
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .about,
  .about__photo {
    height: auto;
  }

  .about__container {
    flex-direction: column;
    padding: 1.25rem 1.875rem;
  }

  .about__left,
  .about__right {
    width: 100%;
    margin-bottom: 1.25rem;
  }

  .about__photo {
    width: 85%;
    margin: 0 auto 1.25rem;
  }

  .about__photo-border {
    height: 100%;
  }

  .about__header {
    flex-direction: column;
  }

  .about__title {
    flex-wrap: wrap;
    font-size: 1.7rem;
    order: 2;
  }

  .about__title::after {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0.5rem;
  }

  .about__button {
    order: 1;
    width: 80%;
    max-width: 15.625rem;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    text-align: center;
    margin: 0 auto 2.5rem;
    background-color: var(--roxo);
    border: 0.0625rem solid var(--roxo);
    color: var(--almost-white);
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .about__container {
    flex-direction: row;
  }

  .about__left {
    width: 25%;
  }

  .about__right {
    width: 70%;
  }

  .about__button {
    display: none;
  }

  .about__header {
    margin: 1.75rem 0 0.85rem;
  }

  .about__title {
    order: 1;
    font-size: 2rem;
  }

  .about__social,
  .about__skills-list {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
