.employee-grid {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 2rem;
}

@media (min-width: 575px) {
    .employee-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (min-width: 992px) {
    .employee-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
}

.employee-element {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
    background-color: #ededed;
    padding-bottom: 2rem;
}

.employee-element:last-child {
    background-color: #326642;
    color: white;
}

.employee-element:last-child * {
    color: white;
}

.employee-element a {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}
.employee-element a:hover {
    color: #eee;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}


.employee-element > div {
    margin-left: 1.75rem;
    width: calc(100% - 2.5rem);
}

.employee-element > div p {
    margin-bottom: 0;
}

.employee-element .employee-portrait {
    margin: 0 auto;
    margin-bottom: 1.5rem;
    width: 100%;
    height: auto;
    position: relative;
}

.employee-element .employee-portrait img.portrait-hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.8s ease-in-out;
}

.employee-element:hover .employee-portrait img.portrait-hover {
    opacity: 1;
}

@media (min-width: 575px) {
    .employee-element .employee-portrait {

    }
}
@media (min-width: 992px) {
    .employee-element .employee-portrait {

    }
}