.container {
  padding: 0 2rem;
}

.mainBlock {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.internalBlock{
  margin-top: 20px;
}

.title a {
  color: #0070f3;
  text-decoration: none;
}

.title a:hover,
.title a:focus,
.title a:active {
  text-decoration: underline;
}

.title {
  margin: 0;
  line-height: 1.15;
  font-size: 2rem;
}

.title,
.description {
  text-align: left;
}

.description {
  margin: 1rem 0;
  line-height: 1.5;
  font-size: 1.5rem;
}

.code {
  background: #fafafa;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
    Bitstream Vera Sans Mono, Courier New, monospace;
}

.grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  max-width: 1024px;
}

.card {
  margin: 1rem;
  padding: 1.5rem;
  text-align: left;
  color: inherit;
  text-decoration: none;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  transition: color 0.15s ease, border-color 0.15s ease;
  max-width: 300px;
}

.card:hover,
.card:focus,
.card:active {
  color: #0070f3;
  border-color: #0070f3;
}

.card h2 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
}

.card p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.logo {
  height: 1em;
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .grid {
    width: 100%;
    flex-direction: column;
  }
}

/* Intro */
.Main{
  height: 100vh;
  z-index: 101;
  padding-top: 72px;
  padding-bottom: 42px;
  margin: 0 auto;
}

.Opacity {
  background-color: #000;
  opacity: 0.7;
  height: 100vh;
  max-height: 768px;
  z-index: 100;
}

.Container {
  height: 100vh;
  max-height: 768px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.UpTitle{
  z-index: 999;
  /*font-size: 1.2vw*/
  padding-top: 20px;
  font-weight: 1000;
  text-transform: uppercase;
}

.Title{
  z-index: 999;
  padding: 24px 0 38px 0;
  letter-spacing: .5px;
  /*font-size: 4vw;*/
}

.DnTitle{
  z-index: 999;
 /* font-size: 1.2vw;*/
  font-weight: 1000;
  text-transform: uppercase;
  max-width: 1024px;
}
/* ---- */

/* ---- */

.cardSm {
  width: 50%;
  display: inline-block;
  margin-right: -0.25em;
  padding-left: 10px;
}

.text {
  font-size: 0.8rem;
  padding-top: 10px;
  white-space: pre-line;
}

.blackWhite {
  background-color: #000;
  color: #fff;
}

.marginBottom{
  margin-bottom: 40px;
}

.iframeBox {
  width: 90vw;
  max-width: 800px;
  margin: 0;
  margin-bottom: 20px;
  margin-top: 20px;
}

/* Smartphones (вертикальная и горизонтальная ориентация) ----------- */
@media only screen and (min-width : 320px) and (max-width : 480px) {
  .cardSm {
    width: 90%;
  }
  }