* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Proxima Nova Bold';
    src: url('font/ProximaNova-Bold.eot');
    src: local('font/Proxima Nova Bold'), local('font/ProximaNova-Bold'),
    url('font/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
    url('font/ProximaNova-Bold.woff') format('woff'),
    url('font/ProximaNova-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Regular';
    src: url('font/ProximaNova-Regular.eot');
    src: local('font/Proxima Nova Regular'), local('font/ProximaNova-Regular'),
    url('font/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
    url('font/ProximaNova-Regular.woff') format('woff'),
    url('font/ProximaNova-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Proxima Nova Regular", Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    line-height: 1.5;
    background: #F3BDD7;
    /*background: url("img/bg-top.png") top center no-repeat,*/
                /*url("img/bg-bottom.png") bottom center no-repeat;*/
    background-size: 100%;
    color: #242254;
}

h1, h2 {
    text-transform: uppercase;
    color: #ffffff;
    font-family: "Proxima Nova Bold", Arial, sans-serif;
    font-weight: bold;
    font-style: normal;
}

h1 {
    font-size: 56px;
}

h2 {
    font-size: 30px;
}

.page {
    width: 980px;
    margin: 0 auto;
    position: relative;
}

.logo-top {
    margin: 0px auto 10px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: baseline;
    background-color: #252254;
    height: 200px;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.logo-top img {
    width: 20%;
    margin: 0 auto;
    padding-right: 38px;
}

.a-lang {
    color: #fff;
    text-decoration: none;
    font-size: 30px;
}

.description {
    position: relative;
}

.description h1 {
    margin-top: 30px;
}

.description p {
    font-size: 26px;
    line-height: 1.4;
}

.main-picture {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 30px 0 20px;
    line-height: 0;
}

.main-picture img {
    max-width: 100%;
}

.main-picture #image {
    visibility: hidden;
    position: relative;
    z-index: 10;
}

.main-picture img.slider {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity .3s;
}

.main-picture #image1 {
    opacity: 1;
}

.categories h2 {
    text-align: center;
}

.footer {
    margin: 33px 0 50px;
    white-space: nowrap;
    padding: 0 0 60px 0;
}

.footer img {
    position: relative;
    top: -24px;
    height: 84px;
}

.modern-button {
    margin: 0;
    height: 58px;
    line-height: 56px;
    text-align: center;
    transition: background .3s;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0 3.25%;
    font-size: 36px;
    text-transform: uppercase;
    background-color: #252254;
    border: none;
    /*border-radius: 8px;*/
    /*box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);*/
    color: white;
    position: relative;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}

.modern-button.upload-btn {
    width: 100%;
    height: 84px;
    font-size: 38px;
    line-height: 87px;
    background-color: #252254;
    border: none;
    color: white;
}

.upload-file {
    position: absolute;
    right: -12px;
    top: 0;
    outline: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-size: 20px;
    opacity: 0;
}

#categories {
    margin: 10px 0 25px;
    line-height: 1.5;
}

#categories .part {
    float: left;
    width: 50%;
    font-size: 26px;
    line-height: 1.2;
}

#categories .red-point {
    float: left;
    margin: 0 5px 0 0;
    color: #252254;
}

#categories:after {
    content: "";
    display: block;
    clear: both;
}

.fallback {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 15;
    background-color: rgba(255, 255, 255, 0.5);
}

