:root {
  --first-color: #b698fc;
  --second-color: #585858;
  --third-color: #0e1604;
  --fourth-color: #5e5e5e;
  --enable: #75c668;
  --disable: #c4c4c4;
}

.network {
  font-family: 'Roboto', sans-serif;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  height: 100vh;
  background-color: white;
  max-width: 1000px;
  min-height: 100vh;
  margin: 0 auto;
}

.network__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 118px;
  padding: 0 30px;
  background: var(--first-color);
}

.network__logo {
  width: 86px;
  height: 70px;
}

.network img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.network__avatar-small {
  overflow: hidden;
  width: 86px;
  height: 86px;
  border-radius: 50%;
}

.network__content {
  padding: 14px;
}

@media (min-aspect-ratio: 3/4) {
  .network__content {
    padding: 22px 32px;
  }
}

.network__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  grid-template-rows: auto;
}

@media (min-aspect-ratio: 3/4) {
  .network__info {
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr;
  }
}

.network__avatar {
  aspect-ratio: 1;
  overflow: hidden;
  flex-shrink: 0;
  max-width: 196px;
  max-height: 196px;
  margin: 0 auto;
  border-radius: 50%;
}

@media (min-aspect-ratio: 3/4) {
  .network__avatar {
    margin: 0;
  }
}

.network__main-info {
  width: 100%;
}

.network__buttons {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  width: fit-content;
  margin: 0 auto;
}

@media (min-aspect-ratio: 3/4) {
  .network__buttons {
    margin: 0;
  }
}

.network__send {
  background: var(--first-color);
}

.network__send.inactive {
  pointer-events: none;
  background: var(--second-color);
}

@media (min-aspect-ratio: 3/4) {
  .network__send {
    width: 78px;
    height: 78px;
  }
}

.network__send span {
  color: white;
}

.network button.network__send {
  cursor: pointer;
  transition: .3s ease;
}

.network button.network__send:hover {
  opacity: .7;
}

.network button.network__send:active {
  opacity: 1;
}

.network__send div {
  width: 25px;
  height: 35px;
}

@media (min-aspect-ratio: 3/4) {
  .network__send div {
    width: 50px;
    height: 70px;
  }
}

.network__action {
  display: flex;
  align-items: center;
  width: fit-content;
  min-width: fit-content;
  padding: 0 10px;
  border: 2px solid var(--first-color);
  border-radius: 38px;
}

.network__action.inactive {
  border: 2px solid var(--second-color);
}

@media (min-aspect-ratio: 3/4) {
  .network__action {
    min-width: 272px;
    padding: 0 18px;
  }
}

.network__action div {
  flex-shrink: 0;
  width: 25px;
  height: 17px;
}

@media (min-aspect-ratio: 3/4) {
  .network__action div {
    width: 50px;
    height: 35px;
  }
}

.network__action span {
  flex-shrink: 0;
  margin: 0 auto;
  font-size: 22px;
}

@media (min-aspect-ratio: 3/4) {
  .network__action span {
    font-size: 30px;
  }
}

.network__add {
  background: transparent;
}

.network__add span {
  color: var(--first-color);
}

.network__name {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0;
}

@media (min-aspect-ratio: 3/4) {
  .network__name {
    justify-content: start;
  }
}

.network__name h1 {
  width: fit-content;
  margin: 0 10px 0 0;
  color: var(--first-color);
  font-size: 32px;
  font-weight: 700;
}

.network__mark {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--disable);
}

.network__mark-active {
  background: var(--enable);
}

.network p {
  margin: 0;
  color: var(--second-color);
  font-size: 14px;
  line-height: 18px;
}

@media (min-aspect-ratio: 3/4) {
  .network  p {
    font-size: 18px;
    line-height: 22px;
  }
}

.network__main-info p {
  margin-top: 10px;
}

.network section:not(:last-child) {
  margin-bottom: 12px;
}

.network__description b {
  font-weight: 500;
}

.network__count {
  display: flex;
  margin-bottom: 8px;
}

.network h2 {
  margin: 0 0 10px 0;
  color: var(--third-color);
  font-size: 24px;
  font-weight: 700;
}

@media (min-aspect-ratio: 3/4) {
  .network  h2 {
    font-size: 28px;
  }
}

.network__count h2 {
  margin: 0;
}

.network__count span {
  margin-left: 8px;
  color: var(--third-color);
  font-size: 26px;
  font-weight: 400;
}

