@keyframes bounce {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translate(0, 0px);
  }
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

b {
  font-weight: 500;
}

html {
  height: 100%;
  min-height: 100%;
}

body {
  min-height: 100%;
}

html,
html a {
  -webkit-font-smoothing: antialiased;
}

body,
select,
input,
textarea,
button {
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #232323;
  outline: none;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 880px;
  background-image: url(/img/bg.png);
  z-index: -1;
  background-size: 600px 880px;
  opacity: 0.5;
}

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

a {
  outline: none;
  color: #545455c4;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a img {
  border: 0 none;
}

a > img {
  vertical-align: bottom;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  scroll-margin-top: 100px;
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
  margin: 0 0 20px 0;
  line-height: normal;
  font-weight: 500;
  text-rendering: optimizeLegibility;
}

h1,
.h1 {
  font-size: 29px;
}

h2,
.h2 {
  font-size: 27px;
}

h3,
.h3 {
  font-size: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h4,
.h4 {
  font-size: 23px;
}

h5,
.h5 {
  font-size: 14px;
}

h6,
.h6 {
  font-size: 12px;
}

.menu-wrapper {
  position: fixed;
  width: 100%;
  transition: all 0.2s linear;
  z-index: 3;
  padding: 20px 15px 0 15px;
}

ul li {
  list-style: none;
}

.head-menu {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 70px;
  gap: 30px;
  margin: 0 auto;
  max-width: 1300px;
  width: auto;
  border-radius: 25px;
  background-color: #ffffff;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  box-shadow: 0px 0px 19px 1px rgb(27 32 43 / 4%);
}

.navigation-menu {
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;
  padding: 0 25px;
}

.menu__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
  margin: 0 30px 0 0;
}

.navigation-menu ul li {
  list-style: none;
}

.menu__link {
  color: #666666d9;
  font-weight: 500;
  font-size: 14px;
  -webkit-transition: border 0.3s linear;
  display: flex;
  align-items: center;
  transition: 0.2s;
  cursor: pointer;
  position: relative;
}

.menu__link.active,
.menu__link:hover {
  color: #666666;
}

.menu__item svg {
  transition: all 0.3s ease;
  vertical-align: bottom;
  padding: 0 0 3px 0;
}

.burger {
  z-index: 10;
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  cursor: pointer;
  background: none;
  color: #9583ed;
  border: 1px solid #9583ed;
  padding: 0px 11px;
  border-radius: 15px;
}

.cabinet-button {
  color: #fff;
  background: #ff7f9c;
  padding: 5px 15px;
  border-radius: 15px;
  transition: 0.2s;
}

.cabinet-button:hover {
  background: #f43787cc;
}

.mycabinet {
  color: #fff;
  background: #ff7f9c;
  padding: 5px 15px;
  border-radius: 15px;
  transition: 0.2s;
}

.mycabinet:hover {
  background: #f43787cc;
}

.head {
  background: #fff7f7;
  padding: 315px 15px 0 15px;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
}

.head::before {
  content: "";
  background-image: url(/img/balls.png);
  background-size: 200px 255px;
  width: 200px;
  height: 255px;
  position: absolute;
  left: 0px;
  bottom: 0;
}

.head::after {
  content: "";
  background-image: url(/img/cake.png);
  background-size: 151px 106px;
  width: 151px;
  height: 106px;
  position: absolute;
  right: 15px;
  bottom: 0;
}

.head-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.head-wrapper::after {
  content: "";
  background-image: url(/img/grac.png);
  background-size: 161px 240px;
  width: 161px;
  height: 240px;
  position: absolute;
  left: -169px;
  top: -14px;
}

.head-info {
  position: relative;
  display: flex;
  gap: 30px;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
}

.head-title {
  width: 100%;
  height: 239px;
  top: -195px;
  left: 0;
  z-index: 1;
  position: absolute;
}

.head-text {
  width: 60%;
  padding: 25px 0 0 115px;
}

.head-image {
  width: 40%;
}

.img-head {
  width: 100%;
  z-index: 1;
  position: relative;
}

.tab-head {
  display: flex;
  position: relative;
  gap: 30px;
  padding: 80px 15px 70px 15px;
  position: sticky;
  z-index: 1;
}

.tab-head::before {
  content: "";
  background-image: url("/img/line.svg");
  background-size: cover;
  width: 114%;
  height: 179px;
  position: absolute;
  top: 88px;
  left: -82px;
  z-index: 0;
  transition: background-image 0.5s ease;
}

.tab-item {
  flex: 1 1 33.3%;
  max-width: 33.3%;
  background: #fff;
  border-radius: 20px;
  padding: 25px 30px;
  box-shadow: 0px 0px 19px 1px rgb(27 32 43 / 4%);
  z-index: 1;
  position: relative;
}

.animation-box {
  opacity: 0;
  transform: translate(-20px, 200px);
  animation: fade-in 0.5s ease forwards;
}

.animation-box.item1 {
  animation-delay: 0.3s;
}

.animation-box.item2 {
  animation-delay: 0.6s;
}

.animation-box.item3 {
  animation-delay: 0.9s;
}

.head {
  overflow: hidden;
}

.item1::before,
.item2::before,
.item3::before {
  content: "";
  position: absolute;
  top: -40px;
  right: 25px;
}

.item1::before {
  background-image: url("/img/item1.png");
  background-size: 144px 146px;
  width: 144px;
  height: 146px;
}

.item2::before {
  background-image: url("/img/item2.png");
  background-size: 144px 144px;
  width: 144px;
  height: 144px;
}

.item3::before {
  background-image: url("/img/item3.png");
  background-size: 128px 139px;
  width: 128px;
  height: 139px;
}

.tab-item p {
  color: #a9a9a9;
  font-size: 13px;
  line-height: 20px;
  margin: 10px 85px 0 0;
}

.tab-item a {
  background: #a07ece;
  display: block;
  border-radius: 10px;
  margin: 15px 0 0 0;
  padding: 5px 13px;
  color: #fff;
  transition: 0.2s;
  position: relative;
  cursor: pointer;
}

.tab-item a:hover {
  background: #b295d9;
}

