1
resposta

Ocupando espaço indesejavel

Eae galera, eu fiz um Quiz aqui, porém quando vou passar para o formato do celular é preciso mover para o lado para se enquadrar, e sinceramente não faço a minima ideia do o que está acontecendo

@font-face{

    font-family: ghotham-black;
    src: url(/fonts/gotham-black-maisfontes.c979/gotham-black.otf);

}

*{

    box-sizing: initial;
    margin: 0;
    padding: 0;
    font-size: 29.5%;
    font-family: ghotham-black, cursive;

}

body{

    color: #fff;

}

.logo{

    width: 10vh;
    display: block;
    margin-left: auto;
    margin-right: auto;

}

main{

    width: 100vw;
    height: 41vh;
    display: block;
    justify-content: center;
    align-items: center;
    max-width: 80rem;
    margin: 0 auto;
    margin-top: 1.5rem;
    padding: 2rem;
    background: #000000;
    border: 0.2rem solid rgba(255, 153, 0);
    box-shadow: 0 0.4rem 1.4rem 0 rgba(255, 153, 0, 0.8);
    border-bottom: none;    

}

.foto{

    width: 8vw;
    height: 9.7vh;
    border-radius: 360px;
    display: block;
    margin-left: auto;
    margin-right: auto;

}

.text-titulo{

    font-size: 5rem;
    margin: 3rem 0rem;
    text-align: center;

}

.text-descricao{

    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;

}

.text-pedido{

    font-size: 3rem;
    text-align: center;

}

.conteiner{

    width: 100vw;
    height: 39vh;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem;
    border: 0.2rem solid rgba(255, 153, 0);
    box-shadow: 0 0.4rem 1.4rem 0 rgba(255, 153, 0, 0.8);
    background: #000000;

}

.choice-conteiner{

    display: flex;
    margin-bottom: 0.8rem;
    width: 100%;
    border-radius: 58px;
    background: rgba(255, 153, 0);
    box-shadow: 0 0.4rem 1.4rem 0 rgba(255, 153, 0, 0.8);
    font-size: 3rem;
    min-width: 80rem;

}

.choice-conteiner:hover{

    cursor: pointer;
    transform: scale(1.02);
    transform: transform 100ms;

}

.choice-text{

    padding: 1rem;
    width: 100%;
    text-align: center;
    font-size: 21.15pt;

}

.correct{

    background: linear-gradient(32deg, rgba(11, 223, 36) 0%, rgba(41, 232, 111) 100%);

}

.incorrect{

    background: linear-gradient(32deg, rgba(11, 223, 36) 0%, rgba(41, 232, 111) 100%);

}

/*Monitor de alerta*/
#hud{

    display: flex;
    justify-content: space-between;
    padding-bottom: 5rem;

}

.hud-prefix{

    text-align: center;
    font-size: 2rem;

}

.hud-main-text{

    text-align: center;

}

#progressBar{

    width: 80rem;
    height: 3rem;
    border: 0.2rem solid rgb(11, 223, 36);
    margin-top: 2rem;
    border-radius: 50px;
    overflow: hidden;
1 resposta

Oi, Carlos, tudo bem?

Para que possa testar, você poderia disponibilizar o html do projeto? Pois assim, poderei visualizar melhor o que pode ter acontecido.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software