/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

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

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/* ----------------------  ----------------------  ----------------------  ----------------------  ---------------------- */

.nav {
  background: #1D2934;
  padding: 8px 18px;
}

.flex-box-wrap {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
}

.jc-sb {
  justify-content: space-between;
}

.jc-fe {
  justify-content: flex-end;
}

.flex-wrap {
  flex-wrap: wrap;
}

.max-width {
  max-width: 1440px;
  width: 100%;
  margin: auto;
}

.telegram-btn,
.telegram-btn:active,
.telegram-btn:link,
.telegram-btn:hover,
.telegram-btn:visited
{
  background: #1ED9E7;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 114px;
  height: 32px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 136.5%;
  text-align: center;
  color: #1D2934;
  text-decoration: none;
  margin: auto;
}

.nav-logo-box {
  width: 32px;
  height: auto;
}

.nav-logo-box img {
  width: 100%;
}


.nav-yellow-link,
.nav-yellow-link:active,
.nav-yellow-link:link,
.nav-yellow-link:hover,
.nav-yellow-link:visited{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  text-align: center;
  color: #1D2934;
  text-decoration: none;
  margin: 0 4px;
}

.nav-yellow-link img {
  width: 100%;
  height: auto;
  fill: #1D2934;
}

.w-25 {
  width: 25%;
}

.w-50 {
  width: 50%;
}

.hero-first-block {
  width: 100%;
}

.hero-third-block {
  width: 100%;
  padding-top: 32px;
}

.hero-img-box img {
  width: 80%;
  margin: 25px auto;
  display: block;
}

body {
  background: #121723;
}

.paragraph {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 136.5%;
  text-align: center;
  color: #FFFFFF;
  margin: 0 auto 24px auto;
}

.download-btn,
.download-btn:active,
.download-btn:link,
.download-btn:hover,
.download-btn:visited {
  background: #1ED9E7;
  border-radius: 50px;
  width: 226px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1D2934;
  text-decoration: none;
  margin: auto;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 136.5%;
}

.download-btn:last-of-type {
  margin-bottom: 24px;
}

.color-grey {
  background: #E2E2E2 !important;
  margin-top: 16px !important;
}

.text-box, .blue-border {
  border: 1px solid #1ED9E7;
  border-radius: 25px;
  margin-bottom: 60px;
  padding: 0 15px;
}

.without-border {
  border: none !important;
}

.install-page-header {
  padding-top: 50px;
}

.blue-border ul {
  list-style: decimal;
  padding-left: 28px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: normal;
  line-height: 136.5%;
  color: #FFFFFF;
}

.blue-border ul li {
  list-style: decimal;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 136.5%;
  color: #FFFFFF;
}

.blue-border a,
.blue-border a:hover,
.blue-border a:active,
.blue-border a:link,
.blue-border a:visited {
  color: #1ED9E7;
}

.code-p {
  background: #1ED9E7;
  color: #1D2934;
  padding: 5px;
  border-radius: 4px;
}

.blue-border-img {
  border: 1px solid #1ED9E7;
  border-radius: 25px;
  padding: 15px;
  max-width: max-content;
  margin: 0 auto 30px;
}

.pb-25 {
  padding-bottom: 25px !important;
}

.blue-border img {
  width: 100%;
}

.blue-border-img img {
  width: 100%;
}

.git-link {
  color: white;
}

.git-link:visited {
  color: white;
  text-decoration: underline;
}

.header-p {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 136.5%;
  color: #ffffff;
  padding: 10px;
}

.top-header-p {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 136.5%;
  color: #ffffff;
  padding: 10px;
  text-align: center;
  margin-bottom: 24px;
}

.color-blue {
  color: #1ED9E7;
}

.blue-border img {

  width: 100%;
  max-width: 500px;
  margin: auto;
  display: block;
}


.blue-border .bottom-p {
  text-align: left;
}

.top-p {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 136.5%;
  text-align: center;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  background: #121723;
  width: min-content;
  margin: -26px auto 0;
  padding: 10px;
}

.bottom-p {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 136.5%;
  text-align: center;
  color: #FFFFFF;
  margin-top: 0;
  padding: 10px;
}

