* {
    box-sizing: border-box;
}

html {
    position: relative;
    min-height: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #000000;
    text-align: center;
    background: #ffffff;
}

body {
    overflow-x: hidden;
}

h1,
p {
    margin: 0 0 10px;
}

p {
    line-height: 1.4;
}

.container {
    padding: 0 15px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
    .container {
        max-width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 970px;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 16px;
    }
    .container {
        max-width: 1200px;
    }
}

@media (min-width: 1440px) {
    html {
        font-size: 18px;
    }
    .container {
        max-width: 1400px;
    }
}

.logo {
    display: flex;
    min-height: 85px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    z-index: 1;
}

.section-text {
    padding: 20px 0;
    color: #ffffff;
    background: #004c8d;
}

.h1 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.h2 {
    margin: 15px 0;
    font-size: 20px;
    font-weight: bold;
    color: #000000;
}

.h3 {
    font-size: 18px;
    font-weight: bold;
}

.wrapper {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    min-height: 360px;
}

.box {
    position: absolute;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.box:nth-child(1) {
    top: 0;
    left: 0;
}

.box:nth-child(2) {
    top: 0;
    left: 50%;
}

.box:nth-child(3) {
    top: 33%;
    left: 0;
}

.box:nth-child(4) {
    top: 33%;
    left: 50%;
}

.box:nth-child(5) {
    top: 66%;
    left: 0;
}

.box:nth-child(6) {
    top: 66%;
    left: 50%;
}

.box {
    width: 130px;
    height: 140px;
    margin: 5px;
    padding: 0;
    background: transparent url("/static/assets/box.webp") no-repeat center;
    background-size: contain;
    /*background-size: 70%;*/
    border: none;
    cursor: pointer;
}

.box-empty {
    opacity: 0.3;
    pointer-events: none;
}

.box-win {}

.box.box-win-zoom {
    top: 30%;
    right: 0;
    left: 0;
    width: 366px;
    height: 300px;
    margin: auto;
    /*background-image: url("../img/box-win.png.html");*/
    opacity: 1;
    transition: 1s;
}

/*.h-win {
  color: #006cc9;
  font-size: 32px;
}*/

.btn {
    min-width: 240px;
    padding: 10px 40px;
    margin: 0 10px 20px;
    font-weight: normal;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    background: red;
    border-radius: 35px;
    cursor: pointer;
}

.white-popup {
    position: relative;
    width: 95%;
    max-width: 300px;
    margin: 20px auto;
    padding: 30px;
    /*font-size: 18px;*/
    background: rgba(255, 255, 255, 1);
    /*background: #BEC5D8;*/
    /*border: 4px solid #006cc9;*/
    text-align: center;
    border-radius: 20px;
    line-height: 1.1em;
    overflow: hidden;
}

.white-popup .h2,
.white-popup .h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #000000;
}

.white-popup .h3 {
    margin: 0 0 15px;
}

#modal-win {
    max-width: 500px;
    padding-top: 20px;
}

.mb-2 {
    margin-bottom: 2rem;
}

.modal-img {
    width: 70%;
    z-index: 0;
}

@media (max-width: 992px) {}

@media (max-width: 576px) {
    .btn {
        margin: 0 0 10px;
        padding: 10px 15px;
    }
    .white-popup {
        padding: 20px;
    }
    #modal-win {
        padding-top: 20px;
    }
}

@media (max-width: 320px) {
    .wrapper {
        max-width: 300px;
    }
    .box {
        width: 130px;
        height: 107px;
        margin: 0 0 30px;
    }
}

.hide {
    min-height: 0;
    height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
}

.show {
    height: auto;
    opacity: 1;
}

.opacity-0 {
    opacity: 0;
    transition: 1s;
}

.footer {
    background-color: #000;
    padding: 15px 0;
}

.footer__link {
    display: block;
    text-align: center;
    margin: 10px 0;
    font-size: 11px;
    letter-spacing: 0.1px;
    text-decoration: unset;
    color: #fff;
}

.footer__text {
    font-size: 10px;
    text-align: center;
    line-height: 1.6;
    color: #fff;
}

.height {
    margin-bottom: 50px;
}

.text {
    font-style: italic;
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    margin-bottom: 50px;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

header {
    animation: slideInFromTop 1s ease;
}

@keyframes slideInFromDown {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

section,
.text,
.footer {
    animation: slideInFromDown 1s ease;
}
