﻿@font-face {
  font-family: "Arial";
  src: url("../fonts/arial.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial";
  src: url("../fonts/arialbd.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial";
  src: url("../fonts/ariali.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Arial";
  src: url("../fonts/arialbi.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  color: #0a0a0a;
  background: #ffffff;
}

.container {
  max-width: 1020px;
  margin: 0 auto;

}

.header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 15px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  background: #ffffff;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
}

.header__logo-icon {
  display: block;
  width: 30px;
  height: 24px;
}

.header__logo-text {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
}

.header__nav {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  font-size: 16px;
  line-height: 24px;
  color: #6a7282;
}

.header__nav-link {
  color: inherit;
  text-decoration: none;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px 20px;
}

.article__title {
  margin: 0;
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  color: #0a0a0a;
}

.article__info {
  display: flex;
  align-items: center;
  gap: 50px;
  color: #6a7282;
  font-size: 16px;
  line-height: 24px;
}

.article__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article__info-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.article__image {
  width: 100%;
  aspect-ratio: 1440 / 1000;
  border-radius: 10px;
  overflow: hidden;
}

.article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article__text {
  color: #364153;
  font-size: 16px;
  line-height: 26px;
}

.article__text p {
  margin: 0;
}

.article__subtitle {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  color: #364153;
}

.article__paragraph {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #364153;
}

.article__list {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
}

.article__list-item {
  margin: 0;
  line-height: 26px;
  color: #364153;
}

.article__form {
  margin: 20px 0px;
}

.comments {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px 20px;
}

.comments__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comments__heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comments__heading-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.comments__heading-title {
  margin: 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #0a0a0a;
}

.comments__input {
  width: 100%;
  height: 80px;
  padding: 10px 12px;
  border: 1px solid rgba(153, 161, 175, 0.5);
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #0a0a0a;
  background: #ffffff;
  resize: none;
}

.comments__input::placeholder {
  color: #99a1af;
}

.comments__action {
  display: flex;
  justify-content: flex-end;
}

.comments__button {
  padding: 7px 17px;
  border: none;
  border-radius: 8px;
  background: #0a0a0a;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.comments__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comment {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.comment__avatar {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background: #2b7fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
}

.comment__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment__name {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #0a0a0a;
}

.comment__dot,
.comment__date {
  font-size: 14px;
  line-height: 20px;
  color: #6a7282;
}

.comment__text {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: #364153;
}

.comment__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment__action {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 20px;
}

.comment__action-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.comment__action-icon--like {
  width: 13.406px;
}

.comment__action-text {
  font-size: 14px;
  line-height: 20px;
  color: #6a7282;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 20px;
  background: #101828;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
}

.footer__logo-icon {
  width: 30px;
  height: 24px;
  display: block;
}

.footer__logo-text {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #ffffff;
}

.footer__description {
  margin: 0;
  width: 400px;
  font-size: 16px;
  line-height: 24px;
  color: #99a1af;
}

.footer__socials {
  display: flex;
  gap: 16px;
  height: 20px;
}

.footer__social {
  width: 20px;
  height: 20px;
  position: relative;
}

.footer__social-icon {
  position: absolute;
  display: block;
}

.footer__social-icon--twitter {
  inset: 16.63% 8.33% 12.5% 8.33%;
}

.footer__social-icon--git-1 {
  inset: 8.33% 16.62%;
}

.footer__social-icon--git-2 {
  inset: 66.67% 62.5% 22.67% 8.33%;
}

.footer__social-icon--linkedin-1 {
  inset: 33.33% 8.33% 12.5% 41.67%;
}

.footer__social-icon--linkedin-2 {
  inset: 37.5% 75% 12.5% 8.33%;
}

.footer__social-icon--linkedin-3 {
  inset: 8.33% 75% 75% 8.33%;
}

.footer__social-icon--mail-1 {
  inset: 16.67% 8.33%;
}

.footer__social-icon--mail-2 {
  inset: 29.17% 8.33% 45.85% 8.33%;
}

.footer__col {
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  color: #ffffff;
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__item {
  margin: 0;
}

.footer__link {
  font-size: 16px;
  line-height: 24px;
  color: #99a1af;
  text-decoration: none;
}

.footer__link--underline {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.footer__bottom {
  padding-top: 30px;
  border-top: 1px solid #364153;
}

.footer__text {
  font-size: 14px;
  line-height: 20px;
  color: #99a1af;
}

.footer__text-paragraph {
  margin: 0;
}
.header__burger {
  display: none;
}
.link {
  color: blue;
  font-weight: 700;
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .header__nav {
    display: none;
  }
  .header__burger {
    display: block;
  }
  .article__title {
    font-size: 26px;
    line-height: 40px;
  }
  .article__info {
    flex-wrap: wrap;
    gap: 5px 20px;
  }

  .footer__description {
    width: auto;
  }
}
