@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');
#multiquiz {
    position: relative;
    width: 996px;
    min-height: 700px;
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    background: #FFFFFF;
    border-bottom: 3px solid #d8431d;
}

#multiquiz #headerm {
    width: 100%;
    height: 50px;
    font-size: 30px;
    background: #d8431d;
    display: flex;
    align-items: center;
    justify-content: center;
}

#multiquiz #headerm img {
    width: 90px;
    height: 50px;
}

#multiquiz #mainpage {
    width: 100%;
}

#multiquiz #mainpage #logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    margin-bottom: 20px;
}

#multiquiz #mainpage #menu {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: auto;
}

#multiquiz #mainpage #menu div {
    width: 40%;
    height: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    background: #d8431d;
    margin: 10px;
    border-radius: 4px;
    border: 1px solid #444444;
    cursor: pointer;
}

#multiquiz #mainpage #menu div:hover {
    box-shadow: 0 0 15px #d8431d;
}

#multiquiz #mainpage #menu div img {
    width: 60px;
    height: 40px;
}

#multiquiz #game {
    width: 100%;
}

#multiquiz #game #counter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 70px auto;
    visibility: hidden;
}

#multiquiz #game #counter .item {
    width: 40px;
    height: 40px;
    background: #e5e5e5;
    border-radius: 50%;
    position: relative;
    margin-left: 24px;
    color: #000000;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
}

#multiquiz #game #counter .item:nth-child(1) {
    margin-left: 0px;
}

#multiquiz #game #counter .active {
    background: #d8431d;
    color: #FFFFFF;
}

#multiquiz #game #counter .item::before {
    content: '';
    position: absolute;
    top: 30%;
    left: -65%;
    width: 75%;
    height: 40%;
    background: inherit;
}

#multiquiz #game #counter .item:nth-child(1):before {
    content: '';
    position: absolute;
    top: 30%;
    left: -30%;
    width: 50%;
    height: 40%;
    background: inherit;
}

#multiquiz #game #counter .item:nth-child(10):after {
    content: '';
    position: absolute;
    top: 30%;
    right: -30%;
    width: 50%;
    height: 40%;
    background: inherit;
}

#multiquiz #game #counter .item svg {
    width: 25px;
    height: 25px;
    margin-top: 7px;
    margin-left: 1px;
    fill: #6C6C6C;
}

#multiquiz #game #counter .active svg {
    fill: #FFFFFF;
}

#multiquiz #game #slidercontainer {
    width: 660px;
    height: 10px;
    border-radius: 3px;
    margin: 10px auto;
    background: #e5e5e5;
    visibility: hidden;
}

#multiquiz #game #slidercontainer .slider {
    background: #d8431d;
    border-radius: 3px;
    height: 10px;
    animation: sliderani 10s linear forwards;
}

@keyframes sliderani {
    0% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

#multiquiz #popup {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.30);
    border-radius: 5px;
    background: #FFFFFF;
    color: #000000;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    z-index: 100;
}

#multiquiz #popup.active {
    top: 40%;
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}

#multiquiz #popup #popup_close {
    width: 30%;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d8431d;
    margin: 10px auto;
    border-radius: 4px;
    border: 1px solid #444444;
    color: #FFFFFF;
    cursor: pointer;
}

#multiquiz #popup #popup_login {
    width: 90%;
    display: none;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}

#multiquiz #popup #popup_login #lgnbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: 50px;
    font-size: 25px;
    background: #d8431d;
    margin: 10px auto;
    border-radius: 4px;
    border: 1px solid #444444;
    color: #FFFFFF;
    cursor: pointer;
}

#multiquiz #popup #popup_login #nolgnbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: 50px;
    font-size: 22px;
    background: #6C6C6C;
    margin: 10px auto;
    border-radius: 4px;
    border: 1px solid #444444;
    color: #FFFFFF;
    cursor: pointer;
}

#multiquiz #popup a {
    color: #d8431d;
}

#multiquiz #popup h1 {
    color: #d8431d;
    line-height: 35px;
    font-size: 30px;
}

#multiquiz #popup h2 {
    line-height: 30px;
    font-size: 25px;
}

#multiquiz .blur {
    filter: blur(20px);
    pointer-events: none;
    user-select: none;
}

#multiquiz #game #matchmaking {
    width: 100%;
}

#multiquiz #game #matchmaking #message {
    margin: 30px auto 0px auto;
    text-align: center;
    font-size: 40px;
    color: #000000;
}

#multiquiz #game #matchmaking #board {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 50px auto 50px auto;
}

#multiquiz #game #matchmaking #board>div {
    position: relative;
    width: 150px;
    height: 150px;
}

#multiquiz #game #matchmaking #board #vs {
    width: 80px;
    color: #717171;
    font-size: 80px;
    margin: 0px 80px 0px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#multiquiz #game #matchmaking #board>div #user {
    position: relative;
    width: 150px;
    height: 150px;
}

#multiquiz #game #matchmaking #board>div #user #avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0px auto 0px auto;
    overflow: hidden;
    border: 7px solid #d8431d;
    border-radius: 7px;
    padding: 5px;
}

