html {
  font-family: "Alice", sans-serif;
  font-size: 16px;
  color: #202020;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: auto;
  padding: 40px 12px;
  width: 500px;
  max-width: 100%;
}

.avatar {
  max-width: 100%;
  width: 180px;
  height: 180px;
  margin-bottom: 24px;
  border-radius: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.headline {
  margin: 0;
  font-family: "Oswald", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  font-size: 64px;
  text-align: center;
}
@media (max-width: 576px) {
  .headline {
    font-size: 48px;
  }
}

.description {
  line-height: 1.5;
  font-size: 20px;
  text-align: center;
}

.qr {
  border-radius: 20px;
  margin-top: 32px;
  width: 320px;
  height: 320px;
  -webkit-box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 576px) {
  .qr {
    display: none;
  }
}

.group-buttons {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 12px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  width: 320px;
  max-width: 100%;
}

.link {
  --bg-color: #2CA5E0;
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 20px;
  padding: 4px 20px 4px 16px;
  height: 40px;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  color: #fff;
  background-color: var(--bg-color);
}
@media (max-width: 370px) {
  .link {
    font-size: 14px;
  }
}
.link:hover:before {
  -webkit-transform: translate(-50%, -35%);
          transform: translate(-50%, -35%);
}
.link.is-light {
  --bg-color: rgba(0, 0, 0, 0.2);
  color: inherit;
  background-color: #fff;
}
.link.is-instagram {
  --bg-color: #D92D77;
  background: radial-gradient(100% 384.21% at 100% 148.61%, #EE583F 0%, #D92D77 59.12%, #BD3381 100%);
}
.link.is-vk {
  --bg-color: #4A76A8;
}
.link.is-pikabu {
  --bg-color: #8ac858;
}
.link::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border-radius: 20px;
  width: calc(100% - 8px);
  height: calc(100% - 16px);
  -webkit-box-shadow: 0px 4px 16px var(--bg-color);
          box-shadow: 0px 4px 16px var(--bg-color);
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}
.link .link-icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 10px;
}

.site {
  margin-top: 24px;
  color: inherit;
  text-decoration: none;
}
.site:hover {
  text-decoration: underline;
}