*{
    margin: 0%;
    font-family:Arial;
}

.tomDeFundo{
    background-color: #ffffffd5;
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 90%;
    z-index: -1;
}

header{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}
.logo{margin: 2%;width: 25%;}
h1{
    margin: 1%; font-size: large;
}
h2{font-size: small;}
h3{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 7%;
    padding: 0.5%;
    border-radius: 20px;
    background-color: #363435;
    color: white;
    width: 20%;
    font-size: large;

    transition-duration: 0.5s;
    transition-property: all;
    transition-timing-function: ease;
    animation: fadeIn 1s;
}
h3:hover{
    width: 25%;
    font-size: larger;
    border-radius: 25px;
    cursor: pointer;
    background-color: white;
    color: rgb(13, 247, 25);
}
.whatsappLogo{
    display: flex;
    position: relative;
    width: 8%;
    left: 5%;
}

section{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column; 
}

.barraQuemSou{
    display: flex;
    background-color: #363435;
    width: 100%;
    box-shadow: 0px 0px 20px 5px #363435;
    flex-direction: column;
    color: white;
}
.campoQuemSou{
    display: flex;
    flex-direction: row;
    width: 100%;
}
.textosQuemSou{
    position: relative;
    margin: 2%;
    width: 40%;
    height: fit-content;
    margin-left: 15%;
}
.tituloQuemSou{
    font-size: xx-large;
    margin-top: 3%;
}
.nomeQuemSou{
    float: left;
    margin: 2%;
    text-align: left;
    font-size: larger;
}
.paragrafoQuemSou{
    float: left;
    margin: 2%;
    text-align: left;
}
.fotoAdvogado{
    width: 30%;
    margin-left: 2%;
}

.barraEndereco{
    display: flex;
    width: 100%;
    flex-direction: column;
    background-image: url(imagens/fachadaAdvocacia.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}
.tituloEndereco{
    margin: 3%;
    font-size: xx-large;
}
.campoEndereco{
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-block: 4%;
    justify-content: center;
}
.mapaEndereco{
    margin: 2%;
}
.subtituloEndereco{
    font-size: larger;
}
.textosEndereco{
    position: relative;
    text-align: left;
    height: fit-content;
    margin: 5%;
    
}

.barraServicos{
    display: flex;
    background-color: #363435;
    width: 100%;
    box-shadow: 0px 0px 20px 5px #363435;
    flex-direction: column;
}
.tituloServicos{
    margin: 3%;
    font-size: xx-large;
    color: white;
}
.campoServicos{
    display: grid;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    grid-template-columns: 20% 20% 20%;
    margin-bottom: 5%;
}
.servicos{
    background-color: white;
    width: 80%;
    padding: 0.7%;
    border-radius: 25px;
    margin: 10%;
    box-shadow: 0px 0px 20px 5px rgba(255, 255, 255, 0.795);
}
.titulos{
    margin-block: 5%;
    margin-inline: 3%;
    font-size: large;
}
.ps1, .ps2, .ps3, .ps4, .ps5, .ps6{
    margin-inline: 10%;
    margin-bottom: 5%;
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column; 
    width: 100%;
}
.tituloRedes{
    margin: 3%;
    font-size: xx-large;
}
.campoRedes{
    width: 100%;
    margin-block: 5%;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 40% 20%;
}
.fotoCelular{
   width: 80%;
   margin-inline: 10%;
}
.textosRedes{
    display: grid;    
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.redes{
    display: flex;
    width: 80%;
    padding: 3%;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 3%;
    margin-inline: 10%;
    font-size: medium;
}
.redes:hover{
    width: 90%;
    transform: translateX(-5%);
    
}
.redesimg{
    position: relative;
    width: 8%;
    left: 10%;
}
.rede1{background-color: #061630;}
.rede2{background-color: #8a8a8a;}
.rede3{background-color: #061630;}
.rede4{background-color: #8a8a8a;}
.rede2:hover{color: rgb(255, 1, 158);}
.rede4:hover{color: rgb(255, 1, 158);}
.criador{
    font-size: large;
    margin-bottom: 3%;
}

@media screen and (max-width:1440px) {
    h3{width: 25%;}
    h3:hover{width: 28%;}
    .whatsappLogo{left: 5%;}
    .redesimg{left: 10%;}
}

@media screen and (max-width:768px){
    
    .logo{width: 80%;}
    h1{margin-block: 10%; margin-inline: 10%;}
    h2{margin-inline: 10%;}
    h3{width: 70%;margin-block: 10%;padding: 3%;font-size: medium;}
    h3:hover{width: 80%}

    .tituloQuemSou{margin-block: 10%;}
    .fotoAdvogado{display: none;}
    .textosQuemSou{width: 100%;margin: 0; margin-inline: 10%; margin-bottom: 10%;}
    
    .tituloEndereco{margin-block: 10%;}
    .campoEndereco{flex-direction: column-reverse; margin-bottom: 10%;}
    .textosEndereco{width: 80%; margin-inline: 10%; text-align: center;}
    .mapaEndereco{width: 80%; margin-inline: 10%;}

    .tituloServicos{margin-block: 10%;}
    .titulos{margin-inline: 5%;}
    .campoServicos{grid-template-columns: 50% 50%;margin-bottom: 10%;}

    .tituloRedes{margin-block: 10%;}
    .campoRedes{flex-direction: column-reverse;display: flex;}
    .fotoCelular{margin: 0; width: 50%;margin-inline: 25%;}
    .textosRedes{width: 100%;margin: 0; flex-direction: column;display: flex;}
    .redes{margin-inline: 18%; width: 60%;}
    .redes:hover{width: 60%;transform: translateX(0);}
    .criador{margin-inline: 10%;}
}