/* Frontend */

.tile-list {
    display: flex;
    margin: auto;
    width: 100%;
    max-width: 950px;
    height: 100%;
    flex-flow: row wrap;
    align-items: flex-start;
}


.tile {
    height: 300px;
    border-radius: 15px;
    margin: 10px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: space-between;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-size: cover;
    position: relative;

    &.half {
        width: calc(50% - 20px);
    }

    &.full {
        width: 100%;
    }

    &:hover {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(74, 84, 218, 0.329);
    }

    .head {
        margin: 10px;
        z-index: 10;
    }

    h3 {
        margin: 3px;
        font-size: 1em;
        display: block;
    }

    .category {
        margin: 3px;
        font-size: 0.8em;
        font-style: italic;
    }

    .link {
        background-color: #fff;
        color: #000;
        border-radius: 10px;
        padding: 10px;
        margin: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .backgroundcolor {
        background-color: rgb(43, 43, 43);
        border-radius: 15px;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0.5;
        z-index: 0;
    }

    .link * {
        margin: 0 5px;
    }
    
}



@media screen and (max-width: 800px) {
    .tile.half {
        width: 100%;
    }
}