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

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

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


:root {
    --BGCOLOR: hsl(47, 88%, 63%);
    --BOXSHADOW: hsl(0, 0%, 7%);
    --BGCOLORM: hsl(0, 0%, 100%);
    --FONTCOLOR: hsl(0, 0%, 50%);
    
}

body {
    background-color: var(--BGCOLOR);
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    font-size: 16px; 
}

p {
    margin-left: 1.1rem;
    font-family: "Figtree";

}

.main {
    width: 315px;
    max-height: 500px;
    border: 1px solid;
    border-radius: 15px;
    background-color: var(--BGCOLORM);
    box-shadow: 0.4rem 0.4rem;
}

.main__img1 {
    width: 280px;
    height: auto;
    border-radius: 10px;
    margin: 1.1rem;

}

.main__p1 {
    width: 70px;
    height: 1.5rem;
    background-color: var(--BGCOLOR);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "figtree";
    font-size: 0.7rem;
    font-weight: bolder;
}

.main__p2 {
    margin-top: 1rem;
    font-weight: 300;
    font-size: 0.8rem;
}

h1:focus {
    color:var(--BGCOLOR);
    cursor: pointer;
}

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


.main__h1 {
    margin-top: 1rem;
    margin-left: 1.1rem;
    font-size: 1.3rem;
    font-family: "figtree";
}

.main__p3 {
    margin-top: 1rem;
   font-size: 0.8rem;
   color: var(--FONTCOLOR);
   line-height: 1.3rem;
}

figure {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: "figtree";
    font-weight: bold;
    font-size: 0.8rem;
}

.main__img2 {
    width: 2rem;
    margin: 1.1rem;
}



/* .attribution { font-size: 11px; text-align: center; }

.attribution a { color: hsl(228, 45%, 44%); } */