#focus-country {
    margin: 0.5rem 0;
    height: initial;
}

#country-form {
    display: flex;
    width: fit-content;
    margin: auto;
    margin-top: 0.5rem;
}

#country-form>* {
    min-width: 100%;
}

#country-form>:last-child {
    justify-content: stretch;
}

#country-form input[value="View Country Data"] {
    width: 100%;
}

main {
    height: 100%;
    overflow-y: auto;
}

main>article {
    max-width: 750px;
    margin: auto;
    margin-top: 3rem;
}

main>article h2 {
    padding: 0.2rem;
    margin-bottom: 0.2rem;
}

main>article h3, main>article h4 {
    margin-bottom: 0.3rem;
}

main>article p {
    text-align: justify;
    margin-bottom: 0.5rem;
}

#why-it-matters, #components {
    margin-bottom: 1.5rem;
}

#why-it-matters>ul {
    list-style: none;
    display: grid;
    grid-template-columns: 6fr 6fr;
    column-gap: 1rem;
    row-gap: 1rem;
}

#why-it-matters li {
    border-radius: 4px;
    height: fit-content;
}

#why-it-matters details {
    padding: 0.3rem;
    background-color: rgba(255,255,255,0.3);
}

#why-it-matters summary {
    cursor: pointer;
}

#why-it-matters p {
    margin: 0;
    padding: 0.5rem 1.2rem;
    text-align: left;
}

#components {
    border-radius: 10px;
    background-color: var(--offwhite);
    padding: 0.5rem;
}

#components h3 {
    margin-bottom: 0.5rem;
}

#components>div {
    margin-bottom: 1rem;
}

ul.component-sources {
    list-style: none;
}

ul.component-sources a{
    text-decoration: none;
    color: var(--primary);
    font-style: italic;
    font-size: 0.85rem;
}

ul.component-sources a:visited{
    color: var(--primary);
}