.tab-item a::after {
  content: "";
  background-image: url("/img/arrow.png");
  background-size: 13px 18px;
  width: 13px;
  height: 18px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.tab-item a:hover::after {
  transform: translateY(-50%) rotate(-45deg);
  /* Поворот стрелки при наведении */
}

.tab-title {
  font-size: 28px;
  line-height: 27px;
  font-weight: 500;
}

.bottom-head {
  text-align: center;
  padding: 0 0 70px;
  width: 70%;
  margin: 0 auto;
}

.graphic-items {
  margin: 100px 0 100px 0;
  padding: 0 15px;
}

.category-container {
  border: 2px solid;
  border-radius: 48px;
  overflow: visible;
  display: flex;
  position: relative;
  border-color: #ffcdda;
  margin: 0 auto;
  max-width: 1300px;
  flex-direction: row;
}

.category-image {
  width: 616px;
  height: 555px;
  position: relative;
  background: #fff7f7;
  border-bottom-left-radius: 45px;
  border-top-left-radius: 45px;
}

.info-container {
  width: calc(100% - 616px);
  padding: 40px 50px;
}

.info-container h2 {
  font-size: 30px;
  font-weight: 400;
  margin: 0;
}

.category-image img {
  border: 1px solid #e9e9ea;
  border-radius: 4px;
  z-index: 1;
}

.category-image .img1 {
  width: 39%;
  top: -8%;
  left: 6%;
}

.category-image .img2 {
  width: 47%;
  right: 5%;
  top: 16%;
}

.category-image .img3 {
  overflow: hidden;
  transform: rotate(-7deg);
  width: 33%;
  bottom: -5%;
  left: 9%;
}

.position-absolute {
  position: absolute !important;
  box-shadow: 0px 0px 19px 1px rgb(27 32 43 / 10%);
}

.category-image svg {
  width: 101%;
  height: 110%;
  left: -5px;
  top: -9%;
  position: absolute;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.info-items img {
  width: 34px;
  float: left;
  margin: 0 15px 0 0;
}

.item-step span {
  font-size: 22px;
  display: block;
  margin: 0 0 10px 0;
}

.faq {
  display: flex;
  position: relative;
  margin: 0 auto;
  max-width: 1300px;
  gap: 20px;
  padding: 50px 0 50px 0;
}

.faq-items {
}

.left-faq {
  background: #aa8ad5;
  border-radius: 20px;
  padding: 35px;
  position: relative;
  min-height: 460px;
  width: 40%;
  box-shadow: 0px 0px 11px 5px rgb(27 32 43 / 7%);
}

.left-faq::after {
  content: "";
  background-image: url(/img/faq-min.png);
  background-size: 400px 400px;
  position: absolute;
  bottom: 20px;
  right: -125px;
  width: 400px;
  height: 400px;
  z-index: 2;
  transform: rotate(-10deg);
  transform-origin: bottom right;
}

.left-faq::before {
  content: "";
  background-image: url("/img/left-faq.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 404px;
  height: 270px;
  z-index: 1;
}

.left-faq span {
  color: #ffffff;
  font-size: 50px;
  font-weight: 400;
  line-height: 58px;
  z-index: 3;
  display: flex;
  position: relative;
}

.right-faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 60%;
}

.right-items {
  background: #f2f2f2;
  border-radius: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  color: #2b2b2b;
  font-weight: 500;
}

.number-faq {
  background: #e7dfff;
  border-radius: 20px;
  padding: 17px;
  font-size: 16px;
  width: 60px;
  text-align: center;
}

.category-bottom-container {
  border: 2px solid;
  border-color: #ddcbf8;
  border-radius: 48px;
  overflow: visible;
  display: flex;
  position: relative;
  margin: 0 auto;
  max-width: 1300px;
  flex-direction: row;
}

.category-bottom-left {
  width: calc(100% - 616px);
  padding: 40px 50px;
}

.category-bottom-left h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}

.category-bottom-left .info-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.category-bottom-image {
  width: 616px;
  height: 536px;
  position: relative;
  background: #ddcbf8;
  border-bottom-right-radius: 45px;
  border-top-right-radius: 45px;
}

.category-bottom-image img {
  border: 1px solid #e9e9ea;
  border-radius: 4px;
  z-index: 1;
}

.category-bottom-image .img1 {
  width: 34%;
  top: -7%;
  left: 6%;
}

.category-bottom-image .img2 {
  width: 51%;
  right: 4%;
  top: 10%;
}

img {
  color: transparent;
  font-size: 0;
  vertical-align: middle;
  border: none;
  -ms-interpolation-mode: bicubic;
  max-width: 100%;
  height: auto;
}

.category-bottom-image .img3 {
  overflow: hidden;
  width: 34%;
  bottom: 0%;
  left: 9%;
  height: 48%;
  z-index: 1;
}

.category-bottom-image svg {
  width: 101%;
  top: -8%;
  left: -0.1%;
  position: absolute;
}

.text-container {
  margin: 0 auto;
  max-width: 1300px;
  padding: 0 15px;
  text-align: center;
}
.text-container h3 {
  justify-content: center;
}

.text-container p {
  margin: 0 0 25px;
  line-height: 29px;
}

/* Ниже мои стили */

.modal {
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0 0 0 / 5%);
  backdrop-filter: blur(3px);
  padding: 0 20px;
  align-items: center;
  flex-direction: column;
  animation: bounce 0.2s forwards;
  justify-content: center;
  opacity: 1;
}

.modal.hidden {
  display: none;
}

.modal-content {
  box-sizing: border-box;
  background-color: #fefefe;
  margin: 0 auto;
  padding: 30px 30px 10px 30px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 5px #0003, 0 0 20px #00000024, 0 0 20px #0000001f;
  position: relative;
  border-radius: 4px;
  border-top: 6px solid #9583ed;
}

.header__logo {
  background-color: #fefefe;
  margin: 0 auto;
  padding: 30px 30px 10px 30px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 5px #0003, 0 0 20px #00000024, 0 0 20px #0000001f;
  position: relative;
  border-radius: 4px;
  border-top: 6px solid #9583ed;
}

.title-login {
  padding: 0;
  border: 0;
  box-sizing: border-box;
  text-align: center;
  margin: 0 0 10px 0;
  font-size: 21px;
}

