#wiki-races__content {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
    background-size: 100% 336px;
    background-repeat: no-repeat;
    padding-bottom: 168px;
}

#race-heading {
    margin: 48px 0;
}

#race-heading h1 {
    font-size: 32px;
    margin-bottom: 24px;
}

#race-heading p {
    font-size: 16px;
    max-width: 740px;
    margin: 0 auto 20px;
}

#races-row {
    display: flex;
    flex-direction: row;
}

.race {
    background: rgba(16, 16, 16, 0.8);
    border-radius: 10px;
    width: 100%;
    margin: 0 4px;
    text-align: center;
    background-position: bottom center;
    background-repeat: no-repeat;
    transition: .2s linear;
}

.race-type {
    visibility: hidden;
    position: relative;
    z-index: 11;
}

.race-row {
    display: flex;
    flex-direction: row;
    position: relative;
}

.race-row::after {
    display: block;
    content: "";
    width: 100%;
    height: 144px;
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 86.73%);
    border-radius: 0 0 10px 10px;
}

.race-name {
    margin-bottom: 28px;
}

.race-icon {
    margin-bottom: 8px;
    padding-top: 24px;
}

.race-icon img {
    height: 56px;
    display: block;
    margin: auto;
    transition: .2s linear;
}

.race-type {
    width: 1px;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 136px auto;
    min-height: 378px;
    position: relative;
    transition: width .2s linear;
    visibility: hidden;
}

.race-type span {
    position: absolute;
    bottom: 38px;
    font-size: 21px;
    font-weight: 500;
    z-index: 10;
    left: 0;
    right: 0;
}

.race-type::after {
    display: block;
    content: "";
    background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 86.73%);
    width: 100%;
    height: 144px;
    position: absolute;
    bottom: 0;
    border-radius: 0 0 10px 10px;
}

.race:hover {
    width: 100%;
    transition: width .2s linear;
    background-image: none !important;
}

.race:hover .race-type {
    visibility: visible;
    width: 160px;
}

/* .race:hover .race-icon img {
    height: 80px;
} */

@media (max-width: 992px) {
    #races-row {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .race {
        width: 30%;
        margin-bottom: 24px;
    }

    .race:hover {
        width: 30%;
    }

    .race-type {
        visibility: visible !important;
    }
}

@media (max-width: 640px) {
    .race {
        width: 100%;
        background-image: none !important;
    }

    .race:hover {
        width: 100%;
    }

    .race:hover .race-type,
    .race-type {
        width: 50%;
    }
}