html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

#infscr-loading {
    text-align: center;
}

article,
aside,
footer,
header,
nav,
section {
    display: block;
}

figcaption,
figure,
main {
    display: block;
}

figure {
    margin: 0;
}

hr {
    box-sizing: content-box;
    overflow: visible;
    border: 0;
    height: 1px;
    margin: 20px 0;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

abbr[title] {
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: inherit;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

dfn {
    font-style: italic;
}

mark {
    background-color: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

audio,
video {
    display: inline-block;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

img {
    display: block;
    border-style: none;
}

svg:not(:root) {
    overflow: hidden;
}

p,
button,
input,
optgroup,
select,
textarea {
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0; /* 3 */
    white-space: normal;
}

progress {
    display: inline-block;
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

body {
    margin: 0;
    /*user-select: none;*/
    overflow-x: hidden;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    height: auto;
}

img,
iframe,
embed {
    max-width: 100%;
}

img {
    border-radius: 10px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input,
textarea,
select {
    outline: 0;
    -webkit-border-radius: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: normal;
    clear: both;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    max-width: 100%;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
    outline: 0 !important;
}

/*content*/
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100svh;
    overflow: hidden;
    max-width: 100%;
    font-family: "Raleway", sans-serif;
    position: relative;
}

.logo {
    position: absolute;
    top: 50px;
    z-index: -1;
}

.logo {
}

.blockman {
    max-height: 100vh;
    display: flex;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
}

.blockman img {
    max-height: 675px
}

.shadowtop,
.shadowdown {
    height: 20dvh;
    min-height: 111px;
    width: 100%; /* background: #000;*/
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9; /*background: url(/assets/images/bgtop.png) center repeat;    background-size: 100% 100%;*/
    display: none !important;
}

.shadowdown {
    top: auto;
    bottom: 0px;
    height: 10dvh
    /*background: url(/assets/images/bgbot.png) center repeat;     background-size: 100% 100%;*/
}

.mygrid {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.5s ease;
    width: 100%;
    overflow: hidden;
}

.drk-over {
    display: block;
    transition: all 0.6s ease;
    background: #000000BF;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.mygrid.bdark .drk-over {
    opacity: 1;
}

/*.shadowtop, .shadowdown {      height: 50px;      background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);    }
.shadowdown{background: linear-gradient(to bottom,  transparent, rgba(0,0,0,0.1) );}*/

.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 32;

    -webkit-mask-image: linear-gradient(to bottom,
    transparent 0px,
    black 100px,
    black calc(100% - 100px),
    transparent 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to bottom,
    transparent 0px,
    black 100px,
    black calc(100% - 100px),
    transparent 100%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

.backcontent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   /* Cross-browser compatibility: fallback for those browsers that do not support svh */
    height: 100svh; /* works in modern browsers and guarantees accurate height on mobile */
    z-index: -2;
    background: url(/assets/images/bg.webp) center 0 / cover no-repeat;
    animation: backmove 10s cubic-bezier(0.46, 0, 0.78, 1) infinite;
}

@keyframes backmove {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05); /* або 1.05 для меншої анімації */
    }
}

.buttons {
    width: 94%;
    display: flex;
    flex-direction: column;
    gap: 39px;
    position: absolute;
    bottom: -200px;
    transition: all 1s ease;
    max-width: 300px;
    z-index: 9999999999;
}

#closeintro,
.sendform,
#ruleclose,
.tohome,
#revlose,
#addReview,
.buttons a {
    opacity: 0;
    width: 295px;
    height: 49px;
    display: flex;
    padding: 15px 30px;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    backdrop-filter: blur(12px);

    box-shadow: 0px 0px 22px 0px rgba(242, 242, 242, 0.5) inset,
    0px 0px 0px 1px #999999 inset,
    -2px -2px 1px -2px #B3B3B3 inset,
    2px 2px 1px -2px #B3B3B3 inset,
    3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.5) inset;

    font-size: 13px;
    line-height: 16px;
    color: #fff;
    transition: all 0.5s ease;
}

.buttons a {
    display: none; /* `opacity: 0` is not enough, menu still clickable, so hiding it */
}

#closeintro {
    opacity: 1;
    width: 100%;
}

#addReview {
    width: 166px;
    opacity: 1;
}

#ruleclose,
#revlose {
    width: 49px;
    opacity: 1;
    padding: 0;
}