.popup-form {
  font-size: 16px;
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

.form-input {
  font-size: 16px;
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

.form-input input {
  width: 100%;
  background: #f5f5f5;
  padding: 13px;
  border: 0;
  border-bottom: 1px solid #b6bdc1;
  margin: 15px 0 0 0;
  transition: 0.2s;
}

.form-input input:hover {
  background: #ececec;
}

.lost-password {
  padding: 0;
  border: 0;
  box-sizing: border-box;
  margin: 10px 0 15px;
  font-size: 14px;
  text-align: center;
}

.form-input a {
  font-size: 14px;
  text-align: center;
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: #4e4e4e;
  border-bottom: 1px solid #cfc5ff;
  transition: 0.2s;
  user-select: none;
}

.form-input a:hover {
  border-bottom: 1px solid #9583ed;
}

.checkbox-wrapper {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

.inp-cbx {
  display: none;
}

.cdx {
  padding: 0;
  border: 0;
  box-sizing: border-box;
  user-select: none;
  cursor: pointer;
  display: flex;
  gap: 5px;
  margin: 10px auto;
  font-size: 13px;
  line-height: 19px;
}

.cbx span {
  display: inline-block;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}

.inp-cbx:checked + .cbx span:first-child {
  background: #a495f0;
  border-color: #a495f0;
  animation: wave-46 0.4s ease;
}

.cbx span:first-child {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  transform: scale(1);
  vertical-align: middle;
  border: 1px solid #9098a9;
  transition: all 0.2s ease;
}

.cbx span:first-child:before {
  content: "";
  width: 18px;
  height: 18px;
  background: #a495f0;
  display: block;
  transform: scale(0);
  opacity: 1;
  border-radius: 50%;
  box-sizing: border-box;
}

.inp-cbx:checked + .cbx span:first-child:before {
  transform: scale(3.5);
  opacity: 0;
  transition: all 0.6s ease;
}

.cbx span:first-child svg {
  position: absolute;
  top: 3px;
  left: 2px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}

.inp-cbx:checked + .cbx span:first-child svg {
  stroke-dashoffset: 0;
}

.login-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 10px;
  margin: 5px 0 15px 0;
}

.login-buttons button {
  margin: 0;
  border: 0;
  background: #9d8dea;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  width: 50%;
  text-align: center;
  cursor: pointer;
  transition: 0.2s all;

  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  position: relative;
}

.login-buttons button:hover {
  background: #8571e6;
}

.login-buttons a {
  background: #c1b6f4;
  color: #fff;
  padding: 7px 10px;
  border-radius: 5px;
  width: 50%;
  line-height: 19px;
  text-align: center;
  border-bottom: 0;
  cursor: pointer;
  transition: 0.2s all;
  font-size: 16px;
}

.login-buttons a:hover {
  border-bottom: 0;
  background: #8571e6;
}

.menu__item {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.menu__item__block {
  position: relative;
  width: max-content;
}

.menu__item__block__show-menu {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  z-index: 0;
  gap: 5px 15px;
  display: none;
  grid-template-columns: max-content max-content;
  border-radius: 15px;
  padding: 10px 25px;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}

.menu__item__block__show-menu a:hover {
  text-decoration: underline;
}

.menu__item__block__show-menu > * {
  padding: 5px;
  display: flex;
  justify-content: start;
  color: #666666d9;
  text-decoration: none;
  font-size: 14px;
}

.tab-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tab-item a {
  margin-top: auto;
}

.slayder {
  overflow: hidden;
  position: relative;
  margin: 30px 0 50px;
}

.slayder::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);

  width: 50px;
  height: 100%;
  z-index: 1;
}

.slayder::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background: linear-gradient(-90deg, #fff 0, rgba(255, 255, 255, 0) 100%);
  width: 50px;
  height: 100%;
  z-index: 0;
}

.slayder__inside {
  display: flex;
  width: 100;
  gap: 20px;
  transition: transform 0.8s ease;
}

.slayder__inside__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity 0.5s ease;
  flex: 0 0 calc((100% - 6 * 20px) / 7);
}

.slayder__inside__item:hover img {
  border: 1px solid #f65f9f;
  opacity: 0.8;
  cursor: pointer;
}

.slayder__inside__item img {
  width: 100%;
  border: 1px solid #f4d8e5;
  position: relative;
  transition: 0.2s;
}

.noborder img {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  opacity: 0.8;
}

.slayder__inside__item__text {
  text-align: center;
  color: black;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
}

.slayder__inside__item__title {
  color: #84808096;
  font-size: 16px;
  margin: 10px 0;
}

.slayder__inside__item__title a {
  display: flex;
  border: 0;
  background: #9d8dea;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  width: 70%;
  margin: 0 auto;
  align-items: center;
  text-align: center;
  flex-direction: column;
  cursor: pointer;
  transition: 0.2s all;
  line-height: 1.5;
  outline: none;
}

.slayder__inside__item__title a:hover {
  background: #8a7ad7;
}

.slayder__btn-right,
.slayder__btn-left {
  font-size: 8px;
  user-select: none;
  box-sizing: inherit;
  position: absolute;
  display: flex;
  height: 100%;
  width: 5%;
  top: 0;
  padding: 0 10px;
  cursor: pointer;
  justify-content: end;
  z-index: 1;
}

.slayder__btn-right {
  display: flex;
  justify-content: end;
  right: 0%;
}

.slayder__btn-left {
  display: flex;
  justify-content: start;
  left: 0%;
}

.slayder__btn-right span,
.slayder__btn-left span {
  font-size: 8px;
  user-select: none;
  cursor: pointer;
  box-sizing: inherit;
  color: #fff;
  margin: 0px;
  padding: 0px;
  align-items: center;
  display: inline-flex;
}

.slayder__btn-right span svg,
.slayder__btn-left span svg {
  -webkit-font-smoothing: antialiased;
  font-size: 8px;
  user-select: none;
  cursor: pointer;
  box-sizing: inherit;
  width: 60px;
  height: 60px;
  fill: currentcolor;
  padding: 8px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: #0d0c22 0px 7px 14px -7px;
  color: #9e9ea7;
}

.slayder__btn-right:hover span svg,
.slayder__btn-left:hover span svg {
  background-color: #ea4c89;
  color: white;
}

.slayder__btn-none {
  display: none;
}

.faq-answer {
  transform: scaleY(0);
  opacity: 0;
  height: 0;
  transform-origin: top;
  transition: all 0.3s ease-out;
  color: #2b2b2b;
  font-weight: 500;
  padding: 0;
  margin: 0;
}

.faq-answer p {
  font-weight: 400;
  margin: 0 0 15px 0;
  font-size: 14px;
}

.faq-title {
  cursor: pointer;
  width: 100%;
  height: 55px;
  align-items: center;
  display: flex;
}

.faq-answer.open {
  transform: scaleY(1);
  opacity: 1;
  height: auto;
  padding: 20px 20px 5px 20px;
  box-shadow: 0px 0px 19px 1px rgb(27 32 43 / 6%);
  margin: 10px 0 0 0;
  border-radius: 10px;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 0 auto;
  margin-top: 50px;
  max-width: 1300px;
  padding: 0 15px;
  padding-bottom: 50px;
}

.footer hr {
  width: 100%;
  height: 2px;
  border: none;
  background-color: black;
}

.footer__inside {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
}

.footer h1 {
  margin: 0;
  margin-bottom: 25px;
}

.footer p,
.footer__inside__right a {
  color: #666666d9;
  font-size: 16px;
  transition: 0.1s;
}

.footer__inside__right a:hover {
  color: #aa8ad5;
}

.footer h3 {
  color: #666666d9;
}

.footer h3 span {
  color: #3394e6;
  text-decoration: underline;
  text-decoration-color: #3394e6;
}

.footer__inside__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 60%;
}

.footer__inside__right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer__tg {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
  font-size: 18px !important;
  font-weight: 500;
}

