/* fonts & font sizes:

font-family: 'Montserrat', sans-serif; 

Small:

h1: 2.25rem
h2: 1.3125rem
body: 1rem
small: 0.625rem

Large:

h1: 3.5rem
h2: 1.75rem
body: 1.125rem
small: 0.625rem

Font-weight:

Bold: 900
Regular: 400

*/

/* Colors: 
 

Primary: #F18119
Dark: #404040
Light: #FFF
Gradient: #FF713B  - #FFA51D

*/

/* Buttons: 

Must have a hover and focus state.
Must have 2 classes:
    - generic
    - modifier

*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #404040;
    line-height: 1.6;
}

/* Typography  */

h1 {
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1.2;
}

h2 {
    font-size: 1.75rem;
    margin-top: 2em;
    margin-bottom: 0;
    line-height: normal;
}

.hero-sub,
.top-text,
h2 + p {
    color: #F18119;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
}

.hero-sub,
.content-sub {
    font-size: 1.1rem;
    /* margin-bottom: 2em; */
    margin-top: 0;
}

.top-text {
    order: -1;
    border-top: 6px solid;
    border-image: linear-gradient(45deg, rgba(255,113,59,1) 0%, rgba(255,165,29,1) 100%) 1;
    padding-top: 3px;
    font-size: .625rem;
    margin: 0;
}

.content-body {
    margin: 2em 0;
}
 
strong {
    font-weight: 900;
    letter-spacing: 1px;
}


.hero-title {
    color: #FFF;
}

.fine-print {
    font-size: 0.7rem;
    font-weight: 500;
    width: 50%;
    margin: 1em auto;
}

.hero *,
.content * {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
 
}

/* Layout  */

.hero {
    background-image: url('../images/jon-tyson-kctt4tL1dkE-unsplash.jpg');
    background-color: #555555;
    background-blend-mode: multiply;
    background-position: center;
    background-size: cover;
    text-align: center;
    min-height: 50vh;
    margin: 0 auto;
    padding: 0 .5em 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.container {
    max-width: 1000px;
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.content {
    padding: 2em 1em;
}

/* content  */

.email-collector {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    max-width: 350px;
    margin: 0 auto;    
}

input,
.cta {
    width: 100%;
    font-size: inherit;
    outline: none;
    border-radius: .5em;
    transform: scale(1);
    transition: transform 250ms;
}

input {
    font-family: inherit;
    text-align: inherit;
    border: 1px solid #aaaaaa;
    margin-bottom: .75em;
    padding: .5em;
}

.btn {
    display: inline-block;
    padding: 1em 1.5em;
    border: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}

.cta {
    background-image: linear-gradient(45deg, rgba(255,113,59,1) 0%, rgba(255,165,29,1) 100%);    
    color: #FFF;

}

input:focus,
.cta:hover,
.cta:focus {
    transform: scale(1.025)
}

@media (min-width: 800px) {
    body {
        display: flex;
    }

    .hero {
        width: 50%;
        min-height: 100vh;
    }

    .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }        
    h1 {
        font-size: 3rem;
        margin: 0 2em;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-sub,
    .content-sub {
        font-size: 1.5rem;
    }

    .fine-print {
        font-size: 0.8rem;
    }

    .container {
        margin: 0 auto;
    }
}

