@media (max-width: 2500px) {
  .card-header {
    height: 300px;
  }
  .card-footer {
    height: 80px;
  }
  .card-title-phone {
    display: none;
  }
}

@media (max-width: 1350px) {
  .after-title {
    flex-direction: column;
  }

  .title-right {
    width: 50%;
    padding-bottom: 20px;
  }

  .card-text {
    flex-direction: column;
  }
  .card-title-phone {
    display: none;
  }
}

@media (max-width: 980px) {
  nav {
    width: 80%;
  }
  .card {
    width: 80%;
  }
  .title-right {
    width: 100%;
  }
  .card-title-phone {
    display: none;
  }
}

@media (max-width: 945px) {
  nav {
    width: 80%;
  }
  .card {
    width: 80%;
  }
  .card-title h1 {
    font-size: 18px;
  }
  .title-left {
    padding-bottom: 30px;
  }
  .title-right {
    width: 100%;
  }

  .card-title-phone {
    display: none;
  }
}

@media (max-width: 820px) {
  nav {
    width: 90%;
    font-size: 16px;
  }
  .card {
    width: 90%;
  }
  .card-header {
    background-color: #384567;
    background-image: url("../img/logo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 430px;
  }
  .card-title-phone {
    display: initial;
    color: #005c86;
    /*  background-color: whitesmoke; */
    text-transform: uppercase;
    font-style: italic;
    font-weight: bolder;
  }
  .card-title-phone span {
    font-size: 120%;
  }
  .card-header-header {
    display: none;
  }
  .card-title h1 {
    font-size: 12px;
  }
  .title-left {
    display: none;
  }
  .title-right {
    width: 100%;
    flex-direction: column;
  }
  .title-right-right {
    margin-top: 10px;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 16px;
    text-decoration: underline;
    font-weight: bolder;
  }
  .card-text-left {
    font-size: 14px;
    width: auto;
  }
  .card-text-right {
    font-size: 14px;
    width: auto;
  }
  .card-footer {
    height: auto;
  }
}

@media (max-width: 557px) {
  nav {
    width: 100%;
    margin: 0;
    font-size: 16px;
  }
  .card {
    width: 100%;
    margin: 0;
  }
  .card-text-left {
    font-size: 11px;
  }
  .card-text-right {
    font-size: 11px;
  }
}
