* {
    font-family: 'Roboto', sans-serif;
}

html,
body {
    height: auto;
    /* overflow: hidden; */
}

body {
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    width: 100%;
}

.h {
    visibility: hidden;
}

.c {
    width: 1000px;
    overflow: visible;
    margin: 0 auto;
}

.snow {
    background-image: url('img/snow1.png'), url('img/snow3.png'), url('img/snow3.png');
    background-size: 1600px, 500px, 400px;
    height: 100%;
    width: 100%;
    z-index: 2;
    position: fixed;
    top: 0;
}

#preloader {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    padding-top: 15%;
    height: 100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f0f9ff+0,0153c2+100 */
    background: #f0f9ff;
    /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, #f0f9ff 0%, #0153c2 100%);
    /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, #f0f9ff 0%, #0153c2 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, #f0f9ff 0%, #0153c2 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#f0f9ff', endColorstr='#0153c2', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
    z-index: 999;
}

header {
    width: 100%;
    height: 50%;
    background: url(img/headerBG.jpg) top center no-repeat;
    position: fixed;
    top: 0;
    z-index: 1;
    background-size: 100%;
}

#main {
    background: url(img/bg.png) top center repeat-x;
    position: relative;
    z-index: 4;
    width: 100%;
    background-size: 100%;
    height: 122vw;
    margin: 0 0px 0px 0px;
    overflow: hidden;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.28) inset;
}

.buttonSound {
    position: absolute;
    width: 3.3%;
    margin: 59% 0% 0% 67.1%;
    z-index: 14;
    cursor: pointer;
}

#main .logo {
    position: absolute;
    width: 100%;
    top: 0;
}

#main .title {
    position: absolute;
    width: auto;
    right: 31.4%;
    top: 26%;
    font-family: 'Gotham';
    text-align: center;
    font-size: 4.3vw;
    font-weight: bolder;
    color: #ed3024;
}

#main .cheesePlate {
    position: absolute;
    width: 41%;
    right: -16%;
    top: 52%;
}

#main .candle {
    position: absolute;
    width: 15%;
    right: 7%;
    bottom: 9%;
}

#main .deer {
    position: absolute;
    width: 10%;
    right: 12%;
    top: 37%;
}

#main .ball_green {
    position: absolute;
    width: 16%;
    right: 76.4%;
    top: 40%;
}

#main .ball_red {
    position: absolute;
    width: 6%;
    right: 78.1%;
    top: 62%;
}

#main .envelope {
    position: absolute;
    width: 29.8%;
    left: -13%;
    top: 40%;
}

#main .cup {
    position: absolute;
    width: 18%;
    margin: 96% 0% 0% 0%;
    z-index: 4;
}

#main .pen {
    position: absolute;
    margin: 77% 0% 0% 70%;
    z-index: 5;
}

#postcards {
    position: absolute;
    width: 47%;
    margin: 61% 0% 0% 24%;
}

#postcards img {
    width: 100%;
    position: absolute;
}

#postcards input {
    position: absolute;
    width: 32%;
    margin: 38.5% 0% 0% 62%;
    -moz-transform: rotate(3.2deg);
    -ms-transform: rotate(3.2deg);
    -webkit-transform: rotate(3.2deg);
    -o-transform: rotate(3.2deg);
    transform: rotate(3.2deg);
    border: none;
    font-family: 'Adventure';
    z-index: 5;
    background: transparent;
    font-size: 1.3vw;
    line-height: 1;
    outline: none;
}

#postcards input:hover {
    background: rgba(255, 255, 255, 0.25);
}

#postcards textarea {
    position: absolute;
    width: 37%;
    height: 13vw;
    margin: 40.2% 0% 0% 55.7%;
    color: black;
    -moz-transform: rotate(3.2deg);
    -ms-transform: rotate(3.2deg);
    -webkit-transform: rotate(3.2deg);
    -o-transform: rotate(3.2deg);
    transform: rotate(3.2deg);
    border: none;
    font-family: 'Adventure';
    z-index: 5;
    background: transparent;
    overflow: hidden;
    font-size: 1.3vw;
    line-height: 1.5vw;
    padding-top: 10px;
    outline: none;
}

#postcards textarea:hover {
    background: rgba(255, 255, 255, 0.25);
}

footer .controls {
    background: #faf4ee;
    width: 760px;
    height: auto;
    position: relative;
    z-index: 5;
    margin: -283px auto 20px;
    /* box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.19); */
    padding: 10px 30px;
    box-sizing: border-box;
    overflow: hidden;
    background: url(img/form-bg.png) top left / cover no-repeat;
}

