@import "../reset";
@import "../variables";
@import "../base";

  .card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 0.8rem;
    row-gap: 10px;
    margin-bottom: 10rem;

    .person-card {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      background-image: linear-gradient(
        to bottom,
        rgba(220, 220, 220, 1),
        rgba(220, 220, 220, 0.1)
      );
      box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
      border: 1px solid #ccc;
      border-radius: 15px;
      text-align: center;
      width: 90%;
      margin-bottom: 40px;
      margin-top: 150px;
      padding: 0.5rem;
      box-sizing: border-box;
      height: 290px;
      

      img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        margin-bottom: 1em;
        object-fit: cover;
        margin-top: 10px;
      }

      h4 {
        font-size: 1.5em;
        font-weight: bold;
        margin-bottom: 0.5em;
      }

      p {
        font-size: 1.1em;
        color: rgba(161, 19, 103);
        line-height: 20px;
        
      }

      .top {
        margin-top: 5px;
      }

      .second-text {
        font-size: 12px;
        line-height: 15px;
        color: black;
      }

      a {
        margin-top: auto; // Empuja los iconos hacia la parte baja de la tarjeta
      }

      svg {
        font-size: 25px;
        margin-top: 10px;
      }
    }
  }

  .maps {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1em;
    row-gap: 2rem;
    color: rgba(161, 19, 103);
    margin-bottom: 10rem;


    .maps-item {
      width: 90%;
      margin: 0 auto;
      text-align: center;

      h3 {
        font-weight: bold;
        font-size: 0.9rem;
      }

      iframe {
        width: 100%;
        margin-top: 10px;
        border-radius: 15px;
      }
    }
  }

  .contact-adentia {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.2rem;
    color: hsl(0, 0%, 0%); /* Un color gris oscuro para el texto */
    line-height: 1; /* Espaciado entre líneas */
    max-width: 600px; /* Para no tener líneas de texto demasiado largas */
    row-gap: 25px;
    margin: 0 auto;
    padding: 10px;

    h2 {
      text-align: center;
      color: rgba(161, 19, 103);
      font-size: 20px;
      font-weight: bold;
      text-transform: uppercase;
    }

    .all-contacts {
      p:first-child {
        margin-bottom: 25px;
      }
      h4 {
        margin-bottom: 15px;
        font-weight: bold
      }
      span {
        font-weight: bold;
        font-size: 20px;
      }
  
      a {
        color: rgba(161, 19, 103);
      }

    }

  }


@media screen and (min-width: 850px) {
    .card-container {
      flex-direction: row;
      justify-content: center;
      align-items: center;
      height: 350px;
      row-gap: 0;
      column-gap: 2rem;

      .person-card {
        max-width: 250px;
        height: 310px;
        img {
          margin-top: 5px;
        }
        h4 {
          font-size: 1.3rem;
        }
        p {
          font-size: 1.2rem;
        }
      }
    }

    .maps {
      flex-direction: row;
      justify-content: center;
      row-gap: 0;
      column-gap: 2rem;

      .maps-item {
        max-width: 350px;
        width: 100%;
        margin: 0;

      }
      
    }
}