@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap'); /* Якщо хочеш піксельний шрифт */

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-UltraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-ExtraBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Silpo Text';
    src: url('../fonts/SilpoText-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silpo Text';
    src: url('../fonts/SilpoText-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silpo Text';
    src: url('../fonts/SilpoText-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silpo Text';
    src: url('../fonts/SilpoText-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silpo Text';
    src: url('../fonts/SilpoText-ExtraBold.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 1.3em;
    /*font-family: 'Nunito', sans-serif;*/
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #222;
    font-family: 'Silpo Text', sans-serif; /* Можна додати піксельний шрифт */
    color: #eee;
    overflow: hidden; /* Запобігти прокручуванню */
    position: relative; /* Для позиціонування Game Over екрану */
    background-color: transparent;
    background-image: url(../images/bg2.webp);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
    overflow-y: auto;
}
body.clouds::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    background-image: url(../images/clouds.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 517px;
}
.maincont {
    position: relative;
    /*width: 345px;*/
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /*min-height: 100vh;*/
    min-height: 600px;

    /*display: flex;
    justify-content: center;
    align-items: center;*/
}


.header {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    z-index: 5;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 16px 16px;
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
}
.header2 {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    z-index: 5;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 16px 16px;
}

.header .logo,
.header2 .logo  {
    /*position: absolute;*/
    width: 128px;
    height: 36px;
    background-color: transparent;
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: cover;
}

.header .closeBtn,
.header2 .closeBtn {
    width: 22px;
    height: 22px;
    background-color: transparent;
    background-image: url(../images/closebtn.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;    
}

.startBtn {
    position: absolute;
    width: 40px;
    height: 40px;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    background: rgba(120, 120, 120, 1.0);
    z-index: 50;
}

#game-container {
    text-align: center;
    padding: 0px;
    border-radius: 0px;
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);*/
    position: relative; /* Для z-index */
}

canvas {
    /*background-color: #000;*/
    background: transparent;
    /*border: 2px solid #eee;*/
    border: none;
    display: block;
    margin: 0 auto 0 auto;
}

#levelDisplay {
    position: fixed;
    z-index: 10;
    font-size: 150px;
    font-weight: 700;
    top: calc(50% - 200px);
}
p { 
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin-top: 5px;
}
hr {
    width: 120px;
    border-width: 1px;
    border-style: inset;
    border-color: rgba(255, 255, 255, 0.24);
    margin-bottom: 30px;
}
h1 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 2em;
}
h2 {
    font-size: 32px;
    font-weight: 800;
}
h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}