#multiquiz #game #matchmaking #board .username {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 5px;
    color: #000000;
    font-size: 28px;
    text-align: center;
}

#multiquiz #game #matchmaking #board>div #user #avatar img {
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
    width: 100px;
    height: 100px;
}

#multiquiz #game #matchmaking #board #opponentout {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0px auto 0px auto;
    overflow: hidden;
    border: 7px solid #d8431d;
    border-radius: 7px;
    padding: 5px;
}

#multiquiz #game #matchmaking #board #opponentout #opponent {
    position: absolute;
    top: 0px;
    left: 5px;
    animation: slideshow 0.5s linear infinite;
    width: 100px;
}

#multiquiz #game #matchmaking #board #opponentout #opponent img {
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
    width: 100px;
    height: 100px;
}

@keyframes slideshow {
    0% {
        top: 0;
    }
    100% {
        top: -215px;
    }
}

@keyframes slideshow_found {
    0% {
        top: 0;
    }
    100% {
        top: -326px;
    }
}

#multiquiz #game #question {
    width: 80%;
    height: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 50px auto 50px auto;
    color: #717171;
    font-size: 26px;
    text-align: center;
    visibility: hidden;
}

#multiquiz #game #answers {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: auto;
    visibility: hidden;
}

#multiquiz #game #answers div {
    width: 40%;
    height: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d8431d;
    margin: 10px;
    border-radius: 4px;
    border: 1px solid #444444;
    cursor: pointer;
}

#multiquiz #game #answers div.slctd {
    background: royalblue;
    box-shadow: 0 0 15px royalblue;
}

#multiquiz #game #answers div:hover.slctd {
    box-shadow: 0 0 15px royalblue;
}

#multiquiz #game #answers div.others {
    background: #444444;
}

#multiquiz #game #answers div:hover.others {
    box-shadow: none;
}

#multiquiz #game #answers div:hover {
    box-shadow: 0 0 15px #d8431d;
}

#multiquiz #game #resultmultiplayer {
    width: 80%;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    display: none;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#multiquiz #game #resultmultiplayer #user1,
#multiquiz #game #resultmultiplayer #user2 {
    width: 50%;
}

#multiquiz #game #resultmultiplayer #winner {
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    font-size: 30px;
    text-align: center;
    color: #d8431d;
}

#multiquiz #game #resultmultiplayer #avatar {
    position: relative;
    width: 104px;
    height: 104px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
    box-shadow: 0 0 0 rgba(216, 67, 29, 1);
}

#multiquiz #game #resultmultiplayer #avatar.wnnr {
    animation: pulse 1.5s infinite;
}

#multiquiz #game #resultmultiplayer #avatar img {
    position: relative;
    border-radius: 50px;
    width: 100px;
    height: 100px;
    border: 2px solid #d8431d;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 67, 29, 0.7);
    }
    70% {
        box-shadow: 0 0 0 30px rgba(216, 67, 29, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(216, 67, 29, 0);
    }
}

#multiquiz #game #resultmultiplayer #avatar:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 15px #d8431d;
    filter: blur(3px);
}

#multiquiz #game #resultmultiplayer #username {
    margin: 20px auto 0px auto;
    height: 50px;
    text-align: center;
    font-size: 40px;
    color: #000000;
}

#multiquiz #game #resultmultiplayer #points {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: auto;
}

#multiquiz #game #resultmultiplayer #points>div {
    width: 28%;
    height: 100px;
    font-size: 16px;
    background: #d8431d;
    margin: 3px;
    padding: 2px;
    border-radius: 3px;
    text-align: center;
}

#multiquiz #game #resultmultiplayer #points>div #title {
    margin-top: 10px;
}

#multiquiz #game #resultmultiplayer #points #correct #correctnumber,
#multiquiz #game #resultmultiplayer #points #wrong #wrongnumber,
#multiquiz #game #resultmultiplayer #points #total #totalnumber {
    margin-top: 3px;
    font-size: 40px;
}

#multiquiz #game #resultmultiplayer #points #wrong {
    background: #444444;
}

#multiquiz #game #resultmultiplayer #points #total {
    background: #171717;
}

#multiquiz #game #resultmultiplayer #playagain {
    width: 95%;
    height: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d8431d;
    border-radius: 4px;
    border: 1px solid #444444;
    text-align: center;
    cursor: pointer;
    margin: 20px auto 0px auto;
}

#multiquiz #game #waiting {
    display: none;
    align-items: center;
    position: absolute;
    top: 60px;
    left: 5px;
}

#multiquiz #game #waiting #text {
    display: inline-block;
    font-size: 18px;
    color: #d8431d;
    animation: textani 1s ease-out infinite;
    margin-left: 5px;
}

@keyframes textani {
    0% {
        color: #d8431d;
    }
    50% {
        color: #FFFFFF;
    }
    100% {
        color: #d8431d;
    }
}

.spinning-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid rgba(216, 67, 29, 0.2);
    border-left-color: rgb(216, 67, 29);
    background: transparent;
    animation: rotate-s-loader 1s linear infinite;
}

