.bg_f{
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
}

.bg{
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

@media only screen and (max-width: 1450px) {
    h1{
        font-size: 60px;
    }

    h2{
        font-size: 40px;
    }

    h3{
        font-size: 20px;
    }

    .historia .txt p img{
        width: 150px;
    }

    .homepage{
        margin-left: 580px;
    }
}

@media only screen and (max-width: 1250px) {
    .cabecalho{
        position: absolute;
    }

    .logo,
    .menu{
        display: block;
        margin-bottom: 20px;
        margin-left: 0px;
    }

    .homepage{
        margin-left: 300px;
    }
}

@media only screen and (max-width: 1100px) {
}

/*IPAD HORIZONTAL*/
@media only screen and (max-width: 1024px) {
    .bg_f{
        background-attachment: scroll;
    }
    h1{
        font-size: 40px;
    }

    h2{
        font-size: 25px;
    }

    .historia .txt p img{
        width: 100px;
    }
}

/*IPAD VERTICAL*/
@media only screen and (max-width: 768px) {
}

/* PHONES HORIZONTAL */
@media only screen and (max-width: 737px) {
    .cabecalho{
        position: relative;
        left: 0;
        top: 0;
        margin: 40px;
    }

    .logo{
        width: auto;
    }

    .logotipo{
        width: auto;
    }

    .logotipo img{
        width: 100%;
    }

    .menu{
        margin: 0;
        width: auto;
        text-align: center;
    }

    .homepage{
        width: auto;
        margin: 20px;
    }

    h1{
        font-size: 60px;
    }

    h2{
        font-size: 20px;
        padding-top: 20px;
    }

    h3{
        font-size: 16px;
    }

    .historia{
        padding: 40px 20px;
    }

    .historia .txt p{
        font-size: 14px;
    }
}

/* PHONES HORIZONTAL */
@media only screen and (max-width: 414px) {
    .tab{
        background: red;
    }
}
