@font-face {
  font-family: "Figtree";
  src: url("./assets/fonts/Figtree-VariableFont_wght.ttf"),
    url("./assets/fonts/Figtree-Italic-VariableFont_wght.ttf");
}

body {
  background-color: rgb(246,208,80);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Figtree";
  font-style: normal;
  height: 100vh;
  overflow: hidden;
}

p{
    margin: 10px;
}

.container {
  background-color: white;
  border-radius: 10px;
  margin: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  max-width: 340px;
  border: 2px solid black;
  box-shadow: 5px 5px rgb(0, 0, 0);
}

.image {
  border-radius: 10px;
  width: fit-content;
}

.learning{
    background-color: rgb(246,208,80); 
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    width: fit-content;
    font-size: 20px;
}

.title{
    font-weight: 900;
    font-size: 30;
}

.description{
    color: rgb(120, 120, 120);
}

.author{
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}

.author p{
    font-weight: 600;
    font-size: 16px;
}

.avatar{
    width: 40px;
}