body {
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #fff;
    background-color: #000;
}

.header {
    text-align: center;
    text-transform: uppercase;
}

.header .wrap{
    max-width: 1300px;
    margin: 0 auto;
}

h1 {
    font-size: 65px;
    color: #fbd249;
    margin: 5px 0;
line-height: 1;
}
h2{
    font-size: 36px;
    line-height: 1;
}
.header .descr {
    font-weight: 700;
    font-size: 22px;
    max-width: 80%;
    margin: 30px auto 40px;
}

.login {
    display: flex;
    margin: 0 50px;
}

.login_img img{
    width: 100%;
}

form {
    padding-top: 50px;
    width: 400px;
}

.input_email, .input_password {
    position: relative;
}

.icon {
    position: absolute;
}

.input_email .icon {
    height: 20px;
    width: 25px;
    background-image: url('images/email.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.input_password .icon {
    height: 20px;
    width: 15px;
    background-image: url('images/lock.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    top: 50%;
    left: 25px;
    transform: translateY(-50%);
}

form input {
    width: 400px;
    padding: 15px 55px;
    border-radius: 9px;
    border: none;
    margin: 10px 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    box-sizing: border-box;
}

form input::-webkit-input-placeholder {font-family: 'Open Sans', sans-serif; font-weight: 700;}
form input::-moz-placeholder  {font-family: 'Open Sans', sans-serif; font-weight: 700;}
form input:-moz-placeholder   {font-family: 'Open Sans', sans-serif; font-weight: 700;}
form input:-ms-input-placeholder  {font-family: 'Open Sans', sans-serif; font-weight: 700;}

form input:focus {
    outline: none;
}

form .input_password:focus .icon {
    background-image: url('images/lock_active.png');
}

form input:focus {
    outline: none;
}
.modal {
    background: #000 !important;
    border: 2px solid #fff;
    height: 60vh !important;
    width: 70vw !important;
}
.modal iframe{
    width: 100%;
    height: 100%;
}
.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
    width: auto;
}

.custom-checkbox+label {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 1.1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.custom-checkbox:checked+label::before {
    background-image: url("images/check.png");
}

form button {
    font-weight: 700;
    text-transform: uppercase;
    border: 4px solid #ff331b;
    border-radius: 35px;
padding: 10px 0;
	width: 180px;
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

form button:hover {
    background-color: #ff331b;
}

.games_wrap h2{
    text-transform: uppercase;
    text-align: center;
    font-size: 46px;
}

.games {
    background-image: url('images/games_bg.png');
    background-size: 90%;
    background-position: bottom center;
    background-repeat: no-repeat;
    max-width: 1600px;
    margin: 0 auto;
}
.inner_games_wrap{
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 40px;
}
.game{
    width: 230px;
    height: 322px;
    background-size: cover;
    margin: 10px;
    position: relative;
    text-decoration: none;
}
.game1 {
    background-image: url('images/games/1.jpg');
}

.game2 {
    background-image: url('images/games/2.jpg');
}

.game3 {
    background-image: url('images/games/3.jpg');
}

.game4 {
    background-image: url('images/games/4.jpg');
}
.game5 {
    background-image: url('images/games/5.jpg');
}
.game6 {
    background-image: url('images/games/6.jpg');
}
.game7 {
    background-image: url('images/games/7.jpg');
}
.game8 {
    background-image: url('images/games/8.jpg');
}

.link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    display: none;
}

.link div {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-decoration: none;
}

.link img {
    width: 70px;
    margin: 0 auto;
}

.link button {
    font-weight: 700;
    text-transform: uppercase;
    border: 4px solid #ff331b;
    border-radius: 35px;
    padding: 10px 0px;
width: 180px;
line-height: 1.3;
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
}
.link:hover{
    cursor: pointer;
}
.link button:hover {
    background-color: #ff331b;
}

.game:hover > .link {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.footer {
    background-color: #042712;
    padding: 30px 0;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img_18 {
    height: 28px;
    width: 28px;
    margin-right: 10px;
}

.img_logo {
    width: 270px;
    height: 35px;
}

.footer_wrap {
    max-width: 1200px;
    margin: 0 auto
}

.link_footer{
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    color: #c0a93b;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 40px;
}

.link_footer img {
    margin-right: 10px;
}

.link_footer + span{
    color: #fff;
    font-weight: 700;
font-size:12px
}

.policy, .terms {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

@media screen and (max-width: 1120px) {
    .descr {
        padding: 0 80px;
    }

    .login {
        flex-direction: column;
    }

    .login_img {
        order: 1;
    }

    .login form {
        order: 2;
        margin: 0 auto;
    }

    .login form button {
        margin: 20px auto 0;
        display: inherit;
    }

    .footer_wrap {
        max-width: 800px;
    }
}

@media screen and (max-width: 800px) {
    .header h2 {
        font-size: 26px;
    }

    .header h1 {
        font-size: 30px;
    }

    .descr {
        font-size: 14px !important;
    }

    .footer_wrap {
        max-width: 500px;
    }
}

@media screen and (max-width: 500px) {
    .terms, .policy {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
    }
}