.image {
    opacity: 1;
    height: auto;
    width: 300px;
    height: 300px;
    transition: .5s ease;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.containerx:hover .image {
    opacity: 0.3;
}

.containerx:hover .middle {
    opacity: 1;
}

.textx {
    color: black;
    font-size: 4em;
    margin-top: -50px;
}

.section {
    padding: 32px max(calc(50vw - 550px), 32px);
}

.section.bg-dark {
    background-color: #222;
    color: #eee;
}

.section.bg-gray {
    background-color: #eee;
    color: black;
}

.larger {
    font-size: larger;
}

#USFlag {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.firstSection {
    margin-top: 120px;
    display: flex;
    align-items: center;
}

.spacedList li {
    margin: 24px 0px;
}

.bigImage {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.carouselImageContainer {
    color: white;
    text-decoration-color: white;
}

.carouselImageContainer img {
    max-width: min(100%, 300px);
    max-height: min(100%, 300px);
    object-fit: cover;
    aspect-ratio: 1;
    border-radius: 32px;
}

/* medium breakpoint */
@media screen and (max-width: 991px) {
    .section.whyPowderCoating .spacedList {
        padding-right: 15px;
    }

    .bigImage {
        max-width: min(100%, 500px) !important;
        max-height: min(100%, 500px) !important;
    }

    .firstSection {
        margin-top: 70px !important;
    }
}

/* large breakpoint */
@media screen and (max-width: 1200px) {
    .flex-lg,
    .firstSection {
        display: revert !important;
    }
}

.flex-lg {
    display: flex;
}

.spacedList {
    padding-right: 200px;
}

.row {
    margin-left: initial !important;
    margin-right: initial !important;
}