@import url('https://fonts.googleapis.com/css2?family=Bowlby+One&display=swap');

:root {
    --black: #414141;
    --gray: #808080;
    --lighter-gray: #f4f4f4;
    --white: #FFFFFF;

    --blue: #3e53a6;
    --green: #688c81;
}

html {
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: var(--black);
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

p, ul {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray);
}

a {
    color: var(--blue);
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

p:not(:last-child), ul:not(:last-child), ol:not(:last-child) {
    margin-bottom: 1rem;
}

ul li, ol li {
    font-size: 1.25rem;
    line-height: 1.3;

    list-style: outside;
    margin-bottom: .7rem;
    margin-left: 2rem;

    color: var(--gray);
}

ul li {
    list-style: disc;
}

ol li {
    list-style: decimal;
}

li ul {
    margin-top: .5rem;
}

.branded {
    font-family: 'Bowlby One', sans-serif;
}

.container {
    padding: 0 3rem;
    margin: 0 auto;
    max-width: 65rem;
}

header {
    padding: 22rem 0 3rem;
}

header h1 {
    font-family: 'Bowlby One', sans-serif;
    font-size: 4rem;
}

section {
    position: relative;
    padding: 2rem 0 3rem;
    background-color: var(--white);
    --box-color: var(--white);
}

section:nth-of-type(2n+1) {
    background-color: var(--lighter-gray);
}

section p {
    color: var(--gray);
}

section.callout {
    color: var(--white);
}

section.callout p {
    color: inherit;
}

img {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-around;
}

footer {
    background-color: var(--black);
    color: var(--white);
    padding: 2rem 0
}

footer p {
    font-size: 1rem;
}

footer a {
    color: var(--white);
}

section.dark, section.callout {
    background-color: var(--blue);
    color: var(--white);
}

button:hover {
     transform: translateY(-1px);
     box-shadow: 0 7px 14px rgba(50, 50, 93, .10), 0 3px 6px rgba(0, 0, 0, .08);
     background-color: #43458b;
 }

button {
    border: none;
    border-radius: 4px;
    outline: none;
    text-decoration: none;
    color: #fff;
    background: var(--blue);
    white-space: nowrap;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 14px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.025em;
    -webkit-transition: all 150ms ease;
    transition: all 150ms ease;
    overflow: visible;
    position: relative;
    cursor: pointer;
}

button, select {
    text-transform: none;
}

form {
    background-color: var(--lighter-gray);
    padding: 2rem;
}

label {
    display: block;
    margin-bottom: .5rem;
    font-weight: bold;
}

input {
    display: inline-block;
    margin-right: 1rem;
}

input[type=number], input[type=text], input[type=email] {
    display: block;
    margin-bottom: 1rem;
    padding: .3rem;
    font-size: 1rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
}

input[type=number] {
    width: 6rem;
}

fieldset {
    margin-bottom: 1rem;
}

.message {
    background-color: var(--green);
    color: var(--white);
    font-weight: 700;
    padding: 2rem;
    text-align: center;
}

@media (max-width: 650px) {
    html {
        font-size: 12px;
    }

    .container {
        padding: 0 2rem;
    }

    header {
        padding-bottom: 1rem;
    }

    h1 {
        font-size: 3rem;
    }

    section {
        padding-bottom: 2rem;
    }
}
