* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: art;
}
@font-face {
    font-family: art;
    src: url(art.ttf)
}
body {
    overflow: hidden;
}
.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: url(img/1618078033_35-p-komnata-vedmi-fentezi-42.jpg);
    background-size: cover;
    background-position: center center;
    transition: 2s
}
.diamond {
    width: 222px;
    height: 75px;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.cont {
    width: 100%;
    height: 250px;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
    position: relative
}
.result {
    width: 520px;
    height: 61px;
    font-size: 35px;
    background: #006500;
    display: flex;
    align-items: center;
    justify-content: center;
    color: saddlebrown;
    -webkit-text-stroke: 1.3px #9e9e9e;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 20px 20px black inset;
    position: absolute;
    top: 18%;
}
.slider-letters {
    width: 100%;
    height: 150px;
    position: fixed;
    bottom: 0;
    left: 0;
    overflow: hidden;
}
.slider-line {
    width: 300%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 10px;
    transition: .5s ease-in;
    pointer-events: none;
}
.slider-item {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
.left {
    position: fixed;
    bottom: 5%;
    left: 20px;
    padding: 5px 10px;
    z-index: 111;
    background: none;
    font-size: 30px;
    color: #ff004e;
    border: none;
    cursor: pointer;
    animation: leftt 2s linear infinite;
}
@keyframes leftt {
    0%,100% {
        left: 20px
    }
    50% {
        left: 10px;
    }
}
.right {
    position: fixed;
    bottom: 5%;
    right: 20px;
    padding: 5px 10px;
    z-index: 111;
    background: none;
    font-size: 30px;
    color: #ff004e;
    border: none;
    cursor: pointer;
    animation: rightt 2s linear infinite;
}
@keyframes rightt {
    0%,100% {
        right: 20px
    }
    50% {
        right: 10px;
    }
}
.slide-img {
    width: 75px;
    font-size: 36px;
    cursor: pointer;
    background: linear-gradient(45deg, #458c45 50%, #ff004e 50%);
    padding: 15px;
    border-radius: 20px;
    color: white;
    -webkit-text-stroke: 1px black;
    box-shadow: 2px -1px 9px 0px black, 2px -1px 9px white, -1px -4px 0px 0px black, 1px 4px 0px 0px black;
    /* box-shadow: 1px -2px 0px 0px black, -1px -2px 10px 0px white, 1px 4px 0px 0px black, 1px 4px 0px 0px white; */
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-reflect: below 10px linear-gradient(transparent,transparent,#0004);
    animation: lett 15s ease-in-out infinite;
}
@keyframes  lett {
    0%,100% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(-10deg)
    }
}
@keyframes det {
    0%, 100% {
        transform: translateY(0) scale(0.9) rotate3d(1, 1, 1, 0deg);
        filter: drop-shadow(0 0 2px black)
    }
    50% {
        transform: translateY(-15px) scale(1) rotate3d(1, 1, 1, 10deg);
        filter: drop-shadow(0 0 4px black)
    }
}
.diamond img {
    width: 30%;
    animation: diamond 2s linear infinite;
}
@keyframes diamond {
    0%, 100% {
        filter: hue-rotate(0deg) drop-shadow(0 0 2px white);
        transform: translateY(0) rotate(0deg)
    }
    50% {
        filter: hue-rotate(50deg) drop-shadow(0 0 20px white);
        transform: translateY(5px) rotate(10deg)
    }
}
.diamond-count {
    width: 95px;
    background: transparent;
    border: none;
    font-size: 50px;
    color: #458c45;
    -webkit-text-stroke: .7px white;
}
.lefZan {
    width: 50%;
    height: 100vh;
    background: url(img/curtain1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom left;
    position: fixed;
    left: -50%;
    top: 0;
    z-index: 111111111;
    filter: hue-rotate(312deg);
    transition: 1.7s cubic-bezier(0.1, 0.7, 1.0, 0.1);
}
.rightZan {
    width: 50%;
    height: 100vh;
    background: url(img/curtain2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom right;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: 111111111;
    filter: hue-rotate(312deg);
    transition: 1.7s cubic-bezier(0.1, 0.7, 1.0, 0.1);
}
.flip-card {
    transform: translate(-50%, -50%);
    position: absolute;
    top: -40vh;
    left: 50%;
    background-color: #00000087;
    width: 530px;
    height: 350px;
    perspective: 1000px;
    overflow: hidden;
    transition: 1.7s cubic-bezier(0.1, 0.7, 1.0, 0.1);
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.flip-card-front {
    background: transparent;
    box-shadow: 0 0 0 200px rgba(0, 0, 0, 0.5) inset;
    color: saddlebrown;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.questionShow {
    box-shadow: 0 0 0 5px saddlebrown inset !important;
    color: saddlebrown !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(15px) !important;
    transition: .9s !important;
}
.flip-card-front p {
    line-height: 35px;
    font-size: 20px;
}
.flip-card-back {
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #00000087;
}
.flip-card-back img {
    width: 82%;
    object-fit: contain;
}
.diamondShow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    visibility: hidden;
    opacity: 0;
    transition: .5s;
}
.winDiamond {
    animation: windiamond 1s linear 1 forwards;
}
@keyframes windiamond {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70px;
        height: 70px;
    }
    100% {
        top: 10%;
        left: 90%;
        width: 30px;
        height: 30px;
        transform: translate(-50%, -50%);
        visibility: hidden;
        opacity: 0;
    }
}
.diamond-count {
    width: 95px;
    background: transparent;
    border: none;
    font-size: 40px;
    color: #458c45;
    -webkit-text-stroke: .7px white;
}
.diamondShow img {
    width: 100%
}
.diamondShow span {
    font-size: 50px;
    color: #458c45;
    -webkit-text-stroke: 1px white;
}
.help {
	width: 350px;
    height: 100px;
    position: absolute;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg,#246c24,#14c714,#127e12);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    border: 3px groove white;
    border-top: none;
    color: white;
    box-shadow: 0 0 36px black inset;
	transition: 1s;
}
.help img {
	width: 8%;
    filter: drop-shadow(0 0 5px white)
}
.help1 {
	width: 350px;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap:5px;
	cursor: pointer
}
.help1:hover {
	color: deeppink;
}
.help span {
    -webkit-text-stroke: .5px black;
}
.showHelp {
	top: 0;
}
.forYad {
    width: 72px;
    height: 70px;
    background: beige;
    border-radius: 33px 59px 45px 62px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    left: -100vw;
    top: -100vh;
    filter: brightness(1);
    z-index: 11111;
    transition: 2s;
    animation: yadd 3s cubic-bezier(.18,.89,.43,1.2) 1 forwards;
    animation-play-state: paused;
    pointer-events: none;
}
@keyframes yadd {
    0% {
        right: -100vw;
        top: -100vh;
        filter: none
    }
    50% {
        left: 50%;
        top:50%;
        transform: translate(-50%,-50%);
        filter: none
    }
    90% {
        left: 50%;
        top:50%;
        transform: translate(-50%,-50%) scale(1.5);
        filter: none
    }
    100% {
        top: 110px;
        left:10px; 
        transform:scale(1);
    }
}
.forYad .border {
	width: 62px;
    height: 63px;
    background: green;
    border-radius: 33px 59px 45px 62px;
    display: flex;
    justify-content: center;
    align-items: center;
	box-shadow: 0 0 16px 5px black inset
}
.forYad .border img {
	width: 70%;
	filter: drop-shadow(0 2px 0 black)
}
.forKey .border {
	width: 62px;
    height: 63px;
    background: green;
    border-radius: 33px 59px 45px 62px;
    display: flex;
    justify-content: center;
    align-items: center;
	box-shadow: 0 0 16px 5px black inset;
}
.forKey .border img {
	width: 70%;
	filter: drop-shadow(0 2px 0 black);
    transform: scale(-1,1) rotate(120deg);
}
.openKey {
    animation: keyy 1s linear infinite;
}
@keyframes keyy {
    0% {
        transform: scale(-1,1) rotateX(0deg) rotate(120deg);
    }
    100% {
        transform: scale(-1,1) rotateX(360deg) rotate(120deg);
    }
}
.forKey {
	width: 72px;
    height: 70px;
    background: beige;
	border-radius: 33px 59px 45px 62px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 17px;
    left: 10px;
    pointer-events: none;
    cursor: pointer;
}
.example {
    position: absolute;
    z-index: 666666;
    top: 85px;
    right: -20%;
    padding: 20px;
    width: 18%;
    height: auto;
    background-color: #468d46;
    font-size: 20px;
    text-align: center;
    border: 3px groove white;
    color: #ff004e;
    -webkit-text-stroke: .2px white;
    transition: 1s ease-in-out;
}
.hideHelps {
    color: gold;
    pointer-events: none;
}
.randomQuest {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
    background: linear-gradient(#246c24,#14c714,#127e12);
    box-shadow: 0 0 10px 10px black inset;
    border: 3px groove beige;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 22222;
    padding: 35px;
    color: #000;
    text-align: center;
    font-size: 20px;
    overflow: hidden;
    clip-path: circle(0.4% at 0 100%);
    transition: .5s ease-in;
}
.infoquest-1{
    width: 60%;
    -webkit-text-stroke: .2px white;
}
.block1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:1rem;
}
.infohush {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:1rem
}
.infohush span {
    -webkit-text-stroke: .2px white;
}
.randomQuest img {
    width: 10%;
    filter: drop-shadow(0 0 5px black)
}
.close-random {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}
.close-random i {
    font-size: 35px;
    color: #c7c7c7
}
.point {
    position: absolute;
    font-size: 26px;
    z-index: 1111;
    top: -10px;
    left: 4px;
    color: white;
    -webkit-text-stroke: .8px black;
    background: red;
    border: none;
    padding: 5px;
    border-radius: 19px;
}