/* styles for about page */
.ghgtitleImg {
    height: 300px;
    background-image: url(../images/ghgtitle.jpg);

    background-position: 50% 58%;
    background-size: cover;
    background-repeat: no-repeat;

    & h1 {
        margin: 0;
        padding: 50px;
        color: #2d4492;
        text-shadow: 2px 2px 4px #f0f0f0;
    }
}

.content {
    font-size: larger;

    & h4 {
        text-align: center;
    }

    & img {
        width: 50%;
    }

    & .header {
        padding: 10px 4%;
        margin-bottom: 2%;
        color: #fff;
        background-color: #2d4492;

        & p, h4 {
            text-shadow: 2px 2px #000, 0 4px 8px #2d449233, 0 6px 20px #2d449230;
        }
    }

    & .point {
        margin: 30px 4%;
    }
}

.withpic {
    display: flex;
    margin-top: 30px;

    & p {
        flex: 1;
        margin: auto;
        margin-right: 25px;
    }

    & img {
        margin: auto;
        width: 10%;
        max-width: 600px;
        flex: auto;
        border: 5px solid #2d4492;
        border-radius: 5px;
        box-shadow: 0 4px 8px 0 #2d449233, 0 6px 20px 0 #2d449230;

        &.special {
            background-color: #f0f0f0;
        }
    }
}

/*adjustment for smaller screens*/
@media (max-width: 935px) {
    .withpic {
        flex-direction: column;

        & img {
            width: 100%;
            margin: 20px auto;
        }
    }
}