*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body,
html.theme_dark body.bg_light {
  --text-color: #000;
  --second-text-color: #7d7f81;
  --accent-btn-color: #2AABEE;
  --accent-color-hover: #229ED9;
  --body-bg: #fff;
  --box-bg: #fff;
  --box-bg-blured: rgba(255, 255, 255, .84);
  --tme-logo-color: #363b40;
  --accent-link-color: #2AABEE;
  --pattern-url: none;
  --pattern-intensity: 0.3;
}

html.theme_dark body,
html body.bg_dark {
  --text-color: #fff;
  --second-text-color: #7d7f81;
  --accent-btn-color: #2AABEE;
  --accent-color-hover: #229ED9;
  --body-bg: #000;
  --box-bg: #1e1e1e;
  --box-bg-blured: rgba(34, 34, 34, .84);
  --tme-logo-color: #fff;
  --accent-link-color: #3ca1eb;
  --pattern-url: none;
  --pattern-intensity: 0.3;
}

body {
  background: var(--body-bg);
}

.page_background_wrap {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: var(--body-bg);
}
.page_background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.page_background.motion {
  left: -10px;
  top: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  animation: bg-motion 10s linear infinite;
}
.page_background_pattern {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: overlay;
  background: center repeat;
  background-size: 420px auto;
  background-image: var(--pattern-url, none);
  opacity: var(--pattern-intensity, 1);
}
.page_background_pattern.default {
  opacity: 0.3;
  background-image: none;
}
html.theme_dark .page_background,
body.bg_dark .page_background {
  -webkit-mask: center repeat;
  -webkit-mask-size: 420px auto;
  -webkit-mask-image: var(--pattern-url, none);
  opacity: var(--pattern-intensity, 1);
}
html.theme_dark .page_background.default,
body.bg_dark .page_background.default {
  opacity: 0.3;
  -webkit-mask-image: none;
}
body.bg_light .page_background,
body.bg_light .page_background.default {
  -webkit-mask: none;
  opacity: 1;
}
html.theme_dark .page_background_pattern,
body.bg_dark .page_background_pattern {
  display: none;
}
body.bg_light .page_background_pattern {
  display: block;
}
html.pattern_ready {
  --pattern-url: url('/index_files/pattern.svg');
}
html.pattern_ready .page_background_pattern.default {
  background-image: url('/index_files/pattern.svg');
}
html.theme_dark.pattern_ready .page_background.default,
body.bg_dark.pattern_ready .page_background.default {
  -webkit-mask-image: url('/index_files/pattern.svg');
}

@-webkit-keyframes bg-motion {
  20% { transform: translateX(0px); }
  25% { transform: translateX(-10px); }
  35% { transform: translateX(10px); }
  40% { transform: translateX(0px); }
}
@keyframes bg-motion {
  20% { transform: translateX(0px); }
  25% { transform: translateX(-10px); }
  35% { transform: translateX(10px); }
  40% { transform: translateX(0px); }
}

header {
  min-width: 100vw;
  position: fixed;
  left: 0;
  top: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: var(--box-bg-blured);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  z-index: 1;
}
header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
}
header > .container > a.dl {
  display: inline-block;
  font-size: 14px;
  line-height: 17px;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-btn-color);
  padding: 9px 16px;
  height: 34px;
  border-radius: 17px;
  text-align: center;
  text-decoration: none;
  border: 0;
}
header > .container > a.dl:hover {
  background: var(--accent-color-hover);
  text-decoration: none;
  color: #fff;
}

main {
  padding: 70px 16px 40px;
}
main > .banner {
  position: relative;
  margin: 16px auto;
  padding: 32px 0;
  max-width: 400px;
  background: var(--box-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}
main > .banner > .text {
  display: flex;
  flex-direction: column;
}
main > .banner > .text > a.photo {
  text-align: center;
  padding-bottom: 16px;
}
main > .banner > .text > a.photo > img {
  width: 122px;
  height: 122px;
  border-radius: 61px;
  vertical-align: middle;
}
main > .banner > .text > .title {
  font-size: 26px;
  line-height: 32px;
  font-weight: bold;
  text-align: center;
  max-width: 340px;
  padding: 0 10px;
  margin: 0 auto;
  color: var(--text-color);
  overflow: hidden;
  text-overflow: ellipsis;
}
main > .banner > .text > .members {
  font-size: 15px;
  line-height: 18px;
  text-align: center;
  padding: 6px 16px 0;
  color: var(--second-text-color);
}
main > .banner > .text > .description {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 125px;
  word-break: break-word;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  margin: 10px 16px 0;
  padding: 0;
  color: var(--text-color);
}
main > .banner > .text > .description a {
  color: var(--accent-link-color);
  text-decoration: none;
}

@-webkit-keyframes bg-move {
  0%   { background-position: -500px 0; }
  100% { background-position: 1000px 0; }
}
@keyframes bg-move {
  0%   { background-position: -500px 0; }
  100% { background-position: 1000px 0; }
}

.button_shine {
  background-image: linear-gradient(270deg, rgba(100, 181, 239, 0) 48.44%, #64b5ef 75.52%, rgba(100, 181, 239, 0) 100%);
  background-repeat: no-repeat;
  animation: bg-move linear 5s infinite;
  font-size: 14px;
  line-height: 17px;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  color: #FFF;
  background-color: var(--accent-btn-color);
  border-radius: 22px;
  overflow: hidden;
  display: inline-block;
  padding: 13px 24px;
  max-height: 42px;
  text-transform: uppercase;
  vertical-align: top;
  text-decoration: none;
}
.button_shine:hover {
  background-color: var(--accent-color-hover);
  text-decoration: none;
  color: #FFF;
}
.banner > .buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}
.page_additional {
  max-width: 300px;
  margin: 2px auto 0;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #7d7f81;
}

@media (max-width: 480px) {
  main > .banner > .text > a.photo > img {
    width: 110px;
    height: 110px;
    border-radius: 55px;
  }
  main > .banner {
    margin-top: 0;
  }
}
