body {
    font-family: "Inter", sans-serif;
    font-weight: 700;
}

.paginas{
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    padding: 1em;
    max-width: 1400px;
}

hr {
    height: 2em;
    margin: .4em;
    border: 2px solid var(--color-2);
    border-radius: 10px;
}

textarea {
    outline: none;
    border-radius: 5px;
    background-color: var(--color-2);
    width: calc(100% - 3em);
    height: calc(100% - 7em);
    margin: 1em;
    resize: none;
    border: none;
    padding: .5em;
}

input {
    background-color: var(--color-2);
    border: none;
    border-radius: 5px;
    padding: .5em .5em;
    height: 1.5em;
    font-weight: 700;
    color: var(--color-3);
}

input:focus {
    outline: none;
}

input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

th {
    color: var(--color-3);
    text-align: center;
    font-size: 10px;
    border-bottom: 1px solid var(--color-3);
    vertical-align: bottom;
    padding-bottom: .2em;
}

td {
    height: 100%;
    vertical-align: middle;
}

button {
    background-color: var(--color-3);
    border-radius: 5px;
    color: white;
    padding: .4em 3em;
    transition: ease-in-out .2s;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    margin: .5em 0;
}

button:hover {
    background-color: var(--color-4);
    cursor: pointer;
    border-radius: 10px;
}

button:focus {
    outline: none;
}


.sideBar {
    height: 100vh;
    display: flex;
    position: fixed;
    position: absolute;
}

.botaoSidebar {
    width: 2em;
    position: absolute;
    transform: translate(14em, -1em);
}

.botaoSidebar i::before {
    font-size: 40px;
    background-color: var(--color-4);
}

.sideBarCOntent {
    background-color: var(--color-3);
    color: var(--white);
    position: absolute;
    position: fixed;
    padding: 1em;
    height: 100vh;
    width: 13em;
    vertical-align: middle;
    transition: transform ease-in-out .4s, box-shadow .4s;
    transform: translateX(-15em);
    -webkit-box-shadow: 13px 0px 31px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 13px 0px 31px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 13px 0px 31px 1px rgba(0, 0, 0, 0.1);
}

.sideBarCOntent:hover {
    transform: translateX(0em);
    box-shadow: 13px 0px 31px 1px rgba(0, 0, 0, 0.4);
}

.sideBarCOntent span {
    margin: 1em 0;
    font-weight: 700;
    font-size: 22px;
}

.sideBarCOntent hr {
    height: 0px;
    margin: 1em 0;
    border: solid 1px var(--color-4);
}

.sideBarCOntent li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.3em 0;
    font-weight: 300;
    padding: .5em;
    border-radius: 5px;
    font-size: 17px;
    cursor: pointer;
    background-color: var(--color-3);
    transition: background ease-in-out .2s;
}

.sideBarCOntent li:hover {
    background-color: var(--color-4);
}

#setaFichasSidebar {
    transition: transform .3s ease-out;
}

#listaFichasSidebar {
    transition: .3s ease-in-out;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    overflow: auto;
    height: 13em;
}

#listaFichasSidebar.verLista {
    max-height: 13em;
    opacity: 1;
}


#listaFichasSidebar li {
    font-size: 15px;
    margin: 0em 0 .5em 1em;
}

.area_fichas i {
    padding: .5em;
    border-radius: 10px;
    margin: 0 .5em;
    cursor: pointer;
}

.fichaElement {
    margin: 2em;
}

.title_content {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--white);
    font-size: 15px;
    padding: 1em 0;
    background-color: var(--color-3);
}

.box {
    background-color: var(--color-1);
}

.table {
    width: 100%;
    text-align: center;
    border-collapse: separate;
    border-spacing: .4em;
}

.thNumber {
    width: 3.5em;
}

.thUltimo {
    border: none;
}

.overflow::-webkit-scrollbar {
    width: 4px;
    /* largura da barra de rolagem */
}

.overflow::-webkit-scrollbar-track {
    background: var(--color-1);
    /* cor do fundo da barra de rolagem */
}

.overflow::-webkit-scrollbar-thumb {
    background: var(--color-2);
    border-radius: 6px;
}

.overflow::-webkit-scrollbar-thumb:hover {
    background: var(--color-4);
    /* cor do "thumb" ao passar o mouse por cima */
}

.form-select {
    width: 100%;
    color: var(--color-3);
    background-color: var(--color-2);
    font-weight: 700;
    padding: .6em 0;
    outline: none;
    border: none;
    border-radius: 5px;
    transition: background ease-in-out 0.4s, color ease-in-out .2s;
}

.form-select:focus {
    color: var(--white);
    background-color: var(--color-3);
    outline: none;
    border: none;
    /* Remove a borda quando focado */
}

.remove i::before {
    color: var(--white);
    background-color: var(--color-3);
    border-radius: 100%;
    margin: 0;
    cursor: pointer;
    font-size: 30px;
    height: 100%;
    vertical-align: middle;
    transition: background ease-in-out .5s;
}

.remove i:hover::before {
    background-color: var(--color-4);
}

.pagina {
    display: none;
}

.ativo {
    display: block;
}

.header_ficha {
    display: none;
    justify-content: space-between;
    padding: 1em;
    color: var(--white);
    background-color: var(--color-3);
}

.pagina_inicial {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pagEditar {
    display: none;
    /* Fixar posição na tela */
    z-index: 1000;
    /* Inicialmente oculto */
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
}

.editor_img {
    justify-content: center;
    -webkit-box-shadow: 0px 11px 38px 4px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 11px 38px 4px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 11px 38px 4px rgba(0, 0, 0, 0.41);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em;
    height: calc(100% - 6em);
    border-radius: 20px;
    position: absolute;
    transform: translateZ(1);
}

.previewImg {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 20em;
    border-radius: 10px;
    padding: .5em;
    background-color: var(--color-2);
}

#previewBtn {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-around;
}

#loadingFicha {
    height: 100vh;
    width: 100vw;
    display: none;
    justify-content: center;
    align-items: center;
}

.loading {
    border: 2px solid var(--color-1);
    /* Light grey */
    border-top: 2px solid var(--color-3);
    /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#opcoesImagem {
    display: none;
    /* Fixar posição na tela */
    z-index: 1000;
    /* Inicialmente oculto */
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
}

.opcoesImagemBtns {
    justify-content: center;
    -webkit-box-shadow: 0px 11px 38px 4px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 11px 38px 4px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 11px 38px 4px rgba(0, 0, 0, 0.41);
    display: flex;
    flex-direction: column;
    padding: .4em;
    border-radius: 5px;
    width: 6em;
    position: absolute;
    transform: translateZ(1);
}

.opcoesImagemBtns label {
    background-color: var(--color-3);
    border-radius: 5px;
    color: white;
    cursor: pointer;
    text-align: center;
    padding: .6em;
    transition: ease-in-out .2s;
    border: none;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    margin: .1em .1em;
}

.opcoesImagemBtns label:hover {
    background-color: var(--color-4);
    cursor: pointer;
}