@charset "UTF-8";
@font-face {
  font-family: "SFProText";
  src: url("../../fonts/SFProText-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}
* {
  font-family: "SFProText";
}

html {
  font-size: 14px;
}

body {
  background-color: #f2f2f7;
}

.header {
  position: fixed;
  touch-action: none;
  top: 0;
  left: 0;
  /* right: 0;
  height: 56px; */
  overflow: hidden;
  /* z-index: 1000; */
  transition: height 0.3s cubic-bezier(0.33, 1, 0.68, 1);

  width: 100%;
  border-radius: 0 0 40px 40px;
  background-color: #ffffff;
  padding: 20px 10px;
  height: 125px;
  will-change: height;
}

.header__container {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.header__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.header__content {
  position: relative;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  height: 100%;
}

.header__avatar-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-left: 25px;
  transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__name {
  font-weight: bold;
  font-size: 1.4333333333rem;
  text-align: justify;
  transition: inherit;
}

.header__username {
  color: #007aff;
  font-size: 1.1rem;
}

/* Expanded state */
.header--expanded {
  height: 40vh;
  padding: 10px 10px 20px;
}

.header--expanded .header__background {
  opacity: 1;
}

.header--expanded .header__avatar-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.header--expanded .header__content {
  align-items: flex-end;
  padding-bottom: 16px;
}

.header--expanded .header__info {
  transform: translateY(30px);
  margin-left: 0;
}

.header--expanded .header__name {
  font-size: 24px;
  color: #fff;
  padding: 12px 5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.header--expanded .header__username {
  font-size: 0px;
  color: rgba(255,255,255,0.9);
}
.header--expanded .header__approved {
  margin-left: 5px;
  max-width: 0px;
}

/* .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 0 0 40px 40px;
  background-color: #ffffff;
  padding: 32px 15px;
  height: 145px;
}
.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}
.header__image {
  width: 80px;
  height: 80px;
}
.header__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-left: 25px;
} */
.header__row {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__title {
  font-weight: bold;
  font-size: 1.3333333333rem;
  text-align: justify;
}
.header__approved {
  margin-left: 5px;
  max-width: 15px;
}

.image {
  -o-object-fit: cover;
     object-fit: cover;
}
.image--circle {
  border-radius: 50%;
}

.nickname {
  color: #007aff;
  font-size: 1rem;
}
.nickname__title {
  color: #007aff;
  font-size: 1.1rem;
}

.points {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #007aff;
  border-radius: 30px;
  padding: 4px 6px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.points__value {
  color: #ffffff;
  margin-left: 5px;
}

.content {
  margin-top: 145px;
  padding: 32px 15px 60px 15px;
}

.plate__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.plate__btn {
  font-size: 1rem;
  color: #007aff;
}
.plate__title {
  text-align: center;
  margin-right: 20px;
  font-weight: bold;
  font-size: 1.5rem;
}
.plate__content {
  margin-top: 20px;
}
.plate__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.plate__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
}
@media (min-width: 1024px) {
  .plate__img{
      max-height: 300px; /* Настройте для декстоп экранов */
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .plate__img{
      max-height: 20rem; /* Настройте для планшетов экранов */
  }
}
@media (max-width: 768px) {
  .plate__img{
      max-height: 120px; /* Настройте для мобильных экранов */
  }
}

.menu-container {
  position: fixed;
  padding: 15px;
  bottom: 50px;
  left: 0;
  width: 100%;
  z-index: 10;
}

.menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  background-color: #ffffff;
  border-radius: 16px;
  -webkit-box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
          box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
}
.menu__item {
  text-align: center;
  color: #000;
  padding: 13px 0;
  font-weight: 600;
}
.menu__item:active, .menu__item:hover {
  background-color: #007aff;
  color: #ffffff;
}

.burger-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 56px;
  height: 56px;
  background-color: #007aff;
  border-radius: 50%;
  position: fixed;
  right: 25px;
}

.popup-background {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.3098039216);
}

.popup-container {
  background-color: rgba(0, 0, 0, 0.3098039216);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 15px;
}

.popup {
  width: 100%;
  background-color: #ffffff;
  border-radius: 16px;
  -webkit-box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
          box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: scroll;
}
.popup__img {
  width: 100%;
  margin-top: 10px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
}

/* Для экранов шире 768px */
@media (min-width: 768px) {
  .popup__img {
    max-height: 600px;
  }
}

/* Для экранов уже 768px */
@media (max-width: 767px) {
  .popup__img {
    max-height: 400px; /* или другое значение, подходящее для небольших экранов */
  }
}
.popup__logo {
  width: 66px;
  height: 66px;
  margin-right: 15px;
}

.section {
  margin-bottom: 32px;
}
.section__title-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 8px;
}
.section__title {
  font-weight: bold;
  font-size: 1.3333333333rem;
}
.section__item {
  background-color: #ffffff;
  margin-bottom: 8px;
}
.section__item--text {
  padding: 12px 16px;
  border-radius: 8px;
}
.section__item--img {
  padding: 4px;
  border-radius: 4px;
}
.section__item--card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.section__item--more-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.section__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0px 0px 10px;
}
.section__item-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.section__card-info {
  width: 100%;
  width: calc(100% - 80px);
}
.section__card-info--thanks {
  width: calc(100% - 30px);
}
.section__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-right: 10px;
}
.section__logo {
  margin-right: 8px;
}
.section__text {
  text-align: left;
  line-height: 1.5; /* Высота строки */
  max-height: 4.5em; /* Лимит высоты: 3 строки * 1.5em */
  overflow: hidden; /* Скрытие лишнего текста */
  text-overflow: ellipsis; /* Добавление троеточия */
  white-space: normal;
}
.section__text--grey {
  color: #8a8a8e;
}
.section__text--nooverflow {
  max-height: none;
  overflow: auto;
}
.section__item-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 4px;
  color: black;
}
.section__item-title--nomargin {
  margin: 0;
}
.section__item-title--grey {
  color: #8a8a8e;
}
.section__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}
.section__more-info {
  text-align: right;
  font-size: 1rem;
  color: #007aff;
  text-decoration: underline !important;
}

.hidden {
  display: none !important;
}

.close-btn {
  /* margin-inline: auto;
  cursor: pointer;
  font-size: 4rem;
  color: #009dff; */
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.close-btn:hover {
  /* color: #555; */
  background-color: #0056b3;
}

.parent {
  display: flex;
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
  width: 100%; /* Растягиваем на всю ширину */
  padding: 0px 0px 15px 0px; /* Добавляем отступ сверху и снизу */
}

.parent-menu-wrapper {
  display: flex;
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
  width: 100%; /* Растягиваем на всю ширину */
  padding: 10px 0px 0px 0px; /* Добавляем отступ сверху и снизу */
}

.modal-header {
  padding-bottom: 0px;
  text-align: center;
  
}

.modal-header h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.modal-header p {
  font-size: 16px;
  color: #555;
  margin: 5px 0;
  font-style: italic;
}

.color-line {
  height: 2px;
  background: linear-gradient(to right, #007BFF, #33CC99, #6A5ACD);
  border-radius: 3px;
  /* margin: 10px 0; */
}

.header,
.menu-container,
.popup-container,
.content {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .header,
  .menu-container,
  .popup-container,
  .content{
      max-width: 400px;
  }
}

.header,
.menu-container,
.popup-container {
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}