/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/********************
1. Projekte
2. Team
********************/


/********************
1. Projekte
********************/  
#project-categories,
#project-objects {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    justify-content: center;
    margin: 10px;
}

.project-category,
.project-object {
    padding: 3px 15px;
    cursor: pointer;
    margin: 5px;
}


.project-category.active,
.project-object.active,
.project-category:hover,
.project-object:hover {
    background-color: #E30613;
    color: #fff;
}

.project-category,
.project-object {
    font-weight: 600;
}

.llm-projects {
    display: flex;
    flex-wrap: wrap;
}

.llm-project-item {
    display: none;
    position: relative;
    width: 29%;
    margin: 2%;
    padding: 0 0 29% 0;
}


.show_project {
    display: block;
}

.llm-project-image {
    position: absolute;
    height: 100%;
    overflow: hidden !important;

}

.llm-project-image img {
    height: 100% !important;
    object-fit: cover;
    transition: transform .8s;

}

.llm-project-image img:hover {
    transform: scale(1.2);
}


.llm-main-info {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 15px;
}

.llm-project-title {
    width: 100%;
}

.llm-project-excerpt {
    width: 100%;
}

.llm-main-info p {
    display: inline;
    font-weight: 600;
    font-size: 1.2em;
    color: #E30613;
    background: #fff;
    padding: 2px 5px;
    margin: 0px;
    line-height: 1.8em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

@media (max-width: 1024px) {

    .llm-project-item {
        width: 48%;
        margin: 1%;
        padding: 0 0 48% 0;
    }

    .llm-main-info p {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .llm-project-item {
        width: 100%;
        margin: 15px;
        padding: 0 0 95% 0;
    }

    .llm-main-info p {
        font-size: 20px;
    }
}



/********************
2. Team
********************/
.team-name {
    font-size: 14px;
    font-weight: 700;
}

#teamCat {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    justify-content: center;
}

.teamItem {
    padding: 3px 15px;
    cursor: pointer;
    border: 1px solid #F2F2F2;
    margin: 5px;
    font-size: 14px;
}

.teamItem.active {
    background-color: #E30613;
    color: #fff;
}

.teamItem:hover {
    background-color: #C3020D;
    color: #fff;
}

.llm_team {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    transition: all 1s;
}

.team-member {
    visibility: hidden;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    background-color: #fff;
}

.team-image img {
    width: 100%;
    height: 200px;
    border-bottom: 1px solid #E30613;
    object-fit: cover;
    object-position: center top;
}

.team-main-info {
    display: flex;
    background: #fff;
    padding: 5px 15px;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    color: #E30613;
    width: 100%;
}

.team-name a:hover {
    color: #C3020D;
}

.e-mail_adresse {
    top: 0;
    right: 0;
}

.team-funktion {
    width: 100%;
    font-size: 14px;
    padding: 5px 15px;
    min-height: 60px;
}

.show {
    visibility: visible;
    width: 23%;
    height: 100%;
    margin: 1%;
    opacity: 1;
    transition: all 0.8s;

}

@media (max-width: 768px) {
    .show {
        width: 46%;
    }
}

@media (max-width: 375px) {
    .show {
        width: 100%;
        margin-bottom: 15px;
    }

}