.Contests {
    /* background-color: #868686; */
    width: 100%;
}

.Contest {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
    padding: 40px 20px 25px;
    text-align: center;
    border-radius: 10px;

    .ContestsImg {
        width: 300px;
        height: fit-content;
    }
}

.ContestInfo {
    p {
        padding: 0px;
        margin: 2px;
        font-weight: 800;
    }

    .highlight {
        font-size: larger;
        color: rgb(245, 39, 39);
    }
}


.LeaderTable {
    width: 100%;
    border-radius: 10px;
    background-color: #ff0036;
    /* border: 2px solid crimson; */
    overflow: hidden;
    padding: 1.5px;

    .tableHead {
        border-width: 0;
        border-style: solid;
        border-collapse: separate;
        border-spacing: 0;
        outline: 0;
        height: 30px;
        font-size: 100%;
        vertical-align: baseline;
        background: 0 0;
        background-color: #ff0036;
        color: #fff;

    }

    tbody {
        overflow: hidden;

        tr {
            border-radius: 5px;
            margin: 0px;
            background-color: #fff;

            td {
                padding: 5px 20px;
            }
        }
    }
}

.userRank {
    background-color: #ff0036;
    color: #fff;
    padding: 5px;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
    right: -10px;
    bottom: 15px;
}

.postlink,
.postlinksmall {
    text-decoration: none;
    color: #ff0036;
    font-weight: 600;
}

.postlinksmall {
    color: black;
}

/* //////////////////////////////////////////////////// */
@media screen and (max-width: 1150px) {
    .Contest {
        width: calc(100% - 50px);
    }
}

/* //////////////////////////////////////////////////// */
@media screen and (max-width: 1000px) {
    .Contest {
        width: calc(700px - 50px);
        justify-content: center;
    }

    .ContestInfo {
        margin: auto 30px;
    }
}

@media screen and (max-width: 700px) {
    .Contest {
        width: calc(100% - 80px);
        justify-content: center;
        flex-direction: column;
    }

    .ContestInfo {
        margin: auto;
    }
}

@media screen and (max-width: 400px) {
    .Contest {
        .ContestsImg {
            width: calc(100% - 0px);
        }
    }
}