/*ajustes gerais*/

body{
    display: flex;
    /* align-items: center; */
    justify-content: center;
    width: 100%;
    background-color: #32B72F;
    background-color: #CBCBCB;
    position: relative;
}

    .janela-principal{
        display: flex;
        flex-direction: column;
        font-family: 'Righteous', cursive;
        position: relative;
        background-color: rgb(203, 203, 203);
        width: 97%;
    }

    .janela-principal-desativada{
        opacity: 0.1;
    }

    .janela-secundaria{
        display: none;
    }

    .janela-secundaria-ativada{

        display: flex;
        align-items: center;
        flex-direction: column;
        position: fixed;
        top: 16%;
        z-index: 3;
        background-color: #50D074;
        color: #FFFFFF;
        font-family: 'Righteous', cursive;
        font-family: 'Roboto', sans-serif;  
        width: 377px;
        height: 353px;
    }


        .janela-secundaria-ativada h2{
            display: flex;
            font-weight: 700;
            font-size: 22px;
            margin-top: 21px;
        }

        .janela-secundaria-ativada .descricao-compras{
            display: flex;
            flex-direction: column;
            margin-top: 28px;
            width: 333px;
        }


        .janela-secundaria-ativada .descricao-compras div{
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            margin-bottom: 13px;
            font-size: 22px;
            font-weight: 400;
        }

        .janela-secundaria-ativada .descricao-compras strong{
            font-weight: 700;    
        }

        .janela-secundaria-ativada .ok{
            color: #50D074;
            font-weight: 700;
            font-size: 22px;
            width: 333px;
            height: 52px;
            border-radius: 50px;
            border: none;
            margin-top: 11px;
        }
        .janela-secundaria-ativada .cancelar{
            border: none;
            color: #FFFFFF;
            background-color: #50D074;
            font-weight: 700;
            font-size: 20px;
            width: 333px;
            height: 52px;
        }


/*configurações do header*/    

header {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 92px;
    background-color: #CF2B2B;
    color: #FFFFFF;
    font-weight: 400;
    box-shadow: 0px 3px 2.1px #00000040;
    z-index: 3;
}

    header h1 {
        margin-left: 21px;
        font-size: 44px;
    }

    header p {
        margin-left: 21px;
        font-size: 18px;
    }

/* configurações do main*/
main {
    margin-bottom: 92px;
    margin-top: 123px;
}

    main h1 {
        color: #333333;
        font-weight: 400;
        font-size: 26px;
        margin-left: 21px;
        margin-top: 11px;   
    }

    .secao-generica {
        display: flex;
        flex-direction: row;
        overflow: auto;
        width: 100%;
        margin-left: 21px;
        margin-top: 17px;
        height: 260px;
    }

        .caixa {
            display: flex;
            flex-direction: column;
            background-color: #FFFFFF;
            margin-right: 16px;
            margin-top: 4px;
            margin-left: 0px;
            max-height: 216px;
            max-width: 172px;
            border-radius: 10px;
            position: relative;
            border: 4px solid #FFFFFF;
        }

        .secao-generica .caixa-selecionada{
            border: #32B72F solid 4px;
        }

            .caixa_img {
                width: 144px;
                display: flex;
                align-items: center;
                justify-content: center;
                height: 87px;
                border-radius: 5%;
                margin-left: 10px;
                margin-right: 14px;
                margin-top: 18px;
                box-sizing: border-box;
                background-color: #ffffff;
            }

                img {
                    max-width: 144px;
                    max-height: 87px;
                    border-radius: 5%;

                }



    .caixa h2{
        color: #333333;
        font-weight: 700;
        font-size: 16px;
        margin-left: 10px;
        margin-right: 14px;
        margin-top: 8px;
        font-family: 'Roboto', sans-serif;

    }

    .caixa p{
        color: #A6A6A6;
        margin-left: 10px;
        margin-right: 14px;
        font-size: 15px;
        font-weight: 300;
        margin-top: 4px;
        font-family: 'Roboto', sans-serif;

    }

    .caixa span{
        color: #000000;
        font-weight: 400;
        position: absolute;
        bottom: 9px;
    }

    ion-icon{
        display: none;
    }

    /* configurações do ion-icon quando ativado */
    .caixa .icon-ativado{
        position: absolute;
        display: flex;
        bottom: 10px;
        right: 10px;
        color: rgba(255, 255, 255);
        width: 19px;
        height: 19px;
        background-color: #32B72F;
        border-radius: 50px;
    }


/* seção footer  */
footer{
    position: fixed;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 92px;
    background-color: #FFFFFF;

}

    footer button{
        background-color: #CBCBCB;
        height: 61px;
        width: 364px;
        font-size: 20px;
        color: #FFFFFF;
        border-radius: 50px;
        border: none;
    }


    footer .botao-ativado{
        background-color: #32B72F;
        color: #FFFFFF;
    }
