@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/Montserrat-Medium.ttf) format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Montserrat-SemiBold.ttf) format("woff2");
}
@font-face {
  font-family: "Helvetica Neue";
  font-style: normal;
  font-weight: 400;
  src:
    local("Helvetica Neue"),
    url("/fonts/HelveticaNeue-Roman.woff") format("woff");
}

@font-face {
  font-family: "Helvetica Neue";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/TK3iWkUHHAIjg752GT8G.woff2) format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Inter_18pt-Regular.ttf) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/Inter_18pt-Bold.ttf) format("woff2");
}
@font-face {
  font-family: "Segoe UI";
  src: url("/fonts/Segoe UI.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  position: relative;
}
header {
  padding: 25px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;

  a {
    text-decoration: none;
    color: #003662;
    font-family: Montserrat;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
  }
}
header ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
header .left-part {
  display: flex;
  align-items: center;
  gap: 36px;
}
header .right-part {
  display: flex;
  align-items: center;
  gap: 28px;
}
header .sign-in {
  display: flex;
  align-items: center;
  gap: 8px;
}
header .logo {
  display: none;
}
header .left-part .logo {
  display: block;
}

main.container {
  max-width: 874px;
  margin-left: 148px;
  margin-top: 60px;
  margin-bottom: 138px;
}
main h1 {
  color: #26292b;
  font-family: Montserrat;
  font-size: 25px;
  font-weight: 600;
  line-height: 150%;
}
main p {
  color: #26292b;
  font-family: "Helvetica Neue", sans-serif;

  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
}
main h2 {
  color: #26292b;
  font-family: Montserrat;
  font-size: 25px;
  font-weight: 500;
  line-height: 150%;
}
main p a,
main h2 a {
  color: #005fff;
  text-decoration: none;
}
.img-wrap {
  position: relative;
  display: inline-block;
  margin-left: 30px;
  margin-top: 30px;
  width: 100%;
  max-width: 842px;
}

.img-wrap::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100%;
  height: 100%;
  background: #eceff3;
  z-index: -1;
}

.img-wrap img {
  display: block;
  width: 100%;
}
.main-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.about-post p {
  color: #4f4f4f;
  font-family: "Segoe UI";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.mt-category {
  display: flex;
  gap: 8px;
  align-items: center;
  p {
    color: #4f4f4f;
    font-family: "Segoe UI";
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }
  a {
    color: #005fff;
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
  }
}
.content-block-40 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.content-block-30 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.content-block-42 {
  display: flex;
  flex-direction: column;
  gap: 42px;
}
.content-block-20 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.img-content {
  margin-top: 18px;
  margin-left: 30px;
  color: #4f4f4f;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}
.accent-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  p,
  ul {
    padding: 28px 22px;
    border-radius: 16px;
    background: #e4e4e4;
    border-left: 4px solid #e60505;
  }
  ul {
    margin-left: 30px;
    padding-left: 44px;
  }
  p,
  li {
    color: #4c4c4c;
    font-family: "Helvetica Neue";
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
  }
}
.about-author {
  width: 100%;
  max-width: 842px;

  margin-left: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 90px;
}
.post-menu {
  display: flex;
  align-items: center;
  gap: 85px;
  flex-wrap: wrap;
  border-top: 1px solid #ddd;
  padding-top: 8px;
}
.pm-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4f4f4f;
  font-family: "Helvetica Neue";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  text-decoration: none;
}
.author {
  display: flex;
  gap: 16px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 32px;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  span {
    color: #005fff;
    font-family: Inter;
    font-size: 14px;
    font-weight: 700;
    line-height: 130%;
  }
  p {
    color: #26292b;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
  }
}
.author-info .social-media {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 4px;
  a {
    text-decoration: none;
  }
}
.posters {
  display: flex;
  align-items: center;
  gap: 18px;
  img {
    width: 100%;
    max-width: 422px;
  }
}

.footer-top {
  padding-block: 24px;
  border-top: 1px solid #ddd;
}
.footer-top ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  list-style: none;
  a {
    color: #26292b;
    font-family: "Helvetica Neue";
    font-size: 14px;
    font-weight: 700;
    line-height: 140%;
    text-decoration-line: underline;
    text-decoration-style: solid;
  }
}
.footer-main {
  background: #26292b;
  padding-inline: 24px;
}
.footer-block-top {
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer p,
footer a {
  color: #fff;
  font-family: "Helvetica Neue";
  font-size: 14px;
  font-weight: 700;
  line-height: 140%;
}
.footer-main-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  row-gap: 24px;
}
.fm-column {
  width: 100%;
  max-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom {
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #4f4f4f;
}
.footer-block-top2 {
  display: none;
}
.social-media-fix {
  display: inline-flex;
  padding: 16px 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 0 4px 4px 0;
  background: #003662;
  position: fixed;
  top: 128px;
  left: 0px;
}
@media (max-width: 1360px) {
  header ul {
    display: none;
  }
  header .logo {
    display: block;
    margin-right: 56px;
  }
  header .left-part .logo {
    display: none;
  }
  header .sign-in {
    display: none;
  }
  header {
    padding: 28px 25px;
  }
}

@media (max-width: 1050px) {
  main {
    padding-right: 26px;
  }
  main.container {
    width: 100%;
    max-width: 664px;
    margin-left: 0;
    padding-left: 56px;
    margin-top: 42px;
    margin-bottom: 100px;
  }
  .img-wrap {
    margin-left: 22px;
    margin-top: 22px;
    width: auto;
  }
  .img-wrap::before {
    top: -22px;
    left: -22px;
  }
  .img-content {
    margin-top: 14px;
    margin-left: 22px;
  }
  .about-author {
    max-width: 100%;
    margin-left: 0;
    padding-inline: 26px;
  }
}
@media (max-width: 700px) {
  .footer-top ul {
    justify-content: flex-start;
    padding-inline: 24px;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  main {
    padding-right: 20px;
  }
  main.container {
    padding-left: 20px;
  }
  .img-wrap {
    margin-left: 14px;
    margin-top: 14px;
    width: auto;
  }
  .img-wrap::before {
    top: -14px;
    left: -14px;
  }
  .img-content {
    margin-top: 14px;
    margin-left: 14px;
  }
  .content-block-40 {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .content-block-30 {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .content-block-42 {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .content-block-20 {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .post-menu {
    justify-content: space-between;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
  .posters {
    display: none;
  }
  .fm-column {
    max-width: 130px;
  }
  .footer-block-top2 {
    display: block;
    p {
      padding-block: 24px;
      text-align: center;
    }
    .x {
      padding-block: 24px;
      border-bottom: 1px solid #4f4f4f;
      display: flex;
      justify-content: center;
    }
  }
  .footer-block-top {
    display: none;
  }
  .social-media-fix {
    display: none;
  }
}
