#cardcontainer {
margin: 3rem 0rem 0rem 0rem;
display: grid;
grid-template-columns: auto auto auto auto;
grid-gap: 2rem;
justify-content: center;
text-align: left;
}
#cardcontainer p, #cardcontainer ul {
padding-left: 20px;
padding-right: 20px;
}
}
@media only screen and (max-width: 1024px) {
#cardcontainer {
grid-template-columns: auto auto auto auto;
grid-gap: 1.5rem;
}
}
@media only screen and (max-width: 991px) {
#cardcontainer {
grid-template-columns: auto auto;
grid-gap: 5rem;
margin: 3rem 3rem 0rem 3rem;
}
}
@media only screen and (max-width: 620px) {
#cardcontainer {
grid-template-columns: auto;
grid-gap: 6rem;
}
}
@media only screen and (max-width: 480px) {
#cardcontainer {
grid-template-columns: auto;
grid-gap: 3rem;
}
}
@media only screen and (max-width: 380px) {
#cardcontainer {
grid-template-columns: auto;
grid-gap: 1rem;
margin: 3rem 1rem 0rem 1rem;
}
}
.card {
background-color: #ebebeb;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: space-between;
-webkit-transition: all 1.0s;
-moz-transition: all 1.0s;
transition: all 1.0s;
padding-bottom: 1.5em;
}
.card:hover {
background: #f39001;
color: #fff;
}
.card__image {
height: 18rem;
width: 100%;
object-fit: cover;
}
.card__body {
line-height: 1.5em;
}
#cardcontainer .name {
font-family: 'Raleway', sans-serif;
font-weight:700;
font-size: 1.6em;
line-height: 1.4em;
padding-top: 20px;
}
#cardcontainer .function1 {
font-size: 1.2em;
line-height: 1.4em;
font-weight: 700;
}
/* 
#cardcontainer ul li:before {
font-family: "Font Awesome 5 Free"; 
font-weight: 900; 
color: #fff;
font-size: 12px;
margin-right: 8px;
content: "\f111 ";
}
#cardcontainer ul li {
margin: 0 20px 10px 20px;
padding: 0 0 0 0;
list-style-type: none;
line-height: 1.6em;
background : none;
}
*/
#contentcontainer ul li {
margin:0 0 10px 0;
padding:0 0 0 25px;
background : url(img/li-cards.png) no-repeat 0px 7px;
list-style-type: none;
line-height: 1.6em;
}
.mobil:before, .telefon:before {
font-family: "Font Awesome 5 Free"; 
font-weight: 900; 
font-size: 1.2em;
padding-right: 10px;
}
.telefon:before {
content: "\f095   ";
}
.mobil:before {
content: "\f3cd   ";
}
}