.backBtn {
    display: block;
    position: absolute;
    width: 58px;
    height: 58px;
    top: 5px;
    left: 5px;
    cursor: pointer;
    background-color: transparent;
    background-image: url(../images/back_btn.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: cover;
}
.block.infBlock {
    padding-top: 70px;
    padding-bottom: 90px;
    padding-left: 10px;
    padding-right: 10px;
}
.block.infBlock .backBtn{
    position: fixed;
    top: 70px;
}
.block.infBlock h2 {
    margin-top: 12px;
}
.questionImg,
.starImg,
.iphoneImg,
.giftImg {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    filter: drop-shadow(0px 4px 20px rgba(255, 106, 211, 0.8))  
            drop-shadow(0px 4px 10px rgba(255, 106, 211, 0.8));

}
.questionImg {
    width: 31px;
    height: 42px;
    background-image: url(../images/question_mark.png);

}
.starImg {
    width: 38px;
    height: 37px;
    background-image: url(../images/star2.png);
}

.iphoneImg {
    width: 42px;
    height: 61px;
    background-image: url(../images/iphone.png);
}

.giftImg {
    width: 60px;
    height: 56px;
    background-image: url(../images/gift.png);
}

.contGameDays {
    position: relative;
    padding-left: 50px;
    width: 310px;
}
.GameDaysScale {
    position: absolute;
    width: 40px;
    height: 198px;
    left: 0;
    top: 8px;
    border-radius: 20px;
    background: linear-gradient(180.1deg, #FF6AD3 0.08%, rgba(255, 255, 255, 0) 129.41%);
    padding-top: 4px;
    padding-bottom: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.GameDaysScale > div {
    width: 32px;
    height: 32px;
    border: 2px dotted #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 500;
    line-height: 31px;
    text-align: center;
}
.GameDaysScale > div.day1 {
    border: none;
    background-color: #ffffff;
    background-image: url(../images/icon1.png);
    background-repeat: no-repeat;
    background-position: 77% 50%;
    background-size: 26px;
}
.GameDaysDesTxt {
    font-weight: 700;
    font-size: 20px;
    text-align: left;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
    height: 75px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.GameDaysDesTxt span { 
    display: block;
    font-size: 16px;
}

.GameDaysDesTxt span.GameDaysNum { 
    display: inline;
    font-size: 20px;
}

.block {
    position: relative;
    width: 100%;
    min-height: 100vh;
    text-align: center;
    
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;

    overflow-x: hidden;
}
.block.pauseBlock {
    padding-top: 70px;
    padding-bottom: 90px;
}

.block.block0 { 
    /*justify-content: flex-start;*/
    padding-top: 70px;
    padding-bottom: 10px;
}
.block.block0 .main_img1 {
    position: relative;
    width: 100%;
    height: 324px;
    background-color: transparent;
    background-image: url(../images/main_img1.png);
    background-repeat: no-repeat;
    background-position: 50% 90%;
    background-size: contain; 
}
.block.block0 .img_txt_1 {
    position: relative;
    width: 100%;
    height: 97px;
    background-color: transparent;
    background-image: url(../images/img_txt_1.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    margin-bottom: 20px;

}
.control-btns2 {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%
    height: 58px;
    margin-bottom: 20px;
}
.control-btns2 .infButton2 {
    display: block;
    width: 58px;
    height: 58px;
    cursor: pointer;
    background-color: transparent;
    background-image: url(../images/inf_btn.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: cover;
}
.control-btns2 .topButton2 {
    display: block;
    width: 58px;
    height: 58px;
    cursor: pointer;
    background-color: transparent;
    background-image: url(../images/top_btn.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: cover;
}
.control-btns2 .muteButton2 {
    display: block;
    width: 58px;
    height: 58px;
    cursor: pointer;
    background-color: transparent;
    background-image: url(../images/sound_btn_off.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: cover;
}
.control-btns2 .muteButton2.soundOn {
    background-image: url(../images/sound_btn_on.png);
}
.control-btns2 .muteButton2.soundOff {
    background-image: url(../images/sound_btn_off.png);    
}


a.policyBtn {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    text-decoration: underline;
    color: #FFFFFF;
}


.block.policyBlock {
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 70px;
    padding-bottom: 25px;
}
.block.policyBlock .backBtn {
    position: fixed;
    top: 70px;
}  
.block.policyBlock h2{
    font-weight:800;
    font-size: 20px;
    text-align: center;
}
.block.policyBlock h3{
    font-weight:700;
    font-size: 18px;
    text-align: left;
}
.block.policyBlock p {
    font-weight: 500;
    font-size: 16px;
    text-align: justify;
}

.block.block1 { 
    justify-content: flex-start;
    padding-top: 70px;
}
.block1 .baner1 {
    position: relative;
    width: 360px;
    height: 360px;
    /*background-color: rgba(255, 255, 255, 0.3);*/
    animation: 10s linear 0s infinite bannerRotation;
    margin-right: auto;
    margin-left: auto;
}
.block1 .baner1 .murchik {
    position: absolute;
    width: 200px;
    height: 200px;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    background-color: transparent;
    background-image: url(../images/img1.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    animation: 10s linear 0s infinite itemRotation;
}
.block1 .baner1 .food {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    animation: 10s linear 0s infinite itemRotation;
}
.block1 .baner1 .food.food1 {
    top: calc(50% - 170px);
    left: calc(50% - 42px);
    background-image: url(../images/burger.png);
}
.block1 .baner1 .food.food2 {
    top: calc(50% - 100px);
    left: calc(50% - 155px);
    background-image: url(../images/cake.png);
}
.block1 .baner1 .food.food3 {
    top: calc(50% - 100px);
    left: calc(50% + 75px);
    background-image: url(../images/pizza.png);
}
.block1 .baner1 .food.food4 {
    top: calc(50% + 78px);
    left: calc(50% - 100px);
    background-image: url(../images/roll.png);
}
.block1 .baner1 .food.food5 {
    top: calc(50% + 72px);
    left: calc(50% + 40px);
    background-image: url(../images/sushi.png);
}



.block1 .baner2 {
    position: relative;
    width: 360px;
    height: 360px;
    animation: 10s linear 0s infinite bannerRotation;
    margin-right: auto;
    margin-left: auto;
}

.block1 .baner2 .murchik {
    position: absolute;
    width: 180px;
    height: 180px;
    top: calc(50% - 90px);
    left: calc(50% - 90px);
    background-color: transparent;
    background-image: url(../images/img2.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    animation: 10s linear 0s infinite itemRotation;
}
.block1 .baner2 .danger {
    position: absolute;
    width: 110px;
    height: 110px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    animation: 10s linear 0s infinite itemRotation;
}
.block1 .baner2 .danger.danger1 {
    top: calc(50% - 172px);
    left: calc(50% - 55px);
    background-image: url(../images/brick.png);
}
.block1 .baner2 .danger.danger2 {
    top: calc(50% - 11px);
    left: calc(50% - 179px);
    background-image: url(../images/cactus.png);
}
.block1 .baner2 .danger.danger3 {
    top: calc(50% - 9px);
    left: calc(50% + 55px);
    background-image: url(../images/lightning.png);
}


.block.block1 div.item:has(> div.baner3) { 
    background-color: transparent;
    background-image: url(../images/baner3_bg.png);
    background-repeat: no-repeat;
    background-position: 0 -50px;
    background-size: contain; 

}

.block1 .baner3 {
    position: relative;
    width: 340px;
    height: 390px;
    /*background-color: rgba(255, 255, 255, 0.3);*/
    /*animation: 10s linear 0s infinite bannerRotation;    */
    background-color: transparent;
    background-image: url(../images/baner3v1.png);
    background-repeat: no-repeat;
    background-position: 50% 75%;
    background-size: contain; 
    margin-left: auto;
    margin-right: auto;
}

@keyframes bannerRotation {
    0% { transform: rotate(0deg); } 
    100%     { transform: rotate(360deg); } 
}
@keyframes itemRotation {
    0% { transform: rotate(360deg); } 
    100%     { transform: rotate(0deg); } 
}

.block1 p {
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    padding: 0 17px;
}
.block1 .nextBtn {
    position: relative;
    width: 74px;
    height: 74px;
    background-color: transparent;
    background-image: url(../images/next_btn.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    cursor: pointer;
    margin: 15px auto 0 auto;
} 
.block2 {

}
.block2 .text1{
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    padding: 0 17px;
    margin-bottom: 15px;
}
.block2 .text2{
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    padding: 0 17px;
}
.block2 input.popup-txt {
    width: 345px;
    height: 76px;
    font-size:20px;
    font-weight: 900;
    text-align: center;
    background-color: transparent;
    background-image: url(../images/name_input_v2.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;    
    filter: drop-shadow(0px 4px 0px rgba(0, 0, 0, 1.0));
    border: none; 
    -webkit-box-shadow: none;
    -webkit-appearance: none;
    outline: 0;
}
.block2 input.popup-txt.pp-error {
    filter: drop-shadow(0px 4px 0px rgba(238, 51, 10, 1.0));
}
.block2 .btn-row {
    padding-top: 40px;
}
.block2 button[type="submit"] {
    width: 345px;
    height: 72px;
    font-size: 22px;
    font-weight: 900;
    color: #16051A;
    background-color: transparent;
    background-image: url(../images/name_btn_v1.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    border: none;
}

.btn1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 345px;
    height: 72px;
    font-size: 22px;
    font-weight: 900;
    color: #16051A;
    background-color: transparent;
    background-image: url(../images/name_btn_v1.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    border: none;
    outline: none;
    margin-left: auto;
    margin-right: auto;
}
.btn2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 345px;
    height: 72px;
    font-size: 22px;
    font-weight: 900;
    color: #16051A;
    background-color: transparent;
    background-image: url(../images/name_btn2_v1.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    border: none;
    outline: none;
    margin-left: auto;
    margin-right: auto;
}


.block.block2 {
    padding-top: 70px;
}
.block2 .error_msg_name {
    width: 100%;
    height: 60px;
    margin-bottom: 15px;
}
.block2 .error_msg_name span {
    width: 345px;
    height: 52px;
    position: relative;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='345' height='52' viewBox='0 0 345 52' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M345 26C345 30.296 344.197 36.1514 342.951 39.1031C340.199 45.6189 334.771 49.5586 319.842 50.5058C304.92 51.457 172.497 52 172.497 52C172.497 52 40.0795 51.457 25.157 50.5058C10.2285 49.5586 4.79386 45.6189 2.04792 39.1031C0.801918 36.1514 0 30.3333 0 26C0 21.6667 0.562657 16.4154 2.04792 12.8969C4.79386 6.38109 10.2285 2.44547 25.157 1.49423C40.0795 0.542985 172.497 0 172.497 0C172.497 0 304.92 0.542985 319.842 1.49423C334.771 2.44547 340.199 6.38109 342.951 12.8969C344.67 16.9687 345 21.704 345 26Z' fill='%23E31014'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    box-shadow: 0px 1px 4px 1px rgba(139, 128, 104, 0.24);
    padding-left: 50px;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 20px / 14px;
    margin: 0 auto;
}
.block2 .error_msg_name span:before {
    content: '';
    display: block;
    position: absolute;
    left: 14px;
    height: 24px;
    width: 24px;
    background: transparent;
    background-image: url(../images/error_mark.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 

}

.fixedFooter {
    position: fixed;
    bottom: 0;
    padding-bottom: 7px;
}
.block.block5 {
    padding-top: 70px;
    padding-bottom: 160px;
}

.ScoreBaner {
    display: block;
    position: relative;
    /*left: calc(50% - 187px);*/
    height: 186px;
    width: 342px;
    background: transparent;
    background-image: url(../images/score_img1.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;    
    margin-left: auto; 
    margin-right: auto;
}
.ScoreBaner.hapy {
    background-image: url(../images/score_img2.png);
}
.ScoreBaner .gameScore {
    position: absolute;
    left: calc(50% + 104px);
    top: 16px;
    color: #000;
    font-weight: 700;
    font-size: 14px;
}
.ScoreBaner .gameScore > span {
    display: block;
    color: #000;
    font-weight: 800;
    font-size: 28px;
    line-height: 0.6em;
}
.block0 .promocode-row,
.block5 .promocode-row {
    position: relative;
    display: flex;
    padding-left: 6px;
    padding-right: 2px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.block0 input.promocode2,
.block5 input.promocode {
    border: none;
    outline: none;
    height: 65px;
    width: 256px;
    color: rgba(0,0,0,0.6);
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    background: transparent;
    background-image: url(../images/promocode_v2.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    padding: 14px 0 0 0;
}
.block0 input.promocode2 {
    background-image: url(../images/promocode_v2.png);
}
.block0 .copyBtn,
.block5 .copyBtn {
    width: 77px;
    height: 77px;
    background: transparent;
    background-image: url(../images/copypromo.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;     
}
.block0 .copy_msg,
.block5 .copy_msg {
    position: absolute;
    width: 100%;
    overflow: visible;
}
.block0 .copy_msg span,
.block5 .copy_msg span {
    position: absolute;
    background: transparent;
    width: 100% ;
    height: 62px;
    top: -103px;
    left: -6px;
    font-size: 14px;
    font-weight: 700;
    background-image: url(../images/copy_success.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    padding-left: 53px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.block0 .copy_msg span{
    /*left: -25px;*/
}
.block5 h3 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 10px;
}
.block5 p {
    font-size: 24px;
    font-weight: 700;
}
.block.block6 {
    justify-content: flex-start;
    padding-top: 70px;
    padding-bottom: 90px;
}
.block6 h2 {
    margin-top: 6px;
}
.block6 .backBtn {
    top: 70px;
    position: fixed;

}
.block6 .top100img {
    width: 305px;
    height: 169px;
    background: transparent;
    background-image: url(../images/top100_img1.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;   
    margin: 0 auto 15px auto;
    padding-top: 78px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
}
.block6 .top100img .name {
    width: 100%;
    color: #000000;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 6px;
}
.block6 .top100img .score {
    width: 50%;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    text-align: left;
    padding-left: 35px;

}
.block6 .top100img .sjsjs {
    width: 50%;    
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    text-align: left;
    padding-left: 62px;
}
#leaderboard {
    width: 100%;
    padding: 10px 10px 25px 10px;
}
#leaderboard  table {
    width: 100%;
    border: none;
    background: none;
}

#leaderboard  table tr {
    background: none;
}
#leaderboard  table tr.myHighlight {
    background: transparent;
    background-image: url(../images/myhighlight.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain; 
    height: 70px;
}
/*#leaderboard  table tr.myHighlight:before {  }*/
#leaderboard  table tr.myHighlight td {
    padding-top: 17px;
    color: #FF6AD3;
    text-shadow: 1px 1px 1px #000;
}
#leaderboard  table tr th {
    color: #fff;
    font-weight: 700;
    font-size: 12px;  

}
#leaderboard  table tr td {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    height: 30px;
}
#leaderboard  table tr th:nth-child(2),
#leaderboard  table tr td:nth-child(2) {
    text-align: left;
    padding-left: 10px;
}
#leaderboard  table tr th:nth-child(3),
#leaderboard  table tr td:nth-child(3) {
    text-align: right;
    padding-right: 10px;
}


#game-info {
    position: absolute;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    padding: 0 10px 0 10px;
    /*background-color: #444;*/
    border-radius: 0px;
    margin-top: 0px;
}

/*#game-info p {
    font-size: 1.2em;
    margin: 0;
}*/

#score {
    font-size: 36px;
    color: #ffffff;
    font-weight: bold;
    background-color: transparent;
    background-image: url(../images/star.png);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    background-size: 30px;
    padding: 0 40px 0 0;
}

#lives {
    color: #FF4444; /* Червоний колір для життів */
    font-weight: bold;
}

/* Стилі для екрану завершення гри */
#gameOverScreen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    z-index: 1000; /* Щоб був поверх усього */
}

#gameOverScreen h2 {
    font-size: 3em;
    color: #FF4444;
    margin-bottom: 20px;
}

#gameOverScreen p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

#gameOverScreen #finalScore {
    color: #FFC107;
    font-size: 1.8em;
    font-weight: bold;
}

#restartButton {
    /*background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.5em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;*/
}

#restartButton:hover {
    /*background-color: #45a049;*/
}

/* Стилі для верхніх кнопок */
#controls-btn {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
#controls-btn {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 50px;
    width: 58px;
    /*height: 120px;*/

}
#controls-btn #infButton {
    display: block;
    width: 58px;
    height: 58px;
    cursor: pointer;
    background-color: transparent;
    background-image: url(../images/inf_btn.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: cover;
}
#controls-btn #pauseButton {
    display: block;
    width: 58px;
    height: 58px;
    cursor: pointer;
    background-color: transparent;
    background-image: url(../images/pause_btn.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: cover;
}
#controls-btn #muteButton {
    display: block;
    width: 58px;
    height: 58px;
    cursor: pointer;
    background-color: transparent;
    background-image: url(../images/sound_btn_off.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: cover;
}
#controls-btn #muteButton.soundOn {
    background-image: url(../images/sound_btn_on.png);
}
#controls-btn #muteButton.soundOff {
    background-image: url(../images/sound_btn_off.png);    
}
/*#controls-top :hover {
    background-color: #0056b3;
}*/

/* Стилі для екрану паузи та завершення гри */
/*#pauseScreen,
#gameOverScreen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    z-index: 1000; 
    min-width: 300px; 
}

#pauseScreen h2,
#gameOverScreen h2 {
    font-size: 3em;
    color: #FFC107;
    margin-bottom: 20px;
}

#gameOverScreen h2 {
    color: #FF4444;
}


#pauseScreen button,
#gameOverScreen button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.5em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px; 
}

#pauseScreen button:hover,
#gameOverScreen button:hover {
    background-color: #45a049;
}*/




.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}
.owl-carousel .owl-nav  {
    display: none;
}
.owl-carousel .owl-dots  {
    display: flex;
    align-items: center;
    justify-content: center;
}
.owl-carousel button.owl-dot {
    background-color: rgba(255, 255, 255, 0.6);
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin: 0 4px;
    /*opacity: 0.6;*/
    transition: width 0.4s, height 0.4s, border-radius 0.4s;
}
.owl-carousel button.owl-dot.active {
    width: 45px;
    height: 14px;
    border-radius: 7px;
    /*opacity: 0.9;*/
}
/*.owl-carousel button.owl-dot.active::before {
    content: '';
    display: block;
    width: width: 41px;;
    height: 8px;
    margin: 3px;
    background-color: #ffffff;
    border-radius: 5px;
    animation: 10s linear 0s dotTimer;
}

@keyframes dotTimer {
    0% { width: 6px; } 
    100%     { width: 40px; } 
}*/

.hidden {
    display: none!important;
}


