@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@200&display=swap');
:root {
    --bg-primary: rgb(0, 166, 255);
    --bg-secondary: rgb(0, 217, 255);
    --borders: rgb(255, 255, 255);
    --font-color: black;
    --l-font-color: gray;
    --right: rgb(0, 255, 0);
    --wrong: rgb(255, 0, 0);
}

* {
    direction: rtl;
    padding: 0;
    margin: 0;
    border-radius: 1rem;
    color: var(--font-color) !important;
    transition: .3s !important;
}

button {
    border: none;
    cursor: pointer;
}

.flexy-center {
    display: flex;
    text-align: center;
    justify-content: center !important;
    align-items: center !important;
}

.dir-col {
    flex-direction: column;
}

.no-mid {
    justify-content: unset;
    gap: 10px;
}

.wrap {
    flex-wrap: wrap;
}

#container {
    position: absolute;
    border-radius: 0;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: var(--bg-primary);
    overflow: scroll;
    overflow-x: hidden;
    direction: ltr;
}

.choose {
    position: relative;
    height: 80vh;
    width: 80vw;
    background: var(--bg-secondary);
    border: 5px solid var(--borders) !important;
}

.choice {
    position: relative;
    background: var(--borders);
    height:  13% ;
    width: 80%;
    margin: 1vh;
    padding: 2vh;
    font-size: 1rem;
    font-weight: bold;
    transition: .3s;
}

.choice:hover {
    background: var(--bg-primary);
    outline: 5px solid var(--borders);
}

.choose .title {
    background: transparent;
    font-size: 1.5rem;
    border-radius: 0;
    border-bottom: 5px solid var(--font-color);
    height: 5vh;
    padding-bottom: 3vh;
}


#question {
    width: 100%;
    background: var(--borders);
    border-radius: 0;
    height: 60%;
    border: none;
    outline: none;
    font-size: 4vw;
    font-weight: bold;
    resize: none;
}

.top-span-p {
    background: var(--borders);
    font-weight: bold;
    color: var(--l-font-color) !important;
    height: fit-content !important;
    width: fit-content;
    height: fit-content;
    padding: .3rem;
    user-select: none;
    font-size: .7rem;
    line-height: 4vw;
}

.top-span-p:hover {
    background: var(--font-color);
    color: var(--bg-primary) !important;
}


#ans {
    padding-right: 2vw;
}

.quiz-container {
    position: relative;
    height: 80vh;
    width: 80vw;
    background: var(--bg-secondary);
    border: 5px solid var(--borders) !important;
}

.quiz-container span {
    height: 20%;
    width: 100%;
    border-radius: 0;
    background: transparent;
}

.quiz-container span * {
    height: 90%;
    margin-left: 1vw;
}

textarea {
    width: 100%;
    background: var(--borders);
    border-radius: 0;
    height: 60%;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: bold;
    resize: none;
}

.half {
    height: 30% !important;
    font-size: 4vw !important;
}

.answer {
    background: var(--borders);
    direction: rtl;
    border: none;
    outline: none;
    width: 30%;
    font-size: 1rem;
    font-weight: bold;
    padding-right: 2vw;
}
#answer {
    padding-right: 2vw;
}

#submit:hover {
    text-decoration: underline;
}


.finish {
    width: 80%;
    font-size: 1.5rem;
    padding-right: 2vw;
    padding-left: 2vw;
    background: var(--borders);
    font-weight: bold;
}

.finish:hover {
    background: var(--decore);
    color: gray;
}

#finsisher {
    padding: .6rem;
}


*::-webkit-scrollbar {
    width: 5vw;
}

*::-webkit-scrollbar-track {
    background-color: var(--bg-primary);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--bg-secondary);
}

.surahsChoice {
    height: 95%;
    width: 95%;
    overflow: scroll;
    overflow-x: hidden;
}

.chooseSurah {
    padding: .5rem;
    font-size: 1rem;
    width: 80%;
    border-radius: .5vw;
    font-weight: bold;
    margin: .2rem;
}

button {
    user-select: none !important;
}
.util-btn {
    z-index: 100;
    padding: .5vw;
    border-radius: 100%;
    user-select: none;
    height: 9vw;
    width: 9vw;
    font-size: 3vw;
    font-weight: bold;
    background-color: var(--borders);
}

.mode {
    /* dark button 🌙 */
    background-color: black;
    color: white
}


.mode::after {
    content: "🌙";
}

.isdark {
    /* light button  ☀️*/
    background-color: white;
    color: yellow;

}

.isdark::after {
    content: "☀️";
}

.tools {
    position: fixed;
    z-index: 40;
    padding-top: 2vw;
    top: 0;
    left: 0;
    height: 100%;
    width: 10vw;
    background: transparent !important;
}

.tools * {
    font-family: helvetica !important;
}

#alert {
    display: none;
    top: 25%;
    left: 25%;
    position: fixed;
    height: 50%;
    width: 50%;
    padding: 2vw;
    background-color: var(--bg-primary);
    color: var(--borders);
    border: 5px solid var(--font-color);
    font-size: 2rem;
    font-weight: bold;
    border-radius: 0;
    border-top-right-radius: 1rem !important;
    border-bottom-right-radius: 1rem !important;
    overflow: scroll;
    overflow-x: hidden;
}

.creator {
    background-repeat: no-repeat;
    background-size: cover;
}

.creator::after {
    content: "😎"
}



#menuContainer {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 0;
    background-color: var(--bg-primary);
    display: none;
}

#menuContainer button {
    width: 80%;
    height: 15%;
    font-size: 2rem;
    font-weight: bold;
    font-family: helvetica;
    color: var(--font-color);
    background-color: var(--borders);
}

.show {
    z-index: 20;
    display: flex !important;
}

.closeMenu {
    position: absolute;
    background-color: var(--bg-secondary);
    color: var(--font-color);
    top: 5%;
    right: 10%;
    padding: .5rem;
    cursor: pointer;
}