@import url(./assets_main/css/fonts.css);

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --color-bg: rgba(255, 255, 255, 1);
  --color-text: rgba(0, 0, 0, 1);

  /* Typography */
  --font-base: "Noto Sans SC", sans-serif;
  --font-size-base: 24px;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --line-height-base: 1.3;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background-color: transparent;
}

ul,
ol {
  list-style: none;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.link {
  color: rgba(134, 184, 203, 1);
  font-weight: 700;
}

.link:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* Animations */
.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Header */
.header {
  background: rgba(39, 6, 10, 1);
  padding: 20px 0px;
  border-bottom: 2px solid rgba(134, 184, 203, 1);
}

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

.header__logo-img {
  max-height: 35px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 140px;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 60px;
}

.header__menu-item {
  padding: 2px 0px 12px 0px;
  border-bottom: 3px solid transparent;
}

.header__menu-link {
  font-family: "Noto Serif SC", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  transition: color 0.2s;
}

.header__menu-item.header__menu-item--active {
  font-weight: 700;
  border-bottom: 3px solid rgba(134, 184, 203, 1);
}

.header__menu-link:hover {
  color: #a59fc1;
}

.header__icon-link {
  margin-left: 16px;
}
.header__icon {
  width: 24px;
  height: 24px;
  display: block;
}

.header__burger {
  display: none;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-bottom: 60px;
}

/* Article */
.article {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.article__header {
  text-align: center;
  padding: 60px 0 0 0;
  width: 100%;
  background: linear-gradient(
  180deg,
  rgba(39, 6, 10, 1) 0%,
  rgba(39, 6, 10, 0.5) 50%,
  rgba(39, 6, 10, 0) 100%
);

}

.article__title {
  font-family: "Noto Serif SC", serif;
  color: rgba(255, 255, 255, 1);
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.article__subtitle {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 40px;
}

.article__meta {
  font-family: "Noto Sans SC", sans-serif;
  color: rgba(255, 255, 255, 1);
  font-size: 24px;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-top: 1px solid rgba(134, 184, 203, 1);
  border-bottom: 1px solid rgba(134, 184, 203, 1);
  padding: 20px 0px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.article__meta-label {
  font-weight: 700;
}

.article__meta-date {
  color: rgba(255, 255, 255, 1);
}

.article__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.article__image-wrapper {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.article__caption {
  text-align: center;
  line-height: 1;
  font-size: 18px;
  font-weight: 300;
  border-bottom: 2px solid rgba(134, 184, 203, 1);
  padding: 20px 0px;
}

.article__content h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 32px;
  font-weight: 700;
}

.steps-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: left;
}

.steps-block__item {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(134, 184, 203, 1);
}

.steps-block__step {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 32px;
  margin-right: 40px;
  min-width: 130px;
  flex-shrink: 0;
}

.steps-block__desc {
  font-weight: 400;
  flex: 1;
}

.steps-block__notice {
  text-align: center;
}

/* Comments */
.comments-block__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.comments-block__header {
  font-family: "Noto Serif SC", serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(134, 184, 203, 1);
  padding-bottom: 20px;
}

.comments-block__title {
  font-size: 32px;
  font-weight: 700;
}

.comments-block__sort {
  font-size: 26px;
  font-weight: 700;
}

.comments-block__sort-type {
  font-weight: 700;
  font-size: 20px;
}

.comments-block__form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.comments-block__user {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comments-block__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comments-block__input {
  flex: 1;
  border: 1px solid rgba(134, 184, 203, 1);
  border-radius: 15px;
  font-size: 20px;
  padding: 10px 0px 50px 10px;
  outline: none;
  color: rgba(65, 65, 65, 1);
}

.comments-block__submit-btn {
  padding: 10px 18px;
  background: rgba(134, 184, 203, 1);
  border: 1px solid rgba(134, 184, 203, 1);
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.18s;
}
.comments-block__submit-btn:hover {
  background: #c2d4e6;
}

.comments-block__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comments-block__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 2px solid rgba(134, 184, 203, 1);
  padding-bottom: 20px;
}

.comments-block__item.comments-block__item--reply {
  margin-left: 60px;
}

.comments-block__avatar--comment {
  width: 40px;
  height: 40px;
}

.comments-block__content {
  flex: 1;
}

.comments-block__author {
  font-weight: 700;
  margin-bottom: 10px;
}

.comments-block__text {
  font-size: 20px;
  margin-bottom: 20px;
}

.comments-block__meta {
  font-size: 20px;
  color: rgba(65, 65, 65, 1);
  display: flex;
  align-items: center;
  gap: 20px;
}
.comments-block__like {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comments-block__like:hover {
  opacity: 0.7;
}

/* Footer */
.footer {
  background: rgba(39, 6, 10, 1);
  color: rgba(255, 255, 255, 1);
  padding: 40px 0px;
}

.footer__container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
}

.footer__logo-img {
  height: 35px;
}

.footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
}

.footer__nav-link {
  color: #fff;
  font-weight: 700;
  transition: color 0.18s;
}

.footer__nav-link:hover,
.footer__nav-link--bold {
  color: rgba(134, 184, 203, 1);
}

.footer__disclaimer {
  width: 100%;
  padding: 20px 0px;
  border-top: 1px solid rgba(134, 184, 203, 1);
  border-bottom: 1px solid rgba(134, 184, 203, 1);
}

.footer__disclaimer-text {
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-license {
  border-bottom: 1px solid rgba(134, 184, 203, 1);
  padding-bottom: 20px;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer__copyright {
  font-size: 18px;
}

.lander-form {
  min-width: 500px;
}

/* Tablet */
@media (max-width: 1024px) {
  .container {
    max-width: 664px;
  }

  .header {
    padding: 16px 0px;
  }

  .header__right {
    gap: 40px;
  }

  .header__icon-link {
    margin: 0;
  }

  .header__menu {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .article {
    gap: 60px;
  }

  .article__caption {
    font-size: 14px;
    padding: 20px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .container {
    max-width: 100%;
    padding: 0px 20px;
  }

  .header__logo-img {
    max-height: 26px;
  }

  .header__right {
    gap: 20px;
  }

  .article__title {
    font-size: 32px;
  }

  .article__subtitle {
    font-size: 20px;
  }

  .article__meta {
    font-size: 18px;
    padding: 14px 0px;
  }

  .article__image {
    border-radius: 30px;
  }

  .article__caption {
    font-size: 12px;
  }

  body {
    font-size: 20px;
  }

  .article__content h3 {
    font-size: 28px;
  }

  .steps-block__step {
    font-size: 26px;
    min-width: 104px;
    margin-right: 20px;
  }

  .comments-block__title {
    font-size: 28px;
  }

  .comments-block__sort {
    font-size: 20px;
  }

  .comments-block__sort-type {
    font-size: 16px;
  }

  .comments-block__form {
    gap: 10px;
  }

  .comments-block__input {
    font-size: 18px;
  }

  .comments-block__text {
    font-size: 18px;
  }

  .comments-block__item {
    gap: 10px;
  }

  .comments-block__item.comments-block__item--reply {
    margin-left: 40px;
  }

  .comments-block__meta {
    font-size: 18px;
  }

  .footer__nav-link {
    font-size: 20px;
  }

  .footer__disclaimer {
    font-size: 18px;
  }

  .lander-form  {
    min-width: 100%;
  }
}
