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

body {
    background-color: rgb(255, 205, 57);
}

.container {
    display: grid;
    justify-content: center;
    margin-top: 8rem;
}

.inner_container {
    width: 350px;
    height: 550px;
    margin-right: 2rem;
    background-color: white;
    display: grid;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    border-radius: 2rem;
    box-shadow: 10px 20px;
}

.top_img {
    margin-top: 1.2rem;
    display: grid;
    justify-content: center;
}

.top_img img {
    width: 310px;
    border-radius: 1rem;
}

.learn {
    width: 5.8rem;
    margin: 1.3rem 0 -.1rem 0.2rem;
    padding: .5rem 1rem;
    border-radius: .3rem;
    font-size: .8rem;
    font-family: "Figtree", sans-serif;
    background-color: rgb(255, 205, 57);
}

.date {
    margin: 0.8rem 0 0 0.2rem;
    font-family: "Figtree", sans-serif;
}

.header {
    margin: 1rem 0 0.7rem 0.2rem;
    font-size: 1rem;
    font-family: "Figtree", sans-serif;
}

.header a {
    text-decoration: none;
    color: black;
}

.header a:hover {
    color: rgb(255, 205, 57);
}

.intro {
    font-size: .98rem;
    margin-left: 0.2rem;
    font-family: "Figtree", sans-serif;
    line-height: 1.5rem;
    color: rgb(155, 155, 155);
}

.person_container {
    display: flex;
    margin-bottom: 1rem;
    margin: 1rem 0 1rem 0;
}

.head_img img {
    width: 35px;
    margin-right: .7rem;
}

.head_text {
    padding-top: .6rem;
}

.head_text p {
    font-weight: 800;
    font-family: "Figtree", sans-serif;
}

.attribution { 
    font-size: 14px; 
    text-align: center; 
    margin-top: 5rem; 
}

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

@media (max-width: 375px) {
    .container {
        max-width: 100%;
        margin: auto;
    }

    .inner_container {
        width: 300px;
        height: 480px;
        margin-top: 3rem;
        padding-left: 1rem;
    }
    
    .top_img img {
        width: 90%;
    }

    .learn {
        width: 5rem;
        margin: 0 0 -.1rem .1rem;
        font-size: .7rem;
    }

    .date {
        margin: 0 0 0 .1rem;
        font-family: "Figtree", sans-serif;
        font-size: .8rem;
    }

    .header {
        margin: 0 0 0.7rem 0.1rem;
        font-size: .8rem;
    }

    .intro {
        font-size: .8rem;
        margin-left: .1rem;
        margin: 0 .1rem .1rem .1rem;
        line-height: 1.5rem;
        color: rgb(155, 155, 155);
    }

    .head_img img {
        width: 28px;
        margin-right: .7rem;
    }

    .head_text {
        padding-top: .4rem;
    }

    .head_text p {
        font-weight: 800;
        font-size: .8rem;
        font-family: "Figtree", sans-serif;
    }

}
