.content {
    margin-bottom: 50px;
    min-height: 60vh;
}

.content .mytitle {
    font-size: 30px;
    letter-spacing: 3px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.content .mytitle:after,
.content .mytitle:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 40%;
    width: 80px;
    height: 3px;
    background-color: var(--mainColor);    
}

.content .mytitle:before {
    bottom: unset;
    left: 55%;
}

.content .rank {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    height: 250px;
    position: relative;
}

.content .rank:before {
    content: "";
    position: absolute;
    height: 5px;
    width: calc(50% + 5px);
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #eee;
}

.content .rank:nth-child(2):before {
    width: calc(25% + 5px);
}

.content .rank:nth-child(5):before,
.content .rank.rank-catch:before {
    width: calc(38% - 2.5px);
}

.content .rank:last-child:before {
    content: unset;
}

.content .rank .player {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--bgColorLight1);
    border-radius: 10px;
    margin: 0 15px;
    color: var(--bgColor2);
    /* padding: 30px 0; */
    position: relative;
    width: 145px;
    height: 215px;
}

.content .rank .player:after,
.content .rank .player:before {
    content: "";
    position: absolute;
    height: 25px;
    width: 5px;
    bottom: -25px;
    left: calc(50% - 2.5px);
    background-color: #eee;
}

.content .rank .player:before {
    bottom: unset;
    top: -40px;
}

.content .rank:nth-child(2) .player:before,
.content .rank:last-child .player:after {
    content: unset;
}

.content .rank .player span:first-child {
    position: absolute;
    top: -15px;
    left: 50%;
    width: 50px;
    height: 15px;
    transform: translate(-50%);
    border-radius: 6px 6px 0 0;
    background-color: var(--mainColor);
    text-align: center;
    line-height: 1em;
    color: white;
}

