/*
Theme Name:   cnn
Description:  Light weight, stripped back theme
Author:       Katrien Moore
Author URI:   https://bemoore.com
Template:     BeMo
Version:      1.0.0
*/

.open-section {

    background-attachment: fixed !important;
}

/*-----------intro--------*/
div.intro > div.col-md-6.col-sm-12.match_height.d-flex.align-items-center.justify-content-center.flex-column > p {
    text-align: center;
    padding: 10px;
    font-family: var(--header-font);
    font-size: 18px;
    font-weight: 900;
}

div.intro img {
    border-radius: 25px;
    padding: 10px;

}

.intro-padding {
    padding: 50px 0px;
}

/*-------------projects--------*/
.projects {
    background: linear-gradient(var(--red), var(--brown));
    padding: 4rem 0rem;
}

.projects-wrap img {
    margin-bottom: 30px;
    padding: 0px 20px;
}

/*----------help---*/
.help {
    /* background: var(--light-pink);*/
    padding: 4rem 0rem;
}

.brown {
    color: var(--brown);
}

.help-image {
    max-height: 250px;
    padding: 20px;
}

.home-h1 {
    font-size: 4rem;
    margin-bottom: 3rem;
    text-align: center;
}


/*--posts on home--*/

.posts-on-home-h1 {
    padding: 5rem 0rem;
    margin-bottom: 0px;
    background: #F5F1F0;
}

.post-inside-2 > article {
    background: none;
}

.post-inside-2::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.4);
    /* Change the color and opacity as needed */
}

/*-----------open section------*/
.open-section p {
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1rem;
    margin: 0 auto;
    letter-spacing: 0.1rem;
    text-align: center;
    font-family: var(--header-font);
}



.open-section-text > div {
    padding: 10px;
}

.open-section-text > div > p > i {
    margin-bottom: 20px;
}


/*----------news--------*/
.home-post-title-2 > h4 {
    min-height: 55px;
}

.post-inside-2 {}

/*-----------member----------*/

.member-pic > img {
    /* transform: rotate(-15deg);
    max-height: 300px;*/
    border: 3px solid #dedede;
    border-radius: 25px;
    padding: 25px;
    background: #fff;
}

.membership {
    background: var(--light-pink);
}

@keyframes get-bigger {
    0% {
        font-size: 3rem;
        color: var(--sub-heading);
    }

    100% {
        font-size: 4rem;
        color: var(--heading);
    }
}

.membership {

    padding: 40px 0px;
}

.member-text > p:nth-child(2) {
    padding: 0px 20px;
}

/*---------------education----------*/
.educational {
    background: var(--yellow);
}

.edu-text {
    padding: 30px;
}

.edu-text > p:nth-child(2) {
    padding-bottom: 20px;
}

.edu-text > h2 {
    text-align: center;
}

/*------------events------------------*/
.home-events {
    background: var(--blue);
    padding: 30px 0px;
}

.home-event {
    margin-bottom: 30px;
}

.home-event {
    flex-wrap: wrap;
}

.home-event {
    flex-basis: 33.33333%;
    flex-grow: 1;
}

.home-event-in {
    background: white;
}

.home-event-in > div > h4,
.home-event-in > div > p {
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
}

div.even-home-more > p > a {
    border-radius: 0px;
    display: block;
    Width: 100%;
    text-align: center;
}

.home-event-image {
    text-align: center !important;
}