@font-face {
  font-family: "PT Root Ui Regular";
  src: url("../fonts/PT-Root-UI_Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "PT Root UI Medium";
  src: url("../fonts/PT-Root-UI_Medium.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "PT Root UI Bold";
  src: url("../fonts/PT-Root-UI_Bold.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  background-color: #f4f0e8;
  font-family: "PT Root Ui Regular", sans-serif;
  box-sizing: border-box;
}

p {
  letter-spacing: 0.03em;
  /* line-height: 120%; */
}

.page {
  width: 1720px;
  margin: 0 auto;
}

.page__header {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  height: 124px;
}

.menu {
  margin: 0;
  padding: 0;
  list-style-type: none;
  width: 456px;
  position: absolute;
  top: 28px;
  right: 1264px;
  z-index: 1;
  background-color: #f4f0e8;
}

.menu li {
  position: relative;
  border: 2px solid #333;
  border-bottom: none;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.menu a {
  padding: 35px 35px;
  font-size: 30px;
  line-height: 1;
  color: #333;
  text-decoration: none;
}

.underline-on-hover {
  transition: text-decoration 0.3s ease;
}

.underline-on-hover:hover {
  text-decoration: underline;
}

.menu__corner {
  position: absolute;
  bottom: -2px;
  right: -40px;
  width: 40px;
  height: 40px;
  background-color: #f4f0e8;
  overflow: hidden;
}

.menu__corner::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: -0.55px;
  width: 80px;
  height: 80px;
  background-color: #f4f0e8;
  border: 2px solid #333;
  border-radius: 40px;
}

.page__content {
  position: relative;
  width: 1720px;
  border: 2px solid #333333;
  border-radius: 40px;
  border-top-left-radius: 0;
  padding: 0;
  margin: 0 auto 75px;
}

.return-back {
  display: flex;
  gap: 25px;
  color: #333333;
}

.return-back p {
  margin: 0;
}

.privacy {
  padding-right: 40px;
  padding-bottom: 15px;
  font-family: "PT Root UI Medium", sans-serif;
  font-size: 25px;
  color: #333333;
  margin-top: 86px;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.privacy:hover {
  text-decoration: underline;
}

.main-container {
  width: 1520px; /* максимальная ширина */
  margin: 0 auto; /* выравнивание по центру */
}

strong {
  font-family: "PT Root UI Bold", sans-serif;
}

.introduction h1 {
  font-family: "PT Root Ui Medium", sans-serif;
  color: #333333;
  width: 1376px;
  font-size: 78px;
  margin-bottom: 44px;
  margin-top: 0;
  padding-top: 85px;
}

.intro-text {
  margin-left: -60px;
  margin-right: -60px;
  padding: 60px;
  font-size: 30px;
  color: #333333;
  background-color: #ffffff;
  border-radius: 40px;
  height: 249px;
  margin-top: 0;
}

.dev-text {
  color: #000000;
  font-size: 36px;
  margin-top: 20px;
  margin-bottom: 40px;
}

h3 {
  margin: 0;
}

li::marker {
  color: #000000;
  font-size: 20px;
}

.dev-list {
  display: block;
  margin-bottom: 32px;
}

.dev-card {
  font-size: 30px;
  color: #000000;
  margin: 0;
  width: 100%;
}

.dev-card h3 {
  font-family: "PT Root UI Bold", sans-serif;
}

.ex-content {
  margin-bottom: 0;
  margin-top: 40px;
}

.card-text {
  margin-top: 40px;
  margin-bottom: 0;
}

.card-list {
  margin-top: 0;
  margin-bottom: 0;
}

.read-more {
  color: #000000;
}

.btn-y {
  background-color: #f7d287;
  border-radius: 40px;
  padding: 20px;
  display: inline-block;
  background: linear-gradient(90deg, #f7d287, #ffe4a1, #f7b74a, #f7d287);
  background-size: 200%;
  transition: transform 0.3s ease;
  animation: none;
  text-decoration: none;
}

.btn-y:hover {
  animation: shimmer 2s linear infinite;
  transform: translateY(-2px);
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.btn-p {
  background-color: #ded3f4;
  border-radius: 40px;
  padding: 20px;
  display: inline-block;
  background: linear-gradient(90deg, #ded3f4, #f0e8ff, #c9b1f1, #ded3f4);
  background-size: 200%;
  transition: transform 0.3s ease;
  animation: none;
  text-decoration: none;
}

.btn-p:hover {
  animation: shimmer 2s linear infinite;
  transform: translateY(-2px);
}

.btn-o {
  background-color: #f89061;
  border-radius: 40px;
  padding: 20px;
  display: inline-block;
  background: linear-gradient(90deg, #f89061, #ffc1a3, #f87040, #f89061);
  background-size: 200%;
  transition: transform 0.3s ease;
  animation: none;
  text-decoration: none;
}

.btn-o:hover {
  animation: shimmer 2s linear infinite;
  transform: translateY(-2px);
}

.btn-g {
  background-color: #85b97b;
  border-radius: 40px;
  padding: 20px;
  display: inline-block;
  background: linear-gradient(90deg, #85b97b, #b9dfaa, #6fa969, #85b97b);
  background-size: 200%;
  transition: transform 0.3s ease;
  animation: none;
  text-decoration: none;
}

.btn-g:hover {
  animation: shimmer 2s linear infinite;
  transform: translateY(-2px);
}

.text-justify {
  text-align: justify;
}

.text-margin {
  margin-bottom: 60px;
}
.text-margin-btn {
  margin-bottom: 40px;
}

.dev-info-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f7d287;
  border-radius: 40px;
  height: 382px;
  background: linear-gradient(90deg, #f7d287, #ffe4a1, #f7b74a, #f7d287);
  background-size: 200%;
  transition: transform 0.3s ease;
  animation: none;
}

.dev-info-card:hover {
  animation: shimmer 2s linear infinite;
  transform: translateY(-2px);
}

.card-content {
  padding-left: 60px;
}

.learn-more {
  font-family: "PT Root UI Medium", sans-serif;
  font-size: 60px;
  color: #333333;
  margin-bottom: 60px;
  margin-top: 90px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 262px;
}
.card-content a {
  font-family: "PT Root UI Medium", sans-serif;
  font-size: 45px;
  color: #333333;
  text-decoration: underline;
}

.card-content p {
  font-size: 20px;
  color: #333333;
}

.card-icon {
  padding-right: 37.73px;
}

.no-margin {
  margin: 0;
}

.scroll-btn-container {
  position: sticky;
  width: 1720px;
  bottom: 30px;
  transition: opacity 0.3s ease;
  opacity: 1;
}

.scroll-btn-container.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-to-top {
  position: absolute;
  bottom: 10px;
  right: 18px;
  border-radius: 40px;
  padding: 20px 25px;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #bfd6b5, #b9dfaa, #6fa969, #bfd6b5);
  background-size: 200%;
  transition: transform 0.3s ease;
  animation: none;
  z-index: 1000;
}

.scroll-to-top:hover {
  animation: shimmer 2s linear infinite;
  transform: translateY(-2px);
}
