/* ------- QUIZ --------- */ 
.quiz-section {
    /*background-color: beige;*/
    width: 700px;
    height: 520px;
    display: flex;
    flex-direction: column;
    border: 1px solid grey;
    margin: 60px 40px;
}

.quiz-title-container{
    background-color: rgb(36, 144, 191);
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz-title {
    color: white;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 12px;
    /*word-spacing: 6px;*/
    transform: scaleX(1.2);
    margin-left: 30px;
}
#quiz-version {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    word-spacing: 0;
    margin-left: -10px;
}

#quiz-main-screen {
    height: 460px;
}

.quiz-frame-intro, 
.quiz-frame {
    position: relative;
    height: 410px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px 30px 40px;
}

.quiz-frame-intro {
    background-color: rgb(195, 222, 234);
}

.quiz-frame {
    position: relative;
    background-color: rgb(20, 106, 143);
}

.quiz-welcome-message {
    background-color: rgb(214, 233, 241);
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 6px;
    margin-top: 30px;
}
.quiz-small-text {
    font-size: 13px;
}

.quiz-newGameButton-container {
    height: 50px;
    margin-top: 40px;
}

#newGameButton {
    height: 44px;
    width: 200px;
    color: rgb(30, 30, 30);
    background-color: rgb(110, 194, 230);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
    border: 3px solid white;
    border-radius: 9px;
    box-shadow: 2px 2px 4px grey;
    transition: color 0.4s, background-color 0.4s, box-shadow 0.15s, margin-left 0.15s, margin-top 0.15s;
    padding-bottom: 2px;
}
#newGameButton:hover {
    cursor: pointer;
    color: rgb(255, 255, 255);
    background-color: rgb(112, 230, 110);
}
#newGameButton:active {
    cursor: pointer;
    box-shadow: unset;
    margin-left: 2px;
    margin-top: 2px;
}

.quiz-instructions-intro {
    background-color: rgb(214, 233, 241);
    padding: 2px 6px;
    margin-top: 50px;
}
#quiz-instructions {
    background-color: rgb(44, 140, 182);
    padding: 2px 16px;
}

#rulesButton {
    height: 24px;
    background-color: rgb(175, 225, 247);
    border: 1px solid grey;
    border-radius: 3px;
    align-self: start;
    margin-top: 26px;
    margin-left: 100px;
}
#rulesButton:hover {
    cursor: pointer;
}

.quiz-navigation-legend {
    position: absolute;
    color: rgb(175, 225, 247);
    font-size: 12px;
    top: 6px;
    right: 103px;
}

.quiz-legend-left-frame,
.quiz-legend-right-frame {
    position: absolute;
    width: 42px;
    height: 6px;
    border-top: 1px solid rgb(175, 225, 247);
    top: 6px;
}

.quiz-legend-left-frame {
    right: 68px;
    border-left: 1px solid rgb(175, 225, 247);
}

.quiz-legend-right-frame {
    right: -52px;
    border-right: 1px solid rgb(175, 225, 247);
}

.quiz-navigation {
    height: 50px;
    width: 610px;
    background-color: rgb(35, 130, 172);
    box-shadow: inset 0 0 4px rgb(13, 50, 66);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    padding: 4px 2px 6px 2px;
}

.quiz-info {
    color: rgb(212, 212, 212);
    text-align: end;
    margin-left: 8px;
}

.take-the-money-button {
    position: relative;
    height: 40px;
    width: 70px;
    background: radial-gradient(rgb(142, 210, 239), rgb(110, 166, 190));
    box-shadow: 2px 2px 3px rgb(41, 61, 69);
    font-weight: 500;
    border: 2px solid grey;
    border-radius: 8px;
    margin-left: 20px;
    transition: background-color 0.3s, border-color 0.3s;
}
.take-the-money-button:hover {
    cursor: pointer;
    background-color: rgb(109, 211, 255);
    border-color: rgb(255, 255, 255);
}

.quiz-jokers {
    display: flex;
    align-items: center;
}

.quiz-joker-button {
    height: 40px;
    width: 50px;
    position: relative;
    background: radial-gradient(rgb(142, 210, 239), rgb(110, 166, 190));
    box-shadow: 2px 2px 3px rgb(41, 61, 69);
    font-weight: 500;
    border: 2px solid grey;
    border-radius: 8px;
    margin: 0 4px;
    transition: background-color 0.3s, border-color 0.3s;
}
.quiz-joker-button img {
    width: 100%;
}
.quiz-joker-button:hover {
    cursor: pointer;
    background-color: rgb(109, 211, 255);
    border-color: rgb(255, 255, 255);
}

