body {
    font-family: Arial, sans-serif;
    background-color: #0a3f20;
    color: white;
    margin: 0;
    padding: 0;
}
body {
    margin: 0; /* Убираем стандартные отступы */
    padding: 0; /* Убираем внутренние отступы */
    width: 100%; /* Задаем ширину равной 100% ширины окна просмотра */
    height: 100%; /* Задаем высоту равной 100% высоты окна просмотра */
    overflow: hidden; /* Предотвращаем возможный скролл */
    background-image: url('/img/bg.jpg'); /* Путь к вашему фоновому изображению */
    background-position: top center; /* Центрируем изображение по горизонтали и вертикали */
    background-size: cover;
    background-repeat: no-repeat; /* Убираем повторение изображения */
    background-color: #031d14
}
body {
    font-family: 'Montserrat', sans-serif;
}

.container {
    display: flex;
    justify-content: center; /* Выравнивание по горизонтали */
    align-items: center; /* Выравнивание по вертикали */
    height: 100vh; /* Высота контейнера будет равна высоте экрана */
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}
.background-image {
    width: 100%;
    height: auto;
}
.button {
    position: absolute;
    top: 50%; /* Adjust the position accordingly */
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
}

.container {
    display: flex; /* Используем flexbox для распределения пространства между левым и правым блоками */
}

.left-block, .right-block {
    width: 50%; /* Задаем каждому блоку половину ширины контейнера */
    display: block;
    flex-direction: column; /* Содержимое будет располагаться вертикально */
    align-items: center; /* Выравнивание содержимого по горизонтали (центр) */
    text-align: center;
    justify-content: center; /* Выравнивание содержимого по вертикали (центр) */
    height: 100%;
    margin-top: 4%;
}
.left-block {
    width: 50%;
    display: flex; /* Flexbox для вертикального выравнивания содержимого */
    flex-direction: column;
    align-items: center; /* Выравнивание содержимого по центру по горизонтали */
    justify-content: center; /* Выравнивание содержимого по центру по вертикали */
    text-align: center;
    height: 100%; /* Высота на всю доступную область */
    margin-top: 0; /* Убираем отступ сверху */
}

.left-block * {
    margin: 0 auto;
}

/* Стили для внутренних элементов остаются теми же, что и в предыдущем примере */

.right-block img {
    width: 90%; /* Ширина изображения подстраивается под ширину блока */
    height: auto; /* Высота изображения подстраивается пропорционально */
}


.logo {
    position: relative;
    width: 288px;
}

.logo .main {
    display: block;
}

.logo .hat {
    position: absolute;
    top: -15px;
    left: 92px;
}

.happy-new-year {
    text-align: center;
    margin: 20px 0;
}

.happy-new-year span {
    display: block;
    font-weight: bold;
}

.slogan, .promo {
    text-align: center;
    margin: 10px 0;
}

.promo {
    display: flex;
    justify-content: center;
}

.promo span {
    margin-right: 10px;
}

.js-copy {
    text-decoration: none;
    cursor: pointer;
}

.green-button {
    display: block;
    width: max-content;
    margin: 20px auto;
}

.right-block img {
    width: 90%;
    height: auto;
    bottom: 0;
    position: relative;
    margin-top: 50px;
}
.right-block div{
    /*margin-top: 30%;*/

}
.red-button {
    margin: 20px auto;
    background: url("/img/red-btn.png") no-repeat center center;
    width: 287px;
    height: 172px;
    display: flex; /* Добавляем flexbox */
    align-items: center; /* Выравниваем по центру по вертикали */
    justify-content: center; /* Выравниваем по центру по горизонтали */
    text-decoration: none; /* Убираем подчеркивание текста */
    color: white; /* Цвет текста, измените на нужный вам */
    font-family: 'Montserrat', sans-serif; /* Шрифт текста, если он у вас подключен */
    font-size: 16px; /* Размер шрифта, измените на нужный вам */
}

.red-button span {
    pointer-events: none; /* Убираем влияние на курсор, если необходимо */
}

.green-button {
    margin: 20px auto;
    background: url("/img/green-btn.png") no-repeat center center;
    width: 275px;
    height: 60px;
    display: flex; /* Добавляем flexbox */
    align-items: center; /* Выравниваем по центру по вертикали */
    justify-content: center; /* Выравниваем по центру по горизонтали */
    text-decoration: none; /* Убираем подчеркивание текста */
    color: white; /* Цвет текста, измените на нужный вам */
    font-family: 'Montserrat', sans-serif; /* Шрифт текста, если он у вас подключен */
    font-size: 16px; /* Размер шрифта, измените на нужный вам */
}

.green-button span {
    pointer-events: none; /* Убираем влияние на курсор, если необходимо */
}

.happy-new-year {
    font-size: 18px;
    padding-top: 40px;
}
.happy-new-year span {
    font-size: 30px;
    font-weight: 500;
    padding-top: 10px;
}



.red-button span {
    color: #eedfcc;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
}

a.red-button b {
    font-size: 28px;
}
.red-button.gold-border {
    background: url("/img/gold-border.png") no-repeat center center;
}
.red-button.gold-border span {
    text-transform: math-auto;
    padding: 0 30px;
    font-size: 18px;
    text-align: left;
}