.footer__tg svg {
  width: 30px;
  height: 30px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Ниже начинаю работать с адаптивом */

.cabinet-button {
  cursor: pointer;
}

.head {
  overflow-x: hidden;
}

.category-image {
  max-width: 50%;
}

.mfp-container {
  height: 100svh;
  left: 0;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  position: fixed;
  text-align: center;
  padding: 0;
  z-index: 3;
  background-color: rgb(255 255 255 / 94%);
  display: none;
}

.mfp-content__inside {
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  margin: 0 auto;
  position: relative;
  text-align: left;
  transition: transform 0.5s, opacity 0.3s;
  vertical-align: middle;
  z-index: 1045;
  opacity: 1;
  transform: translateY(0);
  width: 100%;
  height: 100%;
  cursor: auto;
  max-width: 700px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 50px;
}

.mobile-sidebar {
  text-align: left;
  cursor: auto;
  box-sizing: border-box;
  scrollbar-width: none;
}

.sidebar-menu {
  cursor: auto;
  box-sizing: border-box;
  text-align: center;
  scrollbar-width: none;
  padding: 30px 0;
  margin-top: 10%;
}

.sidebar-menu__inside {
  cursor: auto;
  text-align: center;
  box-sizing: border-box;
  list-style: disc;
  margin: 0;
  padding: 0;
  align-items: center;
  display: flex;
  width: 100%;
  position: relative;
  flex-flow: column;
}

.sidebar-menu__inside .menu-item {
  cursor: auto;
  box-sizing: border-box;
  position: relative;
  padding: 0;
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  transition: transform 0.3s, opacity 0.3s;
  transition-delay: 0.2s;
  margin-left: 0 !important;
  list-style: none;
  margin: 0;
  width: 100%;
  opacity: 1;
  transform: none;
  border: 0;
}

.sidebar-menu__inside .menu-item a {
  list-style: none;
  box-sizing: border-box;
  background-color: transparent;
  touch-action: manipulation;
  text-decoration: none;
  flex-wrap: wrap;
  color: hsla(0, 0%, 40%, 0.85);
  transition: all 0.2s;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  align-items: center;
  display: flex;
  flex-grow: 1;
  width: auto;
  font-weight: 400;
  font-style: normal;
  padding-bottom: 15px;
  padding-top: 15px;
  justify-content: center;
  font-size: 1.5em;
  padding-left: 30px;
  padding-right: 30px;
  font-family: Manrope, sans-serif;
}

.sidebar-menu__inside .toggle {
  list-style: none;
  font: inherit;
  overflow: visible;
  touch-action: manipulation;
  background-color: transparent;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  font-weight: bolder;
  letter-spacing: 0.03em;
  max-width: 100%;
  min-height: 2.5em;
  text-align: center;
  text-decoration: none;
  text-rendering: optimizeLegibility;
  text-shadow: none;
  text-transform: uppercase;
  transition: transform 0.3s, border 0.3s, background 0.3s, box-shadow 0.3s,
    opacity 0.3s, color 0.3s;
  vertical-align: middle;
  font-size: 0.9em;
  border: none;
  border-radius: 20px;
  box-shadow: none !important;
  color: currentColor;
  height: auto;
  line-height: 1;
  margin: 0 5px 0 0;
  opacity: 0.6;
  padding: 0;
  width: 45px;
  margin-bottom: 0;
  margin-left: -35px;
  position: absolute;
  right: 0;
  top: 15px;
}

.icon-angle-down:before {
  content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"%3E%3Crect width="24" height="24" fill="none"/%3E%3Cpath d="M5.778,4.279c-.034.035-.162.184-.281.306A13.014,13.014,0,0,1,2.02,7a2.77,2.77,0,0,1-.707.2,1.16,1.16,0,0,1-.537-.131A1.124,1.124,0,0,1,.3,6.527a5.9,5.9,0,0,1-.154-.638A14.387,14.387,0,0,1,0,3.6,16.635,16.635,0,0,1,.128,1.391a5.1,5.1,0,0,1,.2-.8A1.071,1.071,0,0,1,1.279,0h.034a2.927,2.927,0,0,1,.793.245,13.014,13.014,0,0,1,3.4,2.38,3.4,3.4,0,0,1,.289.332A1.07,1.07,0,0,1,6,3.6a1.125,1.125,0,0,1-.222.683" transform="translate(15.199 10) rotate(90)" fill="%23545F7E"/%3E%3C/svg%3E');
  display: inline-block;
  width: 24px;
  height: 24px;
}

.sub-menu {
  cursor: auto;
  box-sizing: border-box;
  list-style: disc;
  width: 100%;
  left: -99999px;
  opacity: 0;
  position: fixed;
  transform: translateX(-10px);
  transition: background-color 0.6s, transform 0.3s, opacity 0.3s;
  margin: 0;
  padding: 0;
}

.sub-menu-active {
  left: auto;
  opacity: 1;
  padding-bottom: 0px;
  position: inherit;
  transform: translateX(0);
}

.sub-menu__item {
  cursor: auto;
  box-sizing: border-box;
  font-size: 1em;
  margin-left: 0 !important;
  list-style: none;
  margin: 0;
  width: 100%;
  border: 0;
  margin-bottom: 1em;
  padding-left: 0;
}

.sub-menu__item a {
  text-decoration: none;
  align-items: center;
  display: flex;
  flex-grow: 1;
  width: auto;
  transition: color 0.2s;
  color: #000;
  font-weight: bolder;
  text-transform: uppercase;
  padding-bottom: 5px;
  padding-top: 5px;
  justify-content: center;
  font-size: 14px !important;
}

.sub-menu__item__ul {
  cursor: auto;
  font-size: 1em;
  box-sizing: border-box;
  list-style: disc;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mfp-close {
  position: absolute;
  top: 15px;
  right: 5px;
  background-color: transparent;
  border: none;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.mfp-close:active {
  transform: scale(1.1);
}

.group-buttons {
  margin: 0 0 50px 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.group-buttons a {
  color: #fff;
  background: #ff7f9c;
  padding: 5px 15px;
  border-radius: 10px;
  transition: 0.2s;
  font-size: 19px;
}

.group-buttons a:hover {
  background: #f43787cc;
}

.footer-navigation {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 70px;
  text-align: left;
  border: 1px solid;
  border-color: #ddcbf866;
  border-radius: 48px;
  padding: 40px;
}

.footer__container .first-element {
  grid-column: 1 / -1;
}

.footer-navigation .item-menu {
  width: 33.3%;
}

.footer-navigation ul {
  list-style: none;
  margin: 0 0 0 30px;
  padding: 0;
}

.footer-navigation ul li {
  position: relative;
  margin: 0 0 4px;
  line-height: 31px;
  font-size: 15px;
}

.footer-navigation ul li {
  position: relative;
  margin: 0 0 4px;
  line-height: 31px;
  font-size: 15px;
}

.footer-navigation ul li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -30px;
  width: 8px;
  height: 8px;
  border-radius: 15px;
  background: #9479ff;
  background-position: center;
}

.item-menu a {
  transition: 0.2s;
}

.item-menu a:hover {
  text-decoration: underline;
}

.content {
  margin: 0 auto;
  max-width: 1300px;
  padding: 0 15px;
  padding: 115px 0 0 0;
}

.white-content {
  background: #ffffff;
  border-radius: 25px;
  padding: 25px;
  box-shadow: 0px 0px 19px 1px rgb(27 32 43 / 4%);
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.white-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-block-end: 20px;
}

.white-content ul {
  list-style-type: none;
  counter-reset: num;
  position: relative;
  margin: 0px 0 20px 30px;
  padding: 15px 0 5px 0;
  font-size: 16px;
}

.white-content ul li {
  position: relative;
  margin: 0;
  padding: 0 0 22px 0;
  line-height: 25px;
  display: block;
  list-style-image: none;
}

.white-content ul li:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 8px;
  left: -30px;
  width: 10px;
  height: 10px;
  padding: 2px 0 0 0;
  line-height: 28px;
  background: #6c7be9;
  color: #ffffff;
  text-align: center;
  font-weight: 400;
  font-size: 18px;
  border-radius: 10px;
}

.design {
  position: relative; /* Для позиционирования дочерних элементов */
}

.design::after {
  content: "";
  background-image: url(/img/right.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -30px;
  right: -55px;
  width: 150px;
  height: 150px;
  z-index: 1;
}

.speedbar {
  margin: 0 0 20px 0;
}
.speedbar a:hover {
  color: #ff7f9cb8;
}

.design {
  text-align: center;
  width: 100%;
}

.block-panels-added {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 25px 0 15px 0;
}

.block-panels-added button {
  color: #fff;
  background: #ff7f9c;
  padding: 5px 12px;
  border-radius: 15px;
  border: none; /* Убирает стандартную обводку */
  cursor: pointer; /* Изменяет курсор на pointer */
  transition: background 0.2s, transform 0.2s; /* Добавляем эффект изменения фона и трансформации */
}

/* Эффект при наведении */
.block-panels-added button:hover {
  background: #f43787cc;
}

.fpd-container .fpd-main-wrapper {
  box-shadow: -6px 60px 40px #20282d0a, -6px 40px 49.625px #20282d0f,
    -6px 20px 36.091px #20282d1a, -5px 4px 20.301px #20282d1f;
  margin: 20px 0 150px 0;
}

.fpd-container {
  position: relative;
}

.fpd-container:before {
  content: "";
  background-image: url(/img/preview-envelope-portrait.png);
  position: absolute;
  top: 30px;
  left: -200px;
  right: 0;
  width: 642px;
  height: 904px;
  bottom: 0;
  z-index: 0;
  opacity: 0.5;
  box-shadow: 0 10.193px 10px #20282d0f, 0 2px 5.956px #20282d1f,
    0 0.4px 1.096px #20282d4d;
}

#formAuth input {
  width: 100%;
}

.purple {
  background: linear-gradient(
    130deg,
    #6a5bff 0,
    #8169f6 33%,
    #945cff 66%,
    #a05bff 200%
  ) !important;
  position: relative;
  transition: 0.2s ease-in-out !important;
  background-size: 250% auto !important;
  overflow: hidden;
}

.purple::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: -32%;
  transform: rotateZ(114deg) translate(-5em, 7.5em);
  background: linear-gradient(
    rgba(229, 172, 142, 0),
    rgba(255, 255, 255, 0.4) 50%,
    rgba(229, 172, 142, 0)
  );
  animation: 2.5s infinite forwards sheen;
}

.purple:hover {
  background-position: 60% center !important;
}

@keyframes sheen {
  100% {
    transform: rotateZ(110deg) translate(1em, -32em);
  }
}

.redactor-title {
  width: 80%;
  text-align: center;
  margin: 0 auto;
  font-size: 25px;
  padding: 0 0 20px 0;
}

.info-fancy {
  display: flex;
  width: 70%;
  margin: 0 auto;
  padding: 0 0 0 75px;
}

.info-right-funcy {
  width: 200px;
  text-align: left;
  padding: 0 0 0 25px;
}

.row {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  align-content: flex-start;
}

.template-text {
  width: 100%;
  margin: 15px 0 15px 0;
  font-size: 15px;
  color: #929292;
}

.template-text img {
  width: 29px;
  float: left;
  margin: 0 10px 0 0;
}

.template-text span {
  font-size: 18px;
  margin: 0 0 0 0;
  display: flex;
  align-items: center;
  color: #232323;
}

.text-redactor {
  width: 80%;
  text-align: center;
  margin: 0 auto;
  padding:0;
}

.template-text span {
  font-size: 18px;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
}

.group-buttons-cat {
  margin: 20px 0 30px 0;
  display: flex;
  gap: 20px;
  justify-content: left;
  flex-wrap: wrap;
}

.group-buttons-cat a {
  color: #fff;
  background: #ff7f9c;
  padding: 5px 15px;
  border-radius: 10px;
  transition: 0.2s;
  font-size: 19px;
}

.group-buttons-cat a:hover {
  background: #f43787cc;
}

.diplomas-cabinet {
  width: 100%;
  padding: 5px 30px 0 0;
  display: flex;
  flex-wrap: wrap;
}
.info-cabinet {
  width: 30%;
  border-left: 1px solid #e9eaef;
  padding: 0 0 0 30px;
}
.aside-block__title {
  margin: 20px 0 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 300;
}

.info-designs {
  width: 70%;
}

.gramota {
  padding: 10px;
  border-radius: 10px;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 25%;
}

.mobile-column {
  display: grid;
  gap: 0px;
  flex-direction: column;
}

.mobile-column p {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 10px 0;
}

.menu-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 20px 0;
}

