/*
     Folha de estilo do site one page Esteves e Mazili Sociedade de Advogados
    Exemplo.com.br
    @author Alexandre de Souza Marques
    alelvis3br@hotmail.com
*/

/* Importação (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

/* CSS Reset */
* {
    margin: 0;
    border: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
}

/* Layout */
.Container {
    margin: 0 auto;   
}

.Flex {
    display: flex;
    justify-content: space-between;   
}

.Flex2 {
    display: inline;
    align-items: center;
}

.Flex4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.Flex5 {
    display: flex;
    flex-direction: column-reverse;
}

.Flex6 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;    
}


/* topo do site */
#topo {
    position: fixed;
    right: 10px;
    bottom: 10px;
}

/* Cartões */
.Card {
    margin-top: 25px;
    width: 338px;
    height: 600px;
    background-color: #e8e8e8;
    border: 1px solid #a1a1a1;
    border-radius: 25px;
    text-align: center;
}

.Card img {
    border-radius: 25px 25px 0px 0px;
}

.Card h3 {
    margin-top: 15px;
}

.Card p {
    text-align: justify;
    color: #434343;
    padding: 10px 30px 50px 30px;
}

.Card a {
    padding: 10px 100px;
    border: 0;
}

/* Smartphone Portrait >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */

/* Cabeçalho */
header {
    height: 60px;
}

#logo img {
    width: 128px;
    height: 128px;
}

#check {
    display: none;
}

label {
    font-size: 3em;
    position: fixed;
    top: 5px;
    right: 15px;
    color: rgba(0,0,0,0.5);
}

nav ul {
    list-style: none;
    background-color: #343538;
    height: auto;
    position: fixed;
    top: 60px;
    right: -100%;
    transition: all 0.5s;
}

#check:checked ~ ul {
    right: 0;
}

nav ul li a:checked ~ ul {
    right: -100%;
}

nav ul li {
    padding: 20px;
    border-bottom: 1px solid #a9a9a9;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
}

/* Destaque */
main {
    height: 75vh;
    background: url(img/banner.png);
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

main h1 {
    font-size: 2.5em;
}

main h2 {
    font-size: 1em;
    margin: 20px 0px 50px 0px;
}

/* Sobre */
#sobre {
    padding: 50px 0px;
    background: url(img/gavel-gca57e3058_1280.jpg);
    background-size: cover;
    background-position: center;
}

#destaqueSobre {
    display: none;
}

.textoSobre {
    color: white;
    padding: 0px 10px;
    
}

.textoSobre h2 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.TopicosSobre {
    margin-top: 20px;
}

.TopicosSobre img {
    margin-right: 10px;
}

/* Conteúdo */
#conteudo {
    padding: 50px 0px;
}

#conteudo h2 {
    margin-bottom: 25px;
    text-align: center;
}

/* rodapé */
address {
    padding: 35px 10px 50px 10px;
    background: url(img/bannermartelo.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
}

address a {
    text-decoration: none;
    color: #fff;
}

address img {
    padding-top: 15px;
}

footer {
    padding: 50px;
    background-color: #343538;
    color: #fff;
    text-align: center;
}

/* Smartphone Landscape >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
@media (min-width: 576px) {
    /* Layout */
    .Container {
        max-width: 540px;
    }

 

    /* Destaque */
    main h1, main h2 {
        text-shadow: #000 0.05em 0.05em 0.05em;
    }


    /* Rodapé */
    .Flex5 {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Tablet Portrait >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
@media (min-width: 768px) {
    /* Layout */
    .Container {
        max-width: 720px;
    }

    /* Destaque */
    main {
        height: 45vh;
    }

    main h1 {
        font-size: 5.5em;
    }

    main h2 {
        font-size: 2em;
    }
}

/* Tablet Landscape >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
@media (min-width: 992px) {
    /* Layout */
    .Container {
        max-width: 960px;
    }

    /* Destaque */
    main {
        height: 70vh;
    }
}

/* PC >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
@media (min-width: 1200px) {
    /* Layout */
    .Container {
        max-width: 1140px;
    }
    
    /* Cabeçalho */
    header {
        height: 120px;
    }
    
    #logo img {
        width: 189px;
        height: 189px;
        margin-top: 30px;
    }

    label {
        display: none;
    }

    nav ul {
        position: static;
        height: auto;
        background-color: transparent;
        margin-top: 40px;
    }

    nav ul li {
        float: left;
        border: 0;
    }

    nav ul li a {
        color: #343538;
    }

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

    /* Sobre */
    #sobre {
        background-attachment: fixed;
    }

    
    #destaqueSobre {
        display: inline;
    }

    #destaqueSobre img {
        border-radius: 50%;
        margin-right: 50px;
    }
    /* Rodapé */
    .Flex6 {
        flex-direction: row-reverse;
    }

}