﻿.banner-box {
    width: 100%;
    height: 487px;
    background-color: #5EB960;
}

    .banner-box h1 {
        color: white;
        font-size: 3em;
        font-weight: 700;
        margin-left: 200px;
        position: absolute;
        top: 22%;
    }

.banner-img {
    width: 774px;
    float: right;
    position: absolute;
    top: 57px;
    right: 311px;
}

.content-box {
    margin-top: 90px;
}

h2 {
    font-size: 3.25em;
    font-weight: 700;
}

.gallery {
    margin-top: 50px;
    margin-bottom: 100px;
}

.container-1 {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1420px !important;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}


.flex-item {
    border: 2px solid #f2f2f2;
    width: 682px;
    height: 320px;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

    .flex-item:hover {
        box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 7px 7px rgba(0,0,0,0.12);
    }

    .flex-item img {
        width: fit-content;
        padding: 40px;
    }

    .flex-item h3 {
        font-size: 1.4em;
        font-weight: bolder;
        margin-top: 50px;
    }

    .flex-item div {
        font-size: 1.2em;
        padding: 12px;
    }

.green {
    color: #5bb85d;
}

@media (max-width: 1857px) {
    .banner-img {
        width: 670px;
        float: right;
        top: 130px;
        right: 40px;
    }
}

@media (max-width: 1494px) {
    .banner-box h1 {
        color: white;
        font-size: 2.5em;
        font-weight: 700;
        margin-left: 80px;
        position: absolute;
        top: 12%;
    }

    .banner-img {
        width: 530px;
        float: right;
        top: 216px;
        right: 30px;
    }

    @media (max-width: 1050px) {
        .banner-box h1 {
            color: white;
            font-size: 2.5em;
            font-weight: 700;
            margin-left: 80px;
            position: absolute;
            top: 12%;
        }

        .banner-img {
            width: 530px;
            float: right;
            top: 216px;
            right: 30px;
        }

        .flex-item {
            width: fit-content;
        }
    }

    @media (max-width: 640px) {
        .flex-item div {
            font-size: 1em;
        }
        .banner-box {
            height: 336px;
        }
        h2 {
            font-size: 2.25em;
        }

        .flex-item {
            border: 2px solid #f2f2f2;
            width: 682px;
            height: auto;
            margin-top: 20px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            justify-content: center;
        }

            .flex-item img {
                width: 199px;
                padding: 20px;
            }

        .banner-img {
            width: 440px;
            float: right;
            position: absolute;
            top: 122px;
            right: 0;
        }

        .banner-box h1 {
            font-size: 1.1em;
            font-weight: 600;
            text-align: center;
            top: 12%;
            margin-left: 120px;
        }
    }
}
