* {
    font-family: 'Roboto', sans-serif;
}

.blink {
    animation: blinker 1s linear infinite;
}

.swal2-title {
    font-size: 1.5rem !important;
}

html, body {
    background-color: #d5d5d5;
    scroll-behavior: smooth;
}

button.btn-ajuda {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #484848;
    border: none;
    outline: none;
    width: 48px;
    height: 48px;
    border-radius: 50px;
    text-align: center;
    animation: pulse 2s infinite;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    background-color: #57CA6B;
    box-shadow: 0px 0px 2px 0px #4a4a4a4a;
    opacity: 0.9;}


.container-btn-finalizar {
    padding: 0 2.5rem 3rem;}

    .container-btn-finalizar button {
        font-size: 1.5rem;
        color: white;
        padding: 0.5rem;
        width: 100%;
        background-color: var(--cor-btn-finalizar);}

    .container-btn-finalizar button:hover,
    .container-btn-finalizar button:focus,
    .container-btn-finalizar button:active,
    .container-btn-finalizar button:disabled,
    .container-btn-finalizar button:focus-visible {
        color: white !important;
        background-color: var(--cor-btn-finalizar) !important;
        opacity: 0.7;}

.icon.loader {
    animation: spin infinite 2s;}

div.carregando {
    position: fixed;
    top: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;}

div.carregando i {
    font-size: 8rem;
    color: var(--cor-primaria);}

div.carregando span {
    font-size: 1.5rem;
    margin-top: 2rem;}

footer {
    text-align: center !important;
    color: white;
    font-size: 16px;
    position: fixed; 
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--cor-primaria)!important;}

main.container-fluid {
    margin-top: 2rem;    
    padding-bottom: 8rem;}

nav.navbar,
nav.navbar .container-fluid {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--cor-primaria) !important;}

nav .navbar-brand img {
    max-height: 4rem;
    max-width: auto;}

section.apresentacao * {
    font-size: 1.5rem !important;
    padding: 2rem 2rem 0;}

section.solicitacoes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 3rem 2rem;}

    section.solicitacoes .card-solicitacao {
        padding: 2.5rem 1.5rem;
        box-shadow: 0px 0px 2px 0px #4a4a4a4a;}
    
        section.solicitacoes .card-solicitacao.solicitacao-pendente {
            border-color: #ff0000 !important;
            border-width: 3px;}

        section.solicitacoes .card-solicitacao .etapa {
            font-size: 1rem;
            font-weight: bolder;
            color: black;
            border-radius: 0.5rem;
            padding: 0.5rem 1rem;
            position: absolute;
            top: -1rem;
            left: -.5rem;      
            background-color: var(--cor-secundaria);
            border: solid 1px #aaa;
            display: flex;
            gap: 0.6rem;}  

            section.solicitacoes .card-solicitacao .etapa .status-etapa {
                color: black;
                border-radius: 0.4rem;
                padding: 0 4px;
                background-color: #0ede22;}

        section.solicitacoes .card-solicitacao .titulo {
            font-size: 1.2rem;
            justify-content: center;
            display: flex;
            flex-wrap: wrap;
            align-items: start;
            gap: 0 0.4rem;}

        section.solicitacoes .card-solicitacao .img-solicitacao {
            width: 100%;
            height: auto;
            margin: .5rem 0;}

            section.solicitacoes .card-solicitacao .img-solicitacao.carregando {
                filter: blur(0.3rem);}

        section.solicitacoes .card-solicitacao .gif-carregando {
            position: absolute;
            z-index: 999;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 4rem;
            color: var(--cor-primaria);}

        section.solicitacoes .card-solicitacao .alt-img-solicitacao {
            font-size: 0.6rem;}

        section.solicitacoes .card-solicitacao .descricao {
            font-size: 0.9rem;
            margin-top: 0.5rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0 0.4rem;}

        section.solicitacoes .card-solicitacao .botoes {
            display: flex;
            justify-content: end;
            margin-top: 1.5rem;
            gap: 2rem;}

            section.solicitacoes .card-solicitacao .botoes .btn {
                background-color: #eee;
                box-shadow: 0px 0px 2px 0px #4a4a4a4a;}

        section.solicitacoes .card-solicitacao .container-resposta-binaria,
        section.solicitacoes .card-solicitacao .container-arquivo-multi {
            border: solid 1px #ccc;
            padding: 0.5rem;
            margin: 1rem 0;
            border-radius: 0.5rem;}        

@keyframes pulse {
    0% {box-shadow: 0 0 0 10px #57CA6BFA;}
    50% {box-shadow: 0 0 0 0 #8cca97FA;}
    100% {box-shadow: 0 0 0 10px #57CA6BFA;}
}

@keyframes blinker {
    50% {opacity: 0}
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
