@font-face {
    font-family: 'AlmoniRegular';
    src: url("/almoni-dl-aaa-regular.otf") format("opentype");
}

html {
    position: relative;
    min-height: 100%;
    background: linear-gradient(173deg,rgba(255, 133, 21, 1) 0%, rgba(255, 49, 54, 1) 40%, rgba(195, 54, 152, 1) 59%, rgba(31, 122, 237, 1) 100%);
}

#main-wrapper {
    width: 1300px;
    position: fixed;
}

#main-wrapper-landscape {
    width: 1920px;
    position: fixed;
}

#content-reg {
    background-image: url('/menu_bg.jpg');
    height: 1920px;
}

#content-instructions {
    background-image: url('/instructions_bg.jpg');
    height: 1920px;
}

#content-instructions2-a {
    background-image: url('/instructions2_a.jpg');
    background-size: 100%;
    height: 1920px;
}

#content-instructions2-b {
    background-image: url('/instructions2_b.jpg');
    background-size: 100%;
    height: 1920px;
}

#content-instructions2-c {
    background-image: url('/instructions2_c.jpg');
    background-size: 100%;
    height: 1920px;
}

#content-trivia {
    background-image: url('/trivia_bg.jpg');
    position: absolute;
    width: 100%;
    height: 1920px;
    color: white;
}

#content-trivia-results {
    background-image: url('/result_bg.jpg');
    background-size: 100%;
    height: 1920px;
}


#content-trivia-results-thanks {
    background-image: url('/result_thanks_bg.jpg');
    background-size: 100%;
    height: 1920px;
    opacity: 0.003;
}

.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: 748px;
    width: 775px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 46px;
}

.text_input {
    height: 131px;
    font-size: 80px;
    border-radius: 100px;
    color: #ffffff;
    width: 100%;
    padding-inline-start: 42px;
    position: relative;
    border: 0;
    background-color: transparent;
    text-align: start;
    font-family: AlmoniRegular;
}

.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: 80px;
    color: #ffffffff;
    opacity: 0.7;
    border: 0;
    padding-inline-start: 42px;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    font-family: AlmoniRegular;
}

input:focus + span, input:not(:placeholder-shown) + span {
    font-size: 0px;
    opacity: 0;
}

#reg-btn-next {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 1093px;
    width: 775px;
    height: 126px;
    border: 0;
    border-radius: 100px;
    background-color: transparent;
}

#instructions-btn-next {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 1093px;
    width: 775px;
    height: 126px;
    border: 0;
    border-radius: 100px;
    background-color: transparent;
}

#instructions2-btn-next {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 1450px;
    width: 775px;
    height: 126px;
    border: 0;
    border-radius: 100px;
    background-color: transparent;
}

#questions-header {
    position: absolute;
    width: 902px;
    height: 249px;
    font-family: 'AlmoniRegular';
    font-size: 70px;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 0;
}

#remaining-time {
    position: absolute;
    left: 0;
    padding: inherit;
    bottom: 38px;
    margin: 0;
}

#question-num {
    position: absolute;
    right: 0;
    padding: inherit;
    bottom: 38px;
    margin: 0;
    direction:rtl;
}

#progress-bar-container {
    position: absolute;
    left: 0;
    padding: 0;
    bottom: 1px;
    width: 100%;
    height: 32px;
    background-color: transparent;
    border-radius: 30px;
    overflow: hidden;
}

#progress-bar {
    background-color: white;
    height: 100%;
    width: 90%;
    border-radius: 30px;
    transition: all ease-in-out 0.4s;
}

#question-panel {
    width: 100%;
    height: 390px;
    position: absolute;
    top: 20px;
    padding: 0 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#question-text {
    direction: rtl;
    text-align: center;
    font-size: 60px;
    font-weight: bold;
    line-height: 74px;
    margin: 0;
    padding: 0;
}

#answers-container {
    width: 776px;
    left: 50%;
    transform: translate(-50%, 0);
    height: 624px;
    position: absolute;
    top: 434px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.answer-container {
    height: 129px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transform-origin: 50% 50%;
}

.answer {
    direction: rtl;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    margin: 0;
    width: 100%;
    line-height: 50px;
    z-index: 10;
}

#questions-next-btn {
    width: 910px;
    left: 50%;
    transform: translate(-50%, 0);
    height: 102px;
    border: 0;
    position: absolute;
    top: 1512px;
    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;
}

#question-container {
    transform: scale(1);
    transition: all linear 0.2s;
    width: 908px;
    height: 1140px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 310px;
}

#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;
    left: 20px;
    top: 20px;
    width: 120px;
    height: 120px;
}
#popup_text {
    position: absolute;
    color: white;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 66px;
    width: 100%;
    top: 80%;
    text-align: center;
}