@import url("./reset.css");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto";
}

.container {
  max-width: 1440px;
  width: 100%;
  padding-inline: 60px;
  margin: 0 auto;
}

.header-top {
  padding-block: 10px;
  background-color: #202223;
  color: #fff;
  font-weight: 700;
  font-size: 12px;

  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  span:nth-of-type(2) {
    display: flex;
    gap: 6px;
  }
}

.header-logo {
  padding-block: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-btns {
  display: flex;
  align-items: center;
  gap: 8px;

  a {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.4s ease;

    &:first-of-type {
      border-radius: 4px;
      border: 1px solid #1691db;
      background-color: #1691db;

      &:hover {
        color: #fff;
        background-color: #006db1;
      }
    }

    &:last-of-type {
      color: #202223;
      border-radius: 4px;
      border: 1px solid #202223;
      background: #fff;

      &:hover {
        background-color: #ceecff;
      }
    }

    &:hover {
      text-decoration: none;
    }
  }
}

.header-links {
  border-top: 1px solid #e0e1e2;
  border-bottom: 4px solid #e0e1e2;

  .container {
    display: flex;
    align-items: center;
    padding-block: 16px;
    justify-content: space-between;
    gap: 20px;
    max-width: 700px;
  }

  a {
    color: #202223;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
  }
}

.link-active {
  color: #81888c !important;
}

.plenkvs-main {
  padding-top: 40px;
  padding-bottom: 90px;
}

.breadcrumps {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;

  span:first-of-type {
    font-size: 24px;
  }

  span:nth-of-type(2n) {
    margin: 0 6px;
  }
}

.article {
  max-width: 1060px;
  width: 100%;
}

.article-title {
  color: #202223;
  font-family: "Times New Roman";
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  margin-bottom: 30px;
}

.article-author {
  display: flex;
  gap: 16px;
}

.author-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #606669;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  max-height: 50px;
}

.author-photo {
  border-radius: 50%;
  max-width: 64px;
  width: 100%;
}

.author-name a {
  color: #1691db;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 21px;
}

.author-time {
  display: flex;
  gap: 8px;
  align-items: center;

  img:last-of-type {
    margin-left: 8px;
  }
}

.article-body {
  max-width: 844px;
  margin: 40px 0 0 auto;

  img {
    width: 100%;
  }
}

.paragraph:first-of-type {
  margin-top: 30px;
}

.paragraph {
  margin-bottom: 22px;
  font-size: 18px;
}

.empty {
  background: #d9d9d9;
  min-height: 400px;
}

.image-desc {
  margin: 10px auto 22px auto;
  text-align: center;
  color: #7d818a;
  text-align: center;
  font-size: 18px;
  font-style: italic;
  line-height: 28px;
}

.link {
  color: #1868db;
  font-weight: 700;
}

.subtitle {
  color: #202223;
  font-size: 30px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 30px;
}

.line {
  position: relative;
  padding: 6px 0 6px 30px;
}

.line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  height: 100%;
  background-color: #1868db;
}

.step {
  padding: 16px 16px 16px 18px;
  color: #222;
  font-size: 20px;
  line-height: 30px;
  border-radius: 6px;
  border-left: 3px solid #1868db;
  background: #e3e3e3;
  margin-bottom: 16px;
}

.form-wrapper {
  max-width: 450px;
  margin: 0 auto;
  scroll-margin-top: 100px;
}

@media (max-width: 1440px) {
  .container {
    padding-inline: 40px;
  }

  .header-links {
    .container {
      max-width: 100%;
    }
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 16px;
  }

  .dt-only {
    display: none !important;
  }

  .header-logo {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .header-links {
    display: none;
  }

  .article-author {
    align-items: flex-start;
  }

  .author-time {
    flex-wrap: wrap;

    img:last-of-type {
      margin-left: 0;
    }
  }

  .author-info {
    max-height: 100%;
    gap: 10px;
  }

  .header {
    border-bottom: 4px solid #e0e1e2;
  }
}

.footer-logo {
  margin: 0 auto 50px auto;
}

.footer-copy {
  margin: 0 auto 40px auto;
  max-width: 560px;
  color: #6b6e76;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
}
.card-bg-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #ecf2fb;
  border-radius: 25px;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-right: 5px;
  padding-left: 5px;
  color: #10316a;
  text-decoration: none;
  margin-bottom: 24px;
}
.card-bg-link .link-title {
  font-size: 24px;
  margin-bottom: 24px;
  text-align: center;
}
.card-bg-link .link-spots {
  font-size: 30px;
  font-weight: 700;
}
