/* Стандартные стили для компьютеров */
@font-face {
  font-family: "Figtree";
  font-weight: 500, 800;
  src: url("../assets/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
}

body {
  background-color: #f4d04e;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: Figtree;
}

.container {
  background-color: #ffffff;
  height: auto;
  width: 384px;
  border-radius: 20px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid #111111;
  box-shadow: 8px 8px 0px #000000;
}

.container-main-image {
  background-image: url("../assets/images/illustration-article.svg");
  height: 200px;
  width: 100%;
  background-size: cover;
  border-radius: 10px;
  background-position: center;
}

.container-text {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.learning-text {
  background-color: #f4d04e;
  color: #111111;
  border-radius: 4px;
  margin: 0;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 150%;
  letter-spacing: 0px;
  width: fit-content;
}

.time-text {
  color: #111111;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0px;
  width: fit-content;
}

.big-text {
  color: #111111;
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 150%;
  letter-spacing: 0px;
  width: 100%;
  cursor: pointer;
  transition: color 0.3s ease;
}

.big-text:hover {
  color: #f4d04e;
}

.text-description {
  color: #6b6b6b;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0px;
  width: 100%;
}

.attribution {
  font-size: 11px;
  text-align: center;
  display: none;
}

.author {
  width: fit-content;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.userpic {
  background-image: url("../assets/images/image-avatar.webp");
  width: 32px;
  height: 32px;
  background-size: cover;
  background-position: center;
}

.authorname {
  color: #111111;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 150%;
  letter-spacing: 0px;
  width: fit-content;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

/* Адаптация для мобильной версии 
@media (max-width: 480px) {
  .container {
    width: 327px;
    height: 501px;
  }

  .container-main-image {
    width: 279px;
  }

  .container-text {
    width: 279px;
    height: 173px;
  }

  .learning-text {
    font-size: 12px;
  }

  .time-text {
    font-size: 12px;
  }

  .big-text {
    font-size: 20px;
  }

  .text-description {
    font-size: 14px;
  }
}
*/
