@font-face {
    font-family: 'luckiest_guyregular';
    src: url('luckiestguy-regular-webfont.woff2') format('woff2'),
        url('luckiestguy-regular-webfont.woff') format('woff'),
        url('luckiestguy-regular-webfont.svg#luckiest_guyregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
.article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

* {
    margin: 0;
    padding: 0
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #8e7672
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0)
}


::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

input:focus::-webkit-input-placeholder,
input:valid::-webkit-input-placeholder {
    color: #8e7672
}

body,
input,
textarea,
h2 {
    font-family: 'luckiest_guyregular';
}


.rip ul,
.rip ul li {
    margin: 0;
    width: 100%
}

h1,
h2 {
    color: #8e7672
}

* {
    margin: 0;
    padding: 0
}

body {
    background: url(alu.png) #EBEBEB;
    margin: 0;
    padding: 5px;
    color: #7f7664
}

a,
a:focus,
a:hover,
a:link {
    border: none;
    text-decoration: none;
}

h1 {
    text-transform: uppercase;
    font-size: 90px;
    text-shadow: #ba9d8f -1px 1px 0, #333 -2px 2px 0, #f5f6f7 -3px 3px 0, #8c5251 -4px 4px 0
}

table {
    width: 100%;
}

h2 {
    margin: 15px 0
}

ul.table input {
    border-radius: 0;
}

ul.table input:nth-child(even) {
    border-left: 0
}

ul.table input:nth-child(odd) {
    border-right: 0;
}

.con,
.ip,
.rip,
.write,
.footer {
    margin: 40px auto;
    padding: 10px;
    text-align: center;
    box-sizing: border-box
}

.article {
    text-align: center;
    margin: 0 auto;
}

.footer {
    margin: 20px auto 0;
}

#resultsblock {
    text-align: left
}

p.descript {
    position: relative;
    margin: 5px 0 20px;
}

.info {
    font-family: 'Courier New', Courier, monospace;
}

.insertBlock {
    text-align: left
}

.inputBox,
h2 {
    margin: 30px auto 10px;
    position: relative;
}

input,
textarea,
h2 {
    margin: 70px 0;
    width: 100%;
    letter-spacing: 1.29vw;
    display: block;
    font-size: 50px;
    text-align: center;
    font-weight: bolder;
    color: #8e7672;
    padding: 10px 50px;
    box-sizing: border-box;
    border: none;
    position: relative;
    border: 2px solid #8e7672;
    background-color: #F0EFE9;
    border-radius: 10px;
    box-shadow: 0px 2px 13px 1px inset #171516b9, 0 0 0 6px rgba(255, 255, 255, .59), 2px 2px 8px 3px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0px 2px 13px 1px inset #171516b9, 0 0 0 6px rgba(255, 255, 255, .59), 2px 2px 8px 3px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0px 2px 13px 1px inset #171516b9, 0 0 0 6px rgba(255, 255, 255, .59), 2px 2px 8px 3px rgba(0, 0, 0, .3);
}

.inputBox {
    font-size: 50px;
}

#inputBox::before,
h2#result::before {
    content: attr(data);
    position: absolute;
    letter-spacing: initial;
    bottom: 5px;
    color: #8e7672;
    left: 14px;
    font-size: .25em;
    font-family: arial;
    z-index: 1;
    font-weight: 800;
}


input:focus,
input:valid,
textarea:focus {
    outline: 0;
    background-position: 0 0
}


.button {
    border: none;
    background: #8c5251;
    cursor: pointer;
    border-radius: 3px;
    padding: 15px 33px;
    color: #fff;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .2);
    border: 4px solid rgba(255, 255, 255, 1);
    font-size: 2em
}

.btn-solo {
    width: 100%;
    margin: 0 !important
}

.button:hover {
    -ms-transform: translateY (-3px);
    -webkit-transform: translateY (-3px);
    -moz-transform: translateY (-3px);
    -o-transform: translateY (-3px);
    transform: translateY (-3px);
    box-shadow: 0 6px 6px 0 rgba(0, 0, 0, .2);
    border: 4px solid rgba(255, 255, 255, .5)
}

@keyframes blinking {
    from {
        color: #C03;
    }

    to {
        color: #F0EFE9;
    }
}

