@import url('https://fonts.googleapis.com/css?family=Roboto:400,700,900&display=swap');
/* @import url('https://fonts.googleapis.com/css?family=Cinzel|Open+Sans:400,600,700&display=swap'); */
@font-face {
    font-family: 'Japanese 3017';
    src: url('Japanese3017.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
/* @import url('https://fonts.googleapis.com/css?family=Cinzel:400,700|Open+Sans:400,600,700&display=swap'); */
header{
    display: flex;
    background-color: #1d1218ed;
    padding: 10px calc((170 * 100vw) / 1920);
    justify-content: space-between;
    align-items: center;
}
body{
    min-height: 100vh;
    background: url(../images/bg.png);
    background-size: cover;
    background-position: 80% 0;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
}
.reg{
    display: flex;
    align-items: center;
    margin-left: calc((48 * 100vw) / 1920);
}
.stars{
    display: flex;
}
#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
  }
.reg .login{
    color: #fff;
    font-family: 'Roboto';
    font-size: 16px;
}
.stars .item{
    margin-right: calc((42 * 100vw) / 1920);
}
.login{
    transition: all 0.2s;
}
.login:hover{
    color: #529309;
}
.registration{
    color: #fff;
    font-family: 'Roboto';
    font-size: 16px;
    padding: 12px 25px;
    border: 1px solid #529309;
    border-radius: 19px;
    text-decoration: none;
    transition: all 0.2s;
    margin-left: calc((40 * 100vw) / 1920);
    box-shadow: 0px 0px 3px 1px #529309;
}
.registration:hover{
    color: #1d1218;
    background-color: #529309;
}
.offer{
    padding: calc((150 * 100vh) / 1080) 0;
    display: inline-block;
    background: url(../images/bg-offer.png);
    background-size: 100% 100%;
    min-width: 100%;
    text-align: center;
    border-radius: 4px;
}
.offer-title{
    font-size: 140px;
    font-family: 'Japanese 3017';
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}
.offer-main{
    font-family: 'Japanese 3017';
    font-size: 45px;
    color: #fff;
    text-align: center;
    margin-top: calc((5 * 100vh) / 1080);
    line-height: 1.19;
}
.offer-main small{
    display: block;
    font-size: 49px;
    font-family: 'Cinzel';
    color: #fff;
    text-align: center;
}
.offer-subtitle{
    margin-top: calc((10 * 100vh) / 1080);
    color: #000000;
    font-family: 'Roboto';
    font-size: 24px;
    text-align: center;
    display: block;
}
.offer-code{
    font-family: 'Roboto';
    color: #fff;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 400;
    background-color: rgba(0, 0, 0, 0.342);
    height: 70px;
    line-height: 70px;
    border: 1px dashed #FFFFFF;
    border-right: none;
    padding: 0 33px;
    border-radius: 50px 0px 0px 50px;
}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: calc((30 * 100vh) / 1080);
}
.offer-btn{
    font-weight: 600;
    font-family: 'Roboto';
    font-size: 18px;
    padding: 0 30px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    color: #001E33;
    border-radius: 3px;
    height: 72px;
    line-height: 72px;
    border-radius: 0px 50px 50px 0px;
}
.offer-link{
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    font-family: 'Roboto';
    padding: 23px 124px;
    background: #81DA0F linear-gradient(0deg, #2B5804 0%, #2B5804 0%, #81DA0F 100%) 0% 0% no-repeat padding-box;
    display: inline-block;
    text-decoration: none;
    margin-top: calc((26 * 100vh) / 1080);
    transition: all 0.2s;
    border-radius: 50px;
}
.main{
    display: flex;
    flex-direction: column;
    margin-top: calc((35 * 100vh) / 1080);
    margin-left: auto;
    margin-right: calc((123 * 100vw) / 1920);
    justify-content: flex-start;
    align-items: center;
    width: 834px;
    flex-grow: 1;
}
.terms-trigger_text{
    color: #FFFFFF;
    padding: 12px 29px;
    border-bottom: none;
    display: inline-block;
    font-family: 'Roboto';
    font-size: 18px;
    background-color: #992212;
    position: relative;
    cursor: pointer;
    border-radius: 30px 30px 0 0;
}
.terms-text{
    color: #FFFFFF;
    border-bottom: none;
    font-family: 'Roboto';
    font-size: 14px;
    background-color: #00000085;
    padding: 28px 24px;
    border-radius: 30px 30px 0px 0px;
}
.terms-trigger{
    text-align: center;
    margin-bottom: -1px;
    position: relative;
}
.terms{
    margin-top: auto;
    overflow: hidden;
    margin-right: 70px;
    margin-left: 75px;
}
.terms-trigger_arrow {
    content: '';
    display: block;
    border-style: solid;
    border-width: 1px 1px 0 0;
    border-color: #f8aa00;
    height: 9px;
    width: 9px;
    -webkit-transform: rotate(-45deg) translateY(2px);
    transform: rotate(-45deg) translateY(2px);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: .5s;
    transition: .5s;
    margin-right: 5px;
    position: absolute;
    top: 13px;
    right: 10px;
}
.terms-trigger.curent .terms-trigger_arrow {
    -webkit-transform: rotate(130deg) translateY(2px);
    transform: rotate(130deg) translateY(2px);
}
.terms-open .terms-trigger_arrow{
    transform: rotate(130deg) translateY(2px);
    top: 16px;
}
.offer-btn:hover{
    background-color: #aaaaaa;
    color: #fff;
}
.offer-link:hover{
    transform: scale(1.05);
    box-shadow: 0px 5px 10px #000000ad;
}
.terms-text p{
    font-size: 13px;
}
@media screen and (max-width: 1450px) {
    .main {
        width: 700px;
    }
    .offer {
        padding: 110px 0;
    }
}
@media screen and (max-width: 1370px) {
    .main {
        width: 600px;
    }
    .offer {
        padding: 80px 0;
    }
    .offer-title {
        font-size: 100px;
    }
    .offer-main {
        font-size: 35px;
        margin-top: 0;
    }
    .offer-subtitle {
        margin-top: 14px;
        font-size: 20px;
    }
    .offer-code{
        height: 55px;
        line-height: 55px;
        font-size: 24px;
    }
    .offer-btn{
        height: 57px;
        line-height: 57px;
        font-size: 16px;
    }
    .offer-link{
        font-size: 20px;
        padding: 19px 114px;
    }
    .center {
        margin-top: 13px;
    }
}
@media (max-width: 1024px) and (orientation:portrait),(max-width:1023px) {
    #myVideo {
        display: none;
      }
    .stars{
        display: none;
    }
    header {
        justify-content: center;
        width: 100%;
        padding: 10px 0;
    }
    .logo img{
        max-width: 110px;
    }
    body{
        background: url(../images/bg-tab.gif);
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        align-items: center;
    }
    .main {
        width: 100%;
        max-width: 450px;
        margin: 0 0 0 0;
        position: relative;
    }
    .login{
        font-size: 14px;
    }
    .registration{
        font-size: 14px;
    }
    .offer-title{
        font-size: 78px;
    }
    .offer-main{
        font-size: 26px;
        margin-top: 10px;
    }
    .offer-subtitle {
        margin-top: 5px;
        color: #000000;
        font-size: 16px;
    }
    .offer-code {
        height: 36px;
        line-height: 36px;
        font-size: 16px;
        padding: 0 23px;
    }
    .offer-btn{
        height: 38px;
        line-height: 38px;
        font-size: 12px;
        padding: 0 11px;
    }
    .center{
        margin-top: 15px;
    }
    .offer-link{
        margin-top: 15px;
        font-size: 16px;
        padding: 11px 67px;
    }
    .offer{
        padding: 60px 0;
        margin-bottom: 220px;
    }
    .terms{
        position: absolute;
        bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .terms-trigger_text {
        font-size: 12px;
        padding: 6px 11px;
        border-radius: 15px 15px 0 0;
    }
    .terms-trigger_arrow {
        top: 12px;
        right: 10px;
        border-color: #adabab;
        height: 6px;
        width: 6px;
    }
    .terms-open .terms-trigger_arrow {
        transform: rotate(130deg) translateY(2px);
        top: 10px;
    }
    .terms-trigger_text {
        border-bottom: none;
    }
    .terms-text {
        padding: 10px 15px;
        font-size: 12px;
        line-height: 16px;
    }
    .terms-text p {
        font-size: 12px;
    }
}