/* -------------- algemene instellingen tegel ---------- */
.floor .show-room {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 2;
    justify-content: space-between;
    align-content: flex-start;
    max-width: 75%;
    max-height: 90%;
    padding: 0 1rem 0 0;
}

.show-room .tile {
    width: 38%;
    height: 41%;
    margin-top: 1rem;
    background-color: white /*rgb(244,240,236)*/;
    border: rgb(12, 12, 12) solid 1px;
    position: relative; /* masker is absoluut geplaatst hierop*/
    text-align: center;
    cursor: pointer;
    color: black;
    overflow: hidden;
}


.show-room a.tile {
    text-decoration: none;
}

.show-room .tile > .image {
    width: 100%;
    height: 60%;
    margin-top: 1rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.show-room .tile > .subject {
    margin-top: 1.2rem;
    width: 100%;
    height: 100%;
}

.show-room .tile:hover .mask {
    opacity: 1;
    top: -40%;
}

.show-room .tile:hover .mask h3 {
    opacity: 1;
}

.show-room .tile:hover .mask p {
    opacity: 1;
}

.show-room .tile .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
    transition: top .2s ease-in;
    opacity: 0;
    background-color: #fff;
}

.show-room .tile .mask h3 {
    margin-bottom: 1rem;
    transition: opacity 0.8s ease;
    opacity: 0;
}

.show-room .tile .mask p {
    transition: opacity 0.8s ease;
    opacity: 0;
    padding: 0 1rem 0 1rem;
}

.show-room .tile .mask .content {
    margin-top: 1rem;
    width: 100%;
    height: 100%;
}

.show-room .tile .mask .image {
    width: 100%;
    height: 45%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.floor#wids > .show-room  .tile:first-child .image {
    background-image: url('../image/math.jpg');
}

.floor#wids > .show-room  .tile:nth-child(3) .image {
    background-image: url('../image/neural-network-data-science2.png');
}

.floor#wids > .show-room  .tile:nth-child(5) .image {
    background-image: url('../image/vub01.jpg');
}

.floor#wids > .show-room  .tile:nth-child(7) .image {
    background-image: url('../image/uniek01.png');
}

.show-room .sign {
    width: 4rem;
    height: 34%;
    background-color: white /*rgb(244, 240, 236)*/;
    color: rgb(233,83,14);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    font-size: 3rem;
    padding-bottom: 0.5rem;
}
