.grid-container-challenges {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: ". . . ."". . . ."". . . ."". . . ."". . . .";
    grid-gap: 15px 15px; 
}

@keyframes brightnesschange {
    0%   {
        filter: brightness(1);
        filter: contrast(1);
        -webkit-filter: brightness(1);
        -webkit-filter: contrast(1);
    }
    70%  {
        filter: brightness(0.9);
        filter: contrast(0.9);
        -webkit-filter: brightness(0.9);
        -webkit-filter: contrast(0.9);
    }
    100% {
        filter: brightness(1);
        filter: contrast(1);
        -webkit-filter: brightness(1);
        -webkit-filter: contrast(1);
    }
}

.challenge-outer {
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.challenge-outer:hover {
    -webkit-filter: brightness(120%);
    filter: brightness(120%);
}

.challenges-container {
    width: 100%;
    height: 260px;
    max-height: 253px;
    background: linear-gradient(180deg, #3f3f3f 21%, #1b1b1b 21%, #1b1b1b 47%, #202020 47%);
    border-radius: 5px;
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2), 0 4px 14px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.challenges-container.collapsed {
    height: 55px;
    max-height: 55px;
    background: #3f3f3f;
    background-color: #3f3f3f;
    cursor: pointer;

    /* animation-name: brightnesschange;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out; */
}

.challenges-desc-container.collapsed {
    display: none;
}

.challenges-players-container.collapsed {
    display: none;
}

.challenges-header-container {
    display: grid;
    grid-template-columns: 0.4fr 1.6fr;
    grid-template-rows: 1fr;
    grid-template-areas: ". .";
    cursor: pointer;
}

.challenges-container hr {
    height: 3px;
    background-color: #5f5f5f;
    border: none;
    margin-bottom: 0;
}

.challenges-desc-container hr.alt {
    height: 3px;
    width: 100%;
    opacity: .4;
    color: #b3b3b3;
    background-color: #b3b3b3;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(#1b1b1b), to(#1b1b1b), color-stop(50%, #b3b3b3));
}

.challenges-number {
    display: inline-block;
    margin: auto;
    margin-top: 16px;
    margin-bottom: 10px;
    margin-left: 5px;
    font-size: 32px;
    color: rgb(255, 255, 255);
    font-family: 'Play', sans-serif;
    font-weight: 700;
    color: rgb(26, 26, 26);
    text-shadow: 0px 1px 0px rgba(255, 255, 255, .3), 0px -1px 0px rgba(0, 0, 0, .7);
}

.challenges-title {
    display: inline-block;
    margin: auto;
    text-align: center;
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 18px;
    color: rgb(255, 255, 255);
    font-family: 'Play', sans-serif;
    font-weight: 700;
    color: rgb(26, 26, 26);
    /* text-shadow: 0px 1px 0px rgba(255, 255, 255, .3), 0px -1px 0px rgba(0, 0, 0, .7); */
}

.challenges-title.longer {
    margin-top: 7px;
    margin-bottom: 0px;
}

.challenges-desc {
    display: inline-block;
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    margin: auto;
    padding-top: 0px;
    color: rgb(155, 155, 155);
    font-size: 10px;
    font-family: 'Play', sans-serif;
    font-weight: 700;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
}

.challenges-reward {
    display: block;
    margin: auto;
    margin-top: 0 !important;
    color: rgb(155, 155, 155);
    font-size: 10px;
    font-family: 'Play', sans-serif;
    font-weight: 700;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
}

.challenges-reward-reward {
    display: inline-block;
    margin: auto;
    margin-top: 0 !important;
    color: rgb(155, 155, 155);
    font-size: 11px;
    font-family: 'Play', sans-serif;
    font-weight: 700;
}

.challenges-players-container {
    display: inline-block;
    width: 100%;
    height: 122px;
    max-height: 122px;
    overflow-y: scroll;
}

.challenges-player {
    display: inline-block;
    color: rgb(192, 192, 192);
    background-color: #4e4e4e;
    margin-top: 5px;
    margin-right: 2px;
    margin-left: 2px;
    font-size: 12px;
    padding: 4px;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 4px;
    cursor: pointer;
}

.challenges-player.vip {
    color: rgb(226, 192, 40);
}

.challenges-player.berry {
    color: #e31515;
}