.demo{
    position: fixed;
    width: 100%;
    height: 100%;
}

.timer {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 20px;
    color: #fff;
    margin-top: 50px;
    z-index: 999;
    position: relative;
}

.timer>#time {
    font-size: 45px;
    margin-bottom: -5px;
    font-weight: 500;
}

.timer > button{
    width: 25px;
    height: 25px;
    margin: 10px;
    border-radius: 5px;
    background: 0;
    border: 0;
    cursor: pointer;
}
.timer > button > svg{
    fill: #fff;
}

#point {
    font-size: 25px;
    margin-top: 30px;
    z-index: 999;
}

.demo__content {
    background: var(--ColorThemes0);
    color: #fff;
    overflow: hidden;
    position: absolute;
    user-select: none;
    display: flex;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.demo__card-cont {
    /* box-shadow: 0px 8px 16px rgb(255 202 0 / 10%), 0px 0px 14px rgb(255 241 0 / 20%), 0px 0px 27px rgb(255 241 0 / 30%); */
    position: relative;
    width: 304px;
    height: 304px;
    border-radius: 25px;
    border: 4px solid var(--ColorThemes1);
    border-style: dashed;
}

.demo__card {
    z-index: 2;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -150px;
    width: 300px;
    height: 300px;
    transform-origin: 50% 100%;
}

.demo__card.reset {
    transition: transform 0.3s;
    transform: translateX(0) !important;
}

.demo__card.reset .demo__card__choice {
    transition: opacity 0.3s;
    opacity: 0 !important;
}

.demo__card.inactive {
    transition: transform 0.9s;
}

.demo__card.to-left {
    transform: translateX(-100rem) rotate(-100deg) !important;
}

.demo__card.to-right {
    transform: translate(100rem) rotate(100deg) !important;
}

.demo__card.below {
    z-index: 1;
}

.demo__card__top {
    width: 100%;
    aspect-ratio: 1/1;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 8px solid var(--ColorThemes0);
    background-color: var(--ColorThemes0);
}

.demo__card__top svg {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 25px;
    z-index: 1;
    border: 8px solid var(--ColorThemes1);
}

.demo__card__top h2 {
    position: absolute;
    top: 15px;
    font-size: 15px;
    opacity: 0.8;
    font-weight: 400;
    z-index: 5;
}

.demo__card__top h3 {
    font-size: 30px;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .1);
    font-weight: 500;
    z-index: 5;
    text-align: center;
    max-width: 90%;
    text-transform: capitalize;
}

.demo__card__choice {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border-radius: 25px;
    z-index: 10;
}

.demo__card__choice:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2rem;
    height: 2rem;
    margin-left: -1rem;
    color: #fff;
    border-radius: 50%;
    box-shadow: -2rem -3rem #fff, 2rem -3rem #fff;
}

.demo__card__choice:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4rem;
    height: 1.5rem;
    margin-left: -2rem;
    border: 0.6rem solid #fff;
    border-bottom: none;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

.demo__card__choice.m--reject {
    background: #ff945a;
}

.demo__card__choice.m--like {
    background: #b1da96;
}

.demo__card__choice.m--like:after {
    transform: scaleY(-1);
}

.demo__card__drag {
    z-index: 15;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.demo__tip {
    text-align: center;
    font-size: 2.2rem;
}


.buttons_control {
    bottom: 50px;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.buttons_control>button {
    width: 200px;
    margin: 0 20px;
    height: 50px;
    border-radius: 15px;
    border: 2px solid var(--ColorThemes1);
    background-color: var(--ColorThemes0);
    color: #fff;
    z-index: 999;
    cursor: pointer;
    transition: all .3s ease 0s;
    border-style: solid;
}
@media (hover: hover) {
    .buttons_control > button:hover{
        border-style: dashed;
    }
}

.buttons_control>button>svg {
    width: 25px;
    height: 25px;
    fill: #fff;
}