#ruleclose path {
    transition: all 0.3s ease;
}

#ruleclose:hover path {
    fill: #D90201
}

.buttons p {
}

.buttons.show {
    bottom: 14%;
}

.buttons.show a {
    opacity: 1;
    display: flex; /* Display menu to restore clickability */
}

.buttons p:nth-child(1) {
    transition-delay: .2s;
}

.buttons p:nth-child(2) {
    transition-delay: .5s;
}

.buttons p:nth-child(3) {
    transition-delay: .8s;
}

.rules,
.thank-you,
.reviews, .review-form, .roulette, .products-list {
    position: absolute;
    top: -150%;
    max-width: 333px;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: top 1s ease;
    max-height: 100svh;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 100px;
}

.intro .imess,
.tabs,
.thank-you .messbody,
#reviewForm,
.reviews .review, .review-form2 {
    max-width: 333px;
    padding: 20px;
    margin-top: 22px;

    border-radius: 25px;
    backdrop-filter: blur(12px);
    box-shadow: 0px 0px 22px 0px rgba(242, 242, 242, 0.5) inset,
    0px 0px 0px 1px #999999 inset,
    -2px -2px 1px -2px #B3B3B3 inset,
    2px 2px 1px -2px #B3B3B3 inset,
    3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.5) inset;

    background: rgba(255, 255, 255, .1);
}

.intro {
    position: absolute;
    bottom: -100%;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

.intro .imess b {
    display: block;
    font-size: 20px;
    margin-bottom: 10px;
}

.intro.show {
    bottom: 15%;
}

.imess {
    margin-bottom: 100px;
}

.review {
    color: #fff;
}

.revhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 100px;
    margin-bottom: 20px;
}

.revhead span {
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    color: #fff;
}

