* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

:root {
    --color-greenLight: #E7F0DC;
    --color-primary-red: #652124;
    --color-primary-redLight: #D92E33;
    --color-primary-bege: #D9BE87;
    --color-primary-begeLight: #EDEDED;
    --color-secundary-bege: #D9BE87;
    --color-secundary-begeLight: #EDEDED;
    --color-secundary-redLight: #D92E33;
    --color-secundary-black: #332B2C;
    --color-third-bege: #D9BE87;
    --color-third-begeLight: #EDEDED;
    --color-third-red: #D92E33;
    --color-third-blue: #652124;
    --linear-gradientRed: linear-gradient(0deg,var(--color-primary-red), var(--color-primary-redLight));
    --linear-gradientBege: linear-gradient(0deg,var(--color-primary-bege), var(--color-primary-begeLight));
    --linear-gradientBegeRedLight: linear-gradient(0deg,var(--color-secundary-redLight), var(--color-third-blue));
    --box-shadow-pattern: 5px 5px 10px var(--color-primary-red);
    --box-shadow-pattern-blue: 5px 5px 10px var(--color-third-blue);
    --box-shadow-pattern-bege: 5px 5px 10px var(--color-primary-bege);
    --btn-shadow-pattern: 2.5px 2.5px 5px var(--color-primary-red);
    --btn-shadow-pattern-blue: 2.5px 2.5px 5px var(--color-third-blue);
    --btn-shadow-pattern-bege: 2.5px 2.5px 5px var(--color-primary-bege);
    font-family: Roboto, 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to { 
        transform: rotate(360deg);
    }
}

.field-validation-error[data-erro="true" i] {
    display: block;
    font-weight:bold;
}

.field-validation-error {
    display: none;
    font-size: .75em;
    color: red;
    margin-bottom: .5em;
    width: 100%;
}

[data-log-tipo="#TITLE"] {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 1em;
    color: var(--color-primary-red);
}

[data-log-tipo="#SUCCESS" i] {
    color: green;
    font-weight: bold;
}

[data-log-tipo="#WARNING" i] {
    color: darkblue;
    font-weight: bold;
    margin-bottom: .5em;
}

[data-log-tipo="#ERRO" i] {
    color: red;
    font-weight: bold;
    margin-bottom: .5em;
}

.material-symbols-rounded.autorenew {
    display: none;
    color: var(--color-primary-redLight);
    font-size: 3em;
    animation-name: spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    height:fit-content;
    width:fit-content;
    align-self:center;
}

.material-symbols-rounded.autorenew.active {
    display: block;
}

.material-symbols-rounded {
    font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 40;
    color: var(--color-primary-bege);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-red);
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 5px;
}

body {
    display: flex;
    height: 100vh;
    background: var(--linear-gradientRed);
    padding: .5em;
    gap: .5em;
}

#header-principal,
#footer-principal {
    margin: 0 auto;
}

body >
header {
    display: flex;
    flex-direction: column;
    width: 55px;
    height: 100%;
    background: var(--linear-gradientBege);
    padding: .5em 0;
    border-radius: .5em;
}

body >
header >
div >
button {
    background-color:transparent;
    border:none;
    outline:none;
    cursor:pointer;
}

body >
header
.img-style-principal {
    width: 30px;
}

body >
header >
#menu-principal {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: 2em;
}

body >
header >
#menu-principal >
ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap:.25em;
}

body >
header >
#menu-principal >
ul >
li {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-left:solid 4px transparent;
    text-transform:capitalize;
}

body >
header >
#menu-principal >
ul >
li:hover {
    border-left: solid 4px var(--color-primary-redLight);
}
body >
header >
#menu-principal >
ul >
li >
section {
    display: flex;
}

