@media screen and (max-width: 991px) {
  .header-principal {
    justify-content: flex-start;
  }
  .header-elem_link:hover {
    text-decoration: none;
    color: #12235d;
  }
}
@media screen and (max-width: 969px) {
  .profile-right {
    padding: 48px 48px 71px;
  }
}
@media screen and (max-width: 959px) {
  .about {
    flex-direction: column;
    align-items: center;
  }
  .about img {
    margin: 0 0 32px;
  }
  .about-content-text > div {
    overflow: initial;
    height: auto;
    max-height: unset;
  }

  .profile .section-container {
    flex-wrap: wrap-reverse;
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "Social Address"
      "Email Legal";
  }
}

@media screen and (max-width: 767px) {
  .welcome-hero .section-container {
    width: 264px;
    margin-bottom: 48px;
  }
  .welcome-hero h1 {
    text-align: center;
    margin-bottom: 29px;
  }
  .welcome-hero p {
    width: 212px;
    margin-bottom: 18px;
  }
  .banner {
    background-image: url(../img/fondo-2mobile.jpg);
    height: 592px;
    background-color: #1d386e;
  }
  .banner div h2 {
    margin-bottom: 64px;
  }
  .banner div a {
    width: 288px;
  }
  .profile-right {
    padding: 48px 24px 71px;
  }
  .profile-opinions-list-item {
    margin: 40px 0;
  }
  .profile h2 {
    font-size: 30px;
  }
  .profile-card > div:nth-child(2) {
    padding-right: 24px;
    padding-left: 24px;
  }
  .profile-opinions a {
    width: 240px;
    height: auto;
    text-align: center;
    padding: 8px 28px;
  }
  .profile-opinions-counter-stars img {
    width: 32px;
    height: 32px;
  }

  .profile-certificates-item img,
  .profile-awards-item img {
    margin-bottom: 16px;
  }
}

@media screen and (max-width: 768.98px) {
  .footer {
    background-color: #123865;
    padding: 71px 24px 12px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "Address"
      "Social"
      "Email"
      "Legal";
    justify-items: center;
  }

  .footer-imgContainer {
    justify-content: center;
  }

  .footer-legal {
    grid-area: Legal;
    width: 225px;
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  .footer-legal_terms {
    text-align: center;
  }

  .footer-social {
    margin: 0;
    margin-bottom: 55px;
  }

  .footer-address {
    grid-area: Address;
    width: 225px;
    margin: 0;
    margin-bottom: 64px;
  }

  .footer-email {
    margin: 0;
    margin-bottom: 73px;
  }

  .copyright-text {
    font-size: 12px;
    margin: 0 0 12px;
  }

  .copyright-logo {
    width: 159px;
    height: 28px;
  }
  .copyright-container {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 680px) {
  .contact > div {
    padding: 34px 40px 32px;
  }
}
@media screen and (max-width: 616px) {
  @media screen and (max-width: 680px) {
  .contact > div {
    padding: 34px 40px 32px;
  }
}
@media screen and (max-width: 616px) {
  .contact-name,
  .contact-plan,
  .contact-link {
    text-align: center;
  }
  .contact > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact > div div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact img {
    margin: 0 0 21px;
  }
  .contact-name {
    font-size: 18px;
    max-width: 248px;
    margin-bottom: 24px;
  }
  .contact-plan {
    font-size: 12px;
  }
  .contact-link {
    font-size: 14px;
  }
}
}
