@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

body, html {
    height: 100%
}

body {
    min-height: 100vh;
}

.main {
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-color: #2f080b;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
    position: relative;
}
.main.percent175 {
    background-image: url(../images/bg175.jpg);
}
.main.percent200 {
    background-image: url(../images/bg200.jpg);
}
.main.percent250 {
    background-image: url(../images/bg250.jpg);
}

.header {
    height: 120px;
    background-color: rgba(24, 20, 18, 0.741);
    padding: 0 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.header-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.stars {
    width: 260px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-right: 130px;
}

.item {
    text-align: center;
}

.item p {
    color: white;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
}

.item p span {
    font-weight: bold;
}

.reg {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.login {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 40px;
    font-size: 14px;
}
.login:hover{
    text-decoration: none;
}

.registration {
    color: white;
    background-color: #e89b00;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    padding: 20px 50px;
    border-radius: 30px;
    text-shadow: 1px 1px 1px black;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}
.registration:hover {
    -webkit-box-shadow: 0 0 10px #e89b00;
    box-shadow: 0 0 10px #e89b00;
}

.registration::before {
    content: attr(data-text);
    position: absolute;
    z-index: 0;
}

.container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

.box {
    width: 470px;
    padding: 40px 0;
    margin-right: 270px;
    margin-top: 100px;
    text-align: center;
    border-radius: 5px;
    background-image: url(../images/box.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-box-shadow: 0 0 50px 0px black;
            box-shadow: 0 0 50px 0px black;
}

.box2 {
    margin-top: 60px;
    width: 470px;
    padding: 0;
    overflow: hidden;
}

.box2.new-box {
    margin-top: 25px;
}

.box-title {
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 35px;
    line-height: 44px;
}
.box-title span{
    font-size: 22px;
    font-weight: normal;
}

.on-game {
    font-size: 14px;
    color: #44050b;
}

.use-code {
    color: white;
    font-size: 14px;
    margin-top: 20px;
}

.bonus {
    max-width: 80%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-radius: 5px;
    /*background-color: #44050b;*/
    margin: 10px auto 0 auto;
    overflow: hidden;
}

.code {
    width: 255px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    border-top: none;
    border-left: none;
    border-bottom: none;
    border-right: 2px solid #e89b00;
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
    color: #e89b00;
    background: #44050b;
    outline: none;
}

.copy {
    width: 120px;
    height: 60px;
    line-height: 60px;
    border: 0;
    outline: none;
    color: white;
    background-color: #5d060e;
    cursor: pointer;
}

.claim {
    display: inline-block;
    letter-spacing: 1px;
    text-shadow: 2px 1px 1px #270d02;
    color: white;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    background-color: #e89b00;
    padding: 20px 40px;
    border-radius: 40px;
    margin-top: 25px;

}

.anim {
    -webkit-animation: scale 1s infinite ease-in-out alternate;
            animation: scale 1s infinite ease-in-out alternate;
}

@-webkit-keyframes scale {
    from {
        -webkit-transform: scale(1);
                transform: scale(1);
    }
    to {
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }

}

@keyframes scale {
    from {
        -webkit-transform: scale(1);
                transform: scale(1);
    }
    to {
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }

}

.welcome {
    color: #e89b00;
}

.box2-top {
    padding: 15px 0 20px 0;
    background-image: url(../images/box2bg.png);
    background-size: 100% 100%;
}

.box2-title {
    font-size: 35px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 15px;
}

.box2-bottom {
    background: -webkit-gradient(linear, left top, right top, from(#bd7502), color-stop(#e89b00), to(#bd7502));
    background: -webkit-linear-gradient(left, #bd7502, #e89b00, #bd7502);
    background: -o-linear-gradient(left, #bd7502, #e89b00, #bd7502);
    background: linear-gradient(to right, #bd7502, #e89b00, #bd7502);
    padding: 10px 0;
}

.box2-bottom p {
    color: #121011;
}

.terms-container {
    width: 470px;
    z-index: 33;
    border: 1px solid #e89b00;
    border-bottom: none;
    position: fixed;
    bottom: 0;
    right: 270px;
    background-color: #1f1b1b;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.terms {
    margin: 0 auto;
    font-size: 12px;
    color: rgba(134, 134, 134, 0.7);
    padding: 30px 20px;
    position: relative;
}

.terms-show {
    position: absolute;
    top: -34px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    background: #1f1b1b;
    color: #e89b00;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 10px 35px;
    border: 1px solid #e89b00;
    border-bottom: 3px solid #1f1b1b;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    cursor: pointer;
    z-index: 22;
}

.terms-show:focus {
    outline: none;
}

.terms-container.hide {
    -webkit-transform: translateY(100%);
        -ms-transform: translateY(100%);
            transform: translateY(100%);
}

@media screen and (max-height: 864px) {
    .main{
        padding-bottom: 145px;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
    }
}

@media screen and (max-width: 1500px) {
    .logo img {
        width: 100px;
    }

    .header {
        height: 100px;
        padding: 0 50px;
    }

    .item p {
        font-size: 12px;
        line-height: 16px;
    }

    .box {
        margin-right: 150px;
    }

    .box-bonus {
        margin-bottom: 50px;
    }

    .terms-container {
        right: 150px;
    }
}

@media screen and (max-width: 1200px) {
    .header {
        padding: 0 50px;
    }

    .stars {
        width: 200px;
        margin-right: 40px;
    }

    .item p {
        font-size: 12px;
    }
    .main{
        background-position: -225px;
    }
}

@media screen and (max-width: 1024px) {
    .box {
        margin-right: 5vw;
    }

    .terms-container {
        right: 5vw;
    }
}

@media screen and (max-width: 992px) {
    .content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .main{
        background-position: -400px;
    }
}

@media screen and (max-width: 768px), screen and (max-width: 1000px) and (max-height: 500px) and (orientation: landscape), screen and (max-width: 1050px) and (orientation: portrait){
    .header {
        padding: 0 15px;
        height: 60px;
    }
    .login {
        margin-right: 20px;
        font-weight: normal;
    }

    .logo img {
        width: 90px;
    }

    .main {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top center;
    }
    .main.percent175, 
    .main.percent200, 
    .main.percent250 {
        background-image: url(../images/bg_mob.jpg);
    }

    .stars {
        display: none;
    }

    .login {
        font-size: 12px;
    }

    .registration {
        padding: 12px 30px;
        font-size: 12px;
        font-weight: normal;
    }

    .container {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center
    }

    .box{
        margin-right: 0;
        z-index: 1;
    }
    .main:before{
        content: '';
        display: block;
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
                transform: translateX(-50%);
        width: 249px;
        height: 201px;
        background-repeat: no-repeat;
        background-position: top center;
        background-size: cover;
        z-index: 0;
        top: 70px;
    }
    .main.percent175:before{
        background-image: url('../images/image_mob_175.png');
    }
    .main.percent200:before{
        background-image: url('../images/image_mob_200.png');
    }
    .main.percent250:before{
        background-image: url('../images/image_mob_250.png');
    }
    .box1 {
        margin-top: 210px;
    }

    .box2 {
        margin-top: 30px;
    }

    .terms-container {
        right: calc(50vw - 470px / 2);
    }
}

@media screen and (max-width: 480px) {
    .box {
        width: 300px;
        margin: 0 auto;
        margin-top: 210px;
        padding: 25px 0px;
    }
    .bonus {
        max-width: 90%;
    }
    .box2 {
        width: 100%;
        margin: 0 auto;
        margin-top: 15px;
        margin-bottom: 0;
        padding: 0;
    }

    .box-bonus {
        margin-bottom: 25vh;
    }

    .box-title {
        line-height: 33px;
        font-size: 26px;
    }

    .box-title span{
        font-size: 20px;
    }

    .use-code {
        margin-top: 15px;
    }

    .code {
        font-size: 22px;
        width: 155px;
    }

    .copy {
        font-size: 12px;
    }

    .terms-container {
        width: 320px;
        right: calc(50vw - 320px / 2);
    }

    .terms-show {
        padding: 10px 30px;
    }
}
@media screen and (max-width: 1050px) and  (min-width: 900px) and (orientation: portrait){
    .box1 {
        margin-top: 370px;
    }
}
@media screen and (max-width: 1400px) and (min-width: 1250px){
    .main.percent200 {
        background-position-x: 60%;
    }
}