.content .rank .player ._avatar {
    background:  url("../faces/guest.png") 100% / 100% no-repeat;
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.content .rank .player h1 {
    font-weight: normal;
    width: 95%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.content .rank .player h1 .emoji {
    width: 28px;
    height: 28px;
    background-position: 4px 0px;
}

/* Start Guild */

.content .guild-name {
    text-align: center;
    font-size: 20px;
    /* font-weight: normal; */
    letter-spacing: 12px;
    /* margin-bottom: 20px; */
    opacity: 0.5;
}

.content .guild-points {
    text-align: center;
    font-size: 18px;
    /* font-weight: normal; */
    letter-spacing: 10px;
    margin-bottom: 30px;
    opacity: 0.5;
}

.content .rank-g {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    height: 250px;
    position: relative;
}

.content .rank-g:not(.guild-leader) {
    margin-bottom: 80px;
}

.content .rank-g:before {
    content: "";
    position: absolute;
    height: 5px;
    width: calc(50% + 5px);
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #eee;
}

.content .rank-g.guild-leader .player:before,
.content .rank-g.guild-leader + .rank-g:before,
.content .rank-g.guild-leader + .rank-g .player:after {
    content: unset;
}

.content .rank-g .player {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--bgColorLight1);
    border-radius: 10px;
    margin: 0 15px;
    color: var(--bgColor2);
    /* padding: 30px 0; */
    position: relative;
    width: 145px;
    height: 215px;
}

.content .rank-g .player:after,
.content .rank-g .player:before {
    content: "";
    position: absolute;
    height: 25px;
    width: 5px;
    bottom: -25px;
    left: calc(50% - 2.5px);
    background-color: #eee;
}

.content .rank-g .player:before {
    bottom: unset;
    top: -40px;
}

.content .rank-g .player span:first-child {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 30px;
    /* transform: translate(-50%); */
    border-radius: 6px 6px 0 0;
    background-color: var(--mainColor);
    text-align: center;
    line-height: 2em;
    font-size: 14px;
    color: #ffffff80; 
    letter-spacing: 1px;
    text-shadow: 0 0 8px var(--bgColor2);
}

.content .rank-g .player ._avatar {
    background:  url("../faces/guest.png") 100% / 100% no-repeat;
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.content .rank-g .player h1 {
    font-weight: normal;
    width: 95%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.content .rank-g .player h1 .emoji {
    width: 28px;
    height: 28px;
    background-position: 4px 3px;
}

/* End Guild */

/* Start Donation */

.content .donation {
    background-color: var(--bgColor2);
    padding: 20px;
    width: 60%;
    margin: 0 auto;
    border-radius: 10px;
}

.content .donation .don-card {
    background-color: var(--bgColorLight1);
    padding: 10px;
    height: 100px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 10px;
    border-radius: 10px;
    position: relative;
    color: var(--bgColor2);
    counter-increment: cards;
    overflow: hidden;
    transition: transform 0.5s;
    cursor: pointer;
}

.content .donation .don-card:hover {
    transform: scale(1.1);
}

.content .donation .don-card:before {
    content: "";
    position: absolute;
    right: -100px;
    top: 0px;
    width: 250px;
    height: 120px;
    font-size: 20px;
    background-color: var(--mainColor);
    transform: skewX(-45deg);
}

.content .donation .don-card:after {
    content: counter(cards);
    position: absolute;
    right: 30px;
    top: 17px;
    font-size: 50px;
    color: white;
}

.content .donation .don-card ._avatar,
.content .donation .don-card .rank-icon,
.content .donation .don-card h1 {
    position: absolute;
    top: 17px;
    left: 20px;
}

.content .donation .don-card ._avatar {
    width: 86px;
    height: 86px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    border-radius: 10px;

}

.content .donation .don-card h1:first-of-type,
.content .donation .don-card .rank-icon {
    left: 120px;
    top: 20px;
    background-repeat: no-repeat;
    height: 32px;
    width: 250px;
}

.content .donation .don-card h1:first-of-type {
    left: 160px;
    top: 24px;
    font-size: 18px;
    letter-spacing: 3px;
}

.content .donation .don-card h1.myDonation:first-of-type {
    display: flex;
}

.content .donation .don-card h1:first-of-type span {
    display: flex;
}
.content .donation .don-card h1:first-of-type .emoji{
    width: 32px;
    height: 32px;
    background-position: 4px 3px;
}

.content .donation .don-card h1:last-of-type {
    left: 120px;
    top: unset;
    bottom: 20px;
    font-size: 18px;
    letter-spacing: 3px;
}

/* End Donation */

/* Resposive */

/* screen width 1440 and 1400 */
@media screen and (max-width:1450px){
    .content .rank .player {
        margin: 0 6px;
    }
    .content .rank-g .player {
        margin: 0 6px;
    }
} 
/* screen width 1366 and 1360 */
@media screen and (max-width:1376px){
    .content .rank:before {
        width: calc(53% + 2.5px);
        left: 50%;
    }
    .content .rank:nth-child(2):before {
        width: calc(26% + 9.5px);
    }
    
    .content .rank:nth-child(5):before,
    .content .rank.rank-catch:before {
        width: calc(40%);
    }

    .content .rank-g:before {
        width: calc(53% + 3px);
    }
} 
/* screen width 1280 */
@media screen and (max-width:1290px){
    .content .rank:before {
        width: calc(56% + 4.5px);
        left: 50%;
    }
    .content .rank:nth-child(2):before {
        width: calc(28% + 5.8px);
    }
    
    .content .rank:nth-child(5):before,
    .content .rank.rank-catch:before {
        width: calc(42% + 4.5px);
    }

    .content .donation .don-card {
        width: 95%;
    }

    .content .rank-g:before {
        width: calc(56% + 5px);
    }
}
/* screen width 1152 and 1024 */
@media screen and (max-width:1162px){
    .content .rank:before {
        width: calc(66%);
        left: 50%;
    }
    .content .rank:nth-child(2):before {
        width: calc(33% + 3px);
    }
    
    .content .rank:nth-child(5):before,
    .content .rank.rank-catch:before {
        width: calc(49% + 4.5px);
    }

    .content .donation {
        width: 68%;
    }

    .content .rank-g:before {
        width: calc(65% + 9px);
    }
}

/* screen width under 1024 */
@media screen and (max-width:1024px) {
    .content .rank:nth-child(2):before {
        width: calc(38% + 7px);
    }
    .content .rank:before {
        width: calc(77% + 2px);
    }
    .content .rank:nth-child(5):before,
    .content .rank.rank-catch:before {
        width: calc(58% + 1.5px);
    }
    .content .donation {
        width: 75%;
    }
    .content .donation .don-card {
        width: 100%;
    }
    .content .donation .don-card:before {
        width: 230px;
    }
    .content .rank-g:before {
        width: calc(76% + 10px);
    }
}