.container .content {
    width: 90%;
    margin: 0 auto;
}

/* Start General Chat */

.general-chat {
    background-color: var(--bgColor2);
    border: 2px solid white;
    border-image: linear-gradient(var(--bgColor1), var(--mainColor)) 18 22;
    margin-bottom: 40px;
    position: relative;
}

.general-chat:before {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 5px;
    background: var(--mainColorDark);
}

.general-chat .general-chat-header {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right,transparent,transparent 25%,var(--mainColor) 25%,var(--mainColor) 75%,transparent 75%) 100% 0;
}

.general-chat .general-chat-header img {
    width: 32px;
    height: 32px;
    margin-right: 15px;
}

.general-chat .general-chat-header h3 {
    font-size: 24px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.general-chat .general-chat-center {
    /* border: 2px solid var(--mainColorDark); */
    padding: 10px 20px;
}

.general-chat .general-chat-center .general-chat-message {
    display: flex;
    margin-bottom: 25px;
}

.general-chat .general-chat-center .general-chat-message img {
    /* display: inline-block; */
    border-radius: 50px;
    width: 48px;
    height: 48px;
    margin-right: 20px;
}

/* .general-chat .general-chat-center .general-chat-message .message-text {
    display: inline-block;
} */

.general-chat .general-chat-center .general-chat-message .message-text h3 {
    font-size: 16px;
    font-weight: normal;
}

.general-chat .general-chat-center .general-chat-message .message-text h3 .emoji {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-position: 4px 8px;
}

.general-chat .general-chat-center .general-chat-message .message-text h3 span {
    display: inline-block;
    margin-left: 20px;
    font-size: 12px;
    color: #fffd;
}

.general-chat .general-chat-center .general-chat-message .message-text span.msg {
    background-color: var(--mainColorDark);
    margin-top: 15px;
    padding: 15px 20px;
    color: var(--bgColor1);
    font-weight: normal;
    font-size: 14px;
    border-radius: 0 20px 20px 20px ;
    /* max-width: 90%; */
    word-wrap: break-word;
    display: flex;
}

.general-chat .general-chat-center .general-chat-message .message-text span.msg .emoji {
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

.general-chat .general-chat-footer {
    border-top: 2px solid transparent;
    border-image: linear-gradient(to right,transparent,transparent 25%,var(--mainColor) 25%,var(--mainColor) 75%,transparent 75%) 100% 0;
    padding: 25px 0;
    display: flex;
    justify-content: center;
}

.general-chat .general-chat-footer span {
    cursor: pointer;
    padding: 10px 15px;
    border: 1px solid var(--mainColor);
    color: white;
    border-radius: 50px;
    margin: 0 10px;
    font-size: 18px;
    letter-spacing: 1px;
}

.general-chat .general-chat-footer span.selected,
.general-chat .general-chat-footer span:hover {
    background-color: var(--mainColorDark);
    color: var(--bgColor1);
}


/* End General Chat */


/* Start Player Classes */

.player-classes {
    display: flex;
    justify-content: center;
    margin-left: -5%;
    margin-right: -5%;
}

.player-class {
    display: flex;
    margin: 0 10px;
    margin-top: 50px;
    align-items: center;
    background-color: var(--bgColor2);
    width: calc((100% / 5) - 40px);
    padding: 15px;
    padding-left: 5px;
}

.player-classes .player-class div:first-child {
    width: 60px;
    height: 60px;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}

.player-class > span {
    display: inline-block;
    width: 3px;
    height: 40px;
    background-color: white;
    margin: 0 10px;
}

.player-class > div span {
    color: white;
}

.player-class h1 {
    font-weight: normal;
}

.player-class h1:first-of-type {
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
}

.player-class h1:last-child {
    color: var(--mainColor);
}

/* End Player Classes */


/* Start Players Online Title */

.players-online-title {
    display: flex;
    justify-content: center;
    margin: 70px 0;
}

.players-online-title h1 {
    margin: 0 80px;
    font-size: 30px;
    text-transform: uppercase;
    position: relative;
}

.players-online-title h1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -20%;
    width: 140%;
    height: 3px;
    background-color: var(--mainColor);
}

/* End Players Online Title */


/* Start Players Online */

.players-online {
    margin-top: 130px;
    padding-bottom: 160px;
    background-color: var(--bgColor2);
    border: 1px solid white;
    border-image: linear-gradient(var(--bgColor1), var(--mainColor)) 18 22;
    z-index: 1;
    font-size: 16px;
    margin-bottom: 50px;
}

.players-online:before,
.players-online:after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 5px;
    background: var(--mainColor);
}

.players-online:before {
    top: 0px;
    height: 2px;
}

.players-online:after {
    bottom: 130px;
    left: 30%;
    width: 40%;
    height: 2px;
}

.players-online table {
    margin: 30px auto;
    border-collapse: collapse;
    border-spacing: 0;
}

.players-online table thead td {
    width: 280px;
    height: 80px;
    font-size: 30px;
    text-transform: uppercase;
    position: relative;
    vertical-align: top;
}

