html {
    line-height: 1.2;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    height: 100%;
    box-sizing: border-box;
    font-size: 18px;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    height: 100%;
    background: #fff;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
    color: #444;
    font-family: Helvetica, Arial, sans-serif;
}

footer,
header,
section,
main {
    display: block;
}

h2 {
    font-size: 1.1em;
    line-height: 1.3;
    margin: 0 0 0.7em;
    text-align: center;
    font-weight: 700;
}

h2 a {
    text-decoration: none;
}

h2 strong {
    font-weight: 900;
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    color: inherit;
    text-decoration: none;
}

a:hover,
a:active {
    outline: 0;
    text-decoration: underline;
    cursor: pointer;
}

img {
    max-width: 100%;
    vertical-align: middle;
    border-style: none;
    display: block;
}

p {
    margin: 10px 0 0;
}

.pink {
    color: #f5576e;
}

.purple {
    color: #6e79d3;
}

/* wrapper */
.wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

/* header */
.header {
    position: relative;
    -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.brand-logo {
    margin: 0;
    max-width: 200px;
    width: 60%;
}

.brand-logo img {
    width: 100%;
}

/* main */
main {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: #f9fafe;
    padding: 10px;
}

.inner {
    position: relative;
    font-family: 'Nunito', sans-serif;
}

.image-holder {
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.button {
    display: block;
    width: 130px;
    background: #6074cd;
    color: #fff;
    margin: 0 auto 1.2em;
    font-size: 0.9em;
    font-weight: 800;
    text-align: center;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    animation: pulse 1.5s infinite;
}

.button:hover {
    text-decoration: none;
    background: #465ecb;
    animation: none;
}

/* footer */
.footer {
    position: relative;
    font-size: 0.75em;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.footer a {
    color: #337ab7;
}

.footer a:hover {
    color: #23527c;
}

.footer .small {
    font-size: 11px;
}

/* Animation */
@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(96, 116, 205, 0.6);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(96, 116, 205, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(96, 116, 205, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(96, 116, 205, 0.6);
        box-shadow: 0 0 0 0 rgba(96, 116, 205, 0.6);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(96, 116, 205, 0);
        box-shadow: 0 0 0 10px rgba(96, 116, 205, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(96, 116, 205, 0);
        box-shadow: 0 0 0 0 rgba(96, 116, 205, 0);
    }
}

@media (min-width: 641px) {
    h2 {
        font-size: 1.5em;
    }

    .image-holder {
        max-width: 90%;
    }

    .container {
        padding: 15px;
    }

    main {
        padding: 20px 0;
    }

    .button {
        margin-bottom: 1.7em;
        font-size: 1.2em;
    }
}
