.resources-matrix {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.resources-matrix-row {
    align-items: flex-end;
    display: flex;
    & > div {
        margin: .25rem;
    }
}

.resources-matrix-category {
    align-items: center;
    background: #111;
    border: 1px solid black;
    color: white;
    display: flex;
    justify-content: center;
    padding: .5rem;
    width: 8rem;
    img {
        height: 1rem;
        margin-right: auto;
        width: 1rem;
    }
    span {
        display: block;
        margin: .25rem;
    }
}

.resources-matrix-item {
    align-items: center;
    background-color: rgba(17, 17, 17, 0.925) !important;
    color: white;
    display: flex;
    height: 3rem;
    justify-content: center;
    width: 7rem;
}

.resource-info {
    align-items: flex-start;
    background: #111;
    border: 1px solid #000;
    border-radius: .25rem;
    color: #eee;
    display: flex;
    flex-direction: column;
    padding: .5rem;
    width: 100%;

    h3 {
        align-self: stretch;
        color: white;
        font-weight: lighter;
        margin: 6px;
        text-align: center;
        text-transform: uppercase;
    }

    img {
        height: 6rem;
        transform: scale(0.8);
    }

}

.resource-info-row {
    display: flex;
    text-align: center;
    width: 100%;
    &.center-row {
        justify-content: center;
    }
}

.info-description {
    margin-left: 1rem;
    text-align: left;
    width: calc(100% - 8rem);
}

.info-image {
    background: #000;
    border: 1px solid #222;
    border-radius: 50%;
    align-items: center;
    display: flex;
    justify-content: center;
    height: 8rem;
    width: 8rem;
}

.image-fish {
    background: #f9a885
}

.image-banana {
    background: #8f58f6;
}

.image-cattle {
    background: #ccb7ac;
}

.image-gems {
    background: #ccffc9;
}

.image-horses {
    background: #4db8b4;
}

.image-wood {
    background: #495b74
}

.image-chihuahuas {
    background: rgb(94, 48, 26);
}

.image-spaghetti {
    background: rgb(168, 57, 57);
}

.image-spices {
    background: rgb(109, 185, 109);
}

.image-gold {
    background: rgb(70, 16, 70);
}

.image-silver {
    background: rgb(211, 189, 64);
}

.image-oil {
    background: rgb(168, 8, 8);
}