@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;700&display=swap');
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 62.5%;
    font-size: 10px;
}

a {
    color: #B8A358;
}

a:hover {
    color: #FFF;
}

 .my_area_body {
    min-height: calc(100vh - 8rem);
    background: url('./../gfx/work.jpg');
    backface-visibility: hidden;
    background-size: cover;
    background-position: top center;
}

 .my_work_body {
    background-image: url('./../gfx/diamond_1.svg');
    background-position: left -10% center;
    background-size: 20%;
    background-repeat: no-repeat;
 }

 .my_about_body {
    min-height: calc(100vh - 8rem);
    background-image: url('./../gfx/diamond_1.svg');
    background-position: right 0% top -15%;
    background-size: 50%;
    background-repeat: no-repeat;
 }

.bg-brown-100 {
    background-color: #B26F67;
}
.bg-brown-50 {
    background-color: #D8A791;
}
.bg-brown-10 {
    background-color: #F8E0BF;
}
.bg-green {
    background-color: #B8A358;
}
.bg-black {
    background-color: #212121;
}
.bi {
    color: #FFF;
}
.bi:hover {
    color: #B8A358;
}
.bi-facebook, .bi-whatsapp, .bi-instagram, .bi-linkedin {
 font-size: 1.5em;
}
.bi-clipboard2-check-fill, .bi-shield-fill-check, .bi-patch-check-fill {
    font-size: 2em;
}

li.bi {
    padding-right: 4px !important;
}

.title > h3 {
    font-size: 3em;
}

.navbar {
    width: 100%;    
    text-align: center;
    z-index: 1000;
}

.navbar div.logo {
    float: left;
    width: auto;
    height: auto;   
    margin-left: 5rem; 
}

.navbar div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.5rem;
}

.navbar div.logo a > img {
    width: 180px;
}


.navbar div.logo a:hover {
    color: #000000;
}

.navbar div.main_list {
    height: 5rem;
    float: right;
    
}

.navbar div.main_list ul {
    width: 100%;
    height: 5rem;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 5rem;
}

.navbar div.main_list ul li {
    width: auto;
    padding: 0;
    padding-right: 2rem;    
}

.navbar div.main_list ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
}

/* Home section */

.navTrigger {
    display: none;
}

.navbar {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    background-image: url('./../gfx/diamond_1.svg');
    background-position: right 0% bottom -5%;
    background-size: 20%;
    background-repeat: no-repeat;
    top: 0;
    right: 0;
}
.nav * a.active {
    border-bottom: 1px solid #FFF;
}
.nav * a {
    display: inline-block;
    text-decoration: none;
    transition: all .3s ease;
}
.nav li.nav-item > a:hover {
    color: #FFF;
    
    border-bottom: 10px solid #FFF;
    }    
.nav li.nav-item > a:hover:active {   
    color: #FFF;     
    border-bottom: 20px solid #FFF;
  }

.section_p {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#areas::before, #about::before { 
    display: block; 
    content: " "; 
    margin-top: -12rem;
    height: 12rem;
    visibility: hidden; 
    pointer-events: none;
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
}

.accordion-button {
    font-weight: 700;
    font-size: 2rem;
}
.accordion-item {
    border: 0;
    margin-bottom: 16px;
}

.accordion-button:not(.collapsed) {
    color: #B8A358;
    background-color: transparent;
    box-shadow: initial;
}

.accordion-button:hover {
    color: #B8A358;
    background-color: transparent;
}

.accordion-body {
    font-size: 1.25rem;
}

.btn-outline-green {
    border-color: #B8A358;
}

.btn-outline-invert-green {
    background-color: #B8A358;
    color: #FFF;
}

.btn-outline-invert-green:hover {
    border-color: #B8A358;
    background-color: #000;
}

.btn-outline-green:hover {
    background-color: #B8A358;
    color: #FFF;
}
.btn-outline-green:hover i {
    color: #FFF;
}
.text-green {
    color: #B8A358;
}


