@font-face {
  font-family: 'Satisfy';
  font-style: normal;
  font-weight: 400;
  src: local('Satisfy Regular'), local('Satisfy-Regular'),
       url('../fonts/satisfy-v10-latin-regular.woff2') format('woff2'),
       url('../fonts/satisfy-v10-latin-regular.woff') format('woff');
}

@font-face {
  font-family: 'Sorts Mill Goudy';
  font-style: normal;
  font-weight: 400;
  src: local('Sorts Mill Goudy Regular'), local('SortsMillGoudy-Regular'),
       url('../fonts/sorts-mill-goudy-v9-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/sorts-mill-goudy-v9-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
  font-family: 'Sorts Mill Goudy';
  font-style: italic;
  font-weight: 400;
  src: local('Sorts Mill Goudy Italic'), local('SortsMillGoudy-Italic'),
       url('../fonts/sorts-mill-goudy-v9-latin-ext_latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/sorts-mill-goudy-v9-latin-ext_latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 100%;
    font-family: 'Sorts Mill Goudy';
    color: #222;
    background-color: #f5f5f5;
}

h1, h2 {
    font-family: 'Satisfy';
    font-weight: normal;
}

h1 {
    font-size: 2em;
    margin-bottom: -0.2em;
}

h2 {
    font-size: 1em;
}

h3 {
    font-size: 2em;
}

p {
    margin-bottom: 1em;
}

img {
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
}

form {
    display: flex;
}

input[type=email] {
    -webkit-appearance: none;
    border: 1px solid #222;
    border-radius: 0;
    background-color: #fff;
    padding: 0.5em;
    width: 16em;
}

input[type=submit] {
    -webkit-appearance: none;
    margin-left: -1px;
    border: 1px solid #222;
    border-radius: 0;
    background-color: #111;
    color: #f5f5f5;
    font-weight: bold;
    padding: 0.5rem 1rem;
}

input[type=submit]:active {
    background-color: #BE2A3B;
}

#header {
    padding: 1em 0 2em 0;
    text-align: center;
}

#content {
    margin: 0 2em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3em;
    flex-wrap: wrap-reverse;
}

#thanks {
    flex-basis: 45em;
}

#product-photo {
    flex-basis: 40%;
    flex-shrink: 0;
    flex-grow: 1;
}

#call-to-action {
    flex-basis: 40%;
    flex-shrink: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spacer:first-child {
    flex: 1 1 30% ;
}

.spacer:last-child {
    flex: 1 1 70% ;
}

@media (min-width:36em) {
    h1 {
        font-size: 3em;
        margin-bottom: -0.2em;
    }

    h2 {
        font-size: 1.5em;
    }
}
