/*
GERAL
*/

@media only screen and (max-device-width: 700px) {
/* .menu { width:400px; } */
}

body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #4d4d4d;
}

h1, h2, h3 {
    margin: 0;
    font-family: "Roboto Slab", Helvetica, Arial, sans-serif;
    font-weight: 700;
}

.botao {
    color: #f1f1f1;
    text-decoration: none;
    padding: 10px 30px;
    background-color: #0B0B3B;
    font-size: .9em;
    border-radius: 3px;
}

/*
NAVEGAÇÃO
*/

nav {
    display: flex;
    flex-direction: column;
    align-items: right;
    background-color: none;
    margin-top: 5px;
    margin-bottom: 5px;
}
/*
nav > a {
    text-decoration: none;
    color: #08088A;
    font-weight: 700;
    font-size: 20px;
    font-family: Pacifico, serif;
}
*/
nav ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: right;
    width: 100%;
}

nav ul li {
    text-align: right;
    width: 100%;
}

nav ul li a {
    display: inline;
    padding: 0;
    width: 100%;
    text-align: right;
    text-decoration: none;
    color: #0B0B3B;
}
nav ul li a:hover{
    text-decoration: none;
    text-transform: uppercase;
    text-align: right;
    margin-top: 30px;
    background: #0B0B3B;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: right;
    padding: 5px 7px;
    border-radius: 3px;
}


/*
CABEÇALHO
*/

header {
    background-image: url('../img/fundo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f1f1f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

header p {
    margin-bottom: 2em;
}

/*
SOBRE
*/

#sobre {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px 10px 10px;
	margin-top: 5px;
    background-color: #0B0B3B;
    color: #f1f1f1;
}

#sobre h2 {
    font-size: 50px;
    font-weight: 400;
}

#sobre p {
    margin-bottom: 2.5em;
    max-width: 1000px;
}

#sobre .botao {
    background-color: #f1f1f1;
    color: #0B0B61;
}

/*
SERVIÇOS
*/

#servicos {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#servicos div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 30px 40px;
}

#servicos ul li {
    text-align: justify;
    list-style: circle;
}

/*
PORTFOLIO
*/

#portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    color: white;
    font-size: 1.2em;
    background: #0B0B3B;
}

#portfolio h2 {
    margin-bottom: 20px;
}

#portfolio img {
    width: 100%;
}

/*
CONTATO
*/

#contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}


/*
FOOTER
*/

footer {
    text-align: center;
    padding: 10px;
    background-color: #0B0B3B;
    color: #f1f1f1;
}

/*
MEDIA QUERIES
*/

@media screen and (min-width: 768px) {
    /*
    NAVEGAÇÃO
    */
    nav {
        flex-direction: row;
        justify-content: space-around;
    }
    
    nav ul {
        flex-direction: row;
        width: 30%;
        margin-top: 20px;
    }
    
    /*
    CABEÇALHO
    */
    
    header {
        height: 600px;
        height: 60vh;
        justify-content: center;
    }
    
    /*
    SOBRE
    */
    
    #sobre {
        height: 250px;
        height: 30vh;
        justify-content: center;
        min-height: 250px;
    }
    
    /*
    SERVIÇOS
    */
    
    #servicos {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        max-width: 1000px;
        margin: 0 auto;
    }
    
    #servicos h2 {
        text-align: center;
        width: 100%;
    }
    
    #servicos div {
        flex-grow: 1;
        flex-basis: 150px;
        padding: 0 10px;
    }
    
    /*
    PORTFOLIO
    */
    
    #portfolio {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    #portfolio h2 {
        width: 100%;
        text-align: center;
    }
    
    #portfolio img {
        width: 33.3333333333%;
    }
    
    /*
    CONTATO
    */
    
    #contato {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        max-width: 100%;
        margin: 0 auto;
    }
    
    #contato h2{
        width: 100%;
        color: white;
        font-size: 2.5em;
        background: #0B0B3B;
    }
    #contato p {
        width: 100%;
    }
    #contato div{
        margin-top: 5px;
    }
    .tel{
         line-height: 0.3em;
    }
    .telefones{
        padding: 5px 0 50px;
    }
    
}