.success {
    color: rgb(103, 105, 5)
}

.alert {
    animation: blinking 1s infinite;
    -webkit-animation: blinking 1s infinite
}

.errorMessage {
    margin: 20px 0;
    color: #C03;
    font-weight: bolder;
    text-transform: uppercase;
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite
}


#results p {
    color: #7F7664;
    padding: 30px;
    border-left: 2px solid #7f7664;
    background-color: #f5f4f2;
    line-height: 32px;
    box-shadow: 5px 5px 0 0 rgba(127, 118, 100, .2);
    position: relative
}

#results p:first-child:first-letter {
    font-size: 50px;
    float: left;
    padding: 20px;
    height: 42px;
    background-color: #7F7664;
    margin-right: 10px;
    color: #fff;
    border-radius: 5px;
    line-height: 40px
}

#results p:first-child:first-line {
    color: #7f7664
}

.arrow {
    width: 120px;
    height: 79px;
    margin: -60px 0 0 620px;
    background: url(../images/arrow.png);
    z-index: 99
}


@keyframes blink-animation {
    to {
        visibility: hidden
    }
}

@-webkit-keyframes blink-animation {
    to {
        visibility: hidden
    }
}

input:-webkit-autofill,
input:-webkit-autofill:active,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover {
    transition: background-color 50000s ease-in-out 0s, color 5000s ease-in-out 0
}

@media all and (min-width:1651px) {
    .article {
        width: 1400px
    }

    span {
        font-size: 30px;
        margin: 35px auto 5px
    }

    .inputBox {
        font-size: 80px;
    }

    input,
    textarea,
    h2 {
        font-size: 80px;
        text-align: center;
        font-weight: 700;
        padding: 20px 45px;
    }

    textarea {
        font-size: 40px;
        padding: 20px 45px
    }

    .overlay a {
        font-size: 40px;
    }

    .dwrite label {
        font-size: 35px;
    }

    h1 {
        color: #8e7672;
        font-size: 80px;
        margin: 60px 0 0;
    }

    ul.table li input[type="text"] {
        font-size: 41px;
    }

    input:focus::-webkit-input-placeholder,
    input:valid::-webkit-input-placeholder {
        font-size: 55px;
    }

    select.optionStyle {
        font-size: 30px;
        margin: 40px;
        padding: 22px 100px 22px 80px;
        box-sizing: border-box
    }

    option[id*=bintype] {
        font-size: 1em;
        padding: 0.6em 1.4em 0.6em 1.4em;
    }
}

@media all and (max-width:1650px) and (min-width:1180px) {
    .article {
        width: 1100px
    }

    span {
        font-size: 25px
    }

    .inputBox {
        font-size: 60px;
    }

    input,
    textarea,
    h2 {
        font-size: 60px;
        text-align: center;
        font-weight: 700;
        padding: 15px 45px
    }

    .overlay a {
        font-size: 35px;
    }

    .dwrite label {
        font-size: 33px;
    }

    h1 {
        color: #8e7672;
        font-size: 12vw;
        line-height: 1em;
        margin: 40px 0 10px;
        text-shadow: #ba9d8f -1px 1px 0, #333 -2px 2px 0, #f5f6f7 -3px 3px 0, #8c5251 -4px 4px 0
    }

    input:focus::-webkit-input-placeholder,
    input:valid::-webkit-input-placeholder {

        font-size: 60px;
    }

    select.optionStyle {
        font-size: 20px;
        margin: 30px;
        padding: 15px 45px 15px 25px;
        box-sizing: border-box
    }

    option[id*=bintype] {
        font-size: 18px
    }
}

@media all and (max-width:1179px) and (min-width:1024px) {

    h1,
    span {
        text-shadow: none;
        margin: 30px 0 0;
    }

    .article {
        width: 980px
    }

    .inputBox {
        font-size: 60px;
    }

    input,
    textarea,
    h2 {
        font-size: 60px;
        text-align: center;
        font-weight: 700;
        padding: 15px 35px;
        border-width: 2px;
    }

    textarea {
        font-size: 28px;
    }

    .dwrite label {
        font-size: 28px;
    }

    .overlay a {
        font-size: 30px;
    }

    h1 {
        font-size: 12vw;
        margin: 25px 0 0;
    }

    span {
        font-size: 22px
    }

    input:focus::-webkit-input-placeholder,
    input:valid::-webkit-input-placeholder {

        font-size: 60px;
    }

    select.optionStyle {
        font-size: 22px;
        margin: 30px;
        padding: 15px 50px 15px 25px;
        box-sizing: border-box
    }

    option[id*=bintype] {
        font-size: 20px
    }
}

