*{
    margin:0;
    padding:0;
}

body{
    background-color: hsl(47, 88%, 63%);
    font-family: "Figtree", sans-serif;
}

.box{
    display: flex;
    justify-content: center;

}

.card-body{
    display: grid;
    height: 440px;
    width: 320px;
    background-color: hsl(0, 0%, 100%);

    position: fixed;
    inset: 0px;
    margin: auto;

    border-radius: 15px;
    border: 1px solid black;

    box-shadow: 8px 8px black;
}

.picture{
    width:88%;
    border-radius: 14px;
    justify-self: center;
    
    position: relative;
    top:20px
}

.learning{
    position: relative;
    left: 20px;
    top: 25px;
    background-color: hsl(47, 88%, 63%);
    height: 30px;
    max-width: 25%;
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    line-height: 30px;
}

.date{
    position: relative;
    left: 20px;
    top: 20px;
    font-size: 11.5px;
}

.heading{
    color: hsl(0, 0%, 7%);
    position: relative;
    left: 20px;
    top: 10px;
    height: 30px;
    font-size: 18px;
    font-weight: 800;
}

.paragraph{
    position: relative;
    left:5px;
    color: hsl(0, 0%, 42%);
    font-size: 14px;
    line-height: 1.5;
    max-width: 90%;
    justify-self: center;
}

.teacher{
    position: relative;
    left: 20px;
    bottom: 10px;
    display: flex;
    align-items: center;
}

.teacher img{
    width: 30px;
    height: auto;
}

.teacher div{
    position: relative;
    left: 10px;
    font-size: 13px;
    font-weight: 800;
}



