body {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  color: #24292e;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  font-size: 16px;
  line-height: 1.5;
  word-wrap: break-word
}

body a {
  background-color: transparent
}

body a:active, body a:hover {
  outline-width: 0
}

body h1 {
  font-size: 2em;
  margin: .67em 0
}

body * {
  box-sizing: border-box
}

body a {
  color: inherit;
  text-decoration: none
}

body a:hover {
  text-decoration: none
}

body h1, body h2 {
  margin-bottom: 0;
  margin-top: 0
}

body h1 {
  font-size: 32px
}

body h1, body h2 {
  font-weight: 600
}

body h2 {
  font-size: 24px
}

body p {
  margin-bottom: 10px;
  margin-top: 0
}

body:before {
  content: "";
  display: table
}

body:after {
  clear: both;
  content: "";
  display: table
}

body > :first-child {
  margin-top: 0 !important
}

body > :last-child {
  margin-bottom: 0 !important
}

body p {
  margin-bottom: 16px;
  margin-top: 0
}

body h1, body h2, body h3, body h4, body h5, body h6 {
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 16px;
  margin-top: 24px
}

body h1 {
  font-size: 2em
}

body h2 {
  font-size: 1.5em
}

body {
  box-sizing: border-box;
  min-width: 200px;
  max-width: 1152px;
  margin: 0 auto;
  padding: 45px 0
}

/* header */

header {
  margin-top: 4%;
  padding-top: 2em;
  text-align: center;
}

.image {
  height: 1em;
  min-width: 1em;
  margin: -.4em .1em -.1em 0;
  vertical-align: middle;
  display: inline-block;
  background-size: 1em
}

label.header-image_avatar {
  /*background-image: url('../../static/me.png');*/
  background-image: url('../../static/images/memoji.png');
  border-radius: 10em;
  height: 10em;
  min-width: 10em;
  background-size: 10em;
}

.header-text h1 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-text p {
  margin-top: -11px;
  color: #ACADB2;
}


/* main */
main {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-block {
  min-width: 530px;
  height: 90px;
  margin: 0 20px 25px;
  padding: 14px;
  border-radius: 15px;
  border: 2px solid #f5f6f6;
  transition: 0.3s;
}

.main-block:hover {
  border: 2px solid #d0d0d0;
}

.main-block-wrap {
  display: flex;
}

.block-text {
  margin-left: 21px;
  margin-top: 6px;
  vertical-align: middle;
}

.text-primary {
  font-weight: 600;
}

.text-secondary {
  margin-top: -3px;
  color: #bbbdc2;
}

.block-image_wrap {
  border-radius: 15px;
  width: 60px;
  height: 60px;
  text-align: center;
}

.block-image_wrap label {
  margin: 12px;
}

.block_image {
  background-size: 35px !important;
  background-position: center !important;
  width: 35px !important;
  height: 35px !important;
}

.block-image_wrap.waving {
  background-color: #f9ebd8;
}

.block_image.waving {
  background: url('../../static/images/waving.png') no-repeat;
}

.block-image_wrap.music {
  background-color: #f5f6f6;
}

.block_image.music {
  background: url('../../static/images/music.png') no-repeat;
}

.block-image_wrap.telegram {
  background-color: #D0EFFF;
}

.block_image.telegram {
  background: url('../../static/images/telegram.png') no-repeat;
  border-radius: 100%;
}




@media (max-width: 1143px) {
  main {
    flex-wrap: none;
    flex-direction: column;
    justify-content: center;
  }

  .main-block {
    min-width: 300px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 18px;
    padding: 12px
  }
}

@media (max-width: 555px) {
  .main-block {
    height: auto;
  }
}

@media (prefers-color-scheme: dark) {
  body, body {
    background: #000;
    color: #ccc
  }

  body h1, body h2 {
    color: #eee;
  }

  .main-block {
    border: 2px solid #303030;
  }

  .main-block:hover {
    border: 2px solid #545454;
  }

  .block-image_wrap.waving {
    background-color: #f9ba6450;
  }

  .block-image_wrap.music {
    background-color: #ffffff65;
  }

  .block-image_wrap.telegram {
    background-color: rgba(208, 239, 255, 0.3127);
  }
}