.review p {
    margin: 15px 0 25px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.reviews::-webkit-scrollbar, .review-form::-webkit-scrollbar {
    display: none;
}

.review strong {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    display: block;
}

.mst {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #D4D4D4;
    font-weight: 400;
    font-size: 13px;
    line-height: 10px;
    margin: 7px 0;
}

.review {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.stars {
    font-size: 18px;
    color: #D4D4D4;
    margin-right: 11px;
}

.stars * {
    font-style: normal;
    color: #D4D4D4
}

.stars .colred {
    color: #C60203;
}

.like {
    display: flex;
}

.like a {
    color: #fff;
    display: flex;
    align-items: center;
    margin-right: 50px;
}

.like a img {
    margin-right: 10px;
}

.like-btn {
    cursor: pointer;
    margin: 0 5px;
}

.form-field {
    margin-bottom: 10px;
    color: #fff;
}

.form-field p {
    margin: 20px 0;
}

.form-field textarea,
.form-field input {
    max-width: 100%;
    width: 100%;
    color: #fff;
    padding: 8px;
    font-size: 16px;
    background: transparent;
    border: 0px none;
    border-bottom: 1px solid #fff;
}

.form-field textarea::placeholder,
.form-field input::placeholder {
    color: #999
}

#reviewForm .nopubl {
    font-size: 12px;
    color: #fff;
    display: inline-block;
    padding-top: 5px;
}

.sendform {
    cursor: pointer;
}

.sendform:disabled {
    color: rgba(255, 255, 255, .5)
}

.sendform:not(:disabled):hover {
    color: #DB0605
}

.stars-select {
    font-size: 24px;
    cursor: pointer;
    user-select: none; /*text-align:center;*/
}

.stars-select .star {
    color: #fff;
    font-size: 40px;
    transition: all 0.2s;
}

.stars-select .star.selected,
.stars-select .star.hover {
    color: #D30604;
}

.zgoda {
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.1px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    padding: 15px 0 36px;
}

.thank-you {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100svh;
    color: #fff;
}

.thank-you .messbody {
    font-size: 24px;
    text-align: center;
    margin-top: 40%;
    opacity: 1;
    transform: translateY(-50px);
    min-height: 174px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sendform,
.tohome {
    opacity: 1;
    width: 100%;
}

.messbody h3 {
    font-weight: 700;
    font-size: 22px;
    line-height: 29px
}

.messbody p {
    font-weight: 700;
    font-size: 16px;
    line-height: 29px
}

.tabs {
    width: 100%;
    margin-left: auto;
    margin-right: auto
}

.tabs h3.header {
    color:#fff;
    border-bottom: 1px solid #fff;
    padding: 0 0 20px 0;
}

.tabs .prod-tab {
    color: #fff;
    border-bottom: 1px solid #fff;
    padding: 20px 0;
    position: relative;
}

.tabs .prod-tab:last-child {
    border-bottom: 0px none;
}

.tabs .prod-tab.active {
}

.tabs .prod-tab h3 {
    padding-right: 25px;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    cursor: pointer;
}

.tabs .prod-tab h3 img {
    width: 14px;
    transition: all 0.3s ease;
    position: absolute;
    right: 0px;
    top: 30px;
}

.tabs .prod-tab.active h3 img {
    transform: rotate(180deg);
}

.tabs .prod-tab .prod-tab-content {
    color: #fff;
    display: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin: 16px 0;
}

.buttons a:hover {
    color: #FF0000
}

.sendform,
.fancy-button {
    transition: all 0.3s ease;
}

.fancy-button:hover {
    color: #FF0000 !important
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.animate-right {
    animation: slideInRight 0.5s ease-out forwards;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.animate-bottom {
    animation: slideBott 0.5s ease-out forwards;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

@keyframes slideInRight {
    0% {
        transform: translateX(200px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideBott {
    0% {
        transform: translateY(-300px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.moveman {
    animation: animove 20s cubic-bezier(0.46, 0, 0.78, 1) infinite;
}

@keyframes animove {
    0% {
        left: 0px;
        bottom: 89px;
        transform: scale(1) rotate(0deg);
    }
    20% {
        left: -6px;
        bottom: 95px;
        transform: scale(1.02) rotate(-2deg);
    }
    40% {
        left: -10px;
        bottom: 87px;
        transform: scale(0.9) rotate(1deg);
    }
    60% {
        left: 8px;
        bottom: 93px;
        transform: scale(1.01) rotate(-0.7deg);
    }
    80% {
        left: 5px;
        bottom: 90px;
        transform: scale(1.035) rotate(0.6deg);
    }
    100% {
        left: 0px;
        bottom: 89px;
        transform: scale(1) rotate(0deg);
    }
}

/* Products list */
.products-list {
    top: -200%;
    color: #fff;
    font-weight: bold;
}

.product-name, .product-shipping, .product-price {
    margin: 20px 0 20px 20px;
}

.product-order.buttons {
    position: relative;
    margin: 25px auto 50px;
}
/* Products list */

/* Roulette Prize Game */
.roulette {}

.wheel {
    position: relative;
    margin: 0 auto 44px;
}

.wheel-image { /* Animation: 5s, acceleration/deceleration effect */
    transition: transform 5s cubic-bezier(0.33, 1, 0.68, 1);
    transform: rotate(0deg); /* Starting position for future animation */
    transform-origin: 50% 50%; /* Set rotation center */
}

.wheel-prize-pointer-icon {
    position: absolute;
    height: 65px;
    top: 44%; /* Center prize pointer */
    left: 50%;
    transform: translate(-50%, -50%); /* on the center of the wheel */
}

.roulette-controls.buttons {
    position: relative;
    margin: 0 auto;
    top: 0;
}

.roulette-controls.buttons a {
    opacity: 0;
    display: none; /* `opacity: 0` is not enough, buttons still clickable, so hiding it */
}

.roulette-controls.buttons a.show {
    opacity: 1;
    display: flex; /* Display buttons to restore clickability */
}

.roulette .tabs {
    margin-top: 44px;
}
/* Roulette Prize Game */

@media screen and ( max-width: 1280px ) {
    /*.content {
        background: url(/assets/images/bg.jpg);
        background-position: center 0px;
            background-repeat: no-repeat;
            background-size: cover;
        }*/
}

@media screen and ( max-width: 580px ) {
    .blockman img {
        object-fit: cover;
        height: 80vh;
    }

    /*.moveman {max-height: 70vh;}*/
    .logo {
        top: 10px;
    }

    .revhead {
        padding-top: 75px;
    }

    #closeintro, .sendform, .tohome, .buttons a {
        width: 100%;
        max-width: 295px;
    }

    #closeintro {
        max-width: 333px;
    }

    #addReview {
        width: 140px;
        padding: 15px 10px;
    }
}