:root {
    /* #ff006e */
    --pink: rgb(255, 0, 110);
    --blue: #3a86ff;
    /* in case we change to semi-transparent */
    --white: #ffffff;
    /* in case we change to an off-black */
    --black: #000000;

    --dim-text: gray;

    --light: 300;
    --regular: 400;
    --semibold: 600;
    --bold: 700;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: linear-gradient(to bottom right, var(--pink), var(--blue) 70%);
    background-attachment: fixed;
}

header {
    position: fixed;
    width: 100%;
    /* these were used for animated menu */
    /* top: -3em;
    transition: top 0.3s; */

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    height: 3em;

    z-index: 10;
}

header .logo {
    margin-right: 1.0em;
}

header .logo img {
    height: 1.5em;
}

.menu ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
}

.menu li {
    height: 3em;
    margin: 0 0.7em;
    text-transform: uppercase;

    display: flex;
    align-items: center;
}

.menu li.active {
    padding-top: 0.2em;
    border-bottom: 0.2em solid white;
}

.menu a {
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-weight: var(--regular);
    color: white;
}

main {
    font-family: 'Bitter', serif;
    font-weight: var(--light);
    font-size: 1.2em;
    line-height: 1.4em;
}

main section {
    margin-bottom: 18em;
    padding-top: 3em;
    padding-bottom: 3em;
    background-color: white;
    color: var(--black);
    box-shadow: 1em 1em 2em -2em rgba(0, 0, 0, 0.75);
    scroll-margin-top: 1em;
}

main section h1 {
    text-align: center;
    margin-bottom: 1em;
}

main section h2 {
    color: var(--blue);
    margin-bottom: 0.5em;
}

main section p,
main section ul {
    margin-bottom: 1em;
    padding-bottom: 0.2em;
    max-width: calc(400px - 2em);
}


main section p.highlight {
    display: block;
    width: 100%;
    max-width: none;
    text-align: center;
    font-weight: var(--semibold);
    font-size: 1.2em;
    padding-left: 2em;
    padding-right: 2em;
}

main section#intro p.highlight {
    font-size: 1.4em;
    line-height: 1.4em;
}

main section li {
    margin-right: 1em;
    margin-bottom: 1em;
    margin-left: 1em;
    padding-bottom: 0.2em;
    max-width: calc(400px - 2em);
}

main section a {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--black);
}

main section a:hover {
    background-color: rgba(255, 0, 110, 0.2);
    border-bottom: none;
    border-bottom: 1px solid var(--pink);
}

main section#intro {
    /* allow for menu */
    padding-top: 3em;
    background: none;
    margin-bottom: 3em;
    min-height: 0px;
    padding-bottom: 1em;
    width: 100%;
    color: var(--white);
    box-shadow: none;
}

main section#intro a {
    color: var(--white);
    border-bottom: 1px solid var(--white);
}

main section#intro .logo {
    width: 80%;
    max-width: 350px;
    height: auto;

    margin: 3em auto 3em auto;
}

main section#contact-us {
    margin-bottom: 0;
}

main section img.feature {
    width: 100%;
}

footer {
    /* background-color: rgba(0, 0, 0, 0.3); */
    background-color: black;
    padding: 1em;
    font-family: 'Bitter', serif;
    font-weight: var(--light);
    font-size: 0.9em;
    text-align: center;
    color: var(--white);

    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    margin-right: 0.5em;
}

footer a {
    color: var(--white);
    padding: 0;
    line-height: 0.9em;
}

.some-rights {
    margin-right: 0.2em;
}

.some-rights a {
    border-bottom: none;
    text-decoration: none;
}


footer a.cc-icon {
    display: inline-block;
    border-bottom: none;
    padding: 0;
    margin-top: 0.4em;
    line-height: 0;
}

h1 {
    font-family: 'Jost', sans-serif;
    font-weight: var(--semibold);
    text-transform: uppercase;
    font-size: 1.8em;
    line-height: 1.2em;
}

h2,
strong {
    font-weight: var(--semibold);
}

.more-link,
.less-link {
    white-space: nowrap;
    border-bottom: none;
}

.expandable-lede.is-active {
    font-weight: 600;
}

.expandable-lede.is-active .more-link {
    display: none;
}

.expandable {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out;
}

.expandable.is-active {
    grid-template-rows: 1fr;
}

.expandable .inner {
    overflow: hidden;
}

.row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5em;
}

label {
    display: block;
    width: 100%;
    font-weight: var(--semibold);
    color: var(--dim-text);
}

label:focus-within {
    color: var(--blue);
}

input,
textarea {
    border-radius: 0.3em;
    width: 100%;
    padding: 0.3em 0.5em;
    border: 2px solid var(--dim-text);
    outline: none !important;
    font-family: 'Bitter', serif;
    font-size: 0.9em;
    font-weight: var(--regular);
}

textarea {
    line-height: 1.2em;
    min-height: 14em;
}

input:focus,
textarea:focus {
    border: 2px solid var(--blue);
}

.btns {
    margin-top: 1em;
}

button {
    font-family: 'Jost', sans-serif;
    font-size: 0.9em;
    text-transform: uppercase;
    padding: 0.4em 1em;
    background-color: var(--pink);
    color: var(--white);
    border: none;
    border-radius: 0.3em;
    width: fit-content;
    justify-self: left;
    cursor: pointer;
}

p.full-width,
p.form-error,
p.form-success {
    max-width: none;
}

p.form-error,
p.form-success {
    border: 3px solid var(--pink);
    border-radius: 0.3em;
    padding: 1em;
    font-weight: var(--semibold);
    margin-top: 1em;
    overflow: hidden;
    opacity: 1;
    height: auto;
}

p.form-error.hiding,
p.form-success.hiding {
    opacity: 0;
    height: 0em;
    padding: 0em;
    border: 0px solid var(--pink);
    margin: 0em;
    transition: opacity 0.5s, height 0.5s, padding 0.5s, border 0.5s, margin 0.5s;
}

p#contact-feedback,
p#signup-feedback {
    /* start as display: none; JS sets this to block */
    display: none;
}

p.form-error {
    background-color: rgba(255, 0, 110, 0.1);
    color: var(--pink);
    border-color: var(--pink);
}

p.form-success {
    background-color: #cdeac0;
    color: #008000;
    border-color: #008000;
}

@media only screen and (max-width: 1023px) {
    div.cols div.col {
        width: 100%;
    }

    main section h2,
    main section p,
    main section ul {
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
        padding: 0 1em;
    }

    main section h2 {
        padding: 0 0.7em;
    }

    main section p.highlight {
        max-width: 22em;
    }

    .has-feature {
        display: flex;
        justify-content: center;
    }

    main section img.feature {
        max-width: 300px;
        margin: 0em 1em 1em 1em;
    }

    main section#intro p.highlight {
        max-width: 32em;
    }

    .row {
        padding: 0 1em;
    }

    /* lastName not needed, as .row does this */
    #signup-firstName {
        margin-bottom: 0.5em;
    }

    #contact-us h2 {
        margin: 0 0 0.3em 0;
    }

    form {
        margin-bottom: 2em;
    }

    p.form-error,
    p.form-success {
        margin-left: 1em;
        margin-right: 1em;
    }
}

@media only screen and (min-width: 1024px) {
    div.cols {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    div.cols.x2 div.col {
        width: 50%;
        margin-right: 1.1em;
        margin-left: 1.1em;
    }

    div.cols.x3 div.col {
        width: 33.3333333%;
        margin-right: 0.7em;
        margin-left: 0.7em;
    }

    main section img.feature {
        max-width: 400px;
    }

    main section#intro p.highlight {
        text-align: left;
    }

    #signup-form .cols.x2 {
        padding: 0;
    }

    #signup-form .cols.x2 .col:first-child {
        margin-left: 0;
    }

    #signup-form .cols.x2 .col:last-child {
        margin-right: 0;
    }
}