:root {
  --color-body: #eef5f9;
  --color-card: #fbfbfb;
  --color-primary: #454545e0;
  --color-btn: #2f8994;
  --color-btn-hover: #2b818c;
  --color-text: #8b8b8b;
  --color-white: #f5f5f5;
  --color-bg: #d1d9dd;
}

body {
  background-color: var(--color-body);
}

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

.link_visual {
  text-decoration: underline;
  color: #000;
}


.username .style26 {
  background: linear-gradient(90deg, #0095dd 0%, #f1094b 100%,#0095dd);
    background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card {
  background-color: var(--color-card);
}

.rounded-3 {
  border-radius: 10px !important;
}

.dropdown-menu {
  border-radius: 0;
  -webkit-box-shadow: 0 5px 12px 0px rgba(0, 0, 0, 0.24);
          box-shadow: 0 5px 12px 0px rgba(0, 0, 0, 0.24);
  background-color: #fff;
  border: none;
  padding: 0;
}

.dropdown-item {
  color: #000;
  height: 42px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  padding-inline: 10px;
  font-size: 14px;
}
.dropdown-item:hover {
  color: #000;
  background-color: #eee;
}


.block__header {
  display: grid;
  grid-gap: 10px;
  
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  grid-template-areas: "header-sort header-update header-addpost";
}
.block__header-sort {
  grid-area: header-sort;
}
.block__header-sort .btn-sort {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
  height: 36px;
  border-radius: 8px;
  color: #000;
  padding-inline: 13px;
  background-color: #eee;
  font-size: 14px;
  border: none;
  outline: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.block__header-sort .btn-sort:focus {
  -webkit-box-shadow: 0 0 0px 2px rgb(30, 136, 229);
          box-shadow: 0 0 0px 2px rgb(30, 136, 229);
}

.block__header-update {
  grid-area: header-update;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.block__header-update:hover {
  background: #eee;
}

.block__header-addpost {
  grid-area: header-addpost;
  justify-self: end;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--color-btn);
  height: 34px;
  padding-inline: 20px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 500;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  border-radius: 8px;
}
.block__header-addpost:hover {
  background: var(--color-btn-hover);
  color: var(--color-white);
}
.block__links-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;

  color: var(--color-primary);
  font-weight: 500;
  height: 40px;
  border-radius: 10px;
  -webkit-transition: background 0.15s;
  transition: background 0.15s;
  padding-inline: 10px;
  font-size: 14px;
}
.block__links-item span {
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
  text-overflow: ellipsis;
}
.block__links-item:hover {
  color: var(--color-primary);
  background-color: #eee;
}

.block__card {
  display: grid;
  grid-template-columns: 1fr 207px;
  grid-gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 74px;
  padding-inline: 12px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.block__card:hover {
  background-color: #eee;
}
.block__card:hover .hover-options {
  opacity: 1;
}
.block__card .title {
  color: #000;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  font-size: 16px;
}
.block__card .hover-options {
  opacity: 0;
}
.block__card .info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  font-size: 13px;
  color: rgb(148, 148, 148);
}
.block__card .info-login {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  color: rgb(148, 148, 148);
}
.block__card .info-login::after {
  content: "";
  width: 3px;
  height: 3px;
  display: block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border-radius: 50%;
  background-color: rgb(34, 142, 93);
  margin-top: 3px;
}
.block__card .info-login:hover {
  text-decoration: underline;
}
.block__card .info-like, .block__card .info-comm {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}
.block__card .info-like svg, .block__card .info-comm svg {
  color: rgb(82, 80, 80);
  margin-top: 3px;
  opacity: 0.5;
}
.block__card .info-favorites, .block__card .info-hide {
  opacity: 0.5;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.block__card .info-favorites svg, .block__card .info-hide svg {
  color: rgb(148, 148, 148);
}
.block__card .info-favorites:hover, .block__card .info-hide:hover {
  opacity: 1;
}
.block__card .author {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-gap: 0 10px;
  grid-template-areas: "author-avatar author-login" "author-avatar author-date";
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.block__card .author-avatar {
  grid-area: author-avatar;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.block__card .author-login {
  grid-area: author-login;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.block__card .author-login:hover {
  text-decoration: underline;
}
.block__card .author-date {
  grid-area: author-date;
  color: rgb(148, 148, 148);
  font-size: 13px;
}

@media screen and (max-width: 768px) {
  .block__card {
    grid-template-columns: 1fr;
  }
  .block__card .author {
    display: none;
  }
  .block__header {
    grid-template-columns: 1fr 36px;
    grid-template-areas: "header-sort header-update" "header-addpost header-addpost";
  }
  .block__header-addpost {
    justify-self: start;
    width: 100%;
  }
}

.bym {
  background-color: var(--color-bg);
  display: flex;
  max-width: 1600px;
  flex-direction: column;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  
}