/* Colors */
:root {
    --ms-pink: #de1766;
    --ms-blue: #22c0f1;
    --ms-orange: #eb4622;
    --ms-purple: #47124a;
}

/* Fonts */
@font-face {
    font-family: DINPro;
    src: url(/DINPro-Regular.otf);
}


body{
    background: var(--ms-blue);
    margin: 0px;
    padding: 0px;
    font-family: DINPro;
}

#imgLogo{
    position: absolute;
    top: 50px;
    left: 50px;
    width: 300px;
}

#divStartWrapper, #divQuizWrapper, #divScoreWrapper, #divRankingWrapper{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top:0px;
    background: url("/background.png");
    background-size: cover;
    background-color: var(--ms-orange);
    background-repeat: no-repeat;
    text-align: center;
}

#divScoreWrapper{
    background: url("/background_blue.png");
    background-size: cover;
    background-color: #53b8e8;
    padding-top: 200px;
    box-sizing: border-box;
    overflow: auto;
}

#divRankingWrapper{
    background-size: cover;
    background: var(--ms-purple);
    padding-top: 200px;
    box-sizing: border-box;
    overflow: auto;
}

#divQuizWrapper{
    background: url("/background_blue.png");
    background-size: cover;
    background-color: #53b8e8;
    padding-top: 200px;
    box-sizing: border-box;
}

#divQuizWrapper h1{
    color: #ffffff;
    font-size: 35px;
    max-width: 800px;
    margin: auto;
    position: relative;
}

#divStartWrapper h1{
    margin-top: 25vh;
    color: #ffffff;
    font-size: 80px;
    font-weight: 800;
}

#divStartWrapper h2{
    margin-top: 200px;
    font-size: 25px;
    color: #ffffff;
    font-weight: 100;
    font-style: italic;
}

#aButtonStart, #aNext, #aSeeScore, #aButtonBackToStart{
    background: var(--ms-blue);
    color: #ffffff;
    text-decoration: none;
    padding: 20px;
    border-radius: 10px;
    font-size: 25px;
    border: 4px solid #1d9dc5;
    font-weight: 400;
    display: block;
    width: 250px;
    margin: auto;
    margin-top: 100px;
}

#aButtonStart{
}

#aButtonBackToStart{
    background: var(--ms-orange);
    border: 4px solid #d34122;
    width: 150px;
    font-size: 20px;
    margin-top: 30px;
}

#aNext{
    background: var(--ms-orange);
    border: 4px solid #d34122;
    width: 150px;
    font-size: 20px;
    margin-top: 30px;
}

#aSeeScore{
    background: var(--ms-orange);
    border: 4px solid #d34122;
    width: 400px;
    margin: auto;
    font-size: 18px;
    height: 70px;
    cursor: pointer;
}

#aButtonStart:hover{
    background: #1d9dc5;
    border: 4px solid var(--ms-blue);
}


#aNext:hover, #aSeeScore:hover, #aButtonBackToStart:hover{
    background: #d34122;
    border: 4px solid var(--ms-orange);
    cursor: pointer;
}



#divMenu{
    position: absolute;
    bottom: 50px;
    right: 50px;
}

#divMenu a{
    color: #ffffff;
    text-decoration: none;
}

#inputAnswer{
    width: 130px;
    height: 60px;
    background: #ffffff;
    border:none;
    text-align: center;
    font-size: 25px;
    border-radius: 10px;
    outline: 0;
}

#divAnswerWrapper{
    margin-top: 20px;
    padding-left: 25px;
    box-sizing: border-box;
}

#pPercent{
    display: inline-block;
    margin-left: 10px;
    color: #ffffff;
    font-size: 25px;
}

#divProgress{
    position: absolute;
    bottom: 50px;
    right: 50px;
}

#divProgress p{
    color: #ffffff;
    font-weight: 800;
}

.divProgressItem{
    width: 40px;
    height: 10px;
    background: #4AA5D0;
    float: left;
    margin-left: 5px;
}

.divProgressItemDone{
    background: var(--ms-orange);
}

#iShowOriginal{
    color: #ffffff;
    position: absolute;
    top: -30px;
    right: -30px;
    cursor: pointer;
    font-size: 28px;
}

#pOriginal{
    font-size: 18px;
    color: #275870;
    background: #4AA5D0;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    display: none;
}

#iShowOriginal:hover~#pOriginal{
    display: block;
}

.divFormItemWrapper{
    width: 400px;
    margin: auto;
    box-sizing: border-box;
}

.divFormItemWrapper p{
    float: left;
    width: 100%;
    font-size: 15px;
    text-align: left;
    margin: 0px;
    padding: 0px;
    color: #275870;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 5px;
}

.divFormItemWrapper input{
    float: left;
    width: 100%;
    margin: 0px;
    padding: 0px;
    height: 45px;
    border: 0px;
    outline-color: var(--ms-orange);
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 600;
    color: #275870;
    font-size: 17px;
}

.divFormItemWrapperError{
    padding-bottom: 70px;
}

