.header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  max-width: 1200px;
  margin: 40px auto 30px;
}

.header-card__span {
  padding-right: 10px;
}

.container-fon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  max-width: 1200px;
  padding: 20px;
  background-color: #fff;
}

.card {
  display: flex;
  justify-content: space-between;
}

.card__image {
  width: 70%;
  min-height: 100%;
  position: relative;
}
.card__image-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/*.container-content__paragraph {
  display: none;
}*/

.header-card__button-close {
  cursor: pointer;
}

@media (max-width: 1230px) {
  .header-card {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .header-card {
    max-width: 400px;
  }

  .card__image-img {
    padding-top: 20px;
  }
}

@media (max-width: 400px) {
  .header-card {
    max-width: 360px;
  }
}

@media (max-width: 360px) {
  .header-card {
    max-width: 320px;
  }
}

.container-content__link {
  text-decoration: none;
  color: blue;
}

.container-content {
  max-width: 1200px;
  margin: 30px auto 30px;
}

.container-content__title {
  font-family: Inter;
  font-weight: 400;
  font-style: Regular;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 25px;
}

@media (max-width: 1230px) {
  .container-content {
    max-width: 700px;
  }
}

@media (max-width: 1200px) {
  .container-content__paragraph {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    text-align: left;
    margin-top: 15px;
    display: block;
  }
  .container {
    width: 90%;
  }
  .card {
    width: 100%;
    flex-direction: column;
  }

  .card__image {
    width: 100%;
    min-height: 100%;
    position: relative;
  }
}
.card_title {
  font-family: Inter;
  font-size: 26px;
}

.card__text {
  font-size: 20px;
  padding: 20px;
  margin-left: 20px;
}

.card__lists {
  list-style: none;
  margin-top: 30px;
}

.card__list-item {
  font-family: Inter;
  margin-bottom: 8px;
}

.card__sum {
  font-family: Inter;
  font-size: 22px;
  margin-top: 20px;
}

.card__button {
  margin-top: 30px;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}
.card__button:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .container {
    width: 80%;
  }

  .card__text {
    padding: 0px;
    padding-bottom: 25px;
    margin-left: 0px;
  }

  .container-content__title {
    font-size: 38px;
  }

  .container-content {
    max-width: 400px;
  }
}

@media (max-width: 490px) {
  .card_title {
    font-size: 22px;
  }
  .card__text {
    font-size: 16px;
  }

  .card__sum {
    font-size: 18px;
  }

  .card__lists {
    margin-top: 25px;
  }
  .container {
    width: 95%;
  }

  .card__text {
    padding-bottom: 20px;
    margin-left: 0px;
  }

  .container-content__paragraph {
    line-height: 25px;
  }
}

@media (max-width: 400px) {
  .container-content__title {
    font-size: 28px;
  }

  .container-content {
    max-width: 360px;
  }
}

@media (max-width: 360px) {
  .container-content {
    max-width: 320px;
  }
}

.header-card__back {
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  color: black;
}

.card__name-title {
  font-family: Inter;
  margin-top: 20px;
}
