/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}
/*
    2. Remove default margin
  */
* {
    margin: 0;
}
/*
    3. Allow percentage-based heights in the application
  */
html,
body {
    height: 100%;
    font-family: sans-serif;
}
/*
    Typographic tweaks!
    4. Add accessible line-height
    5. Improve text rendering
  */
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
/*
    6. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}
/*
    7. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
    font: inherit;
}
/*
    8. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* ------------------------------------------------------------------------------------------ */

body {
    padding-block: 2rem;
}

a {
    text-decoration: none;
    color: #696969;
}
a:hover {
    text-decoration: underline;
    color: #000;
}

p:not(:last-child) {
    margin-bottom: .5em;
}

.container {
    width: min(800px, 100% - 2rem);
    margin-inline: auto;
}

.img-wrapper {
    display: grid;
    place-items: center;
}

.headlines {
    margin-block: 2rem;
    text-align: center;
}

ul {
    margin-bottom: 2rem;
}

h3 {
    text-align: center;
    margin-bottom: 1em;
}

.content h3 {
    color: #696969;
}

footer {
    margin-top: 3rem;
    padding: 2rem 1rem;
    background-color: #f6f6f6;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 800px) {
    .two-columns {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    .footer-content {
        padding: 1rem;
        flex-direction: row;
        gap: 3rem;
    }
}
