* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

body,html {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(bg.png) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover
}

body::after {
    content: "";
    background: inherit;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(10px)
}

.logo-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 45%
}

.container {
    border-radius: 13px;
    border: 1px solid #f1acac;
    opacity: 1;
    background-color: #ffe9b2;
    align-items: center;
    flex-direction: column;
    padding: 2px
}

@media screen and (min-width: 469px) {
    .logo {
        height:79px;
        width: 151px
    }

    .container {
        margin-top: 5%;
        width: 400px
    }

    .popup {
        width: 400px
    }

    .popup2 {
        width: 100%;
        height: 100%
    }

    .overlay {
        width: 70%;
        height: 60%
    }

    .popup2 .popup-images img {
        width: 20%;
        height: auto
    }

    .custom-popup-content img {
        width: 18%
    }
}

@media screen and (max-width: 468px) {
    .container {
        margin-top:5%;
        width: 95%;
        max-width: none
    }

    .popup {
        width: 95%
    }

    .popup2 {
        width: 100%;
        height: 100%
    }

    .popup2 .popup-images img {
        width: 70%;
        height: auto
    }

    .logo {
        height: 53px;
        width: 98px
    }

    .imagehd {
        width: 100%;
        max-width: 70%;
        height: auto
    }

    .overlay {
        width: 90%;
        height: 80%
    }

    .custom-popup-content img {
        width: 50%
    }
}

.stickers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px
}

.sticker {
    position: relative;
    width: calc(33.33% - 20px);
    margin: 0 10px 20px;
    border-radius: 10px;
    padding: 1px
}

.sticker-image {
    width: 100%;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    margin-top: 10px
}

.popup-images {
    display: flex;
    margin: 16px 10px 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 11px
}

.popup-image {
    background: #bd86dfe0;
    width: 30%;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 16px;
    filter: drop-shadow(1px 2px 2px black);
    margin: 4px
}

img {
    width: 100%
}