footer .controls .row {
    margin: 1px 0px;
    line-height: 65px;
}

footer .controls button {
    cursor: pointer;
}

footer .controls .socialButtons a {
    /* background: #4966a6; */
    padding: 10px 0px;
    margin: 5px;
}

footer .controls .socialButtons a img {
    width: 7%;
}

footer .controls .changeCardColor {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 100%;
    float: left;
    margin: 5px 5px 0px;
}


/* sorry, color classes are other than color codes */

footer .controls .changeCardColor.first {
    background: #e4c353;
}

footer .controls .changeCardColor.second {
    background: #f8caad;
}

footer .controls .changeCardColor.third {
    background: #ffffff;
}

footer .controls .changeCardPic {
    padding: 7px 20px;
    background: #398dff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    text-transform: uppercase;
    margin: 0px 5px;
    color: #fff;
    font-size: 20px;
    width: 272px;
}

footer .controls .createCard {
    padding: 7px 20px;
    background: #de2f2f;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    text-transform: uppercase;
    margin: 0px 5px;
    color: #fff;
    font-size: 20px;
    width: 476px;
}

footer .controls .changeCardPic:hover {
    background: #0153c2;
}

footer .controls .labelEmail {
    font-size: 19px;
    color: #9d7d50;
    float: left;
    text-align: right;
    width: 83px;
    padding: 0px 10px;
    box-sizing: border-box;
}

footer .controls .share_title {
    font-size: 24px;
    color: #9d7d50;
    font-weight: 400;
    margin: 20px 0px;
}

footer .controls .inputEmail {
    font-size: 24px;
    color: #454545;
    float: left;
    text-align: left;
    width: 270px;
    border-radius: 22px;
    border: none;
    padding: 7px 10px;
    margin: 0px 5px;
    position: relative;
    top: 11px;
}

footer .controls .sendCard {
    padding: 7px 20px;
    background: #de2d2f;
    border: 1px solid #e5e5e5;
    border-radius: 25px;
    /* text-transform: uppercase; */
    margin: 0px 5px 0px -70px;
    color: #fff;
    font-size: 24px;
    width: 202px;
}

footer .controls .mailError {
    padding: 5px 0px;
    background: rgba(222, 47, 47, 0.68);
    width: 90%;
    margin: 0 auto;
    color: #fff;
    font-size: 15px;
    line-height: 17px;
}

footer .controls .mailError.green {
    background: rgba(44, 182, 39, 0.68);
}

footer .controls .sendCard:hover {
    background: rgb(184, 0, 0);
}

footer .controls .switchMode {
    color: #7b7b7b;
    font-size: 20px;
    border-bottom: 1px dashed;
    margin: 20px 0px;
    position: relative;
    top: 50px;
}

footer .controls .getText {
    color: #9d7d50;
    font-size: 24px;
    border-bottom: 1px dashed;
}

footer .controls .getText.btn {
    color: #fff;
    border-bottom: none;
    background: #9d7d50;
    border: none;
    border-radius: 100px;
    padding: 10px 80px;
}

footer {
    background: url(img/footerBG.jpg) center/cover no-repeat;
    text-align: center;
    padding: 20px 0px 100px;
    z-index: 5;
    position: relative;
    line-height: 24px;
}

footer a {
    color: #004a80;
    text-decoration: none;
}