.gramota img {
  border-radius: 4px;
  width: 100%;
  position: relative;
  outline: 2px solid #e9e9ea;
  outline-offset: -2px;
  box-shadow: none;
  transition: 0.1s;
}

.card {
  position: relative;
}

.card:before {
  content: "";
  height: 24px;
  transform: rotate(358deg);
  position: absolute;
  left: 2px;
  right: 4px;
  top: -3px;
  background: #d7d7d7;
  border-top-right-radius: 4px;
  background-repeat: no-repeat;
  box-shadow: none;
}

.card:hover:before {
  transform: rotate(-3deg);
  position: absolute;
  left: 2px;
  right: 11px;
  top: -5px;

  background: #20282d;
  background-repeat: no-repeat;
  content: "";
  height: 24px;

  border-top-right-radius: 4px;
  background-repeat: no-repeat;
  box-shadow: none;
}
.card:hover img {
  outline-offset: -2px;
  outline: 2px solid #20282d;
}

.gramota a:hover {
  color: #f65f9f;
}

.info-user {
  display: flex;
}
.diplomas-designs {
  width: 70%;
  padding: 5px 30px 0 0;
  display: flex;
  flex-wrap: wrap;
}

.info-cabinet {
  width: 30%;
  border-left: 1px solid #e9eaef;
  padding: 0 0 0 30px;
}

.info-cabinet a:hover {
  color: #ff7f9cb8;
}