@media (min-aspect-ratio: 3/4) {
  .network__count span {
    font-size: 30px;
  }
}

.network__icons {
  display: flex;
  overflow-y: hidden;
  overflow-x: scroll;
}

.network__icon {
  text-align: center;
}

.network__icon:not(:last-child) {
  margin-right: 24px;
}

.network__icon div {
  overflow: hidden;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.network__icon h5 {
  margin: 0;
  font-size: 16px;
  font-weight: normal;
}

@media (min-aspect-ratio: 3/4) {
  .network__icon h5 {
    font-size: 20px;
  }
}

.network__song {
  display: flex;
  align-items: center;
}

.network__song:not(:last-child) {
  margin-bottom: 16px;
}

.network__song-icon {
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 20px;
  border-radius: 11px;
}

.network__song-info {
  display: grid;
  margin-right: auto;
}

.network__song-info span {
  font-size: 24px;
}

@media (min-aspect-ratio: 3/4) {
  .network__song-info span {
    font-size: 30px;
  }
}

.network__like {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.network__like-hidden {
  display: none;
}

.network__time {
  margin-left: 14px;
  font-size: 22px;
}

@media (min-aspect-ratio: 3/4) {
  .network__time {
    font-size: 30px;
  }
}

.network__image {
  overflow: hidden;
  width: 364px;
  height: 298px;
  border-radius: 20px;
}

.network__post {
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 0px 1px 1px rgba(0, 0, 0, .25);
}

.network__post.highlighted {
  box-shadow: 0 0px 2px 1px rgba(255, 187, 0, 0.521);
}

.network__post:not(:last-child) {
  margin-bottom: 22px;
}

.network__post-main {
  display: flex;
}

.network__post-avatar {
  overflow: hidden;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  border-radius: 50%;
}

@media (min-aspect-ratio: 3/4) {
  .network__post-avatar {
    width: 84px;
    height: 84px;
  }
}

.network__post-content {
  width: 100%;
}

.network__post-header {
  display: flex;
  align-items: center;
}

.network__post-header h4 {
  margin: 0 auto 0 0;
  color: var(--third-color);
  font-size: 22px;
  font-weight: 700;
}

@media (min-aspect-ratio: 3/4) {
  .network__post-header h4 {
    font-size: 30px;
  }
}

.network__post-header span {
  color: var(--fourth-color);
  font-size: 14px;
}

@media (min-aspect-ratio: 3/4) {
  .network__post-header span {
    font-size: 18px;
  }
}

.network__post-content p {
  word-break: break-word;
  margin-top: 10px;
  color: var(--third-color);
  font-size: 14px;
  line-height: 18px;
}

@media (min-aspect-ratio: 3/4) {
  .network__post-content p {
    font-size: 18px;
    line-height: 22px;
  }
}

.network__post-footer {
  display: flex;
  align-items: center;
  margin-top: 16px;
}

.network__likes {
  margin-right: 10px;
  cursor: pointer;
}

.network__post-footer span {
  color: var(--first-color);
  font-size: 14px;
  font-weight: 500;
}

@media (min-aspect-ratio: 3/4) {
  .network__post-footer span {
    font-size: 18px;
  }
}

.network__bubble {
  margin: 0 10px 0 16px;
  cursor: pointer;
}

.network__arrow {
  margin-left: auto;
  cursor: pointer;
}

.forward_me {
  animation: forwardme 4s ease-in-out infinite;
}

.forward_me:hover {
  animation: none !important;
}


.network__arrow > img, .network__likes > img {
  margin: 0 auto;
  position: absolute;
  left: 0;
  top: 0;
}

@keyframes flicker {
  0% {opacity: 0;}
  50% {opacity: 1;}
  100% {opacity: 0;}
}


.flicker {
  animation: flicker 4s linear 2s infinite;
}

.flicker:hover {
  animation: none !important;
}


.network__likes, .network__bubble, .network__arrow {
  position: relative;
  width: 40px;
  height: 40px;
}

@media (min-aspect-ratio: 3/4) {
  .network__likes, .network__bubble, .network__arrow {
    width: 50px;
    height: 50px;
  }
}

@keyframes forwardme {
  0%, 10%, 20%, 100% {transform: translateX(0);}
  5% {transform: translateX(-0.5em);}
  15% {transform: translateX(-0.5em);}
}
