*{
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', serif;

}

section{
    border: solid 2px #777;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)),url(images/law.webp);
    background-position: center;
    background-size: cover;
    position: relative;
}

.container__nav{
    display: flex;
    padding: 0.5% 6%;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    box-shadow: 0 -1px 4px rgb(0 0 0 / 60%);

}

nav img{
    width: 280px;
}
.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 16px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size: 50px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 18px;
    color: #fff;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color:#fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor:pointer;
}

.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;

}

nav .fa{
    display: none;
}

/*-----------Services----------*/

.services{
    padding-top: 45px;
    padding-left: 60px;
    padding-right: 60px;
    margin: 30px auto;
    margin-bottom: 60px;
    width: 80%;
    text-align: center;
    max-width: 1120px;

    border-radius: 5px;
}
h1{
    font-size: 36px;
    font-weight: 700;
}

p{
    color: #222;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
}

.row{
    margin-top: 2.5%;
    display: flex;

    justify-content: space-between;
}

.services .row{
    justify-content: center;
    gap: 20px;
}

.row h3{
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
}

.services-col{
    flex-basis: 31%;
    background-color: #dfdfdf;
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 30px 20px;
    box-sizing: border-box;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: 0.5s;
}

.services-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0,0.2);
}

/*------------Expertise-----------*/

.expertise{
    padding-top: 45px;
    padding-left: 60px;
    padding-right: 60px;
    margin: 30px auto;
    margin-bottom: 60px;
    width: 80%;
    text-align: center;
    max-width: 1120px;
    background-color: #dfdfdf;
    border-radius: 5px;
}

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

.expertise-col{
    flex-basis: 32%;
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.expertise-col img{
    width: 100%;
    border-radius: 5px;
    max-width: 326px;
    box-shadow: 0 -1px 4px rgb(0 0 0 / 60%);
}

/*-------facilities-------------*/

.facilities{
    width: 80%;
    margin: 100px auto;
    text-align: center;
    padding-top: 45px;
    padding-left: 60px;
    padding-right: 60px;
    max-width: 1120px;
    background-color: #dfdfdf;
    border-radius: 5px;
}

.facilities-col{
    flex-basis: 31%;
    border-radius: 5px;
    margin-bottom: 5%;
    text-align: left;
}

.facilities-col img{
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 -1px 4px rgb(0 0 0 / 60%);
}

.facilities-col p{
    padding: 0;
}

.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*-------testimonials-------------*/

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 45px;
    text-align: center;
    max-width: 1120px;
    padding-left: 60px;
    padding-right: 60px;
    background-color: #dfdfdf;
    border-radius: 5px;
}

.testimonials-col{
    border-radius: 5px;
    margin-bottom: 5%;
    background-color: #dfdfdf;
    padding: 25px;
    display: flex;
    border: solid 2px #777;
    background-color: #dfdfdf;
    justify-content: center;

}

.small{
    display: none;
}

@media (max-width: 1150px){
    .big{
        display: none;
    }

    .small{
        display: block;
    }
}


.testimonials-col img{
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
}

.square{
    max-width: 340px;
    height: auto;
}

.testimonials .row{
    justify-content: center;
    gap: 5px;
}

.testimonials-col p{
    padding: 0;
}

.testimonials-col h3{
    margin-top: 15px;
    text-align: left;
}

.testimonials-col .fa{
    color: #777;
}

/*---------Call to action---------*/

.cta{
    margin: auto;
    margin-top: 80px;
    margin-bottom: 20px;
    width: 90%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/banner2.webp);
    background-position: center;
    background-size: cover;
    border-radius: 5px;
    text-align: center;
    padding: 100px 0;
    max-width: 1250px;

}

.cta h1{
    color:#fff;
    margin-bottom: 40px;
    padding: 20px;
}

/*-------footer----------*/

.footer{

    border: none;
}

.background-footer-initial{
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -1px 4px rgb(0 0 0 / 30%);
}

.footer{
    display: flex;
    gap:40px;
    background-color: #fff;
    text-align: center;
    max-width: 1050px;
    padding: 30px;
    padding-left:40px;
    padding-right: 40px;
    padding-bottom: 20px;
    justify-content: space-between;

}

