* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 7px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.5;
    text-align: center;
    background-color: #333;
}

main {
    background-color: #2d3d4f;
}

a {
    text-decoration: none;
}

p {
    padding: 1.6rem;
}

img {
    width: 100%;
    height: auto;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.text-uppercase {
    text-transform: uppercase;
}

header .bg-image {
    position: absolute;
    background-image: url(bg1.jpg);
    background-size: cover;
    background-position: center;
    height: 34rem;
    width: 100%;
    opacity: 0.4;
    z-index: -1;
    background-color: #333;
}

header h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 12rem;
    padding-bottom: 0;
}

#section-d .box {
    padding: 5rem;
    background-color: #2d3d4f;
}

#section-d .box:first-child {
    background-color: #2F4F4F;
}

.a1 {
    padding: 5rem;
    border-radius: 50px;
    background-color: #2d3d4f;
}

.a2 {
    padding: 5rem;
    border-radius: 50px;
    background-color: #2F4F4F;
}

.attorney-photo {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border: 3px solid #ffd700;
    background-color: white;
    padding: 10px;
}

#section-d .box1 {
    background-color: #2d3d4f;
    padding: 2rem;
}

.hakkimizda-kutu {
    background-color: white !important;
    color: black !important;
    padding: 3rem !important;
    border-radius: 20px !important;
    margin: 1rem !important;
}

.hakkimizda-kutu h2 {
    color: #333 !important;
    margin-bottom: 2rem !important;
    font-size: 2.5rem !important;
}

.hakkimizda-kutu p {
    color: #555 !important;
    text-align: justify !important;
    line-height: 1.8 !important;
    font-size: 1.4rem !important;
}

footer {
    font-size: 1rem;
    padding: 4rem;
    background: black;
}

footer a {
    color: yellowgreen;
}

@media screen and (min-width:800px) {
    html {
        font-size: 9px;
    }
    
    .attorney-photo {
        width: 220px;
        height: 220px;
    }
}

@media screen and (min-width:1200px) {
    html {
        font-size: 11px;
    }

    #section-b li {
        width: 28%;
        margin: 1%;
        display: inline-block;
    }

    .box {
        width: 50%;
        float: left;
    }
}