@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

*{
    font-family: "Figtree", sans-serif ;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --Yellow: hsl(47, 88%, 63%);
    --White: hsl(0, 0%, 100%);
    --Grey: hsl(0, 0%, 50%);
    --Black: hsl(0, 0%, 7%);
    font-size: 16px;
}

body{
    height: 100vh;
    background-color: var(--Yellow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.container{
    background-color: var(--White);
    max-width: 310px;
    padding: 20px;
    border:1px solid var(--Black) ;
    border-radius: 15px;

    box-shadow: 6px 6px;
}
.container .image{
    text-align: center;
    border-radius: 15px;
}
.container .image img{
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.container .text-learning{
    font-size: 12px;
    display: inline-block;
    background-color: var(--Yellow);
    color: var(--Black);
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 18px;
}
.container>p{
    font-size: 12px;
    margin-top: 10px;
    font-weight: 500;
}
.container .content-part>h3{
    font-weight: 800;
    margin: 12px 0px;
    font-size: 20px;
}
.container .content-part>p{
    color: var(--Grey);
    font-size: 13px;
}
.container .end-part{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.container .end-part>img{
    height: 30px;
}
.container .end-part>span{
    font-size: 12px;
    font-weight: 800;
}

.container .content-part h3:hover{
    cursor: pointer;
    color: var(--Yellow);
}
.container:hover {
    box-shadow: 10px 10px;
}



.attribution { 
    font-size: 11px; 
    text-align: center;
    position: absolute;
    bottom: 0; 
}
.attribution a { color: hsl(228, 45%, 44%); }