.quiz-joker-button .tooltip, 
.take-the-money-button .tooltip {  
    position: absolute;
    background-color: rgb(222, 214, 197);
    padding: 2px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    z-index: 15;
    transition: opacity 0.15s;
}
.quiz-joker-button .tooltip {
    height: 30px;
    width: 72px;
    top: -38px;
    left: -15px;
}
.take-the-money-button .tooltip {  
    height: 17px;
    width: 78px;
    top: -25px;
    left: -6px;
}
.quiz-joker-button:hover .tooltip, 
.take-the-money-button:hover .tooltip {
    opacity: 1;
}

.quiz-question {
    background-color: rgb(220, 220, 165);
    box-shadow: inset 0 0 4px rgb(63, 63, 48);
    height: 240px;
    width: 590px;
    padding: 4px 10px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin-top: 20px;
}

.quiz-answers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 30px;
    margin-top: 30px;
}

.quiz-options {
    background: radial-gradient(#56ccff, #39a0cc);
    height: 60px;
    width: 260px;
    padding: 2px 8px;
    font-size: 20px;
    font-weight: 500;
    user-select: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgb(205, 240, 255);
    box-shadow: 2px 2px 3px rgb(41, 61, 69);
    border-radius: 20px;
    transition: background-color 0.4s, opacity 0.4s;
}
.quiz-options:hover {
    cursor: pointer;
    color: white;
    background: none;
    background-color: rgb(0, 58, 204);
    opacity: 0.7;
}

.quiz-options-letter {
    font-weight: 500; 
    color: rgb(125, 121, 0);
}

.quiz-options:hover .quiz-options-letter {
    color: white;
}

@keyframes blink-green {
    0%   {background-color: rgb(15, 174, 15);}
    50%   {background-color: rgb(15, 174, 15);}
    100% {background-color: rgb(138, 209, 138);}
}

.quiz-display-answer {
    height: 40px;
    margin-top: 20px;
}

#quiz-answer-div {
    display: none;
}

/*---------- ПРОЗОРЕЦ "ИГРАЕМ ЗА ... ЛЕВА" ------------*/
#info-we-play-for {
    position: absolute;
    top: -60px;
    left: 0;
    width: 700px;
    height: 520px;
    background-color:rgba(242, 242, 242, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
#info-we-play-for-inner {
    position: relative;
    width: 400px;
    height: 300px;
    background-color:rgb(164, 204, 222);
    font-size: 24px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid grey;
    border-radius: 20px;
}
#info-we-play-for-inner:hover {
    cursor: pointer;
}

/*---------- ПРОЗОРЕЦ ДЖОКЕР (ОБАДИ СЕ НА ПРИЯТЕЛ) ------------*/
#call-a-friend {
    position: absolute;
    top: -60px;
    left: 0;
    width: 700px;
    height: 520px;
    background-color:rgba(242, 242, 242, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
#call-a-friend-inner {
    width: 400px;
    height: 300px;
    background-color:rgb(164, 204, 222);
    font-size: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid grey;
    border-radius: 20px;
    padding: 30px;
}
#call-a-friend-inner:hover {
    cursor: pointer;
}

/*---------- ПРОЗОРЕЦ ДЖОКЕР (ПОМОЩ ОТ ПУБЛИКАТА) ------------*/
#ask-the-audience {
    position: absolute;
    top: -60px;
    left: 0;
    width: 700px;
    height: 520px;
    background-color:rgba(242, 242, 242, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
#ask-the-audience-inner {
    width: 400px;
    height: 300px;
    background-color:rgb(164, 204, 222);
    font-size: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid grey;
    border-radius: 20px;
    padding: 30px;
}
#ask-the-audience-inner:hover {
    cursor: pointer;
}

#ask-the-audience-diagram {
    background-color:rgb(210, 218, 163);
}
#upper-diagram {
    height: 200px;
    background-color: rgb(144, 158, 164);
    display: flex;
    align-items: end;
}
#lower-diagram {
    background-color:rgb(90, 106, 112);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.diagram-label {
    color: white;
    background-color:rgb(81, 93, 98);
    font-weight: bolder;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 10px;
}

.diagram-percent {
    background-color:rgb(227, 246, 255);
    width: 40px;
    font-size: 16px;
    display: flex;
    align-items: start;
    justify-content: center;
    margin: 10px 10px 0 10px;
}

#quiz-you-won-text {
    position: absolute;
    color: white;
    font-weight: 700;
    top: 50px;
    z-index: 20;
}

#quiz-you-won-small-text {
    color: rgb(110, 194, 230);
    font-size: 14px;
}

#quiz-you-won-image-container {
    position: absolute;
    top: -60;
    left: 0;
    width: 700px;
    height: 520px;
}

#youWonImage {
    height: 100%;
    width: 100%;
    object-fit: fill;
}
#youWonImage:hover {
    cursor: pointer;
}