body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

main{
    
    height: 100%;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0 1rem 0;
    gap: 1rem;
    margin-top: 7rem;
    margin-bottom: 7rem;
}

.postCabecalho{
    width: 100%;
    height: 10%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 1rem 0 1rem;f
    margin-bottom: .5rem;
}

.data-enquete {
    font-size: 0.95rem;
    color: #888;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    white-space: nowrap;
}

.postCabecalho a{
    display: flex;
    align-items: start;
    gap: .3rem;
    font-weight: 600;
    color: black;
    font-size: 1.3rem;
}

.postCabecalho a img{
    border-radius: 100%;
}

.postCabecalho img{
    width: 15%;
}

.postCabecalho .pontos{
    width: 100%;
    background: none;
    border: none;

    i{
        font-size: 1.5rem;
    }
}

.popupOpcoes{
    background-color: var(--cor-principal);
    position: absolute;    
    z-index: 0;
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    top: 2rem;
    right: 3rem;
    gap: .3rem;
}

.popupOpcoes a{
    width: 100%;
    text-align: center;
}

.popupOpcoes a:last-child{
    border-top: solid 1px var(--cor-preto);
}

.enquete {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem;
    margin: 2rem auto;
    max-width: 420px;
    width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--cor-apoio);
}

.enquete h2 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--cor-apoio);
    text-align: center;
    background: var(--cor-fundo);
    border-radius: 2rem;
    padding: .5rem 1rem;
}

.enquete form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: stretch;
}

.enquete .opcao-voto {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    gap: 1rem;
    position: relative;
    transition: 0.1s;
    border-radius: 1rem;
    padding: 0.5rem 0.7rem;
    border: 1.5px solid #e0e0e0;
    background: #f7f7f7;
    font-size: 1.1rem;
}

.enquete .opcao-voto:hover,
.enquete .opcao-voto.selected {
    background: #e3eafc;
    border-color: var(--cor-apoio);
}

.enquete .opcao-voto input[type="radio"] {
    accent-color: var(--cor-apoio);
    margin-right: 0.7rem;
    width: 1.2em;
    height: 1.2em;
    cursor: pointer;
}

.enquete .barra-resultado {
    height: 1.5rem;
    border-radius: 0.7rem;
    background: linear-gradient(90deg, var(--cor-apoio) 80%, #b3c6f7 100%);
    margin-left: 1rem;
    transition: width 0.5s;
    min-width: 10%;
    max-width: 80%;
    display: inline-block;
    vertical-align: middle;
}

.enquete .percentual {
    margin-left: 0.7rem;
    font-size: 1rem;
    color: #444;
    min-width: 2.5rem;
    text-align: right;
}

.enquete .votada .opcao-voto {
    cursor: default;
    pointer-events: none;
    opacity: 0.85;
}

.botaoVotar[type="submit"] {
    text-align: center;
    width: 60%;
    min-width: 8rem;
    height: 2.5rem;
    background-color: var(--cor-fundo);
    border: none;
    border-radius: 5rem;
    color: var(--cor-preto);
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0px 0px 3px 3px;
    transition: 0.1s;
    margin: 2rem auto 0 auto;
    display: block;
}

.botaoVotar[type="submit"]:hover {
    background: var(--cor-apoio);
}

@media (max-width: 422px) {
    .enquete {
        padding: 1rem 0.5rem;
    }
    .enquete h2 {
        font-size: 1.05rem;
    }
    .enquete .opcao-voto {
        font-size: 0.98rem;
        padding: 0.4rem 0.3rem;
    }
    .enquete .barra-resultado {
        height: 1.1rem;
    }
}