@font-face {
    font-family: 'AssistantBold';
    src: url('/Assistant-Bold.ttf');
}

@font-face {
    font-family: 'AssistantExtraBold';
    src: url('/Assistant-ExtraBold.ttf');
}

@font-face {
    font-family: 'AssistantRegular';
    src: url('/Assistant-Regular.ttf');
}


html {
    position: relative;
    min-height: 100%;
}

html,
body {
    overscroll-behavior-y: none;
}

#main-wrapper {
    width: 1320px;
    position: fixed;
}

#content-reg {
    background-image: url('/menu_bg.jpg');
}

#content-game {
}

.content-roll {
    width: 1320px;
    height: 1920px;
    position: relative;
}

.text-danger {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -40px;
    text-align: center;
    color: rgb(255 172 180) !important;
    font-size: 30px;
}

.input_group {
    position: relative;
}

#reg-inputs {
    position: absolute;
    left: 225px;
    top: 1632px;
    width: 840px;
}


.text_input {
    height: 80px;
    font-size: 54px;
    border-radius: 100px;
    color: white;
    width: 100%;
    padding-inline-start: 42px;
    position: relative;
    border: 0;
    background-color: transparent;
    text-align: start;
    font-family: AssistantRegular;
}

.placeholder-span {
    pointer-events: none;
    position: absolute;
    right: 0px;
    transition: 0.2s;
    transition-timing-function: ease;
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
    font-size: 54px;
    color: white;
    opacity: 0.7;
    border: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    font-family: AssistantRegular;
    text-align: center;
}

input:focus + span, input:not(:placeholder-shown) + span {
    font-size: 0px;
    opacity: 0;
}


#start_btn {
    position: absolute;
    left: 222px;
    top: 1736px;
    border: 0;
    border-radius: 100px;
    width: 366px;
    height: 80px;
    background-color: transparent;
}

#instructions_btn {
    position: absolute;
    left: 699px;
    top: 1736px;
    border: 0;
    border-radius: 100px;
    width: 366px;
    height: 80px;
    background-color: transparent;
}

#toc_click_area {
    background-color: white;
    width: 670px;
    height: 50px;
    position: absolute;
    bottom: 25px;
    left: 300px;
    opacity: 0.0;
}

#toc_checkbox {
    position: absolute;
    left: 970px;
    top: 1846px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 43px;
    height: 43px;
    background: url("/check.png") no-repeat;
    cursor: pointer;
}

#toc_checkbox:checked {
    background: url("/check_checked.png") no-repeat right 3px top 4px
}


#popup_overlay {
    width: 1000%;
    height: 1920px;
    background-color: #00000088;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0;
    transition: opacity 0.5s, backdrop-filter 0.5s;
    pointer-events: none;
    filter: blur(0);
    backdrop-filter: blur(6px);
}

#popup_content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#popup_img {
    border-radius: 6px;
}

#popup_btn_x {
    position: absolute;
    left: 40px;
    top: 40px;
    width: 70px;
    height: 70px;
    background-color: #65ff22dd;
    opacity: 0;
    cursor: pointer;
}

#popup_text {
    position: absolute;
    color: #f0000a;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    line-height: 90px;
    width: 80%;
    top: 50%;
    text-align: center;
    font-family: AssistantRegular;
}

#popup_end_score {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 75px;
    font-family: AssistantExtraBold;
    color: #0a477a;
}


.roll_item {
    position: absolute;
    transform: scale(0), translate(-50%, -50%);
    top: 400px;
    z-index: 10000;
    transition: transform linear 0.2s;
}

.placed_item {
    position: absolute;
    pointer-events: none;
    transform: scale(0);
    transition: transform linear 0.2s;
}

#placed_container {
    position: absolute;
    left: 93px;
    top: 855px;
    height: 950px;
    width: 1200px;
    overflow: hidden;
}

#placed_paper {
    top: 0px;
    left: 20px;
}

#placed_tobacco {
    top: 82px;
    left: 344px;
}

#placed_filter {
    top: 768px;
    left: 0px;
}

#placed_price {
    top: 255px;
    left: 220px;
}

#roll_icon {
    top: 1710px;
    left: 653px;
    opacity: 0;
    transition: opacity linear 0.4s;
}

#done_cigarette {
    top: 600px;
    left: 80px;
    transition: opacity linear 0.15s, transform linear 0.2s;
}

#oopsPopup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20000;
    opacity: 0;
    transition: opacity 0.5s, backdrop-filter 0.5s;
    pointer-events: none;
    filter: blur(0);
    backdrop-filter: blur(8px);
}

#oopsRestartBtn {
    width: 445px;
    height: 100px;
    position: absolute;
    left:365px;
    top: 735px;
    border: 0;
    background-color: transparent;
    z-index: 21000;
    pointer-events: none;
}

#game_overlay {
    pointer-events: none;
}

.ui_text {
    position: absolute;
    color: white;
    font-family: AssistantBold;
    font-size: 80px;
    line-height: 90px;
    text-align: center;
    width: 335px;
    height: 102px;
    top: 120px;
}

#timer {
    right: 120px;
}

#score {
   left: 120px;
}

#local_video_player {
    width: 1320px;
    height: 2346px;
    position: absolute;
    z-index: -100;
    left: 0px;
    top: -213px;
}