#about {
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    height: 85vh;
    padding-top: 2rem;
    margin-bottom: 2rem;
    gap: 2.5rem;
}

.about_s {
    width: 50%;
    height: 98%;
}

.about_p {
    display: flex;
    line-height: 2.2rem;
    font-size: 1.4rem;
    width: 87%;
    margin: 0 auto;
    text-align: justify;
}

.stack_container {
    height: 30%;
    width: 87%;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
        
    .stack_b {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 1rem 1rem 0 0;
      width: 15%;
      height: 40%;
      background-color: rgba(190, 190, 190, 0.829);
      border-radius: 100%;
      overflow: hidden;
    }

    .tailwindcss, .mongodb {
      max-width: 4.5em;
      max-height: 4.5em;
    }

    .javascript {
      max-width: 3.3em;
      max-height: 3.3em;
    }

    .html, .css, .git, .reactjs, .nodejs, .postgresql {
      width: 3.5em;
      height: 3.5em;
      object-fit: cover;
    }
}

/* Profile */
#photo_about {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 50%;
    height: 98%;
  }

  .photo_container_a {
    /* position: absolute; */
    /* right: 12%; */
    /* bottom: 0; */
    margin: -5rem 0 -3rem 0;
    max-height: 35rem;
    overflow: hidden;
    width: 30rem;
    border: solid 4px rgba(27, 37, 85, 0.877);
    height: 100%;
    border-radius: 80% 60% 45% 40%;
    
    img {
      position: absolute;
      width: 100%;
      height: 100%;
      filter: brightness(0.9);
      filter: contrast(1.2);
      position: relative;
      object-fit: cover;
      object-position: 0 20%;
    }
  }

.text_developer_a {
    font-size: 3.5rem;
    margin-top: -2.5rem;
    color: rgb(163, 200, 255);
}

.text_typing_a {
    background: linear-gradient(to top, hsla(0, 0%, 0%, 0.856), hsl(0, 0%, 0%));
    font-size: 3.2rem;
    color: rgb(151, 151, 151);
    background-clip: text;
    white-space: nowrap;
    width: 27ch;
    border-right: solid 4px;
  
    animation: typing 4s steps(26), blink 0.5s infinite step-end alternate;
    overflow: hidden;
  }
  @keyframes typing {
    from {
      width: 0;
    }
  }
  @keyframes blink {
    50% {
      border-right: transparent;
    }
  }

/* MEDIA QUERIES */
@media (max-width: 768px) {
  #about {
    flex-direction: column-reverse;
    height: auto;
    padding: 1rem;
    gap: 1rem;
  }

  .about_s {
    width: 100%;
    height: auto;
    padding: 1rem;
  }

  .about_p {
    width: 95%;
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin: 1rem auto;
  }

  .stack_container {
    width: 95%;
    height: auto;
    padding: 1rem 0;
    gap: 0.5rem;
    
    .stack_b {
      width: 25%;
      height: 4rem;
      margin: 0.5rem;
    }

    .tailwindcss, .mongodb {
      max-width: 3em;
      max-height: 3em;
    }

    .javascript {
      max-width: 2.5em;
      max-height: 2.5em;
    }

    .html, .css, .git, .reactjs, .nodejs, .postgresql {
      width: 2.5em;
      height: 2.5em;
    }
  }

  #photo_about {
    width: 100%;
    height: auto;
    padding: 2rem 1rem;
  }

  .photo_container_a {
    width: 20rem;
    max-height: 25rem;
    margin: 1rem 0;
  }

  .text_developer_a {
    font-size: 2.5rem;
    margin-top: 0;
  }

  .text_typing_a {
    font-size: 2rem;
    width: 100%;
    white-space: normal;
    text-align: center;
    border-right: none;
    animation: none;
  }
}

/* Para pantallas más pequeñas */
@media (375px <= width <= 768px) {
  #about {
  }

  .stack_container .stack_b {
    width: 30%;
  }

  .photo_container_a {
    width: 18rem;
  }

  .text_developer_a {
    font-size: 2rem;
  }

  .text_typing_a {
    font-size: 1.6rem;
  }

  .about_s {
    width: 100%;
  }

  .about_p {
    font-size: 1.1rem;
    line-height: 1.6rem;
    width: 100%;
  }

  #photo_about {
    width: 100%;
  }
}