/* ==== Google font ==== */
@import url('https://fonts.googleapis.com/css?family=Lato:400,300,700,900');

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

body {
    background: url("../img/bg-img.png") center center;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    -ms-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;

    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #555;
    line-height: 1.6em;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: #444;
    font-size: 10vw;
}

p {
    font-size: 16px;
}

a {
    color: #FFFFFF;
    word-wrap: break-word;
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
    pointer-events: all;
}

a:hover,
a:focus {
    color: #53948B;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a, button, input {
    pointer-events: all;
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 0;
    pointer-events: all;
}

.btn-theme {
    color: #fff;
    background-color: #b5aca5;
}

.btn-theme:hover {
    color: #fff;
    background-color: #a09790;
}

form.signup input[type=email] {
    height: 42px;
    width: 200px;
    border-radius: 0;
    border: none;
}

form.signup button.btn {
    font-weight: 700;
}

form.signup input.form-control:focus {
    border-color: #fd680e;
}

/* wrapper */

#wrapper {
    margin: auto;
    text-align: center;

    /* For the footer to stick on bottom */
    min-height: 100vh;
    position: relative;

    box-sizing: border;
    width: 100%;

    /* Do not select images */
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */

    /* Centralize content on all Browsers */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

#wrapper > .container > .row {
    pointer-events: none;
}

#particles-js {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#particles-js canvas {
    display: block;
    vertical-align: bottom;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition: opacity .8s ease, -webkit-transform 1.4s ease;
    transition: opacity .8s ease, transform 1.4s ease;
    width: 100%;
    height: 100%;
}

h2.subtitle {
    color: #fff;
    font-size: 22px;
    margin: 0;
}

/* footer */
p.copyright {
    margin-top: auto;
    color: #fff;
    text-align: center;
}

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.result {
    position: absolute;
    top: 0px;
    padding: 7px 10px 7px 20px;
    left: auto;
    right: 0px;
    color: #fff;
}

.result.success {
    background: #A2DAD1;
}

.result.error {
    background: #5C8E8D;
}

.result span {
    margin-left: 10px;
}

.result.error span {
    margin-right: 5px;
}

@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px) {
    input[type=email] {
        width: 100% !important;
    }
}

@media only screen and (max-device-width: 480px) {
    body {
        background: url("../img/bg-img.png") no-repeat #7fb4ac;

        font-family: 'Lato', sans-serif;
        font-weight: 300;
        font-size: 16px;
        color: #555;
        line-height: 1.6em;
        -webkit-font-smoothing: antialiased;
        -webkit-overflow-scrolling: touch;
    }
}
