
body{
    background-color:hsl(47, 88%, 63%);
    font-family: "Figtree", sans-serif;
}

.graphic img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.white-card{
    background-color: hsl(0, 0%, 100%);
    border: 2px solid hsl(0, 0%, 7%);
    border-radius: 20px;
    padding: 25px;
    margin: auto;
    width: 400px;
    height: 560px;
    overflow: hidden;

    position: absolute;
    top: 0; /*if we're to put a value like 10, the box would move 10 (idk the units) downward, to make space at the top*/
    bottom: 0;
    left: 0;
    right: 0;

    text-align: left;
    justify-content: left;
}

.black-card{
    background-color: hsl(0, 0%, 7%);
    border-radius: 20px;
    padding: 25px;
    margin: auto;
    width: 400px;
    height: 560px;

    position: absolute;
    top: 20px; /*if we're to put a value like 10, the box would move 10 (idk the units) downward, to make space at the top*/
    bottom: 0;
    left: 20px;
    right: 0;
    z-index: -1;
}

.learning-box{
    font-weight: 900;
    color: hsl(0, 0%, 7%);
    background-color: hsl(47, 88%, 63%);
    padding: 10px 15px 10px 15px;
    border-radius: 5px;
    width: fit-content;
    text-align: center;
}

.date{
    font-weight: 600;
    color: hsl(0, 0%, 7%);
}

.title{
    font-weight: 900;
    font-size: 28px;
    color: hsl(0, 0%, 7%);
}

.title:hover{
    color: hsl(47, 88%, 63%);
}

.description{
    color:hsl(0, 0%, 42%);
    font-size: 20px;
    line-height: 1.3;
}

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

.avatar img{
    width: 70%;
    height: 70%;
    float: left;
}

.name{
    font-weight: 900;
    font-size: 20px;
    color: hsl(0, 0%, 7%);

}