@keyframes rotate-s-loader {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

#multiquiz #game #resultsingle {
    width: 80%;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

#multiquiz #game #resultsingle #avatar {
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
}

#multiquiz #game #resultsingle #avatar img {
    border-radius: 50px;
    width: 100px;
    height: 100px;
    border: 2px solid #d8431d;
}

#multiquiz #game #resultsingle #username {
    margin: 20px auto 0px auto;
    text-align: center;
    font-size: 40px;
    color: #000000;
}

#multiquiz #game #resultsingle #points {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: auto;
}

#multiquiz #game #resultsingle #points>div {
    width: 28%;
    height: 150px;
    font-size: 20px;
    background: #d8431d;
    margin: 15px;
    border-radius: 3px;
    text-align: center;
}

#multiquiz #game #resultsingle #points>div #title {
    margin-top: 20px;
}

#multiquiz #game #resultsingle #points #correct #correctnumber,
#multiquiz #game #resultsingle #points #wrong #wrongnumber,
#multiquiz #game #resultsingle #points #total #totalnumber {
    margin-top: 5px;
    font-size: 50px;
}

#multiquiz #game #resultsingle #points #wrong {
    background: #444444;
}

#multiquiz #game #resultsingle #points #total {
    background: #171717;
}

#multiquiz #game #resultsingle #playagain {
    width: 90%;
    height: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d8431d;
    border-radius: 4px;
    border: 1px solid #444444;
    text-align: center;
    cursor: pointer;
    margin: 20px auto 0px auto;
}

#multiquiz #standings {
    width: 100%;
}

#multiquiz #standings #table {
    width: 95%;
    display: table;
    color: #000000;
    margin: 30px auto;
    font-size: 18px;
}

#multiquiz #standings #table .row {
    display: table-row;
    width: 100%;
    height: 35px;
}

#multiquiz #standings #table .row:nth-child(odd) {
    background: #f7f7f7;
}

#multiquiz #standings #table .column1 {
    width: 7%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#multiquiz #standings #table .column2 {
    width: 83%;
    display: table-cell;
    vertical-align: middle;
}

#multiquiz #standings #table .column3 {
    width: 10%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#multiquiz #standings #table .column4 {
    width: 80%;
    display: table-cell;
    vertical-align: middle;
    padding-left: 10px;
    cursor: pointer;
}

#multiquiz #standings #table .column5 {
    width: 20%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
}

#multiquiz #mainbutton {
    width: 90%;
    height: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d8431d;
    border-radius: 4px;
    border: 1px solid #444444;
    text-align: center;
    cursor: pointer;
    margin: 20px auto 20px auto;
}

#multiquiz #howto {
    width: 90%;
    margin: 30px auto;
    color: #717171;
    font-size: 18px;
    line-height: 24px;
}

#multiquiz #howto video {
    margin-left: 80px;
    width: 720px;
    height: 405px;
}

#multiquiz #game #invite{
    width:95%;
    margin: 40px auto;
}

#multiquiz #game #invite #message {
    color: #000000;
    font-size: 26px;
    text-align: center;
}

#multiquiz #game #invite #sharelink {
    width: 70%;
    height: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0px auto;
    color: #919191;
    font-size: 26px;
    border: 1px solid #919191;
    border-radius: 5px;
    cursor: pointer;
}

#multiquiz #game #invite #copylink {
    width: 70%;
    margin: 5px auto;
    color: #000000;
    font-size: 14px;
    text-align: right;
    cursor: pointer;
}

#multiquiz #game #invite .button {
    width: 70%;
    height: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d8431d;
    border-radius: 4px;
    border: 1px solid #444444;
    text-align: center;
    cursor: pointer;
    margin: 15px auto 0px auto;
}
#multiquiz #game #invite #sharewhatsapp{
    background: #26D367;
}
#multiquiz #game #invite #sharetwitter{
    background: #38A1F4;
}
#multiquiz #game #invite #sharefacebook{
    background: #3B5999;
}

#multiquiz #game #allanswers {
    width: 95%;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 50px auto 50px auto;
    color: #000000;
    font-size: 26px;
    text-align: center;
}

#multiquiz #game #allanswers h1 {
    height: 35px;
    width: 100%;
    margin-top: 20px;
    font-size: 36px;
    text-align: center;
}

#multiquiz #game #allanswers div {
    height: 35px;
    font-size: 20px;
    display: flex;
    align-items: center;
    margin-top: 20px;
}
#multiquiz #game #allanswers .qid{
    width: 40px;
    height: 40px;
    justify-content: center;
    color: #d8431d;
    border: 1px solid #d8431d;
    border-radius: 50%;
}
#multiquiz #game #allanswers .qstn{
    width: 65%;
    margin-left: 5px;
    text-align: left;
}
#multiquiz #game #allanswers .answr{
    width: 25%;
    margin-left: 5px;
    background: #d8431d;
    border-radius: 4px;
    border: 1px solid #444444;
    justify-content: center;
    color: #FFFFFF;
}
#multiquiz #game #allanswers .crct{
    background: #4DDA1C;
}
#multiquiz #game #allanswers .wrng{
    background: #6C6C6C;
}