* {
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
  background: #f5f5f5;
  padding-top: 46px;
}
.header {
  padding: 6px 0;
  background-color: #0050B3;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}
.header-block {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.user {
  display: flex;
  align-items: center;
}
.user-avatar {
  margin-right: 8px;
}
.user-name {
  color: #fff;
  font-size: 14px;
  font-family: 600px;
}
.search-input {
  width: 336px;
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  font-size: 14px;
  line-height: 22px;
  padding: 5px 30px 5px 12px;
  background-image: url(../images/vector.svg);
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.navigation {
  display: flex;
  align-items: center;
}
.navigation-panel {
  margin-left: 12px;
  display: flex;
  align-items: center;
}
.navigation-link {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 22px;
  margin-left: 12px;
}
.navigation-link:before {
  content: "";
  width: 1px;
  height: 16px;
  background: blue;
  margin-right: 12px;
}
.navigation-link:last-child:after {
  content: "";
  width: 1px;
  height: 16px;
  background: blue;
  margin-left: 12px;
}
.icons-panel {
  display: flex;
  align-items: center;
}
.icons-link {
  margin-left: 17px;
}
.icons-link:hover {
  transform: translateY(-3px);
}
.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}
.menu-sidebar {
  width: 192px;
  margin-right: 12px;
  max-width: 192px;
  margin-top: 18px;
}
.menu-sidebar .user {
  padding-left: 10px;
}
.menu-sidebar .user-avatar {
  width: 24px;
  height: 24px;
}
.menu-sidebar .user-name {
  color: #262626;
  font-size: 14px;
  line-height: 22px;
  font-weight: normal;
}
.nav-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 24px;
  margin-top: 12px;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  color: #595959;
  line-height: 22px;
  font-weight: normal;
  font-size: 14px;
}
.nav-link.active {
  background: #fff;
  color: #262626;
}
.nav-text {
  margin-left: 8px;
}
.nav-title {
  color: #262626;
  font-size: 12px;
  line-height: 20px;
  padding-left: 10px;
  margin-bottom: 4px;
  margin-top: 0;
}
.main-feed {
  flex-grow: 1;
  max-width: 588px;
  margin-top: 18px;
}
.create-post {
  background: #FFFFFF;
  /* Elevation 1 */
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  overflow: hidden;
}
.create-post-header {
  margin-bottom: 16px;
  padding: 9px 16px;
  background: #f5f5f5;
}
.create-post-header .create-post-title {
  margin: 0;
  color: #595959;
  font-size: 14px;
  line-height: 22px;
}
.create-post-body {
  display: flex;
  align-items: flex-start;
  padding-top: 16px;
  padding-bottom: 24px;
  padding-left: 16px;
  padding-right: 16px;
}
.create-post-input {
  padding-top: 8px;
  width: 100%;
  word-wrap: break-word;
}
.create-post-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 16px 16px 16px;
}
.create-post-footer:before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #e8e8e8;
  margin-bottom: 16px;
}
.create-post-footer .tag {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 48px;
  border: none;
  padding: 9px 12px;
  margin-right: 8px;
}
.tag-icon {
  margin-right: 8px;
}
.post {
  background: #FFFFFF;
  margin: 16px 0;
  padding: 16px;
  /* Elevation 1 */
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.post-header {
  display: flex;
  justify-content: space-between;
}
.post-header .user-avatar {
  width: 48px;
  height: 48px;
  margin-right: 12px;
}
.post-info {
  display: flex;
  flex-wrap: wrap;
}
.post-button {
  background-color: #fff;
  border: none;
  cursor: pointer;
}
.post-author {
  width: 100%;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
}
.post-time {
  font-weight: normal;
  font-size: 14px;
  line-height: 22px;
  color: #8c8c8c;
}
.post-time:after {
  display: inline-block;
  content: "";
  height: 4px;
  width: 4px;
  background-color: #bfbfbf;
  border-radius: 50%;
  margin-right: 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.post-info-time {
  display: flex;
  align-items: center;
}
.post-text {
  font-size: 14px;
  line-height: 22px;
  color: #595959;
  margin-bottom: 16px;
}
.post-text a {
  color: skyblue;
  text-decoration: none;
}
.post-image {
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  max-width: 100%;
}
.likes {
  margin-top: 9px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
}
.likes-counter {
  color: #595959;
  font-weight: normal;
  font-size: 14px;
  line-height: 22px;
  margin-left: 4px;
}
.post-footer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.post-footer:before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #e8e8e8;
  margin-bottom: 16px;
}
.post-button {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: none;
  cursor: pointer;
}
.post-button-text {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  color: #595959;
  margin-left: 8px;
}
.right-sidebar {
  width: 384px;
}
.stories {
  background: #FFFFFF;
  margin-top: 16px;
  padding: 16px;
  padding-left: 24px;
  margin-left: 24px;
  /* Elevation 1 */
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.stories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.stories-title {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  /* identical to box height, or 157% */
  /* Grey / grey-9 */
  color: #262626;
}
.stories-buttons {
  display: flex;
  align-items: center;
}
.story-button-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 22px;
  /* identical to box height, or 157% */
  /* Daybreak Blue / blue-8 */
  color: #0050B3;
  text-decoration: none;
}
.story-button-link:first-child:after {
  content: '';
  width: 4px;
  height: 4px;
  background-color: #BFBFBF;
  border-radius: 50%;
  margin: 0 8px;
}
.story-item-add,
.story-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 16px;
}
.story-image {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #F5F5F5;
  flex-shrink: 0;
  border-radius: 50%;
  /* Grey / grey-5 */
  border: 1px solid #D9D9D9;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  /* identical to box height, or 140% */
  /* Daybreak Blue / blue-6 */
  color: #1890FF;
  margin-right: 12px;
}
.story-title {
  display: block;
  width: 100%;
  font-size: 14px;
  line-height: 22px;
  /* identical to box height, or 157% */
  display: flex;
  align-items: center;
  /* Daybreak Blue / blue-8 */
  color: #0050B3;
}
.story-text {
  font-size: 14px;
  line-height: 22px;
  /* identical to box height, or 157% */
  display: flex;
  align-items: center;
  /* Grey / grey-7 */
  color: #8C8C8C;
  word-wrap: break-word;
  overflow: hidden;
}
.figma {
  background-image: url(images/avatar.png);
  background-size: cover;
}
.m-menu {
  padding: 0;
  border: none;
  width: 32px;
  height: 32px;
  background-color: transparent;
  display: none;
  flex-direction: column;
  justify-content: space-around;
  margin-left: 8px;
}
.m-menu .line {
  width: 100%;
  height: 1px;
  background-color: white;
}
@media (max-width: 1250px) {
  .container {
    justify-content: flex-start;
  }
  .right-sidebar {
    display: none;
  }
  .header-block {
    width: 95%;
  }
}
@media (max-width: 960px) {
  .header .user {
    display: none;
  }
  .navigation-panel {
    display: none;
  }
}
@media (max-width: 840px) {
  .menu-sidebar {
    position: fixed;
    left: 0;
    top: 25px;
    width: 100%;
    max-width: 250px;
    background-color: #f1f1f1;
    padding-top: 12px;
    height: 100%;
    padding-left: 2%;
    transform: translateX(-100%);
    transition: transform .2s;
  }
  .menu-sidebar.active {
    transform: translateX(0%);
  }
  .m-menu {
    display: flex;
  }
}
@media (max-width: 760px) {
  .search {
    display: none;
  }
}