.divFormItemWrapperError p{
    background: var(--ms-orange);
    padding: 10px;
    color: #832814;
    box-sizing: border-box;
    border-radius: 5px;
    text-align: center;
}

.divScoreContentWrapper{
    float: left;
    height: 80vh;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(0px);
    margin-top: -40px;
    box-sizing: border-box;
}

.divScoreContentWrapper:first-of-type{
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    text-align: center;
    width: 40%;
    background: transparent;
}

.divScoreContentWrapper:last-of-type{
    width: calc(60% - 70px);
    float: right;
}

.divScoreContentWrapper:first-of-type p{
    color: #ffffff;
    font-weight: 700;
    font-size: 35px;
    width: 80%;
    text-align: center;
    margin: auto;
}

#iStarScore{
    font-size: 140px;
    margin-bottom: 50px;
}

#tableScores{
    width: 100%;
    padding-bottom: 100px;
}

#tableScores tr td{
    text-align: left;
    padding-left: 20px;
    box-sizing: border-box;
    font-size: 22px;
}

#tableScores tr{
    height: 100px;
    background: #f1f1f1;
}

#tableScores tr:nth-child(even){
    background: #ffffff;
}

#tableScores thead tr{
    background: #1ca0c9;
    color: #ffffff;
    font-weight: 800;
    height: 80px;

}

#trHighlight{
    background: var(--ms-orange) !important;
    color: #ffffff;
    height: 130px !important;
    position: relative;
}

#trHighlight td{
    border-top: 5px solid #d34122;
    border-bottom: 5px solid #d34122;
}

#trHighlight td:first-of-type::before{
    content: " ";
    display: block;
    width: 40px;
    height: 120px;
    background: var(--ms-orange);
    position: absolute;
    top: 0px;
    left: -40px;
    border-top: 5px solid #d34122;
    border-left: 5px solid #d34122;
    border-bottom: 5px solid #d34122;
}

#trHighlight td:first-of-type::after{
    content: " ";
    display: block;
    width: 40px;
    height: 120px;
    background: var(--ms-orange);
    position: absolute;
    top: 0px;
    right: -40px;
    border-top: 5px solid #d34122;
    border-right: 5px solid #d34122;
    border-bottom: 5px solid #d34122;
}

#imgLogoFixed{
    position: fixed;
    top: 50px;
    left: 50px;
    width: 300px;
}

#divTopRankingHolder{
    width: 100%;
    text-align: center;
    margin: auto;
    width: 1300px;
}

.divTopRankingItem{
    width: 400px;
    float: left;
    margin: 10px;
    text-align: left;
    position: relative;
}

#iStarSilver{
    font-size: 300px;
    color: var(--ms-pink)
}

#iStarGold{
    font-size: 300px;
    color: var(--ms-orange);
}

#iStarBronze{
    font-size: 300px;
    color: var(--ms-blue);
}

.divTopRankingItemSilver{
    margin-top: -30px;
}

.divTopRankingItemGold{
    margin-top: -130px;
    margin-left: 40px;
}

.divTopRankingItemBronze{
    margin-top: 10px;
}

.divTopRankingItemSilver b{
    margin-top: -30px;
    color: var(--ms-pink);
    font-size: 30px;
}

.divTopRankingItemGold b{
    margin-top: -130px;
    color: var(--ms-orange);
    font-size: 30px;
}

.divTopRankingItemBronze b{
    margin-top: 10px;
    color: var(--ms-purple);
    font-size: 30px;
}

.divTopRankItemContentHolder{
    background: rgba(255,255,255, 0.7);
    width: 250px;
    padding: 20px;
    position: absolute;
    top: 20px;
    left: 180px;
    box-sizing: border-box;
    border-radius: 10px;
    word-break: break-word;
}

.divTopRankItemContentHolder b{
    margin: 0px;
    font-weight: 800;
}

.pCompany{
    font-weight: 600;
    margin: 0px;
    color: #323232;
    margin-top: 5px;
    font-size: 20px;
}

.pRankScore{
    font-size: 25px;
    text-align: right;
    margin: 0px;
    color: var(--ms-purple);
}

#tableRanking{
    width: calc(100% - 100px);
    margin-left: 50px;
    background: #ffffff;
    margin-top: 350px;
    border-radius: 20px;
}

#tableRanking thead tr{
    background: #663a68;
    color: #ffffff;
    font-weight: 800;
    height: 80px;

}

#tableRanking tr{
    height: 100px;
    background: #f1f1f1;
}

#tableRanking tr:nth-child(even){
    background: #ffffff;
}

#tableRanking tr td{
    text-align: left;
    padding-left: 20px;
    box-sizing: border-box;
    font-size: 22px;
}

.iHighlight{
    font-style: normal;
    font-weight: 800;
    color: #ffffff;
}

@keyframes progressKeyFrame {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

#divProgressRanking{
    position: fixed;
    width: 0%;
    height: 10px;
    top: 0px;
    left: 0px;
    background: #846186;
    animation-name: progressKeyFrame;
    animation-duration: 60s;
    animation-timing-function: linear;
}

#starAnimation{
    position: fixed;
    height: 200px;
    right: 0px;
    bottom: 0px;
}