h2 {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin-bottom: 60px;
  margin-top: 60px;
  padding: 0 50px;
}

h2:last-of-type {
  margin-top: 0px;
}

.margin-16 {
  padding: 0 16px;
}

.img-box-slider div {
  width: 30%;
}

.img-box-slider img {
  width: 100%;
  height: auto;
}

.img-box-slider {
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
}

.blue-box {
  background: #1ED9E7;
  border-radius: 12px;
  padding: 24px 17px;
}

.blue-box p {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 136.5%;

  /* or 22px */
  text-align: center;

  /* 1D2934 (Alt Dark) */
  color: #1D2934;

}

.blue-box p:first-of-type {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 120.5%;
  text-align: center;
  letter-spacing: 0.03em;
  color: #111A22;
}

.text-image-box img {
  display: block;
  margin: auto;
  margin-top: 24px;
}

.text-image-box .top-p {
  margin: 0 auto;

}

footer {
  height: 64px;
  background: #1D2934;
  display: flex;
  justify-content: center;
}

footer a img {
  width: 32px;
  height: auto;
  margin: 0 8px;
}

footer a {
  display: flex;
  align-items: center;
}

a.lang-link, a.lang-link:visited {
  color: #fadd4b;
  text-decoration: none;
  margin-right: 5px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: bold;
}

@media (min-width: 768px) {
  .margin-16, .hero {
    padding: 0 80px;
  }
  .nav {
    padding-right: 80px;
    padding-left: 80px;
  }
}

.side-screens {
  display: none;
}


@media (min-width: 992px) {
  .top-header-p {
    font-size: 28px;
  }

  .blue-border ul li {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 136.5%;
    color: #ffffff;
  }
  .margin-16, .hero {
    padding: 0 80px;
  }
  .nav {
    padding-right: 80px;
    padding-left: 80px;
  }

  .hero-first-block {
    width: 70%;
    order: 1;
  }
  .hero-third-block {
    width: 30%;
    order: 2;
  }
  .hero-second-block {
    width: 100%;
    order: 3;
  }

  .hero-third-block .download-btn {
    max-width: 290px;
    width: 100%;
    height: 48px;
    font-size: 16px;
  }

  .paragraph {
    font-size: 16px;
    padding-bottom: 32px;
    margin-bottom: 0;
  }

  .telegram-btn,
  .telegram-btn:active,
  .telegram-btn:link,
  .telegram-btn:hover,
  .telegram-btn:visited {
    width: 200px;
    height: 48px;
    font-size: 16px;
  }

  .nav-yellow-link,
  .nav-yellow-link:active,
  .nav-yellow-link:link,
  .nav-yellow-link:hover,
  .nav-yellow-link:visited {
    width: 32px;
    height: 32px;
  }

  .nav-logo-box {
    width: 77px;
  }



  .text-box, .big-box {
    width: 45%;
  }

  .big-box {
    align-self: flex-start;
  }
  .top-p {
    margin: 0;
    width: 100%;
    font-size: 24px;
    padding: 16px 0;
  }
  .bottom-p {
    font-size: 16px;
  }

  .blue-box div p:first-of-type {
    margin: 0;
    width: 100%;
    font-size: 24px;
    padding: 16px 0;
  }

  .blue-box div p:last-of-type {
    font-size: 16px;
  }

  footer {
    margin-top: 112px;
    height: 64px;
  }
  footer a img {
    width: 32px;
    height: auto;
    margin: 0 8px;
  }
  footer a {
    display: flex;
    align-items: center;
  }

  .boxes .top-p {
    width: 350px;
    margin: -32px auto 0;
  }
  .boxes .top-p.custom-p {
    margin-top: -54px;
  }

  .side-screens {
    display: block;
  }

  .img-box-slider div {
    width: 18%;
  }

  h2 {
    font-size: 40px;
    padding: 35px 0 85px;
    margin: 0;
  }

  h2 {
    padding-top: 85px;
  }

  h2.second {
    margin-top: 0px;
    padding: 35px 0 85px;
  }
}