.circle-preloader {
    position: absolute;
    top: calc(50% - 14px);
    left: calc(50% - 14px);
    width: 28px;
    height: 28px;
    -webkit-animation: rotate .5s linear 0s infinite;
    animation: rotate .5s linear 0s infinite;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAABkElEQVR4Ae3VJfRWQRAF8ItLwr3TKFjB3Sloo+AObweXRMKdREE/m8V6pGINd6fg8pd9g7s/Oef+Ppc3d/Us/hYREREREREREREREREREREREU3Z2xjT9jRFoqJSF4g/CdEzcH4EkuJ0Mpx/Eh4vwvuZSIx11tfYw8J9b/xvUu4fOvnqk9wnSIzzpz8EW7g+hBQ64z+x2uIffZ7pbyIxUWUsRKs+a4DoxfB9G/xjVtPphS8G+E2iW8lEusDCPx/1GxAdiH9lcWUwRG99mROy5yAV4rd8o9PV4bERc7c2wp8aX2gI0Q1W66v6uhXpWVsXTtUa8nXHL4XluAILCx3xq+aWO4XZWwWnV75dU49ifKEeUtVvbf2vZvqr/aYnIJUZiEo9Mf9AW5v9+Dx1hXb2Xfyb+OP23+/VCRmWlRlRZRJE71nj/uXD6V2rnUkz9zcPS3KHnc1/3VH/wmrFNbPOlqroOoi/+gedvWrXxjVySUrdIH4JnB6C+HMQf+fdCngeXm+/++6g/Sf+b04RERERUS0b4HvBuGCF1wAAAABJRU5ErkJggg==) 0 0/28px 28px no-repeat;
    -webkit-animation-name: rotation;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: rotation;
    -moz-animation-duration: 2s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -o-animation-name: rotation;
    -o-animation-duration: 2s;
    -o-animation-iteration-count: infinite;
    -o-animation-timing-function: linear;
    animation-name: rotation;
    animation-duration: .4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    z-index: 10;
}

#message-error {
    position: fixed;
    top: -80px;
    left: 42%;
    padding: 6px 15px;
    color: #55606e;
    font-size: 13px;
    z-index: 9999;
    background-color: #fbe4e1;
    border: 2px solid #f3a59d;
    border-radius: 3px;
    transition: top 0.5s;
}

.close-error-message {
    font-size: 18px;
    line-height: 16px;
    font-weight: bold;
    cursor: pointer;
}

.mobile {
    display: none;
}

@-moz-keyframes rotation {
    0% {-webkit-transform:rotate(0deg);
        -moz-transform:rotate(0deg);
        -o-transform:rotate(0deg);
        transform:rotate(0deg);}
    100% {-webkit-transform:rotate(-360deg);
        -moz-transform:rotate(-360deg);
        -o-transform:rotate(-360deg);
        transform:rotate(-360deg);
    }
}

@-o-keyframes rotation {
    0% {-webkit-transform:rotate(0deg);
        -moz-transform:rotate(0deg);
        -o-transform:rotate(0deg);
        transform:rotate(0deg);
    }
    100% {-webkit-transform:rotate(-360deg);
        -moz-transform:rotate(-360deg);
        -o-transform:rotate(-360deg);
        transform:rotate(-360deg);
    }
}

@keyframes rotation {
    0% {-webkit-transform:rotate(0deg);
        -moz-transform:rotate(0deg);
        -o-transform:rotate(0deg);
        transform:rotate(0deg);
    }
    100% {-webkit-transform:rotate(-360deg);
        -moz-transform:rotate(-720deg);
        -o-transform:rotate(-360deg);
        transform:rotate(-360deg);
    }
}

@media screen and (max-width: 1080px) {

    body {
        background-size: 100%;
    }

    .logo-top {
        /*margin: 10px 0 0;*/
    }

    .logo-top img {
        width: 42%;
        padding-left: 50px;
        order: 1;
    }

    .p-lang {
        order: 2;
    }

    .a-lang {
        font-size: 20px;
    }

    .page {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }


    h1 {
        font-size: 22px;
        text-align: center;
        margin: 0 0 10px;
    }

    h2 {
        font-size: 16px;
    }

    .description p {
        font-size: 13px;
        line-height: 1.4;
    }

    .main-picture {
        margin: 50px 0 5px;
    }

    #categories .part {
        font-size: 14px;
    }

    #categories {
        margin: 5px 0 20px;
    }

    .modern-button, .modern-button.upload-btn {
        height: 30px;
        font-size: 16px;
        line-height: 30px;
    }

    .footer {
        /*margin: 20px 0 50px;*/
        text-align: center;
        white-space: normal;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }
}
