@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-SemiBold.otf');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-ExtraBold.otf');
    font-weight: 800;
    font-style: normal;
}
html, body {
    margin: 0;
    padding: 0;
    font-family: Gilroy, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #414141;
    min-height: 100%;
}
body {
    background: url("images/bg_small.jpg") no-repeat center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
h1 {
    font-size: 40px;
    font-weight: 800;
    margin: 0.5em 0;
    padding: 0 25px;
    line-height: 1.1;
}
.form_wrapper {
    position: relative;
    max-width: 463px;
    border-top: 2px solid #808080;
    padding: 20px 0;
    margin: 0 20px;
}
.form_wrapper:after {
    /*content: '';*/
    display: block;
    position: absolute;
    left: 0;
    bottom: -55px;
    width: 100%;
    height: 55px;
    background: url("images/shadow.png") no-repeat center top;
    background-size: contain;
}
.description {
    font-size: 18px;
    margin-bottom: 1.3em;
}
b {
    font-weight: 800;
}
form {
    display: flex;
    flex-direction: column;
}
input[type="text"], input[type="email"] {
    background-color: #f1f1f1;
    height: 20px;
    padding: 10px 20px;
    border: 1px solid #f1f1f1;
    box-shadow: inset 1px 1px 4px 0px rgba(102,102,102,0.35);
    font-size: 18px;
    margin-bottom: 10px;
}
input.error {
    border-color: red;
}
label {
    font-size: 16px;
}
.check {
    display: flex;
    align-items: center;
    position: relative;
}
.squaredFour {
    width: 20px;
    position: relative;
    margin: 20px auto;}
.check label {
    margin-left: 10px;
}
.check label:after {
    content: '';
    width: 14px;
    height: 14px;
    line-height: 14px;
    background-color: #f1f1f1;
    border: 1px solid #f1f1f1;
    box-shadow: inset 1px 1px 4px 0px rgba(102,102,102,0.35);
    position: absolute;
    top: 2px;
    left: 0;
 }
input[type=checkbox] {
    visibility: hidden;
}
input[type=checkbox]:checked + label:after {
    content: '✓';
}
input[type=checkbox].error + label:after {
   border-color: red;
}

button, a#download {
    width: 100%;
    height: 40px;
    line-height: 30px;
    background-color: #313d7a;
    color: #fff;
    font-size: 18px;
    text-align: left;
    margin-top: 20px;
    padding: 5px 20px;
    border: none;
    box-shadow: 1px 1px 3.4px 0.6px rgba(153, 153, 153, 0.6);
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
}
button:disabled {
    opacity: 0.8;
    cursor: inherit;
}
.social {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #414141;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    text-decoration: none;
    box-shadow: 1px 1px 3.4px 0.6px rgba(153, 153, 153, 0.6);
    transition: all 0.3s
}
.social a:hover {
    background-color: #313d7a;
}
.social a i {
    color: #fff;
    font-size: 25px;
}
#file {
    display: none;
}
.section_outer {
    overflow: auto;
    width: 100%;
    max-height: 100vh;
}
section {
    position: relative;
    max-width: 565px;
    margin: auto;
}
a.lang {
    position: absolute;
    text-decoration: none;
    right: 3px;
    top: 3px;
    color: #414141;
}
@media (max-width: 767px){
    .description {
        max-width: 250px;
    }
    .mobilehidden {
        display: none;
    }
}
@media (min-width: 768px) {
    .desktophidden {
        display: none;
    }
    html, body {
        height: 100%;
    }
    body {
        background: url("images/bg_big.jpg") no-repeat center;
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    h1, .description  {
        text-align: center;
    }
    h1 {
        font-size: 45px;
    }
    .description {
        font-size: 20px;
    }
    .form_wrapper {
        width: 463px;
        padding: 30px 50px;
        margin: 0;
    }
    .social {
        margin-top: 40px;
    }
}
@media (min-width: 1400px) {
    h1 {
        font-size: 50px;
    }
    .description {
        font-size: 25px;
    }
    .form_wrapper {
        padding: 40px 70px;
    }
    .social {
        margin-top: 50px;
    }
    .social a {
        width: 50px;
        height: 50px;
    }
    .social a i {
        font-size: 30px;
    }
    input[type="text"], input[type="email"] {
        height: 30px;
        font-size: 20px;
    }
    button, a#download {
        height: 50px;
        font-size: 20px;
        line-height: 40px;
    }
    label {
        font-size: 18px;
    }
}