/* Root & HTML */
:root {
  --color-header: #FF6B5A;
  --color-background: #FFF8F6;
  --color-text-dark: #1E1E1E;
  --color-footer-text: #FFF8F6;
  --font-header: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --body-font-size: 1rem;
  --h1-font-size-mb: 3rem;
  --h2-font-size-mb: 2.25rem;
  --h3-font-size-mb: 1.5rem;
  --body-font-size-full: 1.125rem;
  --h1-font-size-full: 3.5rem;
  --h2-font-size-full: 2.5rem;
  --h3-font-size-full: 2rem;
}
html {
    font-size: 16px;
}
/* Utility */
.container {
    max-width: 1440px;
    margin: 0 auto;
}
.hide {
    display: none;
}
/* Typography */
body {
    font-family: var(--font-body);
}
h1,h2,h3 {
    font-family: var(--font-header);
}
h1 {
    font-size: var(--h1-font-size-mb);
}
h2 {
    font-size: var(--h2-font-size-mb);
}
h3 {
    font-size: var(--h3-font-size-mb);
}
/* Main styles */
header {
    background-color: var(--color-header);
    padding: 2rem 1rem;
}
body {
    background-color: var(--color-background);
    color: var(--color-text-dark);
    font-size: var(--body-font-size);
}
footer {
    background-color: var(--color-text-dark);
    color: var(--color-footer-text);
}
img {
    max-width: 30%;
}
svg {
    width: 50px;
}
a:not(footer a) {
    color: var(--color-text-dark);
}
footer a {
    color: var(--color-footer-text);
}
ul {
    list-style-type: none;
    padding: 0;
}
ul li a {
    text-decoration: none;
}
/* header */
header .container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
header ul {
    margin-top: 1.5rem;
}
header ul li {
    padding: .25rem 0;
}
header nav {
    min-width: 80%;
}
/* main */
section {
    margin: 2rem 1rem;
}
section p {
    margin-bottom: 2rem;
}
section img {
    display: block;
    max-width: 100%;
}

/* footer */
footer {
    padding: 2rem 1rem 5rem 1rem;
}
footer img {
    display: block;
    margin-bottom: 1rem;
}
footer p {
    margin-bottom: 2rem;
}
@media (width >= 900px) {
    /* full typography */
    h1 {
        font-size: var(--h1-font-size-full);
    }
    h2 {
        font-size: var(--h2-font-size-full);
    }
    h3 {
        font-size: var(--h3-font-size-full);
    }
    body {
        font-size: var(--body-font-size-full);
    }
    /* main */
    .btn {
        display: none;
    }
    .hide {
        display: block;
    }
    header ul {
        display: flex;
        gap: 2rem;
        margin-top: .5rem;
    }
    header nav {
    min-width: 30%;
    }
    footer .container {
        padding: 1rem;
        display: flex;
        justify-content: space-between;
        flex-flow: row wrap;
    }
    footer img {
        display: block;
        margin-bottom: 1rem;
    }
    footer h3 {
        margin-bottom: .5rem;
    }
    footer ul li {
        margin-bottom: 1rem;
    }
    nav ul a:hover {
        text-decoration: underline;
    }
    footer ul a:hover {
        text-decoration: underline;
    }
}