.slogan {
    color: #feda90;
    padding: 0 100px;
    font-size: 18px;
    font-weight: 600;
}

.promo span {
    font-size: 24px;
    font-weight: 600;
    display: block;
    width: 100%;
    text-align: center;
}

.promo a {
    color: #fff;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    margin-left: 180px;
    padding-top: 10px;
}

.promo {
    width: 100%;
    display: block;
}

a.green-button {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    position: relative;
}

a.green-button span {
    padding: 0 30px;
}

.left-block {
    padding-left: 5%;
}
.right-block {
    padding-right: 3%;
}

.left-block a.green-button::after {
    content: ""; /* Обязательное свойство для псевдоэлементов */
    position: absolute; /* Абсолютное позиционирование относительно блока */
    right: -120px; /* Позиционирование в левом нижнем углу */
    bottom: -120px;
    width: 191px; /* Размер вашего изображения */
    height: 113px;
    background-image: url('/img/coupe.png'); /* Путь к изображению */
    background-size: cover; /* Масштабирование изображения для заполнения блока */
}
.rules-block a {
    color: #fff;
    font-size: 12px;
}
@media screen and (max-height: 800px) {
    .left-block {
        transform: scale(0.8);
    }
    .right-block {
        transform: scale(0.9);
    }
    .right-block img {
        width: 80%;
    }
}
@media screen and (max-width: 1400px) {
    .right-block img {
        width: 80%;
    }

    .right-block {
        padding-right: 15%;
    }

    .left-block {
        padding-left: 15%;
    }

    .logo {transform: scale(0.8);}

    .happy-new-year {
        padding-top: 20px;
        margin: 5px 0;
        font-size: 16px;
    }

    .happy-new-year span {
        font-size: 26px;
    }

    .slogan {
        font-size: 14px;
        padding: 0 60px;
    }

    a.red-button {
        margin: 10px auto;
    }

    .promo a {
        padding-top: 5px;
    }

    .promo span {
        font-size: 20px;
    }

    a.green-button {
        margin: 10px auto;
    }
}
@media screen and (max-width: 1000px) {
    body {
        background-image: url('/img/m-bg.jpg');
        overflow: auto;
        background-size: 1000px;
    }
    .left-block {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .container {
        display: block;
        height: auto;
    }
    .logo {
        transform: scale(0.6);
        width: 285px;
    }

    .happy-new-year {
        padding: 0;
        font-size: 12px;
    }

    .happy-new-year span {
        font-size: 16px;
    }

    a.red-button {
        /*height: 153px;*/
        background: url("/img/m-red-btn.png") no-repeat center center;
        /*width: 254px;*/
        transform: scale(0.6);
        margin: 0px auto;
    }

    .slogan {
        font-size: 12px;
    }

    .promo span {
        font-size: 16px;
    }

    .promo a {
        font-size: 10px;
        margin-left: 110px;
    }

    a.green-button {
        height: 51px;
        background: url("/img/m-green-btn.png") no-repeat center center;
        width: 242px;
        transform: scale(0.7);
        margin: 10px auto;
    }

    .right-block {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .right-block div {
        margin: 0;
    }

    .right-block img {
        max-height: 260px;
        margin-top: 80px;
        width: auto;
    }

    .left-block {
        display: block;
        text-align: center;
        margin-top: 30px;
    }

    .left-block * {
        margin: 0 auto;
    }

    .logo .hat {
        top: -14px;
        left: 90px;
    }

    .promo {
        padding-top: 20px;
    }
}
@media screen and (max-width: 1000px) and (min-width: 361px) {
    .slogan {max-width: 240px;}

    .logo {
        transform: scale(0.7);
    }

    .happy-new-year {
        font-size: 14px;
    }

    .happy-new-year span {
        font-size: 20px;
    }

    a.red-button {
        transform: scale(0.8);
    }

    .slogan {
        font-size: 14px;
    }

    a.green-button {
        transform: scale(0.8);
    }

    .left-block a.green-button::after {
        transform: scale(0.7);
    }
}
@media  only screen and (min-device-pixel-ratio:2) and (max-width: 1000px),only screen and (min-resolution:192dpi) and (max-width: 1000px),only screen and (min-resolution:2dppx) and (max-width: 1000px) {
    .slogan {max-width: 500px;}

    .logo {
        transform: scale(1);
        margin-top: -30px;
    }

    .happy-new-year {
        margin: 10px auto;
        font-size: 18px;
    }

    .happy-new-year span {
        font-size: 24px;
    }

    a.red-button {
        transform: scale(1.3);
        height: 200px;
    }
    .red-button span {
        font-size: 18px;
    }
    a.red-button b {
        font-size: 24px;
    }

    .slogan {
        font-size: 18px;
    }

    a.green-button {
        transform: scale(1);
    }

    .left-block a.green-button::after {
        transform: scale(1);
    }
    .right-block img {
        max-height: 300px;
        margin-top: 10px;
    }
    .red-button.gold-border {
        background: url(/img/m-gold-border2.png) no-repeat center center;
        width: 396px;
        height: 190px;
        margin: 10px auto;
        transform: scale(1);
    }
}