*{
    margin: 0;padding: 0;
    box-sizing: border-box;
}
body {
    background-color: rgba(184, 134, 11, 0.5);
}
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(184, 134, 11, 1);
    display: flex;
    justify-content: space-between;
    text-align: center;
    height: 18vh;
}
.logo {
    width: 30%;
    padding-left: 10px;
    align-items: center;
    justify-content: center;
}
.logo img {
    height: 85%;
    padding-top: 5px;
}
.nam{
    justify-self: flex-end;
    width: 70%;
}
.name {
    width: 100%;
    height: 40%;
    padding-top: 0.3rem;
    font-size: 2rem;
    font-weight: 700;
    color: #2c2001;
    align-items: center;
}
.menu {
    width: 100%;
    height: 60%;
    text-transform: uppercase;
}
.menu ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
}
.menu ul li {
    margin: 1rem;
}
.menu ul li a {
    display: block;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 5px;
    color: #fcfcfa;
}
.menu ul li a:hover, .current{
    color: #ffd700;
    border: 1px solid #fff;
    border-radius: 7px;
}
.h-section{
    background-image: url(images/judgehammer.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    justify-content: center;
    margin: 12vh auto 0;
}
.h-section h2{
    text-align: start;
    color: #0e0808;
    font-size: 2.5rem;
    font-style: oblique;
    padding: 1em 60px;
}
.h-section h3 {
    padding: 1em;
    font-size: 1.5rem;
    margin-top: 1.5em;
    color: #e3fdfd;
}
.h-section h4 {
    padding: 1em;
    font-size: 1.5rem;
    margin-top: 1.5em;
    margin-bottom: 1rem;
    color: #e3fdfd;
}
.action {
    justify-content: center;
}
.action a{
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 50px;
    margin-right: 5em;
    background-color: #2c2001;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
}
.action a:hover {
    background-color: #fff;
    color: #2c2001;
}
.latest-news-events h2 {
    color: #000;
    text-align: center;
    margin: 10px 0;
    
}
.latest-details img {
    float: left;
    width: 100px;
    height: 120px;
    margin: 5px 10px;
}
.latest-details p {
    font-size: 18px;
}
.first-letter-big::first-letter {
    initial-letter: 2;
    color: #ffd700;
    text-shadow: 5px 0 5px #2c2001;
}
.legend {
    text-align: center;
    padding-bottom: 1em;
}
.legend h2{
    padding: 1.2em;
    color: #2c2001;
}
.areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 1em 1em;
    text-align: center;align-items: center;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 1em;
    background-color: rgba(184, 134, 11, 0.2);
}
.legend a {
    width: auto;
    padding: 0.5em;
    background-color: #000000;
    color: #ffd700;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 2em;
}
.legend a:hover {
    color: #000000;
    background-color: #ffd700;
}

.legend p {
    display: block;
    width: 25%;
    background-color: #2c2001;
    color: #fff;
    margin: 0.2em;
    padding: 0.4em;
    font-size: 1.5rem;
    border-radius: 10px;
}

/* Services */
.s-section{
    width: 100%;
    margin-top: 18vh;
    display: flex;
}
.main{
    width: 75%;
}
.main h1 {
    padding-top: 1.2em;
    color: #000000;
}
.main h2 {
    color: #2c2001;
}
.main h1, h2{
    width: 100%;
    text-align: center;
    
}
.art-h {
    margin: 1rem;
    color: #0e0808;
    font-size: 24px;
}
.by-line {
    float: right;
    margin-right: 15px;
}