.sticker-counter {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(to right,#87d6d9 35%,#e8fbfe 0%);
    border-radius: 10px;
    padding: 0 19px;
    min-width: 50px;
    border: solid 1px #71a6a7;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px
}

.selected-popup {
    display: block;
    z-index: 1000
}

.logo {
    visibility: visible;
    background-image: url(logoo.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 13px;
    border: 0;
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10
}

.imagehd {
    position: absolute;
    width: 318px;
    height: 129px;
    background-image: url(card.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 13px;
    border: 0
}

.time {
    margin-top: 50px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px
}

.node-container {
    display: flex;
    flex-direction: row;
    align-items: center
}

.node {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffe5ac
}

.image-node {
    width: 16px;
    height: 16px;
    background-image: url(makr.png);
    background-position: center center;
    background-size: cover
}

.time-left {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center
}

.time-left p {
    margin-left: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #5a4653ff;
    padding: 5px 33px;
    border-radius: 10px;
    text-align: center;
    border: #7ed4dc solid 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,.2)
}

.time-left p.progress {
    background: linear-gradient(to right,#87d6d9 35%,#e8fbfe 0%);
    width: 124px;
    height: 24px
}

.timeleft {
    color: #5a4653ff
}

.sticker:hover .sticker-image {
    transform: scale(1.1)
}

.sticker:active .sticker-image {
    transform: scale(.9)
}

.popup-header {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    overflow: hidden
}

.popup-tasks {
    margin-top: 10px
}

.task {
    background-color: #ff8d84;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 5px
}

@keyframes moveTimeLeft {
    0% {
        transform: translateY(-10px);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

.timeleft {
    animation: moveTimeLeft 1s ease-out forwards
}

body {
    cursor: url(cursor/direct-selection.png),auto
}

.button,a {
    cursor: pointer
}

.overlay {
    position: fixed;
    background-color: rgb(241 238 200/41%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 999;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.125)
}

.popup2 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #2e2e2edb;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    z-index: 2000;
    text-align: center
}

@keyframes congratsAnimation {
    0% {
        transform: scale(.5);
        opacity: 0
    }

    100% {
        transform: scale(1);
        opacity: 1
    }
}

.congrats-effect {
    animation: congratsAnimation 5s ease forwards;
    z-index: 100000
}

.popup2 .popup-images img {
    max-width: 100%;
    height: auto
}

.popup2 .game-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer
}

.popunique {
    display: flex;
    justify-content: center
}

.popup-first {
    z-index: 1001
}

@keyframes popupAnimation {
    0% {
        transform: translate(-50%,-50%) scale(.8);
        opacity: 0
    }

    100% {
        transform: translate(-50%,-50%) scale(1);
        opacity: 1
    }
}

.stickers {
    background-color: transparent
}

.sticker-image {
    background-color: transparent!important
}

a {
    cursor: url(cursor/pointer.png),auto
}

.button:hover {
    cursor: url(cursor/pointer.png),auto
}

.sticker:hover {
    cursor: url(cursor/pointer.png),auto
}

.popup-button:hover {
    cursor: url(cursor/pointer.png),auto
}

.submit-button:hover {
    cursor: url(cursor/pointer.png),auto
}

.footer {
    height: 100px
}

.popup {
    overflow: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 20px;
    background-color: rgb(250 245 222);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    z-index: 1000;
    animation: popupAnimation .3s ease forwards;
    max-height: 90vh;
    position: relative
}

.close-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(250 245 222);
    color: rgb(95 70 10);
    width: 100%;
    max-width: 400px;
    height: 40px;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    z-index: 101
}

@media screen and (max-width: 768px) {
    .close-button {
        display:block
    }
}

.popup-button:active {
    box-shadow: none;
    position: relative;
    top: .2em
}

button.popup-button {
    font-family: skranji,cursive;
    width: 250px;
    text-align: center;
    display: inline-block;
    margin: 5px;
    font-size: 18px;
    font-weight: 400;
    padding: 5px 15px;
    background: radial-gradient(circle,#d5400c,#a54004);
    text-shadow: -1px -1px #fff,1px 1px #8b8b8b;
    color: #ffc000;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -o-border-radius: 7px;
    border-radius: 8px;
    box-shadow: inset 0 0 5px 3px rgba(1,1,1,.3);
    cursor: pointer;
    letter-spacing: 2px;
    border-top: 4px ridge #ffb000;
    border-left: 4px groove #ffb000;
    border-right: 4px ridge #ffb000;
    border-bottom: 4px groove #ffb000
}

button.popup-button:hover {
    background: radial-gradient(circle,#e52b2b,#8b0000);
    box-shadow: 0 0 5px 5px rgba(255,255,255,.2)
}

button.popup-button:active {
    background: radial-gradient(circle,#ec6a6a,#e52b2b);
    box-shadow: 0 0 5px 5px rgba(255,255,255,.2)
}

.custom-popup-content {
    background: #f0f8ff87;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%
}

.username-input {
    width: 80%;
    max-width: 300px;
    height: 50px;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border: 3px solid #ff4f00;
    border-radius: 5px;
    outline: none;
    background-color: #fff;
    color: #000;
    box-sizing: border-box;
    text-align: center
}

.submit-button {
    width: 60%;
    max-width: 200px;
    height: 50px;
    background-color: #ff4f00;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .3s ease
}

.submit-button:hover {
    background-color: #c00
}

.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #d56417;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 100000;
    left: 50%;
    bottom: 30px
}

.toast.show {
    visibility: visible;
    -webkit-animation: fadein .5s,fadeout .5s 2.5s;
    animation: fadein .5s,fadeout .5s 2.5s
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0
    }

    to {
        bottom: 30px;
        opacity: 1
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0
    }

    to {
        bottom: 30px;
        opacity: 1
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1
    }

    to {
        bottom: 0;
        opacity: 0
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1
    }

    to {
        bottom: 0;
        opacity: 0
    }
}

.fade-in {
    animation: fadeIn 3.5s ease-in-out
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

.popup-image {
    position: relative;
    overflow: hidden
}

.popup-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,.5);
    transform: rotate(30deg);
    transition: transform .5s ease;
    animation: shine 2s infinite
}

@keyframes shine {
    0% {
        transform: translateX(-150%)
    }

    50% {
        transform: translateX(150%)
    }

    100% {
        transform: translateX(-150%)
    }
}

.popup-image:hover::before {
    transform: translateX(150%);
    background: rgba(255,255,255,.5)
}

.popup-image:hover {
    cursor: url(cursor/pointer.png),auto;
    transform: scale(1.1);
    transition: transform .3s ease
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background: #faf5de
}

::-webkit-scrollbar-thumb {
    background: #efd582
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(247 224 157)
}

.popup {
    opacity: 0;
    animation: fadeInPopup .5s ease forwards
}

@keyframes fadeInPopup {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.verification-message {
    font-family: arial,sans-serif;
    font-size: 16px;
    color: #3498db;
    animation: fade-in-out 1s ease-in-out forwards
}

@keyframes fade-in-out {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.circle-spinner {
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 7px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #db5b0d;
    animation: spin 2s linear infinite
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.custom-popup-content p {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 20px
}

.custom-popup-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto
}

.load-locker-button {
    display: block;
    margin: 0 auto;
    padding: 10px 25px;
    font-size: 16px;
    background: #ef7a23;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .3s ease
}

.load-locker-button:hover {
    background-color: #af5913;
    cursor: url(cursor/pointer.png),auto
}

