@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;700&display=swap');

html {
    height: 100%;
    overflow: hidden;
    width: 100%;
}

* {
    font-family: Poppins;
    box-sizing: border-box;
}

body {
    font-family: Poppins;
    background: #fcfcfc;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}


body::after {
    width: 300px;
    height: 300px;
    border: 100px solid #ce0000;
    border-radius: 50%;
    position: fixed;
    right: -250px;
    top: -250px;
    content: '';
    z-index: -1;
}


#content {
    color: #1c1c1c;
    max-width: 100%;
    position: absolute;
    left: 20px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

#timer {
    position: absolute;
    left: 10px;
    bottom: 10px;
    height: 30px;
    right: 10px;
    background: #EDC5C8;
    border-radius: 15px;
    display: none;
}

.timer-inner {
    position: absolute;
    height: 30px;
    width: 50%;
    background: #ce0000;
    transition: width .3s;
    border-radius: 15px;

}

#output {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 300px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    overflow-y: scroll;
    display: none;
}

.slide {
    display: none;
}

#slideQuestion {
    width: 100%;
}

#slideQuestion .slide-question-question {
    font-size: 40px;
    text-align: center;
}

#slideQuestion .slide-question-answer {
    border: 1px solid #888;
    padding: 20px;
    cursor: pointer;
    border-radius: 10px;
    background: #fff;
    line-height: 22px;
}

#slideQuestion .slide-question-answer:hover {
    background: #eee;
    color: #333;
}

#slideNickname {
    max-width: 300px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#slideQuestion .slide-question-answers {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.result {
    display: none;
    flex-direction: column;
    align-items: center;
}

.slide-question-image {
    display: none;
    max-width: 600px;
    max-height: 400px;
    margin: 30px auto 0 auto;
}

h2 {
    font-weight: bold;
    font-size: 30px;
}

#nick {
    border: 1px solid #ce0000;
    font-size: 20px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
}

#nick::placeholder {
    color: #c0c0c0;
}

button {
    width: 100%;
    background: #ce0000;
    border: none;
    height: 50px;
    border-radius: 25px;
    margin-top: 20px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0;
}

.slide-summary-results, .slide-results-results {
    width: 100%;
    min-width: 400px;
    margin-top: 20px;
}

.slide-summary-results li, .slide-results-results li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    padding: 5px;
}

.slide-summary-results li strong, .slide-results-results li strong {    
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    color: #000;
}

.slide-summary-results li .place-1, .slide-results-results li .place-1 {
    color: #fff;
    background: goldenrod;
}

.slide-summary-results li:nth-child(2n), .slide-results-results li:nth-child(2n) {
    background: #f0f0f0;
}

.slide-summary-results li .place-2, .slide-results-results li .place-2 {
    color: #fff;
    background: silver;
}

.slide-summary-results li .place-3, .slide-results-results li .place-3 {
    color: #fff;
    background: brown;
}

body.admin #slideQuestion .slide-question-answers {
    display: none;
}

body.client #slideQuestion .slide-question-question {
    display: none;
}

body.client #slideQuestion .slide-question-image {
    display: none !important;
}