@font-face{
    font-family: "Figtree";
    src: url(assets/fonts/static/Figtree-Medium.ttf);
    font-weight: 500;
    font-style: normal;
}

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

@font-face{
    font-family: "Figtree";
    src: url(assets/fonts/static/Figtree-ExtraBold.ttf);
    font-weight: 800;
    font-style: bold;
}

:root{
    /*Colors*/
    --yellow:hsl(47, 88%, 63%);
    --white:hsl(0, 0%, 100%);
    --lightGray:hsl(0, 0%, 42%);
    --darkGray:hsl(0, 0%, 7%);
    --blue:hsl(228, 45%, 44%);
}

*{
    box-sizing: border-box;
    margin:0;
    padding: 0;
    font-size: 16px;
    font-family: var(--family);
}

body{
    background-color: var(--yellow);
}

main{
    background-color: var(--white);
    display: block;
    margin: 12rem auto 1rem;
    padding: 1.5rem;
    width: 24rem;
    height: 33rem;
    border-radius: 5%/4%;
    border: 1px solid var(--darkGray);
    box-shadow: 0.5rem 0.5rem var(--darkGray);
}

#container{
    display: flex;
    flex-direction: column;
    row-gap: 1.1rem;
}

#wallpaper{
    border-radius: 5%/4%;
    margin-bottom: 0.3rem;
}

#learning{
    background-color: var(--yellow);
    width: 25%;
    height: 5%;
        font-family: 'Figtree';
        font-weight: bold;
    padding: 0.3rem;
    text-align: center;
    border-radius: 8%/9%;
    color: var(--darkGray);
}

#data{
    color: var(--darkGray);
        font-family: 'Figtree';
        font-weight: 650;
}

h1{
        font-family: "Figtree";
        font-weight: 1000;
        font-style: normal;
        font-size: 1.5rem;
    width: 90%;
}

h1:hover{
    cursor: pointer;
    color: var(--yellow);
}

#description{
    color: var(--lightGray);
        font-family: 'Figtree';
        font-weight: normal;
    width: 97%;
    line-height: 1.5rem;
}

#aboutAuthor{
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 1rem;
}

#authorIcon{
    width: 2.5rem;
    height: 2.5rem;
}

#authorName{
    font-family: 'Figtree';
    font-weight: bold;
}

.attribution{
    color: var(--darkGray);
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

a{
    color:var(--blue);
}

@media screen and (max-width: 375px) {
    *{
        font-size: 14px;
    }
}