.category-images {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.category-item {
  padding: 10px;
  border-radius: 10px;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 25%;
}

.category-item img {
  border-radius: 4px;
  width: 100%;
  position: relative;
  outline: 2px solid #e9e9ea;
  outline-offset: -2px;
  box-shadow: none;
  transition: 0.1s;
}

.item-card {
  position: relative;
}

.item-card:before {
  content: "";
  height: 24px;
  transform: rotate(358deg);
  position: absolute;
  left: 2px;
  right: 4px;
  top: -3px;
  background: #d7d7d7;
  border-top-right-radius: 4px;
  background-repeat: no-repeat;
  box-shadow: none;
}

.item-card:hover img {
  outline-offset: -2px;
  outline: 2px solid #20282d;
}

.item-card:hover:before {
  transform: rotate(-3deg);
  position: absolute;
  left: 2px;
  right: 11px;
  top: -5px;
  background: #20282d;
  background-repeat: no-repeat;
  content: "";
  height: 24px;
  border-top-right-radius: 4px;
  background-repeat: no-repeat;
  box-shadow: none;
}

.pay-head {
  padding: 20px;
  background-image: url("/img/baloons_modal.svg");
  background-size: auto 192px;
  background-color: #f4f4f4;
  background-repeat: no-repeat;
  background-position: top right;
  text-align: left;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.info-pay {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.info-pay div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.pay-content {
  text-align: left;
  padding: 10px 20px;
}
.pay-button-new {
  background: #af85ee!important;
  font-size: 18px!important;
  width: 94%!important;
  display: block!important;
  margin: 0 auto!important;
}

.check-pay {
  font-size: 14px;
  text-align: left;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 1420px) {
  .head-wrapper::after {
    display: none;
  }
}

@media (max-width: 1350px) {
  .speedbar {
    margin: 0 25px 20px 25px;
  }
}

@media (max-width: 1300px) {
  .faq {
    padding: 50px 15px;
  }
  .white-content {
    margin: 0 15px;
  }

  .info-fancy {
    display: flex;
    width: 61%;
    margin: 0 auto;
    padding: 0;
  }
  .template-text span {
    font-size: 16px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
  }

  body::after {
    display: none;
  }
}

@media (max-width: 1250px) {
  .info-fancy {
    width: 65%;
  }

  .design::after {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 1200px) {
  .head-title {
    height: 180px;
  }

  .category-bottom-image svg {
    width: 101%;
    top: 5%;
    left: -0.1%;
    position: absolute;
  }

  .category-image svg {
    width: 101%;
    height: 139%;
    left: -5px;
    top: -9%;
    position: absolute;
  }

  .head-text {
    padding-left: 15px;
  }

  .category-image,
  .category-bottom-image {
    width: 450px;
  }

  .info-container,
  .category-bottom-left {
    width: calc(100% - 450px);
  }

  .info-container {
    padding: 40px 20px;
  }

  .item1::before,
  .item2::before,
  .item3::before {
    background-size: 118px 129px;
    width: 118px;
    height: 129px;
    top: -65px;
  }

  .tab-item p {
    margin: 0;
  }

  .bottom-head {
    width: 60%;
  }

  .slayder__inside__item {
    flex: 0 0 calc((100% - 5 * 20px) / 6);
  }

  .head-title {
    height: 180px;
    top: -135px;
  }
  .head {
    padding: 255px 15px 0 15px;
  }
  .head-image {
    width: 50%;
  }
}

@media (max-width: 1190px) {
  .info-right-funcy {
    display: none;
  }
  .info-fancy {
    width: 100%;
    margin: 0 auto;
    justify-content: center;
  }

  .fpd-container:before {
    left: -100px;
  }
}

@media (max-width: 1100px) {
  .category-bottom-left {
    padding: 25px;
  }
}

@media (max-width: 1050px) {
  .gramota {
    width: 33%;
  }
  .info-user h3,
  info-user .h3 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .usinf {
    font-size: 14px !important;
  }
  .diplomas-cabinet {
    padding: 5px 10px 0 0;
  }
}

@media (max-width: 1020px) {
  .tab-head {
    padding: 80px 15px 30px 15px;
  }

  .bottom-head {
    padding: 0 0 30px;
  }
}

@media (max-width: 1000px) {
  .category-bottom-left {
    padding: 40px;
  }

  .new-category-image svg {
    height: 109% !important;
  }

  .speedbar {
    font-size: 14px;
    margin: 0 15px 20px;
  }
  .category-bottom-image svg {
    width: 101%;
    top: 14%;
    left: -0.1%;
    position: absolute;
  }

  .category-bottom-image .img3 {
    overflow: hidden;
    width: 56%;
    bottom: 0%;
    left: 9%;
    height: 48%;
    z-index: 1;
  }

  .category-bottom-image .img2 {
    width: 55%;
    right: 4%;
    top: 10%;
  }

  .category-bottom-image .img1 {
    width: 56%;
    top: -7%;
    left: 6%;
  }

  .category-image .img1 {
    width: 66%;
    top: -8%;
    left: 6%;
  }

  .category-image .img3 {
    overflow: hidden;
    transform: rotate(-7deg);
    width: 59%;
    bottom: -5%;
    left: 9%;
  }

  .category-image .img2 {
    width: 61%;
    right: 5%;
    top: 16%;
  }

  .category-image svg {
    width: 101%;
    height: 154%;
    left: -5px;
    top: -9%;
    position: absolute;
  }

  .menu__list,
  .menu__item {
    gap: 10px;
  }

  .menu__link {
    font-size: 12px !important;
  }

  .menu__link img {
    width: 25px;
  }

  .head-title {
    height: 160px;
  }

  .head-text {
    width: 50%;
    padding: 15px 0 0 15px;
  }

  .head-info {
    justify-content: space-between;
  }

  .tab-title {
    font-size: 22px;
    line-height: 25px;
  }

  .item1::before,
  .item2::before,
  .item3::before {
    background-size: 108px 119px;
    width: 108px;
    height: 119px;
  }

  .tab-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .tab-item p {
    margin: 0;
    line-height: 18px;
  }

  .tab-item a {
    font-size: 13px;
  }

  .head-text {
    font-size: 14px;
  }
  .bottom-head {
    font-size: 14px;
  }

  .category-image,
  .category-bottom-image {
    width: 350px;
  }

  .info-container,
  .category-bottom-left {
    width: calc(100% - 350px);
  }

  .info-container h2,
  .category-bottom-left h2 {
    font-size: 25px;
  }

  .item-step span {
    font-size: 20px;
  }

  .slayder__inside__item {
    flex: 0 0 calc((100% - 4 * 20px) / 5);
  }

  .left-faq::before {
    width: 360px;
    height: 240px;
  }

  .left-faq::after {
    background-size: 350px 350px;
    bottom: 40px;
    right: -115px;
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 900px) {
  .tab-item a {
    font-size: 12px;
  }

  .left-faq span {
    font-size: 40px;
  }

  .left-faq::before {
    width: 312px;
    height: 208px;
  }

  .left-faq::after {
    background-size: 300px 300px;
    bottom: 50px;
    right: -100px;
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 880px) {
  .category-bottom-left {
    padding: 25px;
  }
}

@media (max-width: 850px) {
  .category-bottom-image .img1 {
    width: 31%;
    top: -7%;
    left: 6%;
  }

  .category-bottom-image .img3 {
    overflow: hidden;
    width: 35%;
    bottom: 0%;
    left: 25%;
    height: 48%;
    z-index: 1;
  }

  .category-bottom-image .img2 {
    width: 35%;
    right: 5%;
    top: 4%;
  }

  .category-bottom-image svg {
    width: 101%;
    top: -8.4%;
    left: -0.1%;
    position: absolute;
  }

  .category-image .img3 {
    overflow: hidden;
    transform: rotate(-7deg);
    width: 33%;
    bottom: -2%;
    left: 30%;
  }

  .category-image .img2 {
    width: 32%;
    right: 5%;
    top: 16%;
  }
  .category-image .img1 {
    width: 35%;
    top: -8%;
    left: 4%;
  }
  .info-items {
    margin: 0 20px 20px;
  }

  .tab-item a::after {
    display: none;
  }

  .navigation-menu > .menu {
    display: none;
  }

  .burger {
    display: flex;
    flex-direction: column;
    position: relative;
    transition-duration: 0.3s;
  }

  .burger .menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
  }

  .menu-show {
    display: flex !important;
  }

  .burger .menu__list {
    flex-direction: column;
    background-color: white;
    padding: 10px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
  }

  .menu__item__block__show-menu {
    top: -80%;
    left: 180px;
  }

  .menu__item {
    gap: 5px;
    width: 100%;
    flex-direction: column;
  }

  .menu__link {
    width: 100%;
  }

  .menu__item__title {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .menu__item__block__show-menu {
    grid-template-columns: repeat(1, 1fr);
    box-shadow: none;
  }

  .menu__item__block__show-menu::before {
    top: 0;
    right: 0;
    width: 0;
    border: none;
  }

  .menu__item__block__show-menu > :first-child {
    grid-column: span 1;
  }

  .menu__item__block__show-menu {
    position: static;
    transform: translateX(0);
  }

  .head-title {
    height: 130px;
    top: -108px;
  }

  .head-text {
    padding-left: 20px;
    font-size: 14px;
  }

  .head-image {
    width: 50%;
    margin-top: 20px;
  }

  .tab-head,
  .tab-item {
    gap: 10px;
  }
  .head {
    padding: 225px 15px 0 15px;
  }

  .head::before {
    background-size: 145px 172px;
    width: 145px;
    height: 172px;
  }
  .tab-head {
    padding: 60px 15px 30px 15px;
  }
  .category-container,
  .category-bottom-container {
    flex-direction: column;
    gap: 30px;
  }

  .category-bottom-container {
    flex-direction: column-reverse;
  }

  .category-image,
  .category-bottom-image {
    width: 100%;
    max-width: none;
    border-top-right-radius: 45px;
    border-top-left-radius: 45px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .info-container,
  .category-bottom-left {
    width: 100%;
  }

  .item1::before,
  .item2::before,
  .item3::before {
    background-size: 78px 89px;
    width: 78px;
    height: 89px;
    top: -40px;
  }

  .slayder__inside__item {
    flex: 0 0 calc((100% - 3 * 5px) / 4);
  }

  .slayder__btn-right {
    right: 3%;
  }

  .slayder__btn-left {
    left: 3%;
  }

  .left-faq span {
    font-size: 30px;
  }

  .left-faq::before {
    width: 234px;
    height: 155px;
  }

  .left-faq::after {
    background-size: 250px 250px;
    bottom: 65px;
    right: -85px;
    width: 250px;
    height: 250px;
  }
  .category-item {
    width: 33.3%;
  }
}

@media (max-width: 840px) {
  .left-faq span {
    font-size: 30px;
    line-height: 30px;
  }
}

@media (max-width: 830px) {
  .fpd-container:before {
    display: none;
  }

  .block-panels-added button {
    font-size: 14px;
  }
}

@media (max-width: 810px) {
  .gramota {
    width: 25%;
  }

  .info-user {
    display: flex;
    flex-direction: column;
  }

  .info-designs {
    width: 100%;
  }

  .info-cabinet {
    width: 100%;
    border-left: 0px;
    padding: 20px 0 0 0;
    border-top: 1px solid #e9eaef;
  }

  .usinf {
    font-size: 14px !important;
    margin: 0px 0 20px 40px !important;
  }
  .no-margin {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 800px) {
  .head {
    padding-top: 300px;
  }

  .menu__list {
    gap: 15px;
  }

  .menu__link img {
    margin-right: 5px !important;
  }

  .head-info {
    flex-direction: column-reverse;
    align-items: center;
    gap: 0;
  }

  .head-title {
    height: 130px;
    top: -75px;
  }

  .head-text {
    padding-left: 0;
    font-size: 14px;
    text-align: center;
  }
  .head {
    padding: 187px 15px 0 15px;
  }

  .head-title {
    height: 130px;
    top: -80px;
  }

  .head-image {
    width: 65%;
  }

  .head-text {
    width: 90%;
  }

  .tab-item {
    padding: 15px 10px;
  }

  .info-container,
  .category-bottom-left {
    padding: 20px 30px;
  }

  .info-container h2,
  .category-bottom-left h2 {
    font-size: 20px;
  }

  .item-step span {
    font-size: 16px;
  }

  .item-step p {
    font-size: 12px;
  }

  .slayder__inside {
    gap: 5px;
  }

  .slayder__inside__item {
    flex: 0 0 calc((100% - 4 * 5px) / 5);
  }

  .left-faq span {
    font-size: 35px;
  }

  .left-faq::before {
    width: 280px;
    height: 185px;
  }
}

@media (max-width: 730px) {
  .faq {
    flex-direction: column;
    overflow-x: hidden;
  }

  .left-faq {
    min-height: 229px;
    width: 100%;
  }

  .right-faq {
    padding: 5px;
    gap: 15px;
    width: 100%;
  }

  .left-faq::before {
    width: 159px;
    height: 108px;
  }

  .left-faq::after {
    background-size: 200px 200px;
    bottom: 10px;
    right: -55px;
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 720px) {
  .design::after {
    display: none;
  }
  .footer-navigation .item-menu {
    width: 50%;
  }
  .footer-navigation {
    gap: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .category-bottom-image svg {
    width: 101%;
    height: 114%;
    top: -13.4%;
    left: -0.1%;
    position: absolute;
  }
  .menu__list {
    gap: 20px;
  }

  .menu__link {
    font-size: 14px !important;
  }

  .menu__item__block__show-menu {
    left: 100px;
    gap: 10px;
  }

  .menu__item__block__show-menu > * {
    font-size: 12px;
  }

  .head-title {
    height: 110px;
  }

  .head-image {
    width: 70%;
    margin-top: 0px;
  }

  .tab-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 30px;
    padding: 30px 5px 30px 5px;
  }
  .tab-head::before {
    display: none;
  }
  .tab-item {
    max-width: 70%;
    min-width: 70%;
    padding: 25px 30px;
  }

  .tab-title {
    font-size: 25px;
  }

  .item1::before,
  .item2::before,
  .item3::before {
    background-size: 98px 109px;
    width: 98px;
    height: 109px;
    top: -25px;
    right: -35px;
  }

  .category-image,
  .category-bottom-image {
    height: 352px;
  }

  .slayder__inside__item {
    flex: 0 0 calc((100% - 1 * 5px) / 2);
  }
}

@media (max-width: 660px) {
  .head-title {
    height: 110px;
    top: -80px;
  }

  .head-image {
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .img-head {
    width: 70%;
    z-index: 1;
    position: relative;
  }
}

@media (max-width: 600px) {
  .menu__list {
    gap: 20px;
  }

  .menu__link {
    font-size: 18px !important;
  }

  .menu__item__block__show-menu {
    grid-template-columns: repeat(1, 1fr);
    left: 120px;
    gap: 10px;
  }

  .menu__item__block__show-menu > :first-child {
    grid-column: span 1;
  }

  .menu__item__block__show-menu > * {
    font-size: 16px;
  }

  .tab-item a {
    font-size: 12px;
  }

  .tab-item a::after {
    background-size: 10px 15px;
    width: 10px;
    height: 15px;
    right: 10px;
  }

  .left-faq span {
    font-size: 25px;
  }

  .footer__inside {
    flex-direction: column;
    padding: 20px 20px;
    gap: 40px;
  }

  .footer__title {
    font-size: 22px;
  }

  .footer__inside h3 {
    font-size: 22px;
  }

  .footer__inside__left,
  .footer__inside__right {
    max-width: none;
    padding-left: 20px;
    gap: 10px;
  }

  .footer__inside p {
    font-size: 14px;
  }

  .footer__tg {
    margin-bottom: 10px;
  }

  .slayder__inside__item {
    flex: 0 0 calc((100% - 2 * 5px) / 3);
  }

  .slayder__inside__item__text {
    font-size: 14px;
  }

  .block-panels-added {
    flex-direction: column;
    width: 100%;
    margin: 0;
  }
  .block-panels-added button {
    width: 100%;
  }
  .category-item {
    width: 50%;
  }

  .white-content p {
    font-size: 14px;
  }
}

@media (max-width: 550px) {
  .group-buttons {
    flex-direction: column;
  }

  body::before {
    opacity: 0.3;
  }

  .head::after,
  .head::before {
    display: none;
  }
  .bottom-head {
    width: 80%;
  }

  .tab-item {
    max-width: 80%;
    min-width: 80%;
    padding: 25px 30px;
  }
}

@media (max-width: 500px) {
  .head-title {
    height: 90px;
    top: -80px;
  }
  .slayder__inside__item {
    flex: 0 0 calc((100% - 2 * 5px) / 2);
  }
}

@media (max-width: 495px) {
  .pay-head {
    background-position: top right -50%;
  }
}

@media (max-width: 477px) {
  .footer-navigation .item-menu {
    width: 100%;
  }

  .sidebar-menu__inside .menu-item a {
    font-size: 15px;
  }
}

@media (max-width: 455px) {
  .pay-head {
    background-position: top right -135px;
  }
  .check-pay {
    font-size: 13px;
    line-height: 16px;
    text-align: left;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 450px) {
  .slayder__inside__item__title {
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .info-items {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin: 0 10px 10px;
  }

  .category-image .img1 {
    width: 42%;
    top: -8%;
    left: 4%;
  }

  .category-image .img2 {
    width: 41%;
    right: 5%;
    top: 16%;
  }
  .category-image .img3 {
    overflow: hidden;
    transform: rotate(-7deg);
    width: 39%;
    bottom: -2%;
    left: 30%;
  }

  .head-title {
    height: 83px;
    top: -70px;
  }
}

@media (max-width: 400px) {
  .category-bottom-image svg {
    width: 101%;
    height: 125%;
    top: -13.4%;
    left: -0.1%;
    position: absolute;
  }
  .category-bottom-image .img1 {
    width: 47%;
    top: -7%;
    left: 6%;
  }

  .slayder__btn-right {
    right: 5%;
  }
  .slayder__btn-left {
    left: 5%;
  }

  .category-image svg {
    width: 101%;
    height: 120%;
  }

  .graphic-items {
    margin: 80px 0 50px 0;
  }

  .slayder__btn-right span svg,
  .slayder__btn-left span svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 375px) {
  .nomobil {
    display: none;
  }
}

@media (max-width: 370px) {
  .category-item {
    width: 100%;
  }
}

@media (max-width: 350px) {
  .head-title {
    height: 71px;
    top: -63px;
  }
}

@media (max-width: 300px) {
  .menu__item {
    gap: 20px;
  }

  .menu__item span {
    font-size: 10px;
  }

  .menu__item__block__show-menu {
    padding: 10px;
    left: 85px;
  }

  .head {
    padding: 315px 5px 0 5px;
    padding-top: 230px;
  }

  .head-title {
    height: 80px;
    top: -100px;
  }

  .head-image {
    width: 85%;
  }

  .tab-item {
    max-width: 90%;
    min-width: 90%;
  }

  .item1::before,
  .item2::before,
  .item3::before {
    background-size: 78px 89px;
    width: 78px;
    height: 89px;
    top: -10px;
    right: 13px;
  }

  .tab-head {
    gap: 10px;
    padding: 80px 0 70px 0;
  }

  .footer {
    text-align: center;
  }
}

@media (max-width: 750px) {
.gramota {
    width: 33.3%;
}

}


@media (max-width: 590px) {
.gramota {
    width: 50%;
}

}
@media (max-width: 410px) {
.gramota {
    width: 100%;
}

}
.fr-text-gray {
  color: #AAA !important;
}
.fr-text-red {
  color: #F44336 !important;
}
.fr-text-blue {
  color: #2196F3 !important;
}
.fr-text-green {
  color: #4CAF50 !important;
}
.fr-text-bordered {
  border-top: solid 1px #222;
  border-bottom: solid 1px #222;
  padding: 10px 0;
}
.fr-text-spaced {
  letter-spacing: 1px;
}
.fr-text-uppercase {
  text-transform: uppercase;
}

img.fr-dib {
  margin: 5px auto;
  display: block;
  float: none;
  vertical-align: top;
}
img.fr-dib.fr-fil {
  margin-left: 0;
}
img.fr-dib.fr-fir {
  margin-right: 0;
}
img.fr-dii {
  display: inline-block;
  float: none;
  vertical-align: bottom;
  margin-left: 5px;
  margin-right: 5px;
  max-width: calc(100% - (2 * 5px));
}
img.fr-dii.fr-fil {
  float: left;
  margin: 5px 5px 5px 0;
  max-width: calc(100% - 5px);
}
img.fr-dii.fr-fir {
  float: right;
  margin: 5px 0 5px 5px;
  max-width: calc(100% - 5px);
}
img.fr-rounded {
  border-radius: 7px;
}
img.fr-bordered {
  border: 1px solid #ddd;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
img.fr-padded {
  padding: 5px;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

img.fr-shadows {
  box-shadow: rgba(0, 0, 0, 0.29) 0px 1px 6px;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.fr-video {
  text-align: center;
  position: relative;
}
.fr-video > * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  max-width: 100%;
  border: none;
}
.fr-video.fr-dvb {
  display: block;
  clear: both;
}
.fr-video.fr-dvb.fr-fvl {
  text-align: left;
}
.fr-video.fr-dvb.fr-fvr {
  text-align: right;
}
.fr-video.fr-dvi {
  display: inline-block;
}
.fr-video.fr-dvi.fr-fvl {
  float: left;
}
.fr-video.fr-dvi.fr-fvr {
  float: right;
}
a.fr-strong {
  font-weight: 700;
}

table.fr-solid-borders td,
table.fr-solid-borders th {
  border: 1px solid #dddddd !important;
}

table.fr-dashed-borders td,
table.fr-dashed-borders th {
  border: 1px dashed #dddddd !important;
}

table.fr-alternate-rows tbody tr:nth-child(2n) {
  background: #f5f5f5;
}

table td.fr-red,
table th.fr-red {
  border: 1px double #F44336 !important;
}
table td.fr-blue,
table th.fr-blue {
  border: 1px double #2196F3 !important;
}
table td.fr-green,
table th.fr-green {
  border: 1px double #4CAF50 !important;
}
table td.fr-thick,
table th.fr-thick {
  border-width: 2px;
}