.footer h4{
    font-size: 24px;
    font-weight: 600;

    color: rgb(44, 44, 44);
}

.footer p{
    color: rgb(44, 44, 44);
    font-size: 16px;
}

.icons .fa{

    color: rgb(44, 44, 44);
    cursor: pointer;
    padding-left:18px;
    padding-right:18px;
    padding-top: 5px;
    font-size: 40px;

}

.footer{
    margin: auto;
}

.filiais{
    display: flex;
    gap:20px;
}

@media(max-width:600px){
    .filiais{
    flex-direction: column;
    max-width: 400px;
    margin-bottom: 20px;        
    }
}

@media(max-width:900px){
    .filiais{
        flex-direction: column;
        max-width: 400px;
    }
}



/*----------------- about us page -------------- */

.sub-header{
    height: 42vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/background2.webp);
    background-position: right;
    background-size: cover;
    text-align: center;
    color: #fff;

}

.sub-header h1{
    margin-bottom: 170px;
}

.about-us{
    width: 80%;
    max-width: 1120px;
    margin: auto;
    padding: 150px 0;
}

.background,.sub-cta-background{
    background-color: #f6f4f2;
}

.about-col{
    flex-basis: 48%;
    padding: 5px 5px;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
}
.about-col p,
.about-col h2{
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.about-col h2{
    margin-top: 0;
}

.about-col2{
    flex-basis: 48%;
    padding-left: 20px;
    padding-right:20px;
    text-align: right;

}

.about-col2 img{
    width: 100%;
    height: auto;
    margin: 7px auto;
    border-radius: 5px;

}

.about-col h2{
    padding-top: 0px;
    margin: 0px 0px 18px;
}

.about-col p{
    color: #333;
    font-size: 18px;
    font-weight: 400;
    margin: 0px 0px 16px;
    line-height: 25px;
}

.about-container{
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sub-cta{
    width: 100%;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 65px 0;
    margin:auto;
    
}

.sub-cta h1{
    margin-bottom: 30px;
    padding: 20px;
}



/*-----------Blog---------*/

.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
    max-width: 1400px;
}

.blog-left{
    flex-basis: 65%;
}

.blog-left img{
    width: 100%;
    max-width: 500px;

}

.blog-left img{
    max-width: 500px;
}

.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}

.blog-left p{
    color:#777;
    padding: 0;
    font-size: 20px;
    margin-right: 20px;
    font-weight: 400;
}

.blog-right,
.blog-right2{
    flex-basis: 32%;
}

.blog-right2{
    text-align: center;
    font-weight: 600;
    margin: 15px 0;

}

.blog-right h3,
.blog-right2 h3{
    background-color: #777;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}

.blog-right div,
.blog-right2 div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
    cursor: pointer;
}

.blog-right a,
.blog-right2 a{
    text-decoration: none;
    color: #555;

}

.comment-box{
    border: 1px solid #ccc;
    margin: 10px 0;
    margin-top: 80px;
    padding: 10px 20px;
    max-width: 450px;
}

.comment-box h3{
    text-align: left;
}

.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}

.comment-form button{
    margin: 10px 0;
}

/*-----------services page ----------*/

.services-sub{
    width: 80%;
    max-width: 1250px;
    margin: auto;
    padding: 37px 0;
}

.services-container{
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.services-row{
    margin-top: 2.5%;
    display: flex;
    flex-direction: column;
}

.services-col2{
    flex-basis: 48%;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.services-col2 img{
    width: 40%;
    height: auto;
    margin: 7px auto;
    border-radius: 5px;
}

.services-sub-col{
    flex-basis: 48%;
    padding: 5px 5px;
    text-align: left;
    padding-left: 15px;
    padding-right: 20px;
    max-width: 800px;
    margin: auto;

}

.services-sub-col h2{
    padding-top: 0px;
    margin: 0px 0px 18px;
    text-align: center;
}

.services-sub-col p,
.services-sub-col h2{
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.services-sub-col p{
    color: #333;
    font-size: 18px;
    font-weight: 400;
    margin: 0px 0px 16px;
    line-height: 25px;
}

/*-----------contact us page ----------*/

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
    max-width: 1100px;
}

.location iframe{
    width: 100%;
}

.contact-row{
    max-width: 1250px;
}

.contact-us{
    width: 80%;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 30px;
}

.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px
}

.contact-col div .fa{
    font-size: 28px;
    color: rgb(44, 44, 44);
    margin: 10px;
    margin-right: 30px;
}

.contact-col div p{
    padding: 0;

}

.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    max-width: 430px;

}


