@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/static/Figtree-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/static/Figtree-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html, body {
    height: 100%;
    font-family: 'Figtree', sans-serif;
}


body {
    background-color: hsl(47, 88%, 63%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-container {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
    background-color: white;
    width: 384px;
    border: 1px black solid;
    border-radius: 15px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 7px 7px 0px black;
}

.container-image {
    overflow: hidden;
    height: 200px;
    border: 1px black solid;
    border-radius: 10px;
    margin-bottom: 20px;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-container, .content-category {
    font-size: 14px;
    font-weight: 800;
    color: hsl(0, 0%, 7%);
}

.content-category {
    background-color: hsl(47, 88%, 63%);
    display: inline-block;
    padding: 8px 12px;
    border-radius: 7px;
    margin-bottom: 12px;
}

.publish-date {
    font-size: 14px;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: hsl(0, 0%, 7%);
}

h1:hover {
    cursor: pointer;
    color: hsl(47, 88%, 63%);
}

.content-body {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 150%;
    color: hsl(0, 0%, 42%)
}


.author-container {
    display: flex;
    align-items: center;
}

.image-avatar {
    height: 30px;
    margin-right: 10px;
}

