﻿.about-container {
    width: 100%;
    background-image: url(../../images/about_us.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
    color: white;
    text-align: justify;
    min-height: 500px;
}

.about-welcome {
    display: flex;
}

.promise-container {
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    background-color: #f0f0f3;
    min-height:350px;
}

.commitment-container {
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    background-image: linear-gradient(to bottom right, #f7f7f7, #ffffff);
}

.partners-section {
    padding: 25px;
    background-color: #f0f0f3;
    text-align: center;
}

.multiple-partners {
    display: flex;
    justify-content: space-evenly;
    flex-flow: row wrap;
}

.single-partner {
    border-radius: 50%;
    z-index: 1;
    text-align: center;
    cursor: pointer;
}

/* Desktop Styles */
@media (min-width: 770px) {

    .about-container{
        height:550px;
    }

    .about-welcome {
        margin: auto 10%;
        width: 550px;
        min-width: 400px;
        border: 1px solid white;
        box-shadow: 0px 0px 23px 9px white;
        background-color: #003d82;
        opacity:0.8;
        border-radius: 0px;
    }

    .promise {
        border-radius: 5px;
        padding: 5px;
        min-width: 760px;
        width: 70%;
        background-color: #f0f0f3;
        margin: 5px auto;
    }

    .multiple-partners {
        padding: 5px 25px;
    }

    .single-partner {
        position: relative;
        width: 300px;
        height: 300px;
        padding: 25px;
        margin: auto;
    }

        .single-partner:hover {
            z-index: 2;
        }

        .single-partner > a {
            height: 250px !important;
            width: 250px !important;
            cursor: pointer;
        }

            .single-partner > a > img {
                border-radius: 50%;
                height: 250px !important;
                width: 250px !important;
                object-fit: cover;
                filter: grayscale(100%);
                cursor:pointer;
            }

                .single-partner > a > img:hover, .single-partner > a .active{
                    filter: grayscale(0);
                }

    .profile-bio {
        margin: 25px;
        padding: 25px;
        width:60%;
        height: auto;
        text-align: justify;
        background-image: linear-gradient(to bottom right, #f7f7f7, #ffffff);
    }
}

/* Mobile Styles */
@media (max-width: 890px){

    .about-container{
        background-position-x:right;
    }

    .about-container, .commitment-container {
        padding: 50px 0px;
    }

    .about-welcome {
        margin: auto;
        background-color: #003d82CC;
        border-radius: 0px;
    }

    .promise {
        border-radius: 5px;
        margin: 25px;
        width: calc(100% - 50px);
        background-color: #fefefe;
        padding: 25px;
    }

    .multiple-partners {
        margin: auto;
        padding: 25px;
    }

    .single-partner {
        width: 250px;
        height: 250px;
        margin: 25px auto;
    }

        .single-partner > a {
            height: 60% !important;
            width: 100% !important;
        }

            .single-partner > a > img {
                border-radius: 50%;
                height: 100% !important;
                width: 100% !important;
                object-fit: cover;
                cursor: pointer;
            }

    .profile-bio {
        text-align: justify;
        width:100%;
    }

}