@media all and (max-width:1023px) and (min-width:769px) {
    .article {
        max-width: 980px;
        width: 100%;
    }

    span {
        font-size: 20px
    }

    .inputBox {
        font-size: 30px;
    }

    input,
    textarea,
    h2 {
        font-size: 48px;
        text-align: center;
        font-weight: 700;
        padding: 11px 27px;
        border-radius: 4px;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        border-width: 2px;
        background-color: #d9d9d9;
    }

    textarea {
        font-size: 25px;
    }

    .overlay a {
        font-size: 30px;
    }

    .dwrite label {
        font-size: 20px;
    }

    h1 {
        font-size: 40px;
        text-shadow: none;
        margin: 30px 0 0;
    }

    .rip ul li input {
        font-size: 22px;
        padding: 7px 22px
    }

    .errorMessage {
        margin: 20px 0;
        height: 30px
    }

    input:focus::-webkit-input-placeholder,
    input:valid::-webkit-input-placeholder {

        font-size: 48px;
    }

    select.optionStyle {
        font-size: 16px;
        margin: 30px;
        padding: 12px 50px 12px 20px;
        box-sizing: border-box
    }

    option[id*=bintype] {
        font-size: 15px
    }
}

@media all and (max-width:768px) and (min-width:481px) {

    h1,
    input {
        font-size: 28px
    }

    .article {
        min-width: 750px;
        width: 100%;
    }

    .inputBox {
        font-size: 50px;
    }

    input,
    textarea,
    h2 {
        font-size: 50px;
        text-align: center;
        font-weight: 700;
        padding: 8px 15px;
        margin: 45px 0;
        border-radius: 4px;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        border-width: 2px;
        background-color: #d9d9d9;
    }

    textarea {
        font-size: 23px;
    }

    .overlay a {
        font-size: 25px;
    }

    #form input[type="text"] {
        font-size: 20px;
    }

    .dwrite label {
        font-size: 17px;
    }

    h1 {
        text-shadow: none;
        margin: 20px 0 0;
        font-size: 12vw;
    }

    ul.table li input[type="text"] {
        font-size: 17px;
    }

    .errorMessage {
        margin: 20px 0;
        height: 30px
    }

    input:focus::-webkit-input-placeholder,
    input:valid::-webkit-input-placeholder {
        font-size: 32px;
    }

    button {
        padding: 10px 23px;
        width: 44%;
        color: #fff;
        margin-left: 8px;
        box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
        border: 2px solid rgba(255, 255, 255, 1);
        font-size: 1em
    }

    select.optionStyle {
        font-size: 15px;
        margin: 30px;
        padding: 15px 45px 15px 20px;
        box-sizing: border-box
    }

    option[id*=bintype] {
        font-size: 13px
    }
}

@media all and (max-width:480px) and (min-width:320px) {
    body {
        padding: 3px;
        margin: 0
    }

    .article {
        max-width: 468px;
        width: 100%;
    }

    .touchMe {
        visibility: hidden
    }

    .inputBox {
        font-size: 28px;
    }

    input,
    textarea,
    h2 {
        font-size: 28px;
        text-align: center;
        font-weight: 700;
        padding: 12px 4px;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        border-width: 2px;
        background-color: #d9d9d9;
        margin: 30px 0;
    }

    #inputBox::before,
    h2#result::before {
        font-size: .35em;
    }

    .overlay a {
        font-size: 20px
    }

    #form input[type="text"] {
        font-size: 17px;
    }

    .dwrite label {
        font-size: 16px;
    }

    h1 {
        text-shadow: none;
        margin: 35px 0 0;
        font-size: 12vw;
    }

    ul.table li input[type="text"] {
        font-size: 12px;
    }

    input:focus::-webkit-input-placeholder,
    input:valid::-webkit-input-placeholder {
        font-size: 28px;
    }

    button {
        padding: 10px 23px;
        width: 44%;
        color: #fff;
        margin-left: 2px;
        box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
        border: 2px solid rgba(255, 255, 255, 1);
        font-size: 1em
    }

    button:hover {
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
        border: 2px solid rgba(255, 255, 255, .5)
    }

    #results p {
        padding: 5px;
        border-left: none;
        background-color: none;
        line-height: 24px;
        font-size: 16px;
        box-shadow: none;
        position: relative
    }

    select.optionStyle {
        font-size: 12px;
        margin: 30px;
        padding: 10px 35px 10px 20px;
        box-sizing: border-box
    }

    option[id*=bintype] {
        font-size: 10px
    }
}

