/*
GERAL
*/


body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #4d4d4d;
    font-size: 100%;
    line-height: 1.6;
    background-color: #f2f2f2;
}

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

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

iframe {
    border: 3px solid #6a1617;
    width: 100%;
    height: 500px;
}

.botao {
    font-family: Roboto Slab, Helvetica, Arial, sans-serif;
    color: #f1f1f1;
    padding: 10px 30px;
    margin: 30px 0;
    background-color: #881c1d;
    font-size: 0.9em;
    border-radius: 3px;
    border: solid 2px #6a1617;
}

.regua {
    width: 40%;
    height: 2px;
    background-color: #881c1d;
    border: none;
    margin: 0 auto;
}




/*
------------------- DESIGN MOBILE FIRST -------------------
*/


/* MENU */

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: #881c1d;
    border-bottom: 1px solid #6a1617; 
}

nav ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav ul li {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    padding: 10px 0;
    font-family: 'Roboto Slab', serif;
    font-size: 0.75em; /* size 12px */
}

nav ul li a {
    color: #f1f1f1;
    width: 100%;
}

nav ul li a:hover {
    color: #d9d9d9;
}

nav .hide1 {
        display: none;
    }



/* HEADER */

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

header > h1 {
    font-size: 2.25em; /* size 36px */
}

header h1, h2 {
    margin: 10px auto;
}

header p {
    font-size: 1.125em; /* size 18px */
}

header .botao {
    border: solid 2px #f1f1f1;
    margin: 30px 0;
}


/* ------------------------------------------------- */


/* SOBRE */

#sobre {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    padding-top: 60px;
}

#sobre h2 {
    margin: 0 auto;
    width: 100%;
}

#sobre img {
    margin-top: 30px;
}

#sobre p {
    margin: 30px;
}

#sobre .nome {
    color: #881c1d;
    font-weight: bold;
    font-family: Roboto Slab, Helvetica, Arial, sans-serif;
}

#sobre h3 {
    margin: 20px 0;
}


#sobre .advogados {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    width: 80%;
    margin: 20px 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
    background-color: #ffffff;
}

#sobre .advogados h3 {
    margin: 0 auto;
    padding-top: 10px;
    color: #881c1d;
    text-transform: uppercase;
    text-align: center;
}

#sobre .advogados img {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}


#sobre .advogados ul li {
    margin: 10px 0;
    padding-right: 10px;
    font-size: 0.8125em; /* size 13px */
}

#sobre .advogados ul li i {
    color: #881c1d;
}

#sobre .advogados p {
    background-color: #881c1d;
    color: #f1f1f1;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    text-align: center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    text-transform: uppercase;
    font-size: 0.75em; /* size 12px */
}


#sobre .advogados a, a:visited {
    color: #f1f1f1;
    width: 100%;
}

#sobre .advogados a:hover {
    color: #d9d9d9;
}

#sobre .equipe {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#sobre .equipe img {
    width: 80%;
    margin: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}


#sobre .escritorio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#sobre .escritorio img {
    width: 80%;
    margin: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}


/* ------------------------------------------------- */

/* AREA DE ATUAÇÃO */


#atuacao {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    padding-top: 60px;
}

#atuacao h2 {
    margin: 0 auto;
    width: 100%;
}

#atuacao p {
    margin: 30px;
}

#atuacao div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    margin: 30px 0;
}

#atuacao i {
    width: 100%;
    color: #881c1d;
    font-size: 5em; /* size 80px */
}

#atuacao h3 {
    padding: 10px 0;
    margin: 0 auto;
}

#atuacao .areas p {
    margin: 10px;
    color: #4d4d4d;
    font-size: 1em; /* size 16px */
}

/* ------------------------------------------------- */


/* NOTICIAS */

#noticias {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    padding-top: 60px;
}

#noticias h2 {
    margin: 0 auto;
    width: 100%;
}

#noticias h3 {
    color: #881c1d;
    margin: 20px;
    text-transform: uppercase;
}

#noticias p {
    margin: 30px;
}

#noticias div {
    width: 90%;
}

#noticias div a {
    color: #881c1d;
}


/* ------------------------------------------------- */


/* CONTATO */

#contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    padding-top: 60px;
}

#contato h2 {
    margin: 0 auto;
    width: 100%;
}

#contato > p {
    margin: 30px;
}

#contato .formulario .info i {
    font-size: 2em; /* size 18px */
    color: #881c1d;
    margin: 10px auto;
    width: 100%;
}

#contato .formulario .info p {
    text-align: center;
    margin: 30px;
}

#contato .formulario {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

#contato .formulario p {
    padding: 0 10px;
}

#contato .formulario a {
    color: #4d4d4d;
}

#contato .formulario a:hover {
    color: #881c1d;
    font-weight: bold;
}

#contato .formulario {
    margin: 0 auto;
    color: #cccccc;
    font-family: 'Roboto Slab', serif;
    text-align: left;
}

