@import url(modules/module_default.css);
@import url(modules/module_header.css);
@import url(modules/module_info-line.css);
@import url(modules/module_hero.css);
@import url(modules/module_section.css);
@import url(modules/module_footer.css);


.hero_image_bee
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: flyingBee 7s ease-in-out infinite;
}

@keyframes flyingBee {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) translateX(20px) rotate(10deg);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
}

.container-center
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.vorstandschaft
{
    padding: 3rem 10%;
    background: var(--color-accent-secondary);
    /*background: linear-gradient(25deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 10%, var(--color-accent-secondary) 10%, var(--color-accent-secondary) 78%, rgba(0, 0, 0, 0) 78%, rgba(0, 0, 0, 0) 100%);
    */
    background: url(../../resource/images/background_hexagon_transp.svg);
    background-size: cover;
    margin-bottom: 5rem;
    color: var(--color-background-light);
}

    .vorstandschaft h2
    {
        text-align: left;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .vorstandschaft .member-grid
    {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        flex-wrap: wrap;
        gap: 2.5rem;
        margin-top: 2rem;
        justify-content: center;
        color: var(--color-text-primary);
    }

        .vorstandschaft .member-grid .member
        {
            min-width: 300px;
            flex: 1;
            position: relative;
            overflow: hidden;
            border-radius: 0.5rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            background-color: #fff;
        }

            .vorstandschaft .member-grid .member:hover
            {
                transform: translateY(-5px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            }

        .vorstandschaft .member-grid img
        {
            width: 100%;
            height: auto;
            border-radius: 0.5rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .vorstandschaft .member-grid .info
        {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: #fff;
            padding: 1rem;
            text-align: center;
            border-radius: 0 0 0.5rem 0.5rem;
        }

            .vorstandschaft .member-grid .info .name
            {
                font-size: 1.5rem;
                font-weight: 600;
            }