/*-----------Outro---------*/

.hero-btn2{
    display: none;
}

#areas{

    margin: auto;
    margin-top: 15px;
    margin-bottom: 40px;
}


.hero-btn3{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #000;
    padding: 12px 34px;
    font-size: 18px;
    background: #666;
    position: relative;
    cursor:pointer;
    transition: 0.5s;
}

.red-btn{
    border:1px solid #f44336;
    background: transparent;
    color: #f44336
}

.red-btn:hover{
    color: #fff;
}

/*-----------Medias---------*/

@media (min-width: 700px){
    .blog-right2{
        display: none;
    }
}

@media(max-width:480px){

    .expertise-col img{
        margin: auto;
        width: 80%;
    }

    .facilities-col img{
        margin: auto;
        width: 80%;
    }

    .facilities-col{
        text-align: center;
    }

    .facilities-col h3{
        text-align: center;
    }

    .footer{
        padding: 20px;
        gap: 15px;
    }

    .testimonials-col img{
        width: 280px;
        height: auto;
        padding: 5px;
    }

}

@media(max-width:1050px){
    .services .row{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
        max-width: 450px;
        margin: auto;
        
    }

    
}

@media(max-width:850px){
    .footer{
        flex-direction: column;
        align-items: center;
    }

    
}


@media(max-width:700px){

    .testimonials-col img{
        width: 300px;
        height: auto;
        padding: 10px;
    }

    .hero-btn2{
        display: inline-block;
        text-decoration: none;
        color: #fff;
        border: 1px solid #f44336;
        padding: 12px 34px;
        font-size: 18px;
        background: #f44336;
        position: relative;
        cursor:pointer;
    }

    .services-col2 img{
        width: 100%;
    }

    .about-us{
        display: flex;
        flex-direction: column;
    }

    .sub-cta{
        margin-bottom: 40px;
    }
    
    .sub-header{
        height: 35vh;
    }

    .sub-header h1{
        font-size: 24px;
        margin-bottom: 150px;
    }

    .blog-right{
        display: none;
    }

    .about-us{
        padding: 75px 0;
    }
    .about-col p,
    .about-col h2{

        padding: 15px;
    }

    .text-box h1{
        font-size: 20px;
    }

    .text-box h1{
        font-size: 20px;
    }

    .row{
        flex-direction: column;
    }

    .cta h1{
        font-size: 24px;
    }

    .footer img{
        display: none;
    }

    /*------- Nav --------- */

    .container__nav{
        padding: 1% 6%;

    }

    .nav-links{
        position: fixed;
        background: #999;
        height: 100vh;
        width:200px;
        top:0;
        right: -200px;
        text-align: left;
        z-index:2;
        transition: 1s;

    }
    nav .fa{
        display: block;
        color: #000;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }

    nav img{
        width: 255px;
        padding: 0;
        
    }

    .nav-links ul li{
        display: block;
    }

    /*------- Width - 65 cell ------- */

    .expertise{
        padding-left: 30px;
        padding-right: 30px;
        width: 75%;
    }

    .facilities{
        padding-left: 30px;
        padding-right: 30px;
        width: 75%;
    }

    .testimonials{
        width: 80%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .testimonials-col{
        padding: 10px;
    }

    .services{
        width: 90%;
        padding-top: 60px;
    }
}

@media(max-width: 460px){
    .contact-col .email-contact h5{
        font-size: 15px;
    }

    .testimonials-col img{
        width: 260px;
        height: auto;
        padding: 5px;
    }
}

.hero-btn3:hover{
    background-color: #888;

}

@media screen and (min-width: 850px) {

    .footer .icons{
        display: flex;
        flex-direction: column;
        
    }
    
}

.border{
    border: none;
}

@media screen and (max-width: 700px){

    .services{
        padding-left: 30px;
        padding-right: 30px;
        width: 75%;
    }
}



