@font-face {
    font-family: 'PoalimBeta5Bold';
    src: url('/PoalimBeta5-Bold.otf');
}

@font-face {
    font-family: 'PoalimBeta5Regular';
    src: url('/PoalimBeta5-Regular.otf');
}


html {
    position: relative;
    min-height: 100%;
}

#main-wrapper {
    width: 1080px;
    position: fixed;
}

#content-reg {
    background-image: url('/menu_bg.jpg');
    height: 1920px;
}

#content-instructions {
    background-image: url('/instructions_bg.jpg');
    height: 1920px;
}

#content-trivia {
    background-image: url('/trivia_bg.jpg');
    position: absolute;
    width: 100%;
    height: 1920px;
    color: white;
}

#content-thanks {
    background-image: url('/thanks_bg.jpg');
    background-size: 100%;
    height: 1920px;
}

.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 {
    padding-top: 757px;
    width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.text_input {
    height: 144px;
    font-size: 86px;
    border-radius: 10px;
    color: #525252;
    width: 100%;
    padding-inline-start: 42px;
    position: relative;
    border: 0;
    background-color: transparent;
    text-align: start;
    font-family: PoalimBeta5Regular;
}

.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: 86px;
    color: #525252;
    opacity: 0.7;
    border: 0;
    padding-inline-start: 42px;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    font-family: PoalimBeta5Regular;
}

input:focus + span, input:not(:placeholder-shown) + span {
    font-size: 0px;
    opacity: 0;
}

#groupSelectorContainer {
    position:absolute;
    top: 1287px;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    gap: 31px;
}

.groupSelectorBtn {
    width: 144px;
    height: 144px;
    border: 0;
    background-color: transparent;
    position: relative;
}

.groupSelectionBorder {
    width: 97%;
    height: 97%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all linear 0.2s;
    border: 8px solid #52f25200;
    border-radius: 10px;
}

#reg-btn-next {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 1549px;
    width: 393px;
    height: 117px;
    border: 0;
    border-radius: 100px;
    background-color: transparent;
}

#instructions-btn-next {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 1549px;
    width: 393px;
    height: 117px;
    border: 0;
    border-radius: 100px;
    background-color: transparent;
}

#questions-header {
    position: absolute;
    width: 902px;
    height: 500px;
    font-size: 70px;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 0;
    top: 50px;
}

#remaining-time {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    padding: inherit;
    margin: 0;
    top: 200px;
    font-size: 140px;
}

#question-container {
    transform: scale(1);
    transition: all linear 0.2s;
    width: 840px;
    height: 890px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 556px;
}

#question-panel {
    width: 100%;
    height: 291px;
    position: absolute;
    top: 0px;
    padding: 0 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#question-text {
    direction: rtl;
    text-align: center;
    font-size: 66px;
    font-weight: bold;
    line-height: 70px;
    margin: 0;
    padding: 0;
    color: #525252;
    font-family: PoalimBeta5Regular;
}

#answers-container {
    width: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 540px;
    position: absolute;
    top: 348px;
    display: flex;
    padding-right: 109px;
    flex-direction: column;
    justify-content: space-between;
}

.answer-container {
    height: 109px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transform-origin: 50% 50%;
}

.answer {
    direction: rtl;
    text-align: center;
    font-size: 42px;
    padding: 30px;
    font-weight: bold;
    margin: 0;
    width: 100%;
    line-height: 45px;
    z-index: 10;
    color: #525252;
    font-family: PoalimBeta5Regular;
}

#questions-next-btn {
    width: 390px;
    left: 50%;
    transform: translate(-50%, 0);
    height: 120px;
    border: 0;
    position: absolute;
    top: 1549px;
    background-color: transparent;
}

.wrong_answer_bg {
    opacity: 0;
    position: absolute;
    transition: opacity linear 0.15s;
}

.correct_answer_bg {
    opacity: 0;
    position: absolute;
    transition: opacity linear 0.15s;
}

.answer-bg {
    position: absolute;
    left: 0;
    top: 0;
}

.answer-selected {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity linear 0.15s;
}



#results_score {
    position: absolute;
    color: #ffffff;
    left: 50%;
    top: 15%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    direction: rtl;
    text-align: center;
}

#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(50px);
}

#popup_content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#popup_img {
    border-radius: 66px;
}

#popup_btn_x {
    position: absolute;
    right: 60px;
    top: 60px;
    width: 120px;
    height: 120px;
}

#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: PoalimBeta5Regular;
}

#selectedGroupOnInstructions {
    position: absolute;
    left: 852px;
    top: 123px;
    background-color: #ffffff;
    width: 98px;
    height: 98px;
    border-radius: 5px;
}

#selectedGroupOnTrivia {
    position: absolute;
    right: 40px;
    top: 72px;
    background-color: #ffffff;
    width: 100px;
    height: 100px;
    border-radius: 5px;
}