.art-content {
    margin: 0.5em 2em 2.5em;
    padding: 0.5em;
    font-size: 1.5em;
}
.art-content>p::first-letter {
    initial-letter: 2;
    color: #ffd700;
    text-shadow: 5px 0 5px #2c2001;
}
.art-content>p>a {
    text-decoration: none;
    font-style: italic;
}
.moreTexta, .moreTextb {
    display: none;
}
.read-more-btna, .read-more-btnb {
    padding: 5px;
    background: #2c2001;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}
.texta.show-more .moreTexta {
    display: inline;
}
.texta.show-more .dots {
    display: none;
}
.textb.show-moreb .moreTextb {
    display: inline;
}
.art-container {
    width: 98%;
    margin: 0 auto;
    padding: 1rem;
    background-color: #ffedfa;
}
.article-h {
    margin: 1.5rem;
    font-size: 28px;
    color: #0e0808;
}
.article-h em {
    font-size: 18px;
    font-weight: 400;
}
.full-article {
    width: 100%;
    font-size: 1.3rem;
}
.card-frame {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.card {
    width: 48%;
    margin: 1.5em 0;
}
.card h2 {
    text-align: start;
    margin-left: 1.5em;
}
.card ul {
    margin-left: 3em;
}
.card ul li {
    display: block;
    margin: 0.5em;
    line-height: 1.2em;
    font-size: 1.3rem;
    border-left: 1px solid #fff;
    padding-left: 10px;
}
.card p {
    margin-left: 1.5em;
    font-size: 1.4em;
}
.card p a {
    display: inline-block;
    color: #ffd700;
    text-decoration: none;
    background-color: #2c2001;
    padding: 2px;
    border-radius: 5px;
}
.card p a:hover {
    color: #0000ff;
    background-color: #fff;
    font-weight: bold;
}
.card .shwhid {
    display: none;
}
/*lawyer profile*/
.lp-section {
    margin-top: 18vh;
}
.summary-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 98%;
    height: 100%;
    margin: 0 auto;
    background-color: #faf7d4;
}
.summary-info figure {
   
    width: 25%;
    height: 100%;
}
.summary-info figure img {
    width: 100%;
    height: 100%;
    margin: 0;
}
.summary-info .brief-info {
    width: 60%;
    font-size: 2rem;
    line-height: 2rem;
}
.summary-info .brief-info p {
    margin-top: 2rem;
}
.summary-info .brief-info strong {
    text-decoration: underline;
}
.profile {
    display: flex;
    width: 90%;
    margin: auto;
}
.profile h1, .profile h2 {
    color: #000;
    text-align: start;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
}
.profile p {
    font-size: 1.3rem;
    line-height: 1.7rem;
}
.profile ul {
    list-style: none;
    margin-left: 2rem;
    line-height: 1.5rem;
    margin-bottom: 1.4rem;
    font-size: 1.3rem;
}
.profile-details {
    width: 70%;
}
.spects {
    width: 30%;
    text-align: center;
    margin-top: 2.5rem;
    border-left: oldlace 2px solid;
    border-right: oldlace 2px solid;
}

.spects h3 {
    margin: 1.5rem 2rem;
    font-size: 1.8rem;
}
.contct {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    background-color: #e3fdfd;
}
.contct img {
    width: 98%;
    margin: 5px auto;
}
.side{
    width: 25%;
    margin-bottom: 0;
    background: #2c2001;
}
.side h1 {
    padding-top: 1.5em;
}
.side h1, h2 {
    padding-left: 1.5em;
    color: #ffd700;
}
.snip-arts {
    padding-left: 1.5em;
    background-image: url(images/patternbg7.jpg);
    background-repeat: repeat-x;
    background-size: contain;
    margin: 0 12px;
    border-radius: 5px;
    justify-content: center;
}
.snip-arts p {
    line-height: 1.2em;
    font-size: 1.2em;
    margin: 0.6em 5px;
}
.l-adv {
    width: 98%;
    justify-content: center;
    align-items: center;
    margin: 2.5em auto;
    text-align: center;
}
.l-adv h2 {
    padding-top: 1.2em;
}
.l-adv img {
    width: 90%;
    height: 90%;
    margin: 2%;
    padding-top: 1.5em;
    object-fit: contain;
}
.l-adv p {
    color: #fff;
}
.l-adv a {
    color: #0000ff;
    text-decoration: none;
    margin-bottom: 2em;
    padding-bottom: 2em;
}
.l-adv a:hover {
    font-size: larger;
}
#map {
    width: 98%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#map img {
    width: 90%;
}
footer {
    display: flex;
    padding: 0.4em 2rem;
    gap: 2rem;
    background-color: rgba(184, 134, 11, 0.2);
    height: auto;
}
footer .logo {
    width: 30%;
}
footer .logo img {
    width: 100%;
}
footer .c-a-f {
    width: 70%;
    font-size: 1.3rem;
    flex-direction: column;
}
.copyright h2 {
    color: #2c2001;
}
.copyright p{
    font-size: 1rem;
    text-align: center;
}

@media(max-width: 800px){
    .menu ul li a {
        color: #faf7d4;
    }
    .h-section{
        background-size: 100% 100%;
    }
    
    .h-section h2{
        font-size: 2.2rem;
        padding: 1em 40px;
    }
    .h-section h3 {
        padding: 0.5em;
        margin-top: 0.5em;
    }
    .action {
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }
    
    .action a{
        width: 30%;
        padding: 5px;
        margin-left: 35%;
        margin-bottom: 0.5em;
        font-size: 1.2rem;
        justify-items: center;
    }
    .s-section {
        flex-direction: column;
    }
    .main {
        width: 98%;
    }
    .side {
        width: 98%;
        background: #2c2001;
    }
    .profile {
        width: 98%;
    }
    .card .shwhid {
        display: block;
    }
    .lp-section {
        margin-top: 12vh;
    }
    .summary-info figure {
        width: 50%;
    }
    
    .summary-info .brief-info p {
        margin-top: 4rem;
        font-size: 1.2rem;
    }
    .contct .e-mail {
        font-size: 1rem;
    }
}


@media(max-width: 550px) {
    nav {
    height: 13vh;
    }
    .name {
        font-size: 1.3rem;
        padding-bottom: 0.2em;
    }
    .menu ul li {
        margin: 0.2rem;
    }
    .menu ul li a{
        font-size: 0.9rem;
        margin-top: 0.3rem;
        padding: 3px;
    }

    .h-section h2{
        text-align: center;
        font-size: 2rem;
        padding: 0.8rem 40px;
    }
    .h-section h3 {
        padding: 0.7em;
        font-size: 1.7rem;
        margin-top: 0.5em;
    }
    .action a{
        line-height: 1.2em;
        font-size: 1rem;
    }
    .areas {
        flex-direction: column;
    }
    .areas p {
        width: 98%;
    }
    .card-frame {
        flex-direction: column;
    }
    .card {
        width: 98%;
    }
    
    .summary-info .brief-info {
        line-height: 1.5rem;
    }
    .summary-info .brief-info p {
        margin-top: 3.5rem;
    }
    .contct h3, .contct p {
        font-size: 0.8rem;
    }
    .contct .e-mail {
        font-size: 0.6rem;
    }
    
    footer .logo {
        width: 25%;
        padding: 0.3rem;
    }
    footer .logo img {
        max-height: 100px;
    }
    footer .c-a-f {
        width: 80%;
        font-size: 1rem;
    }
    .copyright p{
        font-size: 0.5rem;
    }
}
