body {
    margin: 0;
}

header {
    background-color: #4B8B8B;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header img {
    width: 2.5em;
    height: 2.5em;
}

.logo {
    display: flex;
    align-items: center;
}

header h1 {
    color: white;
    font-size: 2em;
    margin: 0 0 0 0.5em;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: white;
    font-size: 1.2em;
    margin-right: 1em;
    text-decoration: none;
}

.menu-icon {
    width: 2em;
    height: 2em;
}

.sub {
    background-color: #E6E6E6;
    text-align: center;
    padding: 1.25em;
    border-bottom: 0.1em solid #ccc;
}

.sub h1 {
    font-size: 1.5em;
    color: #222;
}

.sub p {
    font-size: 0.9em;
    color: #555;
}

section {
    padding: 1.25em;
    padding-bottom: 5em;
    border-bottom: 0.3em solid #D1C4A5;
    position: relative;
}

section h2 {
    font-size: 2em;
    color: #FFFFFF;
}

.site-text {
    color: #4B8B8B;
}

section p, section li {
    font-size: 0.9em;
    line-height: 1.4;
    color: #333;
}

.pill {
    background-color: #E8D5A5;
}

.patch {
    background-color: #E0C896;
}

.drink {
    background-color: #F0E0B5;
}

.learn-more {
    position: absolute;
    bottom: 2em;
    width: 7em;
    right: 10em;
}

.card-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1.25em;
    justify-content: center;
}

.card {
    flex: 1 1 16em;
    background-color: #F7E4A5;
    border: 0.2em solid #D1C4A5;
    padding: 1.25em;
    position: relative;
    margin: 0.6em;
}

.card h3 {
    color: #4B8B8B;
}

.card p {
    font-size: 0.9em;
    line-height: 1.4;
    color: #333;
}

.card .back-btn {
    position: absolute;
    bottom: 1em;
    right: 1em;
    width: 6em;
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1em;
    }
    nav a {
        margin-bottom: 0.5em;
    }
    .learn-more {
        right: 1em;
    }
}