@media screen and (max-width:768px) {
    .navbar {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        -webkit-transition: all 0.4s ease;
        transition: all 0.4s ease;
        background-image: url('./../gfx/diamond_1.svg');
        background-position: right 0% top -20px;
        background-size: 20%;
        background-repeat: no-repeat;
        top: 0;
        right: 0;
    }
    .my_area_body.section_p {
        padding-bottom: 0;
    }
    #about::before { 
        display: block; 
        content: " "; 
        margin-top: -43rem;
        height: 43rem;
        visibility: hidden; 
        pointer-events: none;
    }
    .my_about_body {
        min-height: calc(100vh - 8rem);
        background-image: url('./../gfx/diamond_1.svg');
        background-position: right 0% top 0%;
        background-size: 100%;
        background-repeat: no-repeat;
     }
     .my_work_body {
        background-image: url(./../gfx/diamond_1.svg);
        background-position: left -80% bottom 0%;
        background-size: 65%;
        background-repeat: no-repeat;
    }
    .navTrigger {
        display: block;
    }
    .navbar div.logo {
        margin-left: 15px;
    }
    .navbar div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .navbar div.show_list {
        height: auto;
        display: none;
    }
    .navbar div.main_list ul {
        flex-direction: row;
        align-content: baseline;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #B26F67;
        /*same background color of navbar*/
        background-position: center top;
    }
    .navbar div.main_list ul li {
        width: 100%;
        text-align: left;
        height: 48px;
        padding-left: 5rem;
    }
    .navbar div.main_list ul li a {        
        font-size: 2rem;
    }

    li.bi {
        display: inline;
        position: relative;
    }
    .nav-s {
        width: initial !important;
        display: inline-flex !important;
    }
    .nav-s:not(:first-of-type) {
        padding-left: 1rem;
    }    
    .navbar div.media_button {
        display: block;
    }
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 30px;
    bottom: 0;
}

.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.nav.affix {
    height: 8rem;
}

.myH2 {
	text-align:center;
	font-size: 4rem;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}
@media all and (max-width:700px){
	.myP {
		padding:2%;
	}
}

div.article_card {
    width: 100%;
    height: 400px;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    cursor: pointer;
  }
  div.article_card .thumb.nac_pt {
    width: auto;
    height: 300px;
    background: url("../gfx/nac_pt.jpg") no-repeat center;
    background-size: cover;
    border-radius: 3px;
  }
  
  div.article_card .thumb.vistos {
    width: auto;
    height: 300px;
    background: url("../gfx/vistos.jpg") no-repeat center;
    background-size: cover;
    border-radius: 3px;
  }

  div.article_card .thumb.oa {
    width: auto;
    height: 300px;
    background: url("https://portal.oa.pt/media/125691/ordem-dos-advogados.jpg") no-repeat center;
    background-size: cover;
    border-radius: 3px;
  }

  div.article_card .thumb.serv_jur {
    width: auto;
    height: 300px;
    background: url("../gfx/serv_jur.jpg") no-repeat center;
    background-size: cover;
    border-radius: 3px;
  }
  
  div.article_card .infos {
    width: auto;
    height: 400px;
    position: relative;
    padding: 14px 24px;
    background: #fff;
    transition: 0.4s 0.15s cubic-bezier(0.17, 0.67, 0.5, 1.03);
  }
  div.article_card .infos .title {
    position: relative;
    margin: 10px 0;
    letter-spacing: 3px;
    color: #B26F67;
    font-size: 1.5rem;
    text-transform: uppercase;
  }

  div.article_card .infos .read_more, div.article_card .infos {
    margin-bottom: 10px;    
    font-size: 1.25rem;
    color: rgba(21, 37, 54, 0.7);
    transition: 0.5s 0.25s cubic-bezier(0.17, 0.67, 0.5, 1.03);
  }

  div.article_card .infos .txt, div.article_card * li {
    font-size: 1.4rem;
    color: black;
    opacity: 0;
    transition: 0.5s 0.25s cubic-bezier(0.17, 0.67, 0.5, 1.03);
  }

div.article_card * ul {
    list-style-type: circle;
}

  div.article_card .infos .details {
    position: absolute;
    left: 0;
    left: 0;
    bottom: 0;
    padding: 20px 24px;
    letter-spacing: 1px;
    color: #B8A358;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transition: 0.5s 0.25s cubic-bezier(0.17, 0.67, 0.5, 1.03);
  }
  div.article_card:hover .infos {
    transform: translateY(-300px);
  }
  div.article_card:hover .infos .seats, div.article_card:hover .infos .txt, div.article_card:hover .infos .details, div.article_card:hover * li {
    opacity: 1;
  }

  div.article_card:hover * .read_more {
    opacity: 0;
    margin: -1rem;
  }

  .t-shadow {
    text-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 80%)
  }

