/*
andrei@stoica.co
*/

/* Fonts */
@font-face {
    font-family: 'Degular Display';
    src: url('fonts/DegularDisplay-Bold.woff2') format('woff2'),
    url('fonts/DegularDisplay-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Degular Text';
    src: url('fonts/DegularText-Regular.woff2') format('woff2'),
    url('fonts/DegularText-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Recoleta';
    src: url('fonts/Recoleta-Regular.woff2') format('woff2'),
    url('fonts/Recoleta-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Recoleta';
    src: url('fonts/Recoleta-Bold.woff2') format('woff2'),
    url('fonts/Recoleta-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Generic */

html, body {
    font-family: "Degular Text";
    color: #EFE9E0;
    background-color: #072a45;
    font-size: 16px;
    line-height: 1.3em;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

h1 {
    font-family: Recoleta;
    font-weight: 400;
    font-size: 46px;
    line-height: 1em;
    margin: 0 0 4px 0;
}

h1 em {
    font-family: "Degular Display";
    font-style: normal;
}

h2 {
    font-weight: 100;
    font-size: 24px;
    line-height: 1.3em;
    letter-spacing: 1px;
    margin: 0px;
}

.center-container {
    max-width: 960px;
    float: none;
    margin-left: auto;
    margin-right: auto;
}


/* header */

.section.header {
    margin-top: 60px;
}

.section.header img {
    width: 200px;
}


/* intro */

.section.intro {
    margin-top: 40px;
    margin-bottom: 40px;
}

.section.intro h1 {
    color: #EFE9E0;
}

.section.intro h2 {
    color: #eeebe3;
}


/* form */

.section.form {
    margin-bottom: 120px;
}

label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

input[type="email"] {
    line-height: 40px;
    font-size: 14px;
    font-family: sans-serif;
    color: #959595;
    height: 40px;
    padding: 0px 15px;
    border: 0px;
    border-radius: 3px;
    min-width: 300px;
}

input[type="submit"] {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background-color: #7d8d66;
    border-radius: 3px;
    padding: 12px 32px;
    border: 0px;
    margin-top: 16px;
}

input[type="submit"]:hover {
    opacity: 0.8;
}

/* mobile */

@media only screen and (max-width: 960px) {
    body {
        padding-left: 40px;
        padding-right: 40px;
    }

    .section.header {
        margin-top: 20px;
    }

    .section.header img {
        width: 180px;
    }

    h1 {
        margin-bottom: 20px;
    }

    input[type="email"] {
        min-width: 100%;
        line-height: 54px;
        height: 54px;
        font-size: 18px;
    }

    input[type="submit"] {
        width: 100%;
        font-size: 18px;
        line-height: 18px;
        padding: 18px;
    }
}