#contato .formulario > form {
    width: 85%;
    border-radius: 5px;
    background-color: #881c1d;
    border: 2px solid #6a1617;
    padding: 10px;
    margin: 30px 0;
}

#contato .formulario form > p {
    text-align: left;
}

#contato .formulario input[type=text], textarea {
    width: 95%;
    padding: 5px;
    border: 2px solid #6a1617;
    border-radius: 4px;
    outline: none;
}

#contato .formulario textarea {
    height: 150px;
    resize: none;
}

#contato .formulario input[type=submit] {
    background-color: #6a1617;
    color: #cccccc;
    padding: 10px 30px;
    text-decoration: none;
    border: 2px solid #cccccc;
    border-radius: 4px;
    cursor: pointer;
}



/*
FOOTER
*/
footer {
    text-align: center;
    padding: 10px;
    background-color: #881c1d;
    color: #f1f1f1;
    border-top: 2px solid #6a1617;
}

footer p {
    font-family: Roboto Slab, Helvetica, Arial, sans-serif;
    font-size: 0.875em; /* size 14px */
}


/*
------------------- DESIGN DESKTOP -------------------
*/

@media screen and (min-width: 700px) {
    
    
   /*GERAL*/
    
    .regua {
        width: 10%;
        height: 2px;
        background-color: #881c1d;
        border: none;
        margin: 0 auto;
    }
    
    /* ------------------------------------------------- */
    
    /* MENU */
    
    nav ul li {
        font-size: 1em;
    }
    
    nav .hide1 {
        display: inline;
    }
    
    nav .hide2 {
        display: none;
    }
    
    
    /* ------------------------------------------------- */
    
    
    /* HEADER */
    
    header {
        height: 800px;
        height: 80vh;
        justify-content: center;
        margin-top: 50px;
    }
    
    header h1 {
        font-size: 3.75em; /*size: 60px*/
        margin: 0 auto;

    }
    
    header h2 {
        font-size: 1.875em; /*size: 30px*/
        margin: 0 auto;
    }
    
    
    /* ------------------------------------------------- */
    
    
    /* SOBRE */

    #sobre {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        margin: 0 auto;
        max-width: 1000px;
        padding-top: 90px;
    }
    
    #sobre h2 {
        margin: 0 auto;
        width: 100%;
    }
    
    #sobre > img {
        margin: 30px 360px 0;
    }
    
    #sobre p {
        padding: 0 100px;
    }
    
    #sobre h3 {
        width: 100%;
    }
    
    #sobre .advogados {
        flex-direction: row;
        flex-wrap: wrap;
        flex-grow: 1;
        justify-content: flex-start;
        align-content: space-between;
        align-items: flex-start;
        width: 30%;
        height: 650px;
        margin: 10px;
    }
    
    #sobre .advogados h3 {
        margin: 0 10px;
        padding-top: 10px;
    }
    
    #sobre .advogados ul li {
        padding-right: 20px;
        font-size: 0.9375em; /* size 13px */
    }
    
    #sobre .equipe {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        margin: 20px 0;
    }

    #sobre .equipe img {
        width: 30%;
    }
    
    
    #sobre .escritorio {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
    }

    #sobre .escritorio img {
        width: 30%;
    }
    
    
    
    /* ------------------------------------------------- */
    
    
    /* AREA DE ATUAÇÃO */
    
    #atuacao {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content:space-around;
        align-items: flex-start;
        margin: 0 auto;
        max-width: 1000px;
        padding-top: 90px;
    }
    
    #atuacao h2 {
        margin: 0 auto;
        width: 100%;
    }
    
     #atuacao div {
        width: 30%;
        flex-grow: 1;
    }
    
    #atuacao h3 {
        width: 100%;
    }
    
    #atuacao p {
        width: 100%;
    }
    
    #atuacao .areas p {
        color: #4d4d4d;
        font-size: 0.875em; /* size 14px */
    }
    
    
    /* ------------------------------------------------- */
    
    /* NOTICIAS */
    
    #noticias {
        max-width: 1000px;
        padding-top: 90px;
    }
    
    #noticias h2 {
        margin: 0 auto;
        width: 100%;
    }
    
    
    /* ------------------------------------------------- */
    
    /* CONTATO */
    
    #contato {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: center;
        width: 100%;
        padding-top: 90px;
    }
    
    #contato h2 {
        margin: 0 auto;
        width: 100%;
    }
    
    #contato > p {
        width: 100%;
    }
    
    #contato .info {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        text-align: center;
        float: left;
        width: 50%;
    }
    
    #contato .formulario .info i {
        margin: 10px 0;
        color: #cccccc;
    }
    
    #contato .formulario .info  a {
        color: #cccccc;
    }
    
    #contato .formulario {
        flex-direction: row;
        background-image: url('../img/fundo_header.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        border-top: 2px solid #6a1617;
    }
    
    #contato .formulario form {
        width: 40%;
        margin: 30px;
        padding: 20px;
        background-color: #881c1d;
        border-radius: 5px;
        float: right;
    }
}