/* === Contact Page Styles === */
.contact-text {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.contact-text h1 {
  margin: 1rem 0;
  font-size: 6rem;
}

.contact-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem auto;
    justify-content: space-around;
}

.contact-container h2 {
  text-align: center;
  font-size: 2rem;
  margin: 0;
}

contact.Profile {
  display: flex;
  height: auto;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.Foto {
    width: 100%;
    height: auto;
    max-width: 30rem;
    object-fit: contain;
    display: block;
    border-radius: 1rem;
    overflow: hidden;
}

.contact-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.contact-contact h1 {
  text-align: center;
  font-size: 3rem;
}

.contact-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 16rem;
  width: 80%;
  margin: 3rem auto;
}

.contact-row-element {
  background-color: #e0e0e0;
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex: 1;
  gap: 0.5rem;
}

.contact-img {
    background-color: #e0e0e0;
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

#contact-img {
    width: 100%;
    max-width: 40rem;
    object-fit: contain;
    display: block;
}

.img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;

}

.b1 {
  display: flex;
  height: 0.5rem;
  background: #131313cc;
  justify-content: stretch;
  margin-top: 6rem;
  margin-bottom: 2rem;
}

/* === Contact Mobile Styles === */
@media (max-width: 768px) {
  .contact-container {
      grid-template-columns: auto;
      height: auto;
      flex-direction: column;
  }

  .contact-img {
    width: 80%;
    margin: 0 auto;
  }

  #contact-img {
    width: 100%;
    height: auto;
  }

  .contact-text h1 {
    font-size: 3rem;
  }

  .contact-text h2 {
    font-size: 1.5rem;
  }

  .contact-contact h1 {
    font-size: 2.5rem;
  }

  .contact-row {
    flex-direction: column;
    gap: 2rem;
    width: 90%;
    align-items: center;
  }

  .contact-row-element {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .b1 {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
}
