@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100,400,500..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --cor1: #c21b36;
    --cor2: #1B405A;
    --cor4: #0C1E2A;
    --cor3: #B7C61F;
    --cor5: #e4f529;
    --cor6: #3bc61f;

    --vhc1: #235277;
    --vhc2: #dff028;
    --vhc3: #2e6c9b;
    --vhc4: #c7d621;
    --vhg1: #235377d3;
    --vhg2: #b8c61f63;

    --bg: #fff;
}

*{
    margin: 0; padding: 0;    
    font-family: "Roboto", serif;
    font-optical-sizing: auto;
    font-style: normal;
    scroll-behavior: smooth;
}
body{
    background-color: #eee;
}

/* ==== HEADER =============================================== */
header{
    position: fixed;
    top: 0;
    right: 0;
    width: calc(90% - 3rem);
    height: 3rem;
    min-width: calc(100% - 18rem);
    max-width: calc(100% - 23rem);
    padding: 1.5rem;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    box-shadow: 0 .5rem 1rem #00000010;
    & >div{
        display: flex;
        & button{
            border: 0;
            background-color: transparent;
            padding: .5rem;
            & svg{
                width: 1.3rem; height: 1.3rem;
                margin: 0 .5rem;
            }
        }
        & input{
            padding: 0 .5rem;
            width: 20rem;

        }
    }
    & #abriMenu{
        display: none;
    }
    
}
/* ==== HEADER =============================================== */
/* ==== ASIDE ================================================ */
aside{
    position: fixed;
    top: 0; left: 0;
    width: 10%;
    min-width: 15rem;
    max-width: 20rem;
    height: 100dvh;
    background-color: #fff;
    display: grid;
    grid-template-rows: 12% 76% 12%;
    border-right: .1rem solid #e2e2e2;
    z-index: 99;
    & #abriMenu{
        display: none;
    }
    & >div{
        padding: 1rem;
        & ul{
            & li{
                list-style: none;
                margin: .1rem;
                & a{
                    padding: .5rem;
                    display: block;
                    width: 100%;
                    border-left: .15rem solid transparent;
                    transition: .3s;
                    text-decoration: none;
                    color: var(--cor2);
                }
                & a:hover{
                    border-left: .15rem solid var(--cor1);
                }
                & a#select{
                    border-left: .15rem solid var(--cor3)
                }
            }
        }
    }
    & >div:nth-child(1){
        width: 100%;
        margin: auto;
        & img{
            margin: auto;
            width: 10rem;
        }
    }
    & >div:nth-child(3){
        display: flex;
        overflow: hidden;
        & img{
            width: 2.5rem; height: 2.5rem;
            object-fit: cover;
            border-radius: 50%;
            border: .1rem solid var(--cor3);
            margin-right: .5rem;
        }
        & h3{
            font-weight: 300;
        }
        & p{
            font-size: .7em;
        }
    }

}
/* ==== ASIDE ================================================ */
/* ==== MAIN ================================================= */
main{
    position: absolute;
    top: 6rem;
    right: 0;
    width: calc(90% - 3rem);
    min-width: calc(100% - 18rem);
    max-width: calc(100% - 23rem);
    padding: 1.5rem;
    & .wellcome{
        width: 85%;
        margin: auto;
        background-color: var(--cor2);
        border-radius: .5rem;
        padding: 2rem;
        color: #fff;
        text-align: center;
        & h1{
            font-size: 2em;
            font-weight: 300;
            margin-bottom: 1rem;
        }
    }
    & .dadosinit{
        margin: auto;
        margin-top: 2rem;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        & a{
            text-decoration: none;
            color: var(--cor2);
            width: calc(33% - 3.5rem);
            /* height: 15rem; */
            background-color: #fff;
            border-radius: .8rem;
            box-shadow: .5rem .5rem 1rem #0000003d;
            margin-bottom: 1rem;
            padding: 1.5rem;
            transition: .3s;
            & >div:nth-child(1){
                width: 4.5rem; height: 4.5rem;
                background-color: var(--bcIcon);
                margin-bottom: 1rem;
                display: flex;
                justify-content: center;
                align-items: center;
                & svg{
                    width: 2rem; height: 2rem;
                    color: #fff;
                    transition: .3s;
                }
            }
            & h2{
                margin-bottom: 2rem;
            }
            & span{
                display: block;
                margin-top: 1rem;
                font-weight: 500;
            }
        }
        & a:hover{
            color: #000;
            & >div:nth-child(1){
                & svg{
                    transform: scale(1.1);
                }
            }
        }
    }
    & .links{
        display: flex;
        justify-content: space-between;
        padding: 1rem 2rem;
        background-color: #fff;
        border-radius: .8rem;
        box-shadow: .5rem .5rem 1rem #00000010;
        margin-bottom: 1.5rem;
        font-weight: 600;
        & a{
            color: var(--cor2);
            font-weight: 500;
            text-decoration: none;
        }
    }
    & .lista{
        padding: 1rem 2rem;
        background-color: #fff;
        border-radius: .8rem;
        box-shadow: .5rem .5rem 1rem #00000010;
        min-height: calc(100vh - 18rem);
        & h1{
            font-weight: 300;
            text-align: center;
        }
        & >div.grid{
            color: gray;
        }
        & .grid{
            text-decoration: none;
            color: var(--cor2);
            display: grid;
            grid-template-columns: var(--grid);
            padding: .5rem 0;
            align-items: center;
            & >div{
                padding: .5rem;
                & span{
                    display: block;
                    width: 1rem; height: 1rem;
                    border-radius: 50%;
                    background-color: var(--cor);
                }
            }
        }
        & .grid:nth-child(even){
            background-color: #eee;
        }
        & .form{
            margin-bottom: 1.5rem;
            & input{
                width: 100%;
                padding: .7rem;
                box-shadow: 0 0 1rem #0000002c;
                border: .1rem solid #cecece;
                margin-bottom: .5rem;
                font-size: 1em;
                color: var(--cor2);
            }
        }
        & img{
            width: 90px;
        }
    }
    & .print{
        background-color: #fff;
        border-radius: .8rem;
        box-shadow: .5rem .5rem 1rem #00000010;
        padding: 1.5rem;
        & p{
            margin: .5rem 0;
        }
        & .cabecalho{
            display: flex;
            margin-bottom: 1.5rem;
            align-items: center;
            & img{
                margin-right: 1rem;
            }
            & a{
                color: var(--cor2);
            }
        }
        & .cliente{
            width: 100%;
            & >div{
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                margin-bottom: 1rem;
                & h2{
                    font-weight: 300;
                    font-size: 1.2em;
                }
                & >div{
                    width: 48%;
                    margin-bottom: 1rem;
                }
            }
            & >div:not(:last-child) {
                border-bottom: 1px solid #ccc;
                margin-bottom: 1rem;
            }
        }
        & .lista_prod{
            /* padding: 1rem 2rem; */
            background-color: #fff;
            border-radius: .8rem;
            margin-bottom: 2rem;
            & h2{
                border-bottom: 1px solid #ccc;
                margin-bottom: 1rem;
                font-weight: 300;
                font-size: 1.2em;
            }
            & >div.grid{
                color: gray;
            }
            & .grid{
                display: grid;
                grid-template-columns: var(--grid);
                padding: .5rem 0;
                & >div{
                    padding: .5rem;
                                }
            }
            & .grid:nth-child(even){
                background-color: #eee;
            }
        }
    }
    & .grade{
        background-color: #fff;
        padding: 1.5rem;
        border-radius: .8rem;
        box-shadow: .5rem .5rem 1rem #00000010;
        min-height: 10rem;
        & h1{
            font-weight: 300;
            text-align: center;
        }
        & >div{
            margin-top: 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            
            & >a{
                width: 10rem;
                padding: 1rem;
                border-radius: .8rem;
                box-shadow: 0 0 1rem #0000002d;
                margin: .5rem;
                text-decoration: none;
                color: var(--cor2);
                transition: .3s;
                & img{
                    width: 10rem;
                    height: 10rem;
                    object-fit: contain;
                }
                & h2{
                    font-weight: 300;
                    text-align: center;
                    font-size: 1.1em;
                }
            }
            & >a:hover{
                transform: scale(1.05);
            }
        }
    }
}
/* ==== MAIN ================================================= */
/* ==== FOOTER =============================================== */
#conteudo{
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100dvh;
    justify-content: center;
    align-items: center;

    backdrop-filter: blur(2px);
    background: #ffffff46;
    & .float{
        padding: 1.5rem;
        max-width: 70%;
        max-height: 70%;
        background-color: #fff;
        box-shadow: 0 0 1.5rem #00000041;
        border-radius: .8rem;
        position: relative;
        & h1{
            font-weight: 300;
            text-align: center;
        }
        & >button{
            position: absolute;
            top: -.5rem; right: -.5rem;
            width: 2.5rem; height: 2.5rem;
            background-color: #eee;
            border: 0;
            box-shadow: 0 0 1.5rem #00000041;
        }
        & form{
            display: flex;
            flex-wrap: wrap;
            margin-top: 2rem;
            & input, textarea{
                width: 100%;
                padding: .5rem;
                margin-bottom: .5rem;
                font-size: 1.1em;
            }
            & button{
                margin: auto;
                width: 60%;
                background-color: var(--cor3);
                padding: .5rem;
                border: 0;
                font-size: 1.1em;
                margin-top: 1.5rem;
            }
        }
    }
}
footer{
    display: none;
}
/* ==== FOOTER =============================================== */
/* ==== @QUERYS ============================================== */
@media print {
    header, aside, footer{
        display: none;
    }
    main{
        position: absolute;
        top: 1rem;
        left: 1rem;
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        padding: 0;
        font-size: .8em;
        box-shadow: none;
        & .links{
            display: none;
        }
    }
}
@media screen and (max-width: 1100px){
    aside{
        width: 0;
        min-width: 0;
        overflow: hidden;
        transition: all .5s;
    }
    & .abriAside{
        width: 10%;
        min-width: 15rem;
        max-width: 20rem;
        z-index: 99;
        & #abriMenu{
            position: absolute;
            right: 2rem;
            top: 1rem;
            background-color: #eee;
        }
    }
    header{
        width: calc(100% - 3rem);
        min-width: calc(100% - 3rem);
        max-width: calc(100% - 3rem);
        position: absolute;
        left: 0rem;
        & #abriMenu{
            display: block;
        }
    }
    main{
        position: absolute;
        top: 7rem;
        left: 1rem;
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);        
        padding: 0;
    }
}
/* ==== @QUERYS ============================================== */