.wrapper-timer, .wrapper-timer * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.wrapper-timer {
    position: absolute;
    width: 1.9vw;
    height: 1.9vw;
    left: 50%;
    bottom: 17.2vw;
    -webkit-transform: translateX(-50%) scale(1.4);
    -moz-transform: translateX(-50%) scale(1.4);
    -ms-transform: translateX(-50%) scale(1.4);
    -o-transform: translateX(-50%) scale(1.4);
    transform: translateX(-50%) scale(1.4);
}

.wrapper-timer::before{
    content: '';
    display: block;
    position: absolute;
    width: 0.7vw;
    height: 0.7vw;
    background: #D4110B;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation: exibir 1ms linear forwards;
    opacity: 0;
    -webkit-animation-delay: 10s;
    -moz-animation-delay: 10s;
    -o-animation-delay: 10s;
    animation-delay: 10s;
    z-index: 999;
}

.wrapper-timer .timer {
    width: 50%;
    height: 100%;
    transform-origin: 100% 50%;
    position: absolute;
    border: 0.65vw solid #ffffff;
}

.wrapper-timer .spinner {
    border-radius: 100% 0 0 100% / 50% 0 0 50%;
    z-index: 200;
    border-right: none;
    animation: rota 10s linear forwards;
}

.wrapper-timer:hover .spinner,
.wrapper-timer:hover .filler,
.wrapper-timer:hover .mask {
    animation-play-state: running;
}

.wrapper-timer .filler {
    border-radius: 0 100% 100% 0 / 0 50% 50% 0;
    left: 50%;
    opacity: 0;
    z-index: 100;
    animation: opa 10s steps(1,end) forwards reverse;
    border-left: none;
}

.wrapper-timer .timer-background {
    width: 100%;
    height: 100%;
    position: absolute;
    background: none;
    border: 0.65vw solid #D4110B;
    border-radius: 100%;
    z-index: 100;
    animation: branco 1ms linear forwards;
    -webkit-animation-delay: 10s;
    -moz-animation-delay: 10s;
    -o-animation-delay: 10s;
    animation-delay: 10s;
}

.wrapper-timer .mask {
    width: 50%;
    height: 100%;
    position: absolute;
    background: inherit;
    border: 0.65vw solid #D4110B;
    border-radius: 100% 0 0 100% / 50% 0 0 50%;
    border-right: none;
    opacity: 1;
    z-index: 300;
    animation: opa 10s steps(1,end) forwards;
}

@keyframes rota {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes opa {
    0% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes branco{
    0%, 99% {border-color: #ffffff;}
    100% {border-color: #ffffff;}
}

@keyframes exibir{
    0%, 99% {opacity: 0;}
    100% {opacity: 1;}
}

#quize{
    z-index: 999;
    position: relative;
}

#app-perguntas{
    width: 90%;
    height: 79%;
    position: relative;
    margin: 4.2vw auto 0 auto;
    background: url(img/bg_tablet.jpg) no-repeat center center;
    background-size: 100% 100%;
}

#app.tablet{
    width: 27vw;
    height: 40vw;
    position: absolute;
    background: url(img/tablet.png) top center no-repeat;
    background-size: contain;
    top: -6vw;
    left: 1vw;
    -webkit-transform: rotate(-4.1deg);
    -moz-transform: rotate(-4.1deg);
    -ms-transform: rotate(-4.1deg);
    -o-transform: rotate(-4.1deg);
    transform: rotate(-4.1deg);
}

#app-respostas{
    position: absolute;
    width: 85%;
    height: 15vw;
    margin: 0 auto;
    left: 0;
    right: 0;
    padding-top: 3.2vw;

}

#bg-respostas{
    position: absolute;
    top: 0;
    background: #ffffff;
    left: 50%;
    height: 15vw;
    width: 6vw;
    z-index: 1;
    background: url(img/fundo.png) no-repeat top center;
    background-size: 100% 100%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

#app-respostas{
    position: absolute;
    bottom: 3vw;
}

#app-respostas::before, #app-respostas::after{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: 38%;
    height: 100%;
    background: #ffffff;
}

#app-respostas::before{
    left: 0;
    border-radius: 1vw 0 0 1vw;
}

#app-respostas::after{
    right: 0;
    border-radius: 0 1vw 1vw 0;
}

#qtd-perguntas{
    background: #bfc98a;
    color: #ffffff;
    font-weight: bold;
    width: 2.9vw;
    height: 2.9vw;
    font-size: 1.3vw;
    padding-top: 0.7vw;
    bottom: 1.4vw;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.app-item-resposta{
    padding: 1.2vw 2.5vw;
    font-size: 1vw;
    color: #28474c;
    z-index: 1;
    position: relative;
    text-align: left;
    cursor: pointer;
    background: #f6f6f8;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

.app-item-resposta.certo{
    background: #99d899;
}

.app-item-resposta.certo::before{
    background: #60d87c;
}

.app-item-resposta.errado{
    background: #ff7c6e;
}

.app-item-resposta:last-child{
    margin-top: 1vw;
}

#txt-pergunta{
    color: #ffffff;
    font-size: 1.4vw;
    position: absolute;
    font-weight: 600;
    text-align: center;
    top: 2vw;
    height: 9vw;
    width: 100%;
}

#middle-pergunta{
    padding: 0 1.8vw;
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.app-item-resposta::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: #dde3e1;
    -webkit-transition: all 800ms;
    -moz-transition: all 800ms;
    -ms-transition: all 800ms;
    -o-transition: all 800ms;
    transition: all 800ms;
}

.app-item-resposta.ativo::before{
    width: 100%;
}

.app-item-resposta span{
    position: relative;
    z-index: 1;
}

@media (max-width: 768px){
    #app.tablet{width: 61vw; height: 90vw; left: 50%; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); -o-transform: translateX(-50%); transform: translateX(-50%);}
    #app-respostas{height: 25vw; padding-top: 5.2vw;}
    #txt-pergunta{height: 34vw; font-size: 3.5vw;}
    .app-item-resposta{font-size: 3vw;}
    #bg-respostas{height: 25vw; width: 12vw}
    .wrapper-timer{bottom: 27.2vw;}
    #app-perguntas{height: 85%;}

}