main img{
    max-width: 40vw;
    max-height: min(100%,40vh);
    float: right;
    margin-left: 5%;
}

main h1{
    width: 100%;
    font-size: 50px;
    transform-origin: center;
    text-align: center;
}

section{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2lh 1lh;
    margin: 1lh;
}
.lawyers article{
    width: min(90vw, 250px);
    text-align: center;
}
.articles article{
    width: min(90vw, 360px);
    text-align: left;
}
.articles p{
    font-family: "Playfair", serif;
}

h2{
    clear: both;
    transform-origin: center;
    text-align: center;
}

h3{
    font-family: "Playfair", serif;
}

.articles h3{
    font-family: "Poppins", sans-serif;
    font-weight: lighter;
}

h4{
    font-family: "Poppins", sans-serif;
}

section article span{
    max-width: 100%;
    border-radius: 30px;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
}

img{ transition: all 0.3s; max-width: 100%;}

section.lawyers article img{
    contain-intrinsic-size: 300px 250px;
}
section article img:hover{
    transform: scale(1.1);
}

.boxshadow{
    margin: 0;
}