footer .c {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,a0d8ef+100&1+0,0+68 */
    background: -moz-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(190, 228, 244, 0) 68%, rgba(160, 216, 239, 0) 100%);
    /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(190, 228, 244, 0) 68%, rgba(160, 216, 239, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(190, 228, 244, 0) 68%, rgba(160, 216, 239, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00a0d8ef', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
}

footer a img {
    width: 35px;
    margin: 0 7px;
}

footer .credits {
    position: relative;
    z-index: 4;
}

footer .credits p,
footer .credits p a {
    text-shadow: 0 0 34px rgba(159, 126, 80, 0.75);
    color: #ffffff;
    font-family: "Roboto Condensed";
    font-size: 18px font-weight: 700 line-height: 24px width: 647px;
}

footer .social_link {}

footer .social_link:hover {}

@media screen and (max-width: 992px) {
    #main .logo {
        position: absolute;
        width: 100%;
        right: unset;
        top: 0;
    }
    #main .title {
        position: absolute;
        width: 82%;
        right: 9.4%;
        top: 24%;
        text-align: center;
        font-size: 7.6vw;
        color: #ed3024;
    }
    #main {
        background: url(img/bg.png) top center repeat;
        position: relative;
        z-index: 4;
        width: 100%;
        background-size: 100%;
        height: 210vw;
        margin: 0 0px 0px 0px;
        overflow: hidden;
        box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.28) inset;
    }
    #main .cheesePlate {
        position: absolute;
        width: 97%;
        right: -64%;
        top: 39%;
        display: none;
    }
    #main .candle {
        position: absolute;
        width: 27%;
        right: 2%;
        top: 35%;
    }
    #main .ball_green {
        position: absolute;
        width: 19%;
        right: 84.4%;
        top: 22%;
    }
    #main .ball_red {
        position: absolute;
        width: 10%;
        right: 91.1%;
        top: 16%;
    }
    #main .envelope {
        position: absolute;
        width: 49.8%;
        left: -27%;
        top: 7%;
    }
    #main .cup {
        position: absolute;
        width: 32%;
        margin: 84% 0% 0% -14%;
        z-index: 4;
        display: none;
    }
    #main .pen {
        position: absolute;
        width: 6.7%;
        margin: 133% 0% 0% 92%;
        z-index: 5;
        /*-moz-transform: rotate(-3.1deg);
		-ms-transform: rotate(-3.1deg);
		 -webkit-transform: rotate(-3.1deg);
		-o-transform: rotate(-3.1deg);
		transform: rotate(-3.1deg); */
    }
    #postcards {
        position: absolute;
        width: 105%;
        margin: 94% 0% 0% -3%;
    }
    #postcards textarea {
        min-height: 37vw;
        font-size: 3.2vw;
        line-height: 1.05em;
        padding-top: 7px;
    }
    #postcards input {
        font-size: 2.7vw;
    }
    .buttonSound {
        position: absolute;
        width: 7.3%;
        margin: 41% 0% 0% 21%;
        z-index: 14;
        cursor: pointer;
    }
    footer .controls {
        background: #faf4ee;
        width: 90%;
        height: auto;
        position: relative;
        z-index: 5;
        margin: -283px auto 20px;
        /* box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.19); */
        padding: 10px 30px;
        box-sizing: border-box;
        overflow: hidden;
    }
    footer .controls .row {
        margin: 1px 0px;
        line-height: 65px;
    }
    footer .controls .getText {
        color: #9d7d50;
        font-size: 3vw;
        border-bottom: 1px dashed;
        line-height: 9vw;
    }
    footer .controls .getText.btn {
        color: #fff;
        border-bottom: none;
        background: #9d7d50;
        border: none;
        border-radius: 100px;
        padding: 10px 80px;
        line-height: 10vw;
        margin: 40px 0px;
    }
    footer {
        background: url(img/footerBG.jpg) repeat;
        color: #004a80;
        text-align: center;
        z-index: 5;
        position: relative;
        line-height: 5vw;
    }
    footer .controls .labelEmail {
        font-size: 4vw;
        line-height: 12vw;
        color: #9d7d50;
        float: left;
        text-align: right;
        width: 19%;
        padding: 0px 10px 0px 0px;
        box-sizing: border-box;
        margin: 0% 0% 0% 6%;
    }
    footer .controls .inputEmail {
        font-size: 4vw;
        line-height: 8vw;
        color: #454545;
        float: left;
        text-align: left;
        width: 59%;
        border-radius: 22px;
        border: none;
        padding: 10px 20px;
        margin: 0px 5px;
        position: relative;
        top: 3px;
    }
    footer .controls .sendCard {
        padding: 7px 36px;
        background: #de2d2f;
        border: 1px solid #e5e5e5;
        border-radius: 25px;
        /* text-transform: uppercase; */
        margin: 20px 10%;
        color: #fff;
        font-size: 4vw;
        line-height: 8vw;
        width: 80%;
        display: block;
    }
    footer .controls .mailError {
        /* display: none; */
        padding: 12px 20px;
        background: rgba(222, 47, 47, 0.68);
        margin: 0% 0px 5% 0px;
        /* position: absolute; */
        width: 94%;
        color: #fff;
        font-size: 3vw;
        line-height: 4vw;
    }
    footer .controls .share_title {
        font-size: 4vw;
        color: #9d7d50;
        font-weight: 400;
        margin: 0px 0px 0px;
    }
    footer .controls .changeCardColor {
        width: 120px;
        height: 120px;
        border: none;
        border-radius: 100%;
        float: left;
        margin: 5px 5px 0px;
    }
    footer a,
    footer p {
        font-size: 4vw;
    }
    footer a img {
        /* -webkit-filter: grayscale(100%); */
        /* Safari 6.0 - 9.0 */
        /* filter: grayscale(100%); */
        width: 15%;
        max-width: 55px;
        /* display: none; */
    }
}