#main-container {
    padding: 0;
    position: relative;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-image: url("../Resimler/bg-image.jpg");
    background-attachment: fixed;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#main-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.about-image {
    margin: 2rem;
}

.middle-div {
    padding-bottom: 0 !important;
}

.about-us {
    margin: 2rem auto;
    max-width: 1080px;
}

.about-images-container img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 0.1rem solid #FFD700;
    border-radius: 1rem;
    transition: border-color .5s ease-in-out;
    cursor: pointer;
}

.about-images-container img:hover {
    border-color: #8B0000;
}

.about-paragraph h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    display: inline-block;
    border-bottom: .2rem solid #8B0000;
}

.about-paragraph p {
    padding: 0 1rem;
}

.about-paragraph {
    margin: 0rem auto;
    font-size: 1rem;
    line-height: 1.6;
    padding-bottom: 1rem;
}
    
.about-images-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1000px;
    justify-items: center;
}

#main-container > * {
    position: relative;
    z-index: 2;
}