/* About */
.about {
  width: 100%;
  min-width: 300px;
  padding: 0 10px;
  padding-top: 0;
}

.about__container {
  background-color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.about__image {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: url(../assets/img/fondo-about.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.3;
  filter: brightness(45%);
}

.about__container-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.about__container-header--img {
  width: 180px;
  height: 180px;
  margin-top: 25px;
  margin-bottom: 25px;
}

.about__container-header--title {
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text-secondary-color);
  margin-bottom: 5px;
}

.about__container-header--title span {
  color: var(--text-primary-color);
}

.about__container-header--desc {
  font-size: 1.8rem;
  line-height: 25px;
  color: var(--text-secondary-color);
  margin-bottom: 15px;
  white-space: nowrap;
  text-align: center;
}

.about__container-text {
  padding: 5px;
}

.about__container-text p {
  font-size: 1.6rem;
  line-height: 25px;
  color: var(--text-secondary-color);
  margin-bottom: 10px;
  text-align: justify;
}

.about__container-contact {
  width: 50%;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about__container-contact a {
  font-size: 2.5rem;
  color: var(--text-secondary-color);
}

/* Media queries */
/* Tablet */
@media screen and (width >=768px) {
  .about__container-header {
    flex-direction: row;
  }

  .about__container-contact {
    width: 25%;
  }
}

/* Desktop */
@media screen and (width >=1024px) {
  .about {
    max-width: 1440px;
    margin: 0 auto;
  }

  .about__container-header {
    width: 80%;
    margin: 0 auto;
  }

  .about__container-header--img {
    width: 250px;
    height: 250px;
  }

  .about__container-text p {
    padding: 0 70px;
  }

  .about__container-contact {
    width: 35%;
    padding: 0 70px;

  }
}