body >
header >
#menu-principal >
ul >
li >
section.main {
    flex-direction: column;
    justify-items: center;
    background: var(--color-primary-redLight);
    padding: 1.5em;
    border-radius: .25em;
    box-shadow: var(--box-shadow-pattern);
    width: 15em;
    position: absolute;
    opacity: 0;
    top: 0;
    left: -17em;
    gap: .5em;
    transition: left 1s, opacity 1s, width 1s;
    font-weight: bold;
    z-index: 0;
}

body >
header >
#menu-principal >
ul >
li:hover
section.main {
    left: 3.8em;
    opacity: 1;
    z-index: 3;
}

body >
header >
#menu-principal >
ul >
li >
section.main >
div >
h4 {
    margin-bottom: .5em;
    color: var(--color-primary-begeLight);
}

body >
header >
#menu-principal >
ul >
li >
section.main >
div >
ul {
    display: flex;
    flex-direction: column;
    margin-top: .5em;
}

body >
header >
#menu-principal >
ul >
li >
section.main >
div >
ul >
li {
    display: flex;
    flex-direction: column;
    margin-top: .5em;
}

body >
header >
#menu-principal >
ul >
li >
section.main >
div >
ul >
li >
a {
    display: flex;
    align-items: center;
    gap: 1em;
    color: white;
    font-size:.77em;
}

body >
header >
#menu-principal >
ul >
li >
section.main >
div >
ul >
li >
a >
span {
    letter-spacing:2px;
}

body >
header >
#menu-principal >
ul >
li >
section.main >
div >
ul >
li >
a:hover {
    color: var(--color-third-bege);
}

body >
header >
#menu-principal >
ul >
li >
section.main >
div {
    display: flex;
    flex-direction: column;
}

body >
main {
    background: var(--linear-gradientBege);
    border-radius: .5em;
    width: 100%;
    padding: .5em;
    overflow-y: auto;
}

section >
article >
header >
div {
    display: flex;
    align-items: center;
    gap: 1em;
}

section >
article >
header >
div >
img {
    width: 3em;
}

@media screen and (max-width:600px){


    ::-webkit-scrollbar {
        width: 5px;
    }
    ::-webkit-scrollbar {
        height: 2.5px;
    }
    body{
        position:relative;
        padding:0;
    }

    body >
    main {
        padding: 0;
        height: 100%;
    }

    body >
    main >
    section:first-of-type >
    article >
    header{
        margin:0 auto;
    }

    body >
    header {
        position: absolute;
        justify-content: center;
        align-items: center;
        width: 45px;
        padding: .5em;
        box-shadow: var(--box-shadow-pattern);
        z-index: 3;
    }

    body >
    header.active >
    div >
    button >
    .img-style-principal {
        width: 25px;
    }

    body >
    header.active {
        position: absolute;
        width: 35px;
        padding: 5px;
        margin: 0;
        height: 35px;
        box-shadow: var(--btn-shadow-pattern);
        overflow: hidden;
        z-index: 2;
    }

    body >
    header.active >
    #menu-principal {
        display: none;
    }

    body >
    header.active >
    #footer-principal {
        display: none;
    }

    body >
    header >
    #menu-principal {
        margin: 0 .5em;
        width: 5em;
        align-items: center;
        width:100%;
    }

    body >
    header >
    #menu-principal >
    ul {
        display:flex;
        flex-direction:column;
        align-items:center;
        width: 100%;
    }

    body >
    header >
    #menu-principal >
    ul >
    li:hover {
        border-left: none;
        border-bottom: solid 4px var(--color-primary-redLight);
    }

    body >
    header >
    #menu-principal >
    ul >
    li  {
        position:static;
        width:35px;
    }

    body >
    header >
    #menu-principal >
    ul >
    li >
    section >
    div >
    img{
        width:1.75em;
    }

    body >
    header >
    #menu-principal >
    ul >
    li >
    section.main {
        flex-direction: column;
        top: 10px;
        left: -17em;
    }
    body >
    header >
    #menu-principal >
    ul >
    li:hover
    section.main {
        left: 3em;
    }
}