@font-face {
    font-family: "Atkinson";
    font-weight: normal;
    font-style: normal;
    src: url("../fonts/Atkinson-Hyperlegible-Regular-102a.woff2") format('woff2'),
         url("../fonts/Atkinson-Hyperlegible-Regular-102.woff") format('woff'),
         url("../fonts/Atkinson-Hyperlegible-Regular-102.eot") format('eot');
}

@font-face {
    font-family: "Atkinson";
    font-weight: bold;
    font-style: normal;
    src: url("../fonts/Atkinson-Hyperlegible-Bold-102a.woff2") format('woff2'),
         url("../fonts/Atkinson-Hyperlegible-Bold-102.woff") format('woff'),
         url("../fonts/Atkinson-Hyperlegible-Bold-102.eot") format('eot');
}

@font-face {
    font-family: "Atkinson";
    font-weight: normal;
    font-style: italic;
    src: url("../fonts/Atkinson-Hyperlegible-Italic-102a.woff2") format('woff2'),
         url("../fonts/Atkinson-Hyperlegible-Italic-102.woff") format('woff'),
         url("../fonts/Atkinson-Hyperlegible-Italic-102.eot") format('eot');
}
* {
    box-sizing: border-box;
}
body {
    background-image: linear-gradient(90deg, #FFEB97 0%, #FFF6BC 97%);                
    font-family: "Atkinson", sans-serif;
    line-height: 1.5;
    margin: 0;
}            
@media screen and (min-width: 60em) {
    .wrapper {
        display: grid;
        grid-template-columns: 60% 40%;
        grid-template-rows: 16em 1fr auto;
        margin: 0 auto;
        max-width: 60em;
    }
    header,
    footer {
      grid-column: 1 / -1;
    }
}
.sticky {
    position: sticky;
    top: 1em;
}
.newsletter-content {
    font-size: 1.2em;
    border-radius: .5em;
    padding: 1em;
    margin: 2em 0;
}
@media screen and (min-width: 60em) {
    .newsletter-content {
        margin: 0;
    }
}

.newsletter-content h1 + p,
.newsletter-content h1 + h3 {
    font-size: 1.2em;
    line-height: 1.4;
    color: #333;
    margin-top: 0;
}

@media screen and (max-width: 30em) {
    .newsletter-content h1 + p,
    .newsletter-content h1 + h3 {
        font-size:  1.1em;
    }
}

a {
    background-image: linear-gradient(0deg,#85C4FF,#85C4FF);
    color: #17426A;
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 2px;
    text-decoration: none;
}
a:hover {
    transition: all 300ms;
    background-size: 100% 2.8em;
    color: #255688;
}
.newsletter-image {
    max-width: 100%;
}
main {
    background: white;
}
aside {
    padding: 0 1.5em;                
}
aside h2 {
    margin:  0;
}            

/* Form */

.newsletter-form {
    align-content: stretch;
    align-items: stretch;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.email-group {
    flex: max-content;
}

.newsletter-form-pair {
    width: 100%;
    margin-bottom: 1em;
}

.newsletter-form-pair > * {
    display: block;
    width: 100%;
    max-width: 100%;
}

.newsletter-form-pair label {
    color: #666;
    font-size: .8em;
}

.newsletter-form-input {
    font-size: 16px;
    border: none;
    border-radius: .2em 0 0 .2em;
    font-family: sans-serif;
    padding: 1em .5em;
    background: #FFF;
}

.btn {
    font-size: 16px;
    border-radius: .2em;
    background-color: rgb(9, 47, 112);
    border: 0;
    padding: 1em 1em;
    font-family: sans-serif;
    font-weight: 600;
    cursor: pointer;
    color: #FFF;
    width: 100%;
}

.newsletter-form-input + .btn {
    border-radius: 0 .3em .3em 0;    
}

.headshot {
    height: 170px;
    width: 170px;
    background-color: rgb(201,215,228);
    border-radius: 100% 100%;
    border: 6px solid #FFF;
    display: block;
    position: relative;
    margin: 0 auto;
    box-shadow: 0px 2px 8px rgba(0,0,0,.2);
}


header {
    text-align: center;
    padding-top:  1em;
}

header .site-title {
    background: url(../img/the-backlog-logo.svg) no-repeat center bottom;
    background-size: contain;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem 0;
    text-indent: 200%;
    font-size: 0;
    width: 100%;
    height: 6rem;
}

header .site-description {
    max-width: 30em;
    margin: 0 auto;
    padding: 0 1em .5em 1em;
}

header .site-description p {
    margin: 0;
}

header nav a + a {
    margin-left: 1em;
}

footer {
    text-align: center;
    padding: 2em 1em 10em 1em;
    background: url(../img/mailbox.svg) no-repeat center bottom;
    background-size: 8em auto;
    min-height: 13rem;
}

footer > * {
}

.newsletter-content h1 {
    position: sticky;
    top: 0;
    background: white;
    padding: 1rem 0;
    margin-bottom: 0;
    margin-top: 0;
    box-shadow: 0 5px 10px rgba(255,255,255,.8);
}

@media screen and (max-width: 30em) {
    .newsletter-content h1 {
        white-space: nowrap;
        font-size: 1.6em;
    }
}