.profile {
  text-align: justify;
  caret-color: transparent;
  color: #fff;
  position: relative;
  width: 100%;
  max-height: max-content;
}

.profile-details h1 span {
  font-size: var(--step-0);
}

.profile-details {
  font-size: var(--step--1);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: normal;
  margin: 1em 0;
  color: #fff;
  padding: 0.5rem 3.75rem 0.5rem 1.75rem;
  box-shadow: -10px 20px 35px rgba(0, 0, 0, 0.15);
  outline: none;
  border-radius: 5px;
  background-color: var(--experience-color);
  max-height: min-content;
}

.profile-details.spanish {
  font-size: var(--step--1);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: normal;
  margin: 1em 0;
  color: #fff;
  /* padding: 2rem 1.5rem; */
  padding: 2rem 3.75rem 2rem 1.5rem;
  box-shadow: -10px 20px 35px rgba(0, 0, 0, 0.15);
  outline: none;
  border-radius: 5px;
  background-color: var(--experience-color);
  max-height: min-content;
}

.transition-class {
  transition: opacity 0.5s ease;
}

.profile-details-sec a {
  color: var(--logotype-color);
}

.profile-details,
.profile-details-sec small {
  letter-spacing: 0.5px;
}

.profile-details-sec {
  display: none;
}

.profile-details a {
  background-color: var(--background-boton-color);
  color: var(--boton-contact-color);
}

.profile-details span a:hover {
  opacity: 0.5;
}

.profile-details small {
  letter-spacing: 0.5px;
}

.profile-details span.certified {
  font-size: var(--step--2);
  font-family: open sans condensed;
  font-weight: 100;
  color: white;
}

.profile-details small.empresas {
  color: white;
  font-style: oblique;
}

.btnBx {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 0.5em;
  background-color: transparent;
  transition: 0.5s;
}

.profile-btn {
  background-color: var(--background-boton-color);
  color: var(--boton-contact-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  font-size: 0.9em;
  font-weight: bold;
  padding: 0.5em 1em;
  margin: 0 2em;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.5s;
}

.profile-btn:hover {
  filter: brightness(130%);
  opacity: 0.5;
  color: white;
}

.profile-btn-leerMas {
  display: inline-block;
  background-color: var(--background-profile-boton-color);
  color: var(--boton-contact-color);
  box-shadow: -10px 20px 35px rgba(0, 0, 0, 0.15);
  border: none;
  font-size: var(--step--1);
  border-radius: 5px;
  padding: 0.25em 0.8em;
  margin: 0.5em 1em;
  backdrop-filter: blur(5px);
  opacity: 0.8;
  text-align: center;
  cursor: pointer;
  transition: 0.5s;
}

.profile-btn-leerMas a:hover {
  filter: brightness(130%);
  color: white;
}

.coverLetter {
  display: none;
}

/*: Smartphones styles */

@media (min-width: 0px) and (max-width: 500px) {
  .profile {
    background-position: right;
  }
  .profile-details,
  .profile-details.spanish {
    font-size: 0.82em;
    text-align: justify;
    padding: 4rem 1.5rem;
  }
}

@media screen and (min-width: 414px) {
  .profile-title {
    margin: 2rem 0 0 1.2rem;
  }
}

/*: iPad portrait styles */
@media only screen and (min-width: 768px) {
  .profile {
    margin: 0 auto;
  }
  .profile-title {
    font-size: var(--step-1);
    margin: 1.25em 0;
  }
  .profile-details,
  .profile-details-sec {
    margin: 1.25em 0;
  }
  .profile-btn {
    margin: 0.5em 2.5em;
  }
}
/*: iPad landscape styles */
@media screen and (min-width: 1024px) {
  .profile {
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  .profile-info {
    margin: 0 0 0 4em;
  }
  .profile-title {
    font-size: var(--step-1);
    margin: 0.6em 0;
  }
  .profile-details,
  .profile-details-sec {
    width: 100%;
    min-width: 40em;
    max-width: 45em;
    text-align: justify;
  }
}

/*: Desktop styles */
@media screen and (min-width: 1300px) {
  .profile {
    justify-content: space-evenly;
  }
  .profile-title {
    font-size: var(--step-1);

    margin: 0;
  }
  .profile-details {
    margin: 1.3em 0;
  }
}