.players-online table thead td:after {
    position: absolute;
    top: 50px;
    left: 10%;
    content: "";
    width: 80%;
    height: 2px;
    background: var(--mainColor);
}

.players-online table tbody td {
    height: 42px;
    position: relative;
}

.players-online table tbody td:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.players-online table tbody td .emoji {
    width: 28px;
    height: 28px;
    background-position: 8px 3px;
}

.players-online table tbody td img:first-child {
    width: 38px;
    height: 38px;
    position: absolute;
    left: 0;
    top: 2px;
    border-radius: 50%;
}

.players-online table tbody td img:not(:first-child) {
    width: 32px;
    position: absolute;
    margin: 0 5px;
}

.players-online {
    position: relative;
    height: 550px;
    overflow: hidden;
    text-align: center;
    border-radius: 10px;
}

.players-online .list {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: translateX(100%);
    transition-duration: 0.4s;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.players-online span {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 1px solid var(--mainColor);
    z-index: 2;
    margin: 620px 6px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.4s;
    font-size: 18px;
    line-height: 2.5em;
    color: white;
}

.players-online span.checked {
    background-color: var(--mainColorDark);
    box-shadow: 0 0 12px 2px var(--mainColorDark);
    border-color: var(--mainColorDark);
    color: var(--bgColor1);
}

/* End Players Online */


/* Start Media */

.media-section {
    margin-bottom: 50px;
}

.media-section .media-show {
    display: flex;
    justify-content: space-between;
    height: 500px;
    background-color: var(--bgColor2);
    border-radius: 10px;
}

.media-section .media-show .media-files {
    height: 440px;
    width: 250px;
    overflow-y: scroll;
    margin: 30px 0;
    padding-left: 30px;
}

.media-section .media-show .media-files div {
    height: 100px;
    width: 200px;
    background-size: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
}

.media-section .media-show:nth-child(2) .media-files div {
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: black;
}

.media-section .media-show .media-files div span {
    background-image: url('../images/play.png');
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width:100%;
    height: 100%;;
}

.media-section .media-show .media-files div:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.media-section .media-show .media-files div:hover:after {
    opacity: 0.3;
}

.media-section .media-show .media-files div:hover {
    transform: scale(1.1);
}

.media-section .media-show .media-display {
    width: calc(100% - 300px);
    border-radius: 10px;
    background-size: 100% 100%;
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
}

.media-section .media-show:nth-child(2) .media-display {
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: black;
}

.media-section .media-show .media-display h1 {
    position: absolute;
    bottom: 0;
    left: 0px;
    display: inline-block;
    font-size: 50px;
    text-align: center;
    /* width: 150px; */
    letter-spacing: 10px;
    opacity: 0.4;
    background-color: var(--bgColor2);
    border-top-right-radius: 10px;
    height: 50px;
    line-height: 50px;
}

.media-section .media-show .media-display iframe {
	width: 100%;
}

.media-section .media-switch {
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    margin-top: 25px;
    padding: 7px 0;
}

.media-section .media-switch label {
    display: inline-block;
    width: 180px;
    height: 40px;
    font-size: 16px;
    line-height: 2.5em;
    background-color: var(--bgColor2);
    text-align: center;
    cursor: pointer;
    margin: 0 10px;
    border: 1px solid var(--mainColor);
    border-radius: 10px;
    color: white;
}

.media-section .media-switch input {
    display: none;
}

.media-section .media-switch input:checked + label,
.media-section .media-switch label:hover {
    background-color: var(--mainColorDark);
    box-shadow: 0 0 10px 3px var(--mainColorDark);
    border-color: var(--mainColorDark);
    color: var(--bgColor1);
}

/* End Media */

/* Resposive */

/* screen width 1440 and 1400 */
@media screen and (max-width:1450px) {
    .player-class {
        margin: 0 4px;
        width: calc((100% / 7) - 28px);
    }
}

/* screen width 1366 and 1360 */
@media screen and (max-width:1376px) {}

/* screen width 1280 */
@media screen and (max-width:1290px) {
    .player-class h1:first-of-type {
        font-size: 14px;
    }

    .player-class h1:last-child {
        font-size: 12px;
    }
}

/* screen width 1152 and 1024 */
@media screen and (max-width:1162px) {

    .player-class h1:first-of-type {
        font-size: 12px;
    }

    .player-class h1:last-child {
        font-size: 10px;
    }

    .players-online table thead td {
        width: 230px;
    }

    .media-section .media-show .media-files {
        width: 220px;
    }

    .media-section .media-show .media-display {
        width: calc(100% - 260px);
    }
}

/* screen width under 1024 */
@media screen and (max-width:1024px) {
    .players-online-title h1 {
        font-size: 25px;
    }
    .player-class {
        margin: 0 3px;
        padding: 5px;
        width: calc((100% / 7) - 16px);
    }
    .player-class h1:first-of-type {
        font-size: 10px;
    }
    .player-class h1:last-child {
        font-size: 8px;
    }
    .player-classes .player-class:nth-child(5) div:first-child {
        background-position-x: 70% !important;
    }
} 