* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    color: #111;
    min-width: 320px;
    width: 100vw;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    -ms-overflow-style: none;
    scroll-padding-top: 96px;
}

body {
    font-family: "Belarius", sans-serif;
    background-color: #7a3636;
    max-width: 100%;
    margin: auto;
}

a {
    color: #eee;
}

p {
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1em;
}

h1 {
    color: #eee;
    font-size: 2em;
    text-transform: uppercase;
    margin-bottom: 0.25em;
}

h2 {
    color: #eee;
    font-size: 1.25em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1em;
}

input {
    font-family: "Belarius", sans-serif;
}

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

main {
    display: flex;
    min-height: 100vh;
}

section {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-evenly;
    padding: 0.5em;
    position: relative;
    text-align: center;
}

@media (min-width: 1024px) {
    section {
        margin: 1em;
        padding: 1em;
    }
}

.content {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0.5em;
    text-align: center;
    z-index: 10;
}

.content>div {
    align-items: center;
    /*background-color: #7a3636;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.25em;
    z-index: 10;
}

.form h1,
.form h2,
.form p {
    color: #fff;
}

.left-decoration,
.right-decoration {
    display: none;
    position: relative;
    width: 25%;
}

@media (min-width: 1024px) {
    section {
        margin: 1em;
        padding: 1em;
    }

    .left-decoration,
    .right-decoration {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 30%;
    }

    .left-decoration {
        left: 0;
    }

    .right-decoration {
        right: 0;
    }
}

form div {
    display: flex;
    flex-direction: column;
    justify-content: start;
    margin-bottom: 1em;
}

form label {
    color: #eee;
    display: block;
    margin-bottom: 0.5em;
    margin-right: 0;
    text-align: left;
    text-transform: uppercase;
    width: calc(100% - 1em);
}

.privacy {
    flex-direction: row;
}

.privacy label {
    font-size: 0.9em;
    margin: 0;
    text-align: left;
    text-transform: none;
    width: 100%;
}

input[type=text],
input[type=email],
select {
    border: 0;
    height: 2.5em;
    padding-left: 0.5em;
    width: calc(100% - 0.5em);
}

select {
    width: 100%;
}

input[type=checkbox] {
    margin-right: 1em;
}

input[type=submit] {
    border: 0;
    background-color: #111;
    color: #eee;
    cursor: pointer;
    font-size: 1.25em;
    padding: 0.75em 2em;
    width: 100%;
}

input[type=submit]:active {
    transform: scale(0.9);
}

@media (min-width: 1024px) {
    section {
        padding: 1em;
    }

    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 2em;
    }

    p {
        font-size: 1.25em;
    }

    .content {
        min-width: 40%;
        width: 40%;
    }

    .form section {
        justify-content: center;
    }

    form div {
        align-items: center;
        flex-direction: row;
    }

    form label {
        margin-bottom: 0;
        margin-right: 1em;
        text-align: right;
        width: 25%;
    }

    input[type=text],
    input[type=email],
    select {
        width: 75%;
    }

    input[type=submit] {
        font-size: 1.25em;
        padding: 0.75em 2em;
        width: auto;
    }
}

.logos-top {
    display: block;
    z-index: 5;
}

.logos-bottom {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 1024px) {
    .logos-top {
        display: none
    }

    .logos-bottom {
        display: none
    }
}

.required {
    color: red;
}