/* Box sizing rules */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Remove default padding */
ul[class], ol[class] {
    padding: 0;
}

/* Remove default margin */
body, h1, h2, h3, h4, p, ul[class], ol[class], li, figure, figcaption, blockquote, dl, dd {
    margin: 0;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class], ol[class] {
    list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
    max-width: 400px;
    display: block;
    width: 100%;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
    margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input, button, textarea, select {
    font: inherit;
}

a {
    color: #fff;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('background.jpg');
    background-color: #000000;
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
}

.wrapper {
    padding: 2em;
}

.main-block {
    /* display: table-cell; */
    vertical-align: top;
    max-width: 670px;
    padding-top: 44px;
    float: left;
    margin: 0 auto;
}

.main-block_secret {
    padding-top: 24px;
    max-width: 600px;
    /* padding-right: 24px; */
}

.content {
    /* display: table; */
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 1em;
}

.content_thanks {
    text-align: center;
    max-width: 1200px;
}

.addition-block {
    display: table-cell;
    width: 40%;
}

.header {
    font-size: 2.8em;
    font-weight: 900;
    line-height: 1.25em;
}

.caption {
    font-size: 1.5em;
    padding-top: 0.5em;
    line-height: 1.3em;
}

.sp-form {
    margin: 0px;
    padding-left: 0px !important;
    padding-top: 36px !important;
    width: 100% !important;
    padding-right: 0px !important;
}

label.sp-control-label {
    display: none !important;
}

.sp-form .sp-lg .sp-field .sp-form-control {
    height: 52px !important;
    padding-left: 18px !important;
}

.sp-form .sp-lg .sp-field .sp-button {
    height: 52px !important;
    background-color: #00000000;
    font-family: inherit;
    text-transform: lowercase;
    padding-left: 30px !important;
    padding-right: 30px !important;
    font-size: 22px !important;
}

.sp-form-fields-wrapper {
    width: inherit !important;
}

.sp-field {
    padding: 0px !important;
}

.sp-field.sp-button-container {
    padding: 0 0 0 37px !important;
}

.sp-form-horizontal .sp-element-container.sp-lg .sp-field.sp-button-container {
    min-width: 160px;
}

.sp-message.sp-message-success {
    color: #fff !important;
    margin-left: 0px !important;
    /* font-size: 2em !important; */
}

.sp-form .sp-lg .sp-field .sp-button:hover {
    background-color: #ffe82e;
    color: #2d2d2d;
    opacity: initial;
    top: initial;
}

a.download-link {
    text-align: center;
    display: inline-block;
    padding: 0.3em 1em;
    width: 100%;
    text-decoration: none;
    border: 4px solid #bfbfbf;
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: 22px;
    /* text-transform: lowercase; */
    font-weight: 600;
    /* max-width: 240px; */
}

a.download-link:hover {
    /* background: #dc2c2c; */
    color: #343434;
    border-color: #ffe82e;
    background-color: #ffe82e;
}

@media screen and (max-width: 1134px) {
    body {
        display: initial;
    }

    .image {
        margin: 0 auto;
    }

    .main-block {
        float: none;
        text-align: center;
    }
}

.header_thanks {
    font-size: 2.4em;
    padding-bottom: 12px;
}

a.download-link_thanks {
    border-color: #ffe82e;
    width: auto;
}
a.download-link_vk {
    border-color: #7dbdff;
    width:100%;
    margin-top: 64px;
}
@media screen and (max-width: 600px) {
    .sp-form-horizontal .sp-element-container.sp-lg .sp-field.sp-button-container {
        width: 100%;
        padding: 24px !important;
        text-align: center;
    }

    h1.header {
        font-size: 2.25em;
    }

    .subscribe-form {
        flex-direction: column;
    }
    .input-column {
        padding: 0 0 30px 0 !important;
    }
}


.subscribe-form .email {
    height: 52px !important;
    padding-left: 18px !important;
    width: 100%;
    min-width: 200px;
}

.subscribe-form .button {
    cursor: pointer;
    height: 52px !important;
    background-color: #00000000;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: lowercase;
    padding-left: 30px !important;
    padding-right: 30px !important;
    font-size: 22px !important;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background-color: #00000000;
    color: #ffffff;
    width: auto;
    font-weight: 700;
    font-style: normal;
    border-width: 4px;
    border-color: #ffe82e;
    border-style: solid;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.subscribe-form .button:hover {
    background-color: #ffe82e;
    color: #2d2d2d;
    opacity: initial;
    top: initial;
}

.subscribe-form {
    display: flex;
    padding: 36px 0 10px 0;
}

.button-column {
}

.input-column {
    flex-grow: 2;
    padding-right: 36px;
}