@media all and (max-width:319px) {
    .article {
        max-width: 309px;
        width: 100%
    }

    .info{
        font-size: .9em
    }

    .inputBox {
        font-size: 20px;
    }

    input,
    textarea,
    h2 {
        font-size: 20px;
        text-align: center;
        font-weight: 700;
        padding: 14px 3px;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        border-width: 1px;
        background-color: #d9d9d9;
        margin: 20px 0;
    }

    .overlay a {
        font-size: 16px;
    }

    #form input[type="text"] {
        font-size: 15px;
    }

    h1 {
        font-size: 12vw;
        text-shadow: none;
        margin: 20px 0 0
    }

    .dwrite label {
        font-size: 14px;
    }

    ul.table li input[type="text"] {
        font-size: 11px;
    }

    input:focus::-webkit-input-placeholder,
    input:valid::-webkit-input-placeholder {
        font-size: 14px;
    }

    button {
        padding: 10px 23px;
        width: 44%;
        color: #fff;
        margin-left: 2px;
        box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
        border: 2px solid rgba(255, 255, 255, 1);
        font-size: 1em
    }

    button:hover {
        -ms-transform: translateY (-1px);
        -webkit-transform: translateY (-1px);
        -moz-transform: translateY (-1px);
        -o-transform: translateY (-1px);
        transform: translateY (-1px);
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
        border: 2px solid rgba(255, 255, 255, .5)
    }

    #results p {
        padding: 5px;
        border-left: none;
        background-color: none;
        line-height: 24px;
        font-size: 16px;
        box-shadow: none;
        position: relative
    }

    select.optionStyle {
        font-size: 12px;
        margin: 30px;
        padding: 10px 30px 10px 20px;
        box-sizing: border-box
    }

    option[id*=bintype] {
        font-size: 10px
    }

    .con,
    .ip,
    .rip {
        padding: 2px
    }
}

::-webkit-input-placeholder {
    opacity: .95;
    -webkit-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out
}

:-moz-placeholder {
    opacity: .95;
    -moz-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out
}

::-moz-placeholder {
    opacity: .95;
    -moz-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out
}

:-ms-input-placeholder {
    opacity: .95;
    -ms-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out
}

:hover::-webkit-input-placeholder {
    opacity: .75;
    -webkit-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out
}

:hover:-moz-placeholder {
    opacity: .75;
    -moz-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out
}

:hover::-moz-placeholder {
    opacity: .75;
    -moz-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out
}

:hover:-ms-input-placeholder {
    opacity: .75;
    -ms-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out
}

:focus::-webkit-input-placeholder {
    opacity: 0;
    text-indent: -100%;
    -webkit-transition: all .635s cubic-bezier(.68, -.55, .27, 1.55);
    transition: all .635s cubic-bezier(.68, -.55, .27, 1.55)
}

:focus:-moz-placeholder {
    opacity: 0;
    text-indent: -100%;
    -moz-transition: all .635s cubic-bezier(.68, -.55, .27, 1.55);
    transition: all .635s cubic-bezier(.68, -.55, .27, 1.55)
}

:focus::-moz-placeholder {
    opacity: 0;
    text-indent: -100%;
    -moz-transition: all .635s cubic-bezier(.68, -.55, .27, 1.55);
    transition: all .635s cubic-bezier(.68, -.55, .27, 1.55)
}

:focus:-ms-input-placeholder {
    opacity: 0;
    text-indent: -100%;
    -ms-transition: all .635s cubic-bezier(.68, -.55, .27, 1.55);
    transition: all .635s cubic-bezier(.68, -.55, .27, 1.55)
}