@import url('https://fonts.googleapis.com/css2?family=Heebo&display=swap');

/* .tabs .quiz.button {
    height: 29px;
    padding: 9.5px;
} */

.quiz.button::before{
    content:"כניסה";
    width: 79px;
    color: white;
    padding: 5px;
    font-family: Heebo;
    margin: 4px 8.7px 3.7px 4px;
    border-radius: 22px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    background-color: #3ab4f2;
    display: inline-block;
    cursor: pointer;
}

.quiz.button {
    background-color: transparent !important;
}

#quiz-background{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    height: 64px;
    background-image: url('/icons/quiz/quiz_patern.svg');
    background-position-x: -30px;
    background-position-y: -5px;
    transition: display 0.6s, background 0.5s;
}

#quiz-text::before{
    content: '';
    height:50px;
    width: 256px;
    background-repeat: no-repeat;
    background-image: url('/icons/quiz/quiz_baner.svg');
    background-size:255px 60px;
    display: inline-block;
    
}
/* .quiz.button::after {
    content: '';
    margin: 1px 25.3px 3px 0;
    font-family: Heebo;
    background-image: url('/icons/quiz/quiz_baner.svg');
    font-size: 15px;
    font-weight: 300;
    color: #293b57;
    cursor: pointer;
} */

#quiz {
    position: fixed;
    bottom: 0;
    right: 0;
    top: 64px;
    left: 0;
    z-index: 6;
    font-family: Heebo;
    background-color: white;
    display:none;
    opacity:0;
    overflow: scroll;
    transform: scale(0.8);
    width: 125%;
    height: 125%;
    transform-origin: top right;
}
#quiz * {
    font-family: Heebo;
}

#quiz .exit {
    cursor: pointer;
    margin: 13px;
}

#quiz .cover {
    background-image: url("/icons/quiz/pictures/מטוסי קרב 2.jpg");
    height: 35vh;
    max-height: 235px;
    background-size: cover;
    background-repeat: no-repeat;
}
#quiz .question {
    position: relative;
    padding-right: 19px;
    padding-left: 16px;
    padding-top: 9px;
}
#quiz .question .question-cluster {
    display: flex;
    flex-direction: column;
}
#quiz .question .counter{
    position: absolute;
    left: 16px;
    top: 8px;
    font-size: 20px;
    direction: ltr;
    color: #778287;
}
#quiz .question .title{
    font-size: 20px;
    font-weight: normal;
    margin: 0;
    margin-left: 56px;
    padding: 15px 0;
}
#quiz .question .counter .current{
    font-size: 38px;
}

#quiz .question .option{
    border: 1px solid black;
    margin: 0 0 8px;
    padding: 15px 30px 9px 13px;
    font-size: 22px;
    border-radius: 13px;
    border: solid 2px #35405f;  
    position: relative;
    cursor: pointer;
    transform: translateY(0px);
    transition: .5s cubic-bezier(0.56, 0.04, 0.11, 1.29);
    animation: option .5s cubic-bezier(0.56, 0.04, 0.11, 1.29);
    -webkit-animation: option .5s cubic-bezier(0.56, 0.04, 0.11, 1.29);
}

@keyframes option {
    from { opacity: 0; transform: translateY(50px); }
}


#quiz .question .option::after{
    border-radius: 50%;
    width: 16px;
    height: 16px;
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 16px;
    color: black;
}

#quiz .question .option.marked{
    background: rgba(58, 180, 242, 0.3);
    transform: scale(0.99);
}

#quiz .question .option.wrong{
    background-color: #f64b58;
    border-color: #f64b58;
    color: white;
}
#quiz .question .option.wrong::after{
    content: '';
    background-image: url('../icons/quiz/false\ icon.svg');
}
#quiz .question .option.correct{
    background-color: #64e1a5;
    border-color: #64e1a5;
    color: white;
    transform: scale(1.05);
}
#quiz .question .option.option.correct::after{
    content: '';
    background-image: url('../icons/quiz/true\ icon.svg');
}

#quiz .question .test {
    width: 152px;
    height: 44px;
    margin: auto;
    display: block;
    color: white;
    border-radius: 22px;
    background-color: #3ab4f2;
    font-size: 16px;
    border: none;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: all .1s;
    margin-bottom: 10px;
}

#quiz .question .test:hover {
    background-color: #61c8f8;
}

#quiz .finished {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background: white;
    text-align: center;
    width: 100%;
    height: 100%;
    display: none;
}

#quiz .finished * {
    animation: option .5s cubic-bezier(0.56, 0.04, 0.11, 1.29);
    -webkit-animation: option .5s cubic-bezier(0.56, 0.04, 0.11, 1.29);
}


#quiz .finished .title {
    margin-top: 56px;
    font-size: 40px;
    font-weight: 500;
    color: #35405f;
}

#quiz .finished #sharebutton {

    width: 190px;
    height: 60px;
    background-color: white;
    background-image: url('/assets/share_quiz_resultt.png');
    border: none;
    margin-left: 15px;
    background-size:cover;
    background-repeat: no-repeat;

}
#quiz .finished .title::before {
    content: 'כל הכבוד!';
}

#quiz .finished.can-be-better .title::before {
    content: 'קצת חלודים...';
}

#quiz .finished .second.title {
    margin-top: 32px;
    margin-bottom: 31px;
    font-size: 22px;
}

#quiz .finished .second.title::before {
    content: 'איזה אדירים אתם! עניתם נכון על כל השאלות';
}

#quiz .finished.almost-all-right .second.title::before {
    content: 'איזה אדירים אתם! עניתם על רוב השאלות נכון';
}

#quiz .finished.can-be-better .second.title::before {
    content: 'לא נורא, תמיד אפשר לנסות שוב :)';
}

#quiz .finished .score {
    width: 128px;
    height: 128px;
    border-radius: 64px;
    background-color: #64e1a5;
    margin: auto;
    font-size: 30px;
    color: white;
    padding: 22px;
    box-sizing: border-box;
}

#quiz .finished.can-be-better .score {
    background-color: #f64b58;
}

#quiz .finished .score .correct.count {
    font-size: 57px;
}

.finished nav {
    margin-top: 32px;
    margin-bottom: 78px;
}

.finished .button {
    width: 152px;
    height: 44px;
    margin: 0;
    border-radius: 22px;
    background-color: #3ab4f2;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    border: none;
}

.finished button.again {
    color: #3ab4f2;
    background-color: white;
    border: 3px solid #3ab4f2;
    margin-left: 18px;
}


.finished button.exit::before {
    content: 'חזרה למפה';
}

#confetti{
	height: 100%;
	left: 0px;
	position: fixed;
	top: 0px;
	width: 100%;
	z-index: 99;
    display: none;
}

@media only screen and (min-width: 600px) {
    #quiz {
        width: 500px;
        z-index: 10000;
    }
    #quiz .cover{
        height: 250px;
        animation: option .5s cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .finished button.exit::before {
        content: 'יציאה';
    }
}
@media only screen and (max-width: 350px) {
    #quiz-text::before {
        background-size:230px 60px;
    }
    .quiz.button::before{
        width: 55px;
        margin-left: 35px ;
    }

}
