#com-char{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(1rem, 18rem));
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 4rem;
    grid-row-gap: 2rem;
    width: 100%;
    justify-content: center;
}

.com-char-item{
    background: rgb(204, 204, 204);
    position: relative;
    overflow: hidden;
    height: 15rem;
    width: 100%;
    z-index: 1;
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: all 0.2s;
}

.com-char-item-content:hover >
.com-char-item-top{
    transform: translateY(-15rem);
}

.com-char-item-content:hover >
.com-char-item-bottom{
    transform: translateY(-15rem);
}

.com-char-item-content{
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    height: 100%;
    transition: all 300ms ease-in-out;
    border-radius: 0.5rem;
}

.blob {
    filter: blur(40px);
    position: absolute;
    opacity: 0;
    z-index: -1; /* to keep it at below everything else */
    top: 0; /* to align it at top */
    left: 0; /* to align it at left */
    width: 250px;
    height: 250px;
    border-radius: 50%; /* to make it circular */
    background: #00558797;
    transition: all 1s;
}

.fakeblob {
    display: hidden;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
  }

.com-char-item-top{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    color: black;
    transition: all 0.4s;
}

.com-char-item-top span{
    color: var(--blue);
    font-size: 5rem;
    font-weight: 100;
}

.com-char-item-bottom{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 1rem 0 1rem;
    transition: all 0.4s;
}

.com-char-item-bottom p{
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
}

/*
    This site was made by Jakub Golias & Erik Zelinsky from school SPSTBJ.
             We created this site as Erasmus+ participants.
                            ©2023 Vienna
*/