@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
/*ALT + Z - режет код который за пределом*/

*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: inherit;
}

a,
input,
label,
span,
textarea,
button {
  display: inline-block;
  font-family: inherit;
}

a,
a:hover {
  text-decoration: none;
  color: #000;
}

.img {
  display: block;
  width: 100%;
  height: auto;
}

ul,
ol {
  list-style-type: none;
}

/*-----------------------------------------------------------------------------------------*/

/*создаем переменное через root*/
:root {
  --playfair: "Playfair Display";
  --noto-sans: "Noto Sans";
  --container-width: 1170px;
  --container-padding: 16px;
}

.body {
  font-family: var(--playfair);
  font-weight: 400;
}

.container {
  width: calc(var(--container-width) + (var(--container-padding) * 2));
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

.posts {
  padding: 90px 0;
}

.posts-header {
  text-align: center;
}

.posts-header > * + * {
  margin-top: 3px;
}

.title-2 {
  font-family: var(--playfair);
  font-size: 42px;
  line-height: 1.5;
  font-weight: normal;
}

.subtitle {
  font-family: var(--noto-sans);
  color: #999999;
  font-size: 14px;
  text-transform: uppercase;
}

.posts-list {
  padding: 86px 0 76px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 30px;
  justify-content: center;
}

.post {
  display: flex;
  gap: 30px;
  align-items: center;
  width: 570px;
}

.post-image {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
  background-color: #000;
}

.post-content > * + * {
  margin-top: 10px;
}

.title-3 {
  font-family: var(--playfair);
  font-weight: normal;
  font-size: 20px;
}

.post-content .title-3 {
  padding-right: 70px;
}

/*
.post-content {
  width: 370px;
}
*/

.post-text {
  font-family: var(--noto-sans);
  color: #777777;
  font-size: 14px;
  padding: 0;
}

.title-4 {
  font-family: var(--playfair);
  font-size: 16px;
}

.post-link {
  font-size: 16px;
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.post-icon {
  width: 24px;
  height: 24px;
  padding-top: 1px;
}

.button-menu {
  display: flex;
  justify-content: center;
}

.button {
  font-family: var(--playfair);
  font-size: 16px;
  background-color: white;
  border: 1px solid #f72464;
  width: 229px;
  height: 42px;
  border-radius: 5px;
  color: #696969;
  text-transform: uppercase;
}

.button:hover {
  cursor: pointer;
}

.footer {
  background-color: #000;
  padding: 20px 0;
  color: white;
}

.footer-links {
  text-align: center;
}

.footer-link {
  font-family: var(--noto-sans);
  font-size: 14px;
  color: inherit;
  margin-right: 10px;
  font-weight: 400;
}

.footer-link:last-child {
  margin-right: 0;
}

.footer-link:hover {
  color: yellow;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-row > * + * {
  margin-top: 24px;
}

.social-link {
  padding: 0 8px;
}

.social-link:hover {
  scale: 1.2;
  transition: 0.4s;
}

.copywriter {
  font-family: var(--noto-sans);
  font-size: 14px;
  text-align: center;
}
