/* The star selector selects every single element in your page */
* {
    box-sizing: border-box; /* this includes padding and border into the width, avoiding scrolling. */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif; 
    font-size: 1rem;
    color: #404040;
    text-align: center;
}

/* Typography start */

h1 {
    margin: 0;
    color: #003d5b;
    font-size: 3rem;
    font-weight: 400;
    text-shadow: 2px 2px 2px #edae49;
}

strong {
    font-weight: 900;
}

h1 + p {
    margin: 0;
    color: #edae49;
    font-size: 1.3125rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 2px 2px 2px #404040;
}

h2 {
    color: #003d5b ;
    font-weight: 800;
    font-size: 1.3125rem;
}

h2 + p {
    margin-top: 0;
    color: #edae49;
    font-size: 1.3125rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 2px 2px 2px #404040;
    letter-spacing: 3px;
}

.top-text {
    margin: 0;
    padding-top: 2px;
    color: #edae49;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    order: -1;
    text-shadow: 2px 2px 2px #404040;
    border-top: 5px solid #edae49;
    border-image: linear-gradient(to right, #edae49 60%, #003d5b) 1;
}

.fine-print {
    font-size: .625rem;
    letter-spacing: 3px;
}

/* Typography end */
/* =================== */
/* Layout INTRO start */

.intro {
    background-color: #404040;
    background-image: url(images/stardew-valley-farm.jpg);
    background-blend-mode: screen;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 .5em 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 50vh;
}

/* Layout INTRO end */
/* =================== */
/* Layout MAIN start */

.main-content{
    padding: 2em 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro > *,
.main-content > * {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Layout MAIN end */
/* =================== */
/* FORM start */

.email-collector {
    width: 80%;
    max-width: 300px;
}

input {
    border: 1px solid #404040;
    transform: scale(1);
    transition: 300ms;
}

input:focus {
    transform: scale(1.1);
}

input,
.btn {
    width: 100%;
    margin-top: 1em;
    padding: .5em;
    border-radius: 5px;
    font-family: inherit;
    font-size: inherit;
    text-align: inherit;
}

.btn {
    background: #edae49;
    color: #003d5b;
    border: none;
    font-weight: 900;
    font-size: 1rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    background-image: linear-gradient(125deg, #edae49 60%, #003d5b);
    transition: all 300ms;
    transform: scale(1);
}

.btn:hover,
.btn:focus {
    color: whitesmoke;
    transform: scale(1.1);
}

/* FORM end */
/* =================== */
/* media query start */

@media (min-width: 675px) {
    body {
        display: flex; /* Two columns */
        font-size: 1.125rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2,
    h1 + p {
        font-size: 1.75rem;
    }
    
    .intro,
    .main-content {
        width: 50%;
        min-height: 100vh;
    }

    .main-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: #efefef;
    }
}

/* media query end */