@import url(https://fonts.googleapis.com/css?family=Montserrat:500);

:root {
    --white: hsl(0, 0%, 100%);
    --white-1: hsl(0, 0%, 100%);
    --white-2: hsl(0, 14%, 98%);
    --xiketic: hsl(277, 25%, 10%);
}

.about-banner img {
    border-radius: 10px;
    max-height: 350px;
    width: auto;
}

.about {
    background-color: var(--white);
}

.hero {
    background-image: url("../images/hero-1.jpg");
    height: 300px;
    padding-block-start: 100px;
}

.hero .container {
    text-align: left;
}

.hero-title {
    font-weight: 800;
}

/* related services */
.related .container {
    max-width: 100rem;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.heading {
    /* font-family: "Montserrat", Arial, sans-serif; */
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    padding: 3.5rem 0;
    color: #1a1a1a;
}

.heading span {
    display: block;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem -1rem;
}

.gallery-item {
    flex: 1 0 24rem;
    margin: 1rem;
    box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border-radius: 5px;
    height: 100%;
    background-color: #1a1a1a;
}

.gallery-image {
    display: block;
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 1px;
    transition: transform 400ms ease-out;
}

.image-description {
    padding-top: 10px;
    /* padding-bottom: 10px; */
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: var(--white);
}


.gallery-item:hover {
    /* transform: scale(1.15); */
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.4);
}

@supports (display: grid) {
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
        grid-gap: 3.5rem;
    }

    .gallery,
    .gallery-item {
        margin: 0;
    }
}


/* Media query for screens with a width of 1200px */
@media (min-width: 1200px) {
    .hero {
        height: 300px;
        min-height: auto;
    }
}

/* Media query for adjusting font size on small screens */
@media screen and (max-width: 767px) {
    .hero {
        height: 250px;
    }

    .hero-title {
        font-size: 2.5rem;
        /* Adjust the font size as needed for small screens */
    }
}