*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media only screen and (min-width:641px) {
    .container {
        width: 640px;
        margin: 0 auto;
        padding: 0px;
        position: relative;
    }
    .grid {
        width: 320px;
    }
    .bg {
        height: 360px;
        display: flex;
        margin-top: 10px;
        /*margem superior pagina*/
    }
    .bg4 {
        height: 77px;
        border-bottom: 1px rgba(0, 0, 0, 0.12) solid;
        border-top: 1px rgba(0, 0, 0, 0.12) solid;
        display: block;
        position: relative;
        padding: 16px 100px;
        box-shadow: 0px 4px 7.36px 0.64px rgba(0, 0, 0, 0.24), 0px 1px 7.68px 0.32px rgba(0, 0, 0, 0.16);
        background: #fbfbfb;
        /* cor fundo botoes */
        width: 640px;
        float: left;
    }
    .bg4 img {
        width: 44px;
        height: 44px;
        cursor: pointer;
    }
    .bg4 h1 {
        font-size: 24px;
        color: #777777;
        /*cores das letras */
        font-weight: 400;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 350px;
        display: block;
        line-height: 1.2;
        float: right;
        margin-top: 10px;
        margin-bottom: 0px;
        cursor: pointer;
        font-family: Arial, Helvetica, sans-serif;
    }
    .bg4 h1:hover {
        color: #2e66ed;
    }
    .bg5 {
        /*BOTAO MAIOR*/
        height: 77px;
        border-bottom: 1px rgba(0, 0, 0, 0.12) solid;
        border-top: 1px rgba(0, 0, 0, 0.12) solid;
        display: block;
        position: relative;
        padding: 16px 100px;
        box-shadow: 0px 4px 7.36px 0.64px rgba(0, 0, 0, 0.24), 0px 1px 7.68px 0.32px rgba(0, 0, 0, 0.16);
        background: #fbfbfb;
        /* cor fundo botoes */
        width: 640px;
        float: left;
    }
    .bg5 img {
        width: 44px;
        height: 44px;
        cursor: pointer;
        margin-top: 0px;
    }
    .bg5 h1 {
        font-size: 24px;
        color: #777777;
        /*cores das letras */
        font-weight: 400;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 350px;
        display: block;
        line-height: 1.2;
        float: right;
        margin-top: -3px;
        margin-bottom: 0px;
        cursor: pointer;
        font-family: Arial, Helvetica, sans-serif;
    }
    .bg5 h1:hover {
        color: #2e66ed;
    }

    
    .bg6 {
        /*BOTAO tel junto*/
        height: 125px;
        border-bottom: 1px rgba(0, 0, 0, 0.12) solid;
        border-top: 1px rgba(0, 0, 0, 0.12) solid;
        display: block;
        position: relative;
        padding: 16px 100px;
        box-shadow: 0px 4px 7.36px 0.64px rgba(0, 0, 0, 0.24), 0px 1px 7.68px 0.32px rgba(0, 0, 0, 0.16);
        background: #fbfbfb;
        /* cor fundo botoes */
        width: 640px;
        float: left;
    }
    .bg6 img {
        width: 44px;
        height: 44px;
        cursor: pointer;
        margin-top: 0px;
        margin-bottom: 5px;
    }
    .bg6 h1 {
        font-size: 24px;
        color: #000000;
        /*cores das letras */
        font-weight: 400;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 350px;
        height: 50px;
        display: block;
        line-height: 1.2;
        float: right;
        margin-top: -3px;
        margin-bottom: 20px;
        cursor: pointer;
        font-family: Arial, Helvetica, sans-serif;
    }
    .bg6 h1:hover {
        color: #2cceb9;
    }
     .box_shadow {
        height: 355px;
        margin: 0 auto;
        box-shadow: 0px 4px 7.36px 0.64px rgba(0, 0, 0, 0.24), 0px 10px 7.68px 0.32px rgba(0, 0, 0, 0.16);
        background: url(../img/logo.png) no-repeat center;
        background-color: #ccd7d4;
        /*cor fundo foto */
        background-size: cover;
        width: 100%;
    }
    .fundo {
        width: 100%;
        height: 560px;
        margin: 0 auto;
        background: #c7ab94/* #e6b3e6 Cor fundo 1 */
    }
    .fundo2 {
        width: 100%;
        height: 750px;
        /*autura rodapé*/
        color: #DCDCDC;
        font-size: 14px;
        line-height: 1;
        font-style: normal;
        font-weight: 400;
        background: #c7ab94;
        /*cor fundo 2 */
        margin: 0 auto;
    }

    .copyright {
        width: 100%;
        height: 20px;
        /*autura rodapé*/
        color: #283785;
        font-size: 14px;
        line-height: 1;
        font-style: normal;
        font-weight: 400;
        background: #c7ab94;
        /*cor fundo 2 */
        margin: 0 auto;
    }


    .azul {
        height: 122px;
        background: #53112f;
        /*cor do cabe�alho*/
        padding: 30px 20px;
        box-shadow: 0px 2px 2.82px 0.18px rgba(0, 0, 0, 0.24), 0px 1px 3.92px 0.08px rgba(0, 0, 0, 0.16);
    }
    .azul h1 {
        font-size: 24px;
        color: #fffefe;
        /*cor fonte grande cabe�alho*/
        font-weight: 400;
        text-align: left;
        line-height: 1.2;
        text-align: center;
        margin-top: 0px;
        font-family: Arial Black
    }
    .azul p {
        margin-top: 10px;
        opacity: 0.7;
        font-size: 16px;
        color: #fffefe;
        /*cor fonte pequena cabe�alho*/
        font-weight: 400;
        line-height: 1.5;
        text-align: center;
    }
}

@media only screen and (max-width:640px) {
    .container {
        width: 320px;
        margin: 0 auto;
        padding: 0px;
        position: relative;
    }
    .grid {
        width: 160px;
    }
    .bg {
        height: 295px;
        /*autura Fique por dentro*/
        display: flex;
        margin-top: 3px;
    }
    .bg4 {
        height: 77px;
        border-bottom: 3px rgba(0, 0, 0, 0.12) solid;
        display: block;
        position: relative;
        padding: 16px 15px;
        box-shadow: 0px 4px 7.36px 0.64px rgba(0, 0, 0, 0.24), 0px 1px 7.68px 0.32px rgba(0, 0, 0, 0.16);
        background: #fbfbfb;
        /* cor fundo botoes */
        width: 320px;
        float: left;
    }
    .bg4 img {
        width: 44px;
        height: 44px;
        cursor: pointer;
    }
    .bg4 h1 {
        font-size: 14px;
        color: #777777;
        font-weight: 400;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 230px;
        display: block;
        line-height: 1.2;
        float: right;
        margin-top: 13px;
        margin-bottom: 0px;
        cursor: pointer;
        font-family: Arial, Helvetica, sans-serif;
    }
    .bg4 h1:hover {
        color: #2e66ed;
    }
    .bg5 {
        height: 77px;
        border-bottom: 3px rgba(0, 0, 0, 0.12) solid;
        display: block;
        position: relative;
        padding: 16px 15px;
        box-shadow: 0px 4px 7.36px 0.64px rgba(0, 0, 0, 0.24), 0px 1px 7.68px 0.32px rgba(0, 0, 0, 0.16);
        background: #fbfbfb;
        /* cor fundo botoes */
        width: 320px;
        float: left;
    }
    .bg5 img {
        width: 44px;
        height: 44px;
        cursor: pointer;
    }
    .bg5 h1 {
        font-size: 14px;
        color: #777777;
        font-weight: 400;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 230px;
        display: block;
        line-height: 1.2;
        float: right;
        margin-top: 4px;
        margin-bottom: 0px;
        cursor: pointer;
        font-family: Arial, Helvetica, sans-serif;
    }
    .bg5 h1:hover {
        color: #2e66ed;
    }

   
    .bg6 {
        height: 125px;
        border-bottom: 3px rgba(0, 0, 0, 0.12) solid;
        display: block;
        position: relative;
        padding: 16px 15px;
        box-shadow: 0px 4px 7.36px 0.64px rgba(0, 0, 0, 0.24), 0px 1px 7.68px 0.32px rgba(0, 0, 0, 0.16);
        background: #fbfbfb;
        /* cor fundo botoes */
        width: 320px;
        float: left;
    }
    .bg6 img {
        width: 44px;
        height: 44px;
        cursor: pointer;
        margin-top: 0px;
        margin-bottom: 5px;
    }
    .bg6 h1 {
        font-size: 14px;
        color: #777777;
        font-weight: 400;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 230px;
        height: 57px;
        display: block;
        line-height: 1.5;
        float: right;
        margin-top: 4px;
        margin-bottom: 0px;
        cursor: pointer;
        font-family: Arial, Helvetica, sans-serif;
    }
    .bg6 h1:hover {
        color: #2cceb9;
    }

    .box_shadow {
        height: 290px;
        margin: 0 auto;
        box-shadow: 0px 4px 7.36px 0.64px rgba(0, 0, 0, 0.24), 0px 10px 7.68px 0.32px rgba(0, 0, 0, 0.16);
        background: url(../img/logomobile.png) no-repeat;
        background-size: 320px 290px;
        background-color: #ccd7d4;
        /*cor fundo foto */
        width: 100%;
    }
    .fundo {
        width: 100%;
        height: 480px;
        margin: 0 auto;
        background: #c7ab94/* #e6b3e6 Cor fundo 1 */
    }
    .fundo2 {
        width: 100%;
        height: 810px;
        color: #F0F8FF;
        font-size: 14px;
        line-height: 1;
        font-style: normal;
        font-weight: 350;
        background: #c7ab94;
        margin: 0 auto;
    }

    .copyright {
        width: 100%;
        height: 20px;
        /*autura rodapé*/
        color: #283785;
        font-size: 14px;
        line-height: 1;
        font-style: normal;
        font-weight: 400;
        background: #c7ab94;
        /*cor fundo 2 */
        margin: 0 auto;
    }

    .azul {
        height: 152px;
        background: #53112f;
        /*cor do cabe�alho*/
        padding: 30px 20px;
        box-shadow: 0px 2px 2.82px 0.18px rgba(0, 0, 0, 0.24), 0px 1px 3.92px 0.08px rgba(0, 0, 0, 0.16);
    }
    .azul h1 {
        font-size: 20px;
        color: #fffefe;
        font-weight: 400;
        text-align: left;
        line-height: 1.2;
        text-align: center;
        margin-top: 0px;
    }
    .azul p {
        margin-top: 0px;
        opacity: 0.7;
        font-size: 14px;
        color: #fffefe;
        font-weight: 400;
        line-height: 1.5;
        text-align: center;
    }
}