html {
    height: 100%;
}

body {
    background: url(../bg_mestre.png) bottom right no-repeat fixed #333;
    background-size: cover;
    font-family:Open Sans, sans-serif;
    margin: 0;
    height: 100%;
}

a {
    text-decoration: none;
}



#form_liga {
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    height: 100%;
    width: 100%;
    z-index: 1000;
    position: fixed;
}

#form_liga #form {
    background-color: #FFF;
    border-radius: 14px;
    left: calc(50% - 150px);
    overflow: hidden;
    position: fixed;
    top: calc(50% - 210px);
    width: 300px;
}

#form_liga #form h2 {
    background-color: #E06004;
    border-radius: 14px 14px 0 0;
    color: #FFF;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    padding: 16px;
}

#form_liga #form p {
    color: #888;
    font-size: 14px;
    margin: 20px 20px 5px 20px;
}

#form_liga #form input {
    border: 1px solid #ccc;
    border-radius: 6px;
    height: 16px;
    margin: 0 20px;
    padding: 8px;
}

.cem {
    width: calc(100% - 58px);
}

.setenta {
    width: calc(70% - 58px);
}

#form_liga #form hr {
    border-top: 1px dashed #ccc;
    border-bottom: none;
    height: 0;
    margin: 20px;
}

#btn_liga {
    background-color: #E06004;
    border: none;
    border-radius: 6px;
    color: #FFF;
    margin: 0 0 20px 20px;
    padding: 10px 14px;
}

#btn_liga_f {
    background-color: #999;
    border: none;
    border-radius: 6px;
    color: #FFF;
    margin: 0 0 20px 20px;
    padding: 10px 14px;
}

#btn_liga:hover {
    background-color: #E93A1A;
    cursor: pointer;
}

#btn_liga_f:hover {
    background-color: #888;
    cursor: pointer;
}




nav {
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    padding: 20px;
    position: fixed;
    width: calc(100% - 40px);
    z-index: 999;
}

#nav {
    overflow: hidden;
    margin: 0 auto;
    width: calc(100% - 160px);
}

#nav #logo {
    float: left;
}

#contato {
    display: inline-block;
    color: #CCC;
    float: right;
    margin: 4px 0 0 0;
}

#contato p {
    color: #ccc;
    font-size: 14px;
    margin: 5px;
    text-align: right;
    text-decoration: none;
}

#meliga {
    cursor: pointer;
    display: inline-block;
    float: right;
    margin: 0 0 0 30px;
}






header {
    display: block;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
    width: 100%;
}



#destaques {
    display: block;
    top: calc(50% - 130px);
    left: calc(50% - 600px);
    overflow: hidden;
    position: absolute;
    max-width: 1200px;
}

.destaque {
    display: inline-block;
    float: left;
    padding-left: 80px;
    height: 80px;
    width: 360px;
    margin: 0 60px 60px 0;
    overflow: hidden;
}

.destaque h2 {
    color: #FFF;
    font-size: 20px;
    margin: 13px 25px;
    padding: 0;
}

#dSites {
    background: url(../-icones/sites.png) no-repeat;
}

#dAplicativos {
    background: url(../-icones/aplicativos.png) no-repeat;
}

#dSistemas {
    background: url(../-icones/sistemas.png) no-repeat;
}

#dHospedagem {
    background: url(../-icones/hospedagem.png) no-repeat;
}

#dEcommerce {
    background: url(../-icones/ecommerce.png) no-repeat;
}

#dCifrao {
    background: url(../-icones/cifrao.png) no-repeat;
}







section {
    background-color: #FFF;
    border-top: 3px solid #0DA125;
    overflow: hidden;
    width: 100%;
}


section h2 {
    color: #333;
    font-size: 32px;
    font-weight: 400;
    margin: 80px 20px 10px 20px;
    text-align: center;
}

section p {
    color: #999;
    font-size: 14px;
    font-weight: 400;
    margin: 0 20px 10px 20px;
    text-align: center;
}

#projetos {
    margin: 80px auto;
    text-align: center;
    width: 1200px;
}

#projetos a {
    display: inline-block;
    height: 300px;
    overflow: hidden;
    padding: 2px;
    width: 308px;
    margin: 20px;
}

#projetos a img {
    border: 4px solid #FFF;
    outline: 1px solid #ccc;
}

#projetos a:hover img {
    outline: 1px solid #E93A1A;
    box-shadow: 2px 2px 8px #333;
}

#projetos a h4 {
    color: #666;
    font-size: 16px;
    margin: 10px 0 0 0;
    text-align: left;
}

#projetos a p {
    font-size: 12px;
    margin: 0;
    text-align: left;
}





footer {
    background-color: #363879;
    border-top: 3px solid #0DA125;
    overflow: hidden;
    width: 100%;
}

#footer {
    margin: 40px auto;
    overflow: hidden;
    width: 1024px;
}

.f_bloco {
    border-left: 2px solid #679DFA;
    float: left;
    margin: 0 40px 40px 0;
    overflow: hidden;
    padding-left: 14px;
    width: 280px;
}

.f_bloco h4 {
    color: #FFF;
    font-size: 16px;
    margin: 0;
}

.f_bloco p {
    color: #bbb;
    font-size: 14px;
    margin: 5px 0;
}

.f_bloco a p:hover {
    color: #B8D2FF;
    cursor: pointer;
}







@media screen and (max-height: 700px) {
    #destaques {
        display: block;
        top: 200px;
        left: 100px;
        max-width: 1000px;
    }
    
    .destaque {
        background-size: 70px !important;
        padding-left: 70px;
        height: 70px;
        width: 320px;
        margin: 0 50px 50px 0;
    }
    
    .destaque h2 {
        font-size: 18px;
        margin: 13px 20px;
    }
}




@media screen and (max-width: 1300px) {
    #destaques {
        display: block;
        top: 200px;
        left: 100px;
        max-width: 1000px;
    }
    
    .destaque {
        background-size: 70px !important;
        padding-left: 70px;
        height: 70px;
        width: 320px;
        margin: 0 50px 50px 0;
    }
    
    .destaque h2 {
        font-size: 18px;
        margin: 13px 20px;
    }
    
    #projetos {
        width: 1000px;
    }
    
    #projetos a {
        width: 285px;
    }
    
    #projetos a img {
        width: 274px;
    }
}


@media screen and (max-width: 1100px) {
    
    nav {
        padding: 20px 0;
        width: 100%;
    }
    
    #nav {
        padding: 0 20px;
        width: calc(100% - 40px);
    }
    
    header {
        display: block;
        height: auto !important;
        min-height: auto !important;
    }
    
    #destaques {
        position: inherit;
        margin: 170px 60px 30px 60px;
    }
    
    .destaque {
        background-size: 60px !important;
        padding-left: 60px;
        height: 60px;
        width: 270px;
        margin: 0 50px 40px 0;
    }
    
    .destaque h2 {
        font-size: 16px;
        margin: 8px 16px;
    }
    
    #projetos {
        width: 740px;
    }
    
    #projetos a {
        width: 308px;
    }
    
    #projetos a img {
        width: auto;
    }
    
    #footer {
        margin: 40px 40px 0 40px;
        width: calc(100% - 80px);
    }
    
    .f_bloco h4 {
        font-size: 14px;
    }

    .f_bloco p {
        font-size: 12px;
    }
}


@media screen and (max-width: 840px) {
    #contato {
        display: none;
    }
    
    section h2 {
        font-size: 24px;
        margin: 60px 20px 10px 20px;
    }
    
    #projetos a {
        width: 285px;
    }
    
    #projetos a img {
        width: 274px;
    }
}


@media screen and (max-width: 790px) {
    
    #projetos {
        width: 360px;
    }
    
    #projetos a {
        width: 308px;
    }
    
    #projetos a img {
        width: auto;
    }
}

@media screen and (max-width: 600px) {
    #nav {
        text-align: center;
    }
    
    #nav #logo {
        float: inherit !important;
        margin: 0 auto !important;
    }
    
    #meliga {
        display: none;
    }
    
    #destaques {
        position: inherit;
        margin: 150px 30px 30px 30px;
    }
    
    .destaque {
        background-size: 50px !important;
        padding-left: 50px;
        height: 50px;
        width: 240px;
        margin: 0 40px 30px 0;
    }
    
    .destaque h2 {
        font-size: 14px;
        margin: 6px 16px;
    }
}

@media screen and (max-width: 400px) {
    section h2 {
        font-size: 18px;
        margin: 50px 20px 10px 20px;
    }
    
    section p {
        font-size: 10px;
    }
    
    #projetos {
        width: 100%;
        margin: 40px 0 0 0;
    }
    
    #projetos a {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    #projetos a img {
        width: calc(100% - 15px);;
    }
    
    #projetos a h4 {
        font-size: 12px;
    }
    
    #projetos a p {
        font-size: 10px;
    }
}