/** Allgemein **/

/* Set Charset -> Used for images with special chars */
@charset "UTF-8";

/* Font import */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Poppins:wght@400;600;700&display=swap');

body {
    letter-spacing: 1px;
}

.min-vh-50 {
    min-height: 50vh;
}

.font-open-sans {
    font-family: 'Open Sans', sans-serif;
}

.cursor-pointer {
    cursor: pointer;
}

/** CSS Grid **/
.container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 15em 15em 15em 15em;
}

#info-block {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: center;
}

#open-block {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: center;
}

#img-info-block {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
}

/** Images **/
.img-header {
    color: white;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 7em;
    padding-bottom: 7em;
    background-blend-mode: darken;
    background-color: rgba(0,0,0, .65);
}

.img-width-search {
    width: 30%;
}

.img-h-3 {
    height: 3em;
}

.img-long {
    object-fit: cover;
    min-height: 100%;
    max-width: 100%;
}

.bg-img {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-darker {
    background-blend-mode: darken;
    background-color: rgba(0,0,0, .45);
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.bg-darker:hover {
    background-color: #00000099;
}
.bg-half-img {
    min-height: 250px; /* Could cause issues in some cases.. */
}

#index-buecherecke {
    background-image: url("../img/sowas_bücherschrank.jpg");
    background-position-y: 20%;
}

#tafel {
    background-position-y: 0;
}

#index-Sowas {
    background-image: url("../img/sowas_waren_klein.jpg");
}

#index-moebelshop {
    background-image: url("../img/sowas/moebelshop_tische.jpg");
}

#index-helfen-sie-mit {
    background-image: url("../img/helfensiemit_hands.jpg");
}

#index-spenden {
    background-image: url("../img/spenden_hand.jpg");
}

#sowas-header {
    background-image: url("../img/sowas/sowas_seitlich_lang.jpg");
}
#sowas-helfe-sie-mit {
    background-image: url("../img/sowas/sowas_seitlich_lang.jpg");
    background-position: 0 80%;
}

/** Navbar **/
.nav-link {
    text-transform: uppercase;
}

li.active {
    font-weight: 700;
}

.form-control:focus {
    box-shadow: none;
}

button:focus.navbar-toggler {
    outline: none;
}


/** Button **/
.btn:focus.btn-secondary:active.btn-secondary:hover.btn:hover {
    box-shadow: none;
    background-color: #FE697D;
    border: solid 2px #FE697D;
}


/** Accordeon **/
.collapsed {
    font-weight: normal;
}

.accordion-btn.collapsed::after {
    content: "+";
}

.accordion-btn::after {
    content: "-";
    float: right;
    right: 0;
    top: 0;
}


/** Respnsive < lg **/
@media (max-width: 1300px) {
    .min-vh-50 {
        min-height: 33vh;
    }

    /** Button **/
    .btn {
        font-size: 18px;
        width: 100%;
    }

    .img-width-search {
        width: 50%;
    }
}

/** Respnsive > lg **/
@media (min-width: 1300px) {
    .min-vh-25 {
        min-height: 25vh;
    }
}

@media (min-width: 768px) {
    #bg-donate {
        background: linear-gradient(90deg, #56AF31 50%, white 50%);
    }
}


@media (max-width: 768px) {
    /* Responsive Font Size */
    h1 {
        font-size: 2rem;
    }

    .h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.3rem;
    }

    h5 {
        font-size: 1.1rem;
    }

    h6 {
        font-size: 1.0rem;
    }

    a {
       font-size: 1rem;
    }

    p {
        font-size: 1rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .img-header {
        padding-top: 2em;
        padding-bottom: 2em;
    }

    .img-width-search {
        width: 100%;
    }
}


.card-body.pt-0.pl-0 a {
    color: #004B95;
    text-decoration: underline;
}

/* Sponsor block fix */

.wp-block-media-text__media img {
    height: auto!important;
}