@charset "UTF-8";
/*fonts*/
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: local("Montserrat"), url("../fonts/Montserrat-Regular.woff") format("woff"), url("../fonts/Montserrat-Regular.ttf") format("ttf");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  src: local("Montserrat"), url("../fonts/Montserrat-Medium.woff") format("woff"), url("../fonts/Montserrat-Medium.ttf") format("ttf");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: local("Montserrat"), url("../fonts/Montserrat-SemiBold.woff") format("woff"), url("../fonts/Montserrat-SemiBold.ttf") format("ttf");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: local("Montserrat"), url("../fonts/Montserrat-Bold.woff") format("woff"), url("../fonts/Montserrat-Bold.ttf") format("ttf");
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400;
  src: local("Montserrat"), url("../fonts/Montserrat-Italic.woff") format("woff"), url("../fonts/Montserrat-Italic.ttf") format("ttf");
}
/*Обнуление*/
* {
  padding: 0;
  margin: 0;
  border: 0;
}

html {
  font-size: 16px;
}

html,
body {
  height: 100%;
  width: 100%;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a {
  color: inherit;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

/*--------------------*/
body {
  font-family: "Montserrat", serif;
  color: #333333;
}

.container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 4px;
}

.title-main {
  font-size: 3rem;
  line-height: 117%;
  font-weight: 700;
}

/*header*/
.header {
  padding: 20px 0;
  box-shadow: 0 2px 0 #EFF2F2;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__navigation {
  display: flex;
  align-items: center;
}
.header__menu {
  margin-right: 15px;
}
.header__menu-list {
  display: flex;
  align-items: flex-end;
}
.header__menu-item:not(:last-child) {
  margin-right: 30px;
}
.header__menu-link {
  font-size: 0.875rem;
  line-height: 114%;
  letter-spacing: 0.25px;
  transition: all 0.5s ease;
}
.header__menu-link_double {
  display: flex;
  align-items: flex-end;
}
.header__menu-link:hover {
  color: #03B2A5;
}
.header__menu-link:hover .header__menu-link-img {
  transition: all 0.5s ease;
  transform: rotate(180deg);
}
.header__menu-link-text {
  margin-right: 8px;
}

.logo {
  margin-right: 51px;
}

.button_lightgreen {
  padding: 14px 20px;
  background-color: #E3F5F5;
  color: #03B2A5;
  font-size: 1rem;
  line-height: 122%;
  font-weight: 700;
  transition: all 0.5s ease;
}
.button_lightgreen:hover {
  background: #b4e8e4;
  border-color: #b4e8e4;
  color: #00a89b;
}

@media (max-width: 1080px) {
  .header {
    box-shadow: none;
  }
  .logo {
    margin-right: 32px;
  }
  .header__menu-item:not(:last-child) {
    margin-right: 16px;
  }
}
@media (max-width: 970px) {
  .header__navigation {
    width: 100%;
    justify-content: space-between;
  }
  .header .header__menu-item:not(:last-child) {
    margin-right: 20px;
  }
  .button_lightgreen {
    display: none;
  }
}
@media (max-width: 768px) {
  .header__menu-list {
    display: none;
  }
  .header__burger {
    display: block;
    position: absolute;
    top: 31px;
    right: 15px;
    width: 18px;
    height: 14px;
    z-index: 5;
    transition: all 0.5s ease;
  }
  .header__burger span {
    position: absolute;
    background-color: #03B2A5;
    left: 0;
    top: 6px;
    width: 100%;
    height: 2px;
    transition: all 0.3s ease 0s;
  }
  .header__burger::before,
  .header__burger::after {
    content: "";
    background-color: #03B2A5;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    transition: all 0.3s ease 0s;
  }
  .header__burger::before {
    top: 0;
  }
  .header__burger::after {
    bottom: 0;
  }
  .header__burger_active span {
    transform: scale(0);
  }
  .header__burger_active::before {
    background-color: #fff;
    transform: rotate(45deg);
    top: 0;
  }
  .header__burger_active::after {
    background-color: #fff;
    transform: rotate(-45deg);
    bottom: 12px;
  }
  .header__menu-list_active {
    position: absolute;
    z-index: 4;
    display: block;
    overflow: auto;
    top: 0;
    left: 0;
    background-color: #03a094;
    width: 100vw;
    height: 100vh;
    padding-top: 100px;
    text-align: center;
    transition: all 0.5s ease;
  }
  .header__menu-list_active .header__menu-item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 40px;
  }
  .header__menu-list_active .header__menu-link {
    font-size: 2rem;
    color: #E3F5F5;
  }
  .header__menu-list_active .header__menu-link_double {
    justify-content: center;
    align-items: center;
  }
  .header__menu-list_active .header__menu-link-img {
    transform: rotate(-90deg);
  }
}
@media (max-width: 414px) {
  .header__menu-link {
    font-size: 1.625rem;
  }
}
/*main*/
.main {
  padding: 16px 0 96px;
  position: relative;
}
.main::after {
  content: "";
  position: absolute;
  top: 325px;
  left: 0;
  width: 100%;
  height: 672px;
  background: rgb(239, 245, 251);
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 75%, rgb(239, 245, 251) 100%);
  z-index: -1;
}
.main__title {
  margin-bottom: 32px;
}

.main-links {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  opacity: 0.7;
}

.main-link {
  font-size: 0.75rem;
  line-height: 150%;
  letter-spacing: 0.25px;
  transition: all 0.5s ease;
}
.main-link:hover {
  text-decoration: underline;
}

.filter {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.item-filter {
  padding: 6px 8px;
  height: 32px;
  background-color: #fff;
  border: 1px solid #C1C5CD;
  border-radius: 24px;
  font-size: 0.875rem;
  line-height: 143%;
  font-weight: 600;
}
.item-filter:hover {
  border: 1px solid #16C8BB;
}
.item-filter_double {
  display: flex;
  align-items: center;
}
.item-filter_double img {
  margin-right: 4px;
}

/*cards*/
.cards {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.cards__item {
  grid-column: span 2;
}
.cards__item .card__content {
  min-height: 216px;
}
.cards__item_big {
  grid-column: span 3;
}
.cards__item_big .card__content {
  min-height: 240px;
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 260px 1fr;
  border: 1px solid #DEDEDE;
  border-radius: 20px;
  overflow: hidden;
}
.card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.card__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.card__title {
  margin-bottom: 4px;
  font-size: 1.125rem;
  line-height: 144%;
  font-weight: 700;
}
.card__autor {
  margin-bottom: 8px;
  font-size: 0.75rem;
  line-height: 150%;
  color: #494949;
}
.card__text {
  font-size: 0.875rem;
  line-height: 143%;
}
.card__date {
  margin-top: auto;
  font-size: 0.75rem;
  line-height: 150%;
  color: #868686;
}
.card__filter-first {
  position: absolute;
  top: 8px;
  left: 8px;
}
.card__filter-second {
  position: absolute;
  top: 48px;
  left: 8px;
}

.button-green {
  margin: 0 auto;
  padding: 12px 16px;
  width: 182px;
  background-color: #35B3A9;
  color: #FFFFFF;
  font-size: 1rem;
  line-height: 150%;
  font-weight: 700;
  transition: all 0.5s ease;
}
.button-green:hover {
  background-color: #03a094;
}

@media (max-width: 1024px) {
  .main {
    padding: 16px 0 60px;
  }
  .main::after {
    display: none;
  }
  .main-links {
    margin-bottom: 40px;
  }
  .cards {
    margin-bottom: 35px;
  }
  .cards__item {
    grid-template-rows: 206px 1fr;
  }
}
@media (max-width: 768px) {
  .main {
    padding: 16px 0 55px;
  }
  .cards {
    margin-bottom: 33px;
  }
  .cards__item {
    grid-column: span 3;
  }
  .cards__item_big {
    grid-column: span 6;
    grid-template-rows: 404px 1fr;
  }
  .cards__item_big .card__content {
    min-height: 196px;
  }
}
@media (max-width: 600px) {
  .cards__item {
    grid-column: span 6;
    grid-template-rows: 290px 1fr;
  }
  .cards__item_big {
    grid-template-rows: 290px 1fr;
  }
}
@media (max-width: 414px) {
  .main {
    padding: 16px 0 59px;
  }
  .main__title {
    margin-bottom: 24px;
  }
  .main-links {
    margin-bottom: 32px;
  }
  .title-main {
    font-size: 2rem;
    line-height: 125%;
  }
  .filter {
    margin-bottom: 16px;
    flex-wrap: nowrap;
    overflow: auto;
    scrollbar-width: none;
  }
  .filter__item {
    min-width: -moz-fit-content;
    min-width: fit-content;
  }
  .cards {
    margin-bottom: 28px;
  }
  .cards__item {
    grid-template-rows: 206px 1fr;
  }
  .cards__item_big {
    grid-template-rows: 206px 1fr;
  }
  .cards__item_big .card__content {
    min-height: 256px;
  }
}
@media (max-width: 320px) {
  .main-links {
    margin-bottom: 24px;
  }
  .title-main {
    font-size: 1.5rem;
    line-height: 133%;
  }
}
@media (max-width: 310px) {
  .item-filter {
    font-size: 0.75rem;
  }
}
/*footer*/
.footer {
  padding: 40px 0 17px;
  background-color: #2963A3;
  color: #FFFFFF;
}
.footer__info {
  padding-bottom: 24px;
  border-bottom: 1px solid #9D9D9D;
  display: flex;
  justify-content: space-between;
}
.footer__menu {
  margin-right: 30px;
  flex: 0 1 26%;
  display: flex;
  justify-content: space-between;
}
.footer__menu-col {
  display: flex;
  flex-direction: column;
}
.footer__menu-col:not(:last-child) {
  margin-right: 30px;
}
.footer__menu-link {
  font-size: 1rem;
  line-height: 150%;
  font-weight: 700;
  transition: all 0.5s ease;
}
.footer__menu-link:hover {
  text-decoration: underline;
}
.footer__menu-link:not(:last-child) {
  margin-bottom: 16px;
}
.footer__contact {
  margin-right: 30px;
  flex: 0 1 40%;
}
.footer__contact-title {
  margin-bottom: 8px;
  max-width: 356px;
  font-size: 1.125rem;
  line-height: 144%;
  font-weight: 700;
}
.footer__contact-form {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  border-radius: 4px;
}
.footer__contact-input {
  padding: 14px 16px;
  width: 320px;
  height: 48px;
}
.footer__contact-input::-moz-placeholder {
  font-size: 0.875rem;
  line-height: 143%;
  color: #9D9D9D;
}
.footer__contact-input::placeholder {
  font-size: 0.875rem;
  line-height: 143%;
  color: #9D9D9D;
}
.footer__contact-button {
  width: 64px;
  height: 48px;
  background-color: #16C8BB;
  transition: all 0.5s ease;
}
.footer__contact-button:hover {
  background-color: #03a094;
}
.footer__contact-text {
  font-size: 0.75rem;
  line-height: 150%;
  letter-spacing: 0.25px;
  color: #FFFFFF;
  opacity: 0.7;
}
.footer__socials {
  flex: 0 1 18%;
}
.footer__socials-big-icon {
  margin-bottom: 40px;
}
.footer__socials-icons {
  display: flex;
}
.footer__socials-icon:not(:last-child) {
  margin-right: 16px;
}
.footer__dop-info {
  padding-top: 16px;
  display: flex;
  align-items: center;
}
.footer__coryright {
  margin-right: 48px;
}
.footer__dop-link {
  transition: all 0.5s ease;
}
.footer__dop-link:hover {
  text-decoration: underline;
}
.footer__dop-link:not(:last-child) {
  margin-right: 48px;
}

@media (max-width: 936px) {
  .footer {
    padding: 35px 0 23px;
  }
  .footer__info {
    padding-bottom: 27px;
    flex-wrap: wrap;
  }
  .footer__socials {
    margin-top: 26px;
  }
  .footer__menu {
    flex: 0 1 24%;
  }
  .footer__contact {
    flex: 0 1 59%;
  }
}
@media (max-width: 764px) {
  .footer {
    padding: 35px 0 37px;
  }
  .footer__info {
    padding-bottom: 20px;
  }
  .footer__menu {
    margin-right: 0;
    margin-bottom: 23px;
    flex: 0 1 100%;
  }
  .footer__contact {
    margin-right: 0;
    flex: 0 1 100%;
  }
  .footer__contact-input {
    width: 320px;
  }
  .footer__dop-info {
    padding-top: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__coryright,
  .footer__dop-link:not(:last-child) {
    margin-right: 0;
    margin-bottom: 20px;
  }
}
@media (max-width: 414px) {
  .footer__contact-input {
    width: 90%;
  }
}
/*SECOND PAGE*/
.second-container {
  display: grid;
  grid-template-columns: 58% 24%;
  justify-content: space-between;
}

.title {
  font-size: 1.5rem;
  line-height: 133%;
  font-weight: 700;
}

.list-item-green {
  position: relative;
  padding-left: 32px;
}
.list-item-green::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #03B2A5;
  left: 8px;
  top: 8px;
}

.main-links_second {
  margin-top: 16px;
  margin-bottom: 0;
}

/*main-second*/
.main-block {
  margin-top: 54px;
}
.main-block__title {
  margin-bottom: 16px;
}
.main-block__autor {
  margin-bottom: 24px;
  font-size: 0.875rem;
  line-height: 143%;
  color: #494949;
}
.main-block__img {
  margin-bottom: 24px;
  max-width: 690px;
  height: 331px;
}
.main-block__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: right;
     object-position: right;
}
.main-block__subtitle {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 150%;
  font-weight: 700;
}
.main-block__list {
  margin-bottom: 24px;
}
.main-block__list-dop {
  margin-bottom: 4px;
}
.main-block__list-dop_first {
  padding-left: 24px;
}
.main-block__list-dop_second {
  padding-left: 40px;
}
.main-block__list-dop_third {
  padding-left: 56px;
}
.main-block__list-item {
  font-size: 1rem;
  line-height: 150%;
  font-weight: 500;
  text-decoration: underline;
}
.main-block__list-item:not(:last-child) {
  margin-bottom: 14px;
}

.introduction__title {
  margin-bottom: 16px;
}
.introduction__text {
  font-size: 1rem;
  line-height: 150%;
  font-weight: 500;
}
.introduction p.introduction__text:not(:last-child) {
  margin-bottom: 16px;
}
.introduction__card {
  margin: 40px 0 24px;
  padding: 24px;
  position: relative;
  background-color: #F3F7FE;
  border-radius: 16px;
  font-size: 1rem;
  line-height: 150%;
}
.introduction__card-text {
  margin-bottom: 8px;
  font-style: italic;
}
.introduction__card-autor {
  font-weight: 700;
}
.introduction__card-decor {
  position: absolute;
  top: 24px;
  left: 24px;
}

.what-to-do {
  font-size: 16px;
  line-height: 150%;
  font-weight: 500;
}
.what-to-do__title {
  margin-bottom: 16px;
}
.what-to-do__list {
  margin-bottom: 24px;
}
.what-to-do__list-item:not(:last-child) {
  margin-bottom: 16px;
}
.what-to-do__img {
  margin-bottom: 24px;
}
.what-to-do__img figcaption {
  font-size: 0.875rem;
  line-height: 130%;
  letter-spacing: 0.25px;
  color: #868686;
}
.what-to-do__img-pic {
  margin-bottom: 16px;
  max-width: 691px;
  height: 365px;
  overflow: hidden;
}
.what-to-do__img-pic img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.what-to-do__text-center {
  margin: 48px auto 72px;
  padding: 24px 0;
  max-width: 485px;
  position: relative;
  font-weight: 400;
  font-style: italic;
  text-align: center;
}
.what-to-do__text-center-decor {
  position: absolute;
  top: 0;
  left: calc(50% - 120px);
  z-index: -1;
}
.what-to-do__items {
  margin: 24px 0;
  display: flex;
  justify-content: space-between;
}
.what-to-do__item-img {
  margin-right: 15px;
  flex: 0 1 282px;
}
.what-to-do__item-text {
  flex: 0 1 385px;
}
.what-to-do__exercise {
  margin: 24px 0;
  padding: 24px;
  border-radius: 16px;
}
.what-to-do__item-double {
  flex: 0 1 333px;
}
.what-to-do__item-double:not(:last-child) {
  margin-right: 15px;
}
.what-to-do__item-double-img {
  margin-bottom: 24px;
}
.what-to-do__item-double-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.what-to-do__text-decor-yellow {
  margin-bottom: 24px;
  text-align: center;
}
.what-to-do__links {
  display: inline-flex;
  flex-wrap: wrap;
}
.what-to-do__link {
  position: relative;
  font-size: 0.875rem;
  line-height: 143%;
  font-weight: 400;
  color: #2963A3;
}
.what-to-do__link:not(:last-child) {
  margin-right: 20px;
}
.what-to-do__link:not(:last-child)::after {
  content: "";
  width: 2px;
  height: 2px;
  background-color: #494949;
  position: absolute;
  right: -11px;
  top: 50%;
}

.exercise_yellow {
  background-color: #FEFAEC;
}
.exercise_rose {
  background-color: #FFF3EB;
}
.exercise_green {
  background-color: rgba(3, 178, 165, 0.1);
}
.exercise__title {
  margin-bottom: 8px;
  font-weight: 700;
}

/*aside*/
.aside {
  padding-top: 88px;
  position: relative;
}
.aside__card {
  max-width: 282px;
  border-radius: 16px;
}

.card-registration {
  margin-bottom: 24px;
  padding: 24px;
  background-color: #E6F0FD;
  text-align: center;
}
.card-registration__img {
  margin-bottom: 24px;
}
.card-registration__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.card-registration__title {
  margin-bottom: 11px;
  font-size: 1.125rem;
  line-height: 133%;
  font-weight: 700;
}
.card-registration__text {
  margin-bottom: 24px;
  font-size: 0.875rem;
  line-height: 143%;
}
.card-registration__button {
  width: 234px;
}

.card-psychlogist {
  margin-bottom: 28px;
  padding: 24px 16px 36px;
  position: relative;
  border: 1px solid #DEDEDE;
  box-shadow: 0 30px 50px #EFF5FB;
}
.card-psychlogist__penson-info {
  text-align: center;
  padding-bottom: 16px;
  box-shadow: 0 1px 0 #DEDEDE;
}
.card-psychlogist__img {
  margin-bottom: 16px;
}
.card-psychlogist__title {
  font-size: 1.25rem;
  line-height: 140%;
  font-weight: 700;
}
.card-psychlogist__subtitle {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 150%;
  font-weight: 600;
}
.card-psychlogist__text {
  font-size: 0.875rem;
  line-height: 143%;
  color: #A2A7B1;
  display: flex;
  justify-content: center;
}
.card-psychlogist__text1 {
  margin-right: 20px;
  position: relative;
}
.card-psychlogist__text1::after {
  content: "";
  width: 2px;
  height: 2px;
  background-color: #A2A7B1;
  position: absolute;
  right: -11px;
  top: 50%;
}
.card-psychlogist__professional-info {
  padding-top: 16px;
}
.card-psychlogist__subtitle-bold {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 150%;
  font-weight: 700;
}
.card-psychlogist__list {
  margin-bottom: 20px;
}
.card-psychlogist__list-item {
  font-size: 0.875rem;
  line-height: 143%;
}
.card-psychlogist__list-item:not(:last-child) {
  margin-bottom: 8px;
}
.card-psychlogist__dop-item {
  padding: 3px 6px;
  position: absolute;
  left: 16px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  background-color: rgba(243, 244, 248, 0.7);
  font-size: 0.75rem;
  line-height: 150%;
}
.card-psychlogist__dop-item_first {
  top: 16px;
}
.card-psychlogist__dop-item_second {
  top: 48px;
}

.card-img {
  margin-bottom: 42px;
}
.card-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card-price {
  padding: 32px 54px 32px 32px;
  background: url("../img/second-page/aside/gifts.png");
  border: 1px solid #DEDEDE;
  box-shadow: 0 30px 50px #EFF5FB;
  border-radius: 24px;
}
.card-price__title {
  margin-bottom: 16px;
  font-size: 1.125rem;
  line-height: 144%;
  font-weight: 700;
  color: #2963A3;
}
.card-price__title span {
  font-size: 1.5rem;
  line-height: 133%;
}
.card-price__text {
  margin-bottom: 16px;
  font-size: 0.875rem;
  line-height: 143%;
  color: #011632;
}
.card-price__price {
  margin-bottom: 16px;
  font-size: 1.5rem;
  line-height: 133%;
  font-weight: 700;
}
.card-price__button {
  margin: 0;
  width: 108px;
  font-size: 1rem;
  line-height: 150%;
}

.aside-decor {
  position: absolute;
  top: -2720px;
  right: 0;
}

/*last block  choose-psychologist*/
.choose-psychologist {
  position: relative;
}
.choose-psychologist .container {
  padding: 72px 29px 26px 15px;
  border-top: 1px solid #DEDEDE;
}
.choose-psychologist__items {
  display: flex;
  justify-content: space-between;
}
.choose-psychologist__item:first-child {
  max-width: 348px;
}
.choose-psychologist__title {
  margin-bottom: 24px;
}
.choose-psychologist__text {
  margin-bottom: 32px;
  font-size: 1.125rem;
  line-height: 144%;
}
.choose-psychologist__button {
  margin: 0;
  width: 238px;
  height: 60px;
}
.choose-psychologist__decor {
  position: absolute;
  top: 72px;
  right: 0;
}
.choose-psychologist__decor-down {
  width: 100%;
  height: 85px;
}
.choose-psychologist__decor-down img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

@media (max-width: 1180px) {
  .card-registration__button {
    width: 182px;
  }
}
@media (max-width: 1024px) {
  .second-container {
    grid-template-columns: 70% 29%;
  }
  .main-second {
    padding-bottom: 47px;
  }
  .main-block__list-item:nth-child(2),
  .main-block__list-item:nth-child(3) {
    display: none;
  }
  .aside-decor {
    display: none;
  }
  .choose-psychologist__decor {
    display: none;
  }
  .choose-psychologist {
    display: none;
  }
  .what-to-do__links {
    display: none;
  }
}
@media (max-width: 768px) {
  .second-container {
    max-width: 728px;
    grid-template-columns: 1fr;
  }
  .aside {
    padding: 0 0 59px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 16px;
  }
  .aside__card {
    max-width: 100%;
  }
  .card-img {
    max-height: 242px;
    overflow: hidden;
  }
  .card-price {
    padding: 18px 42px 4px 21px;
    max-height: 242px;
    background-size: cover;
    background-position: bottom;
  }
}
@media (max-width: 598px) {
  .main-links_second {
    flex-wrap: nowrap;
    overflow: auto;
    scrollbar-width: none;
  }
  .main-links_second .main-link {
    white-space: nowrap;
  }
  .main-block {
    margin-top: 32px;
  }
  .main-block__title {
    font-size: 2rem;
    line-height: 125%;
  }
  .main-block__img {
    height: 207px;
  }
  .what-to-do__img-pic {
    height: 207px;
  }
  .what-to-do__items {
    flex-direction: column;
  }
  .what-to-do__item-img {
    margin-right: 0;
    margin-bottom: 16px;
    flex: 0 1 auto;
    overflow: hidden;
  }
  .what-to-do__item-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top;
       object-position: top;
  }
  .what-to-do__item-img-height {
    max-height: 450px;
  }
  .what-to-do__item-text {
    flex: 0 1 auto;
  }
  .what-to-do__item-double:not(:last-child) {
    margin-right: 0;
    margin-bottom: 24px;
  }
  .aside {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card-img,
  .card-price {
    max-height: 100%;
  }
  .card-price {
    min-height: 248px;
  }
}
@media (max-width: 320px) {
  .main-second {
    padding-bottom: 16px;
  }
  .main-block__title {
    font-size: 1.5rem;
    line-height: 133%;
  }
  .main-block__img {
    margin-bottom: 16px;
    height: 160px;
  }
  .title {
    margin-bottom: 8px;
    font-size: 1.125rem;
    line-height: 144%;
  }
  .what-to-do__list {
    margin-bottom: 16px;
  }
  .what-to-do__img {
    margin-bottom: 16px;
  }
  .what-to-do__img-pic {
    height: 160px;
  }
  .what-to-do__text-center {
    margin: 24px auto 16px;
    padding: 0;
  }
  .what-to-do__item-double-img {
    margin-bottom: 8px;
    height: 235px;
  }
}