#characters,
#characterList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    max-width: 1920px;
    width: 100%;
    height: auto;
}

#characters .mid-section {
    position: relative;
    margin: 0 auto;
    width: calc(100% - 330px);
    max-width: 1600px;
    height: 520px;
    background-image: url(../design/characters/bg.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.no-webp #characters .mid-section {
    background-image: url(../design/characters/bg.png);
}

#characters .mid-section .preview-section {
    position: relative;
    display: block;
    width: 80%;
    max-width: 1080px;
}

#characterInfo {
    width: 60%;
    max-width: 520px;
    position: absolute;
    left: 0;
    top: 3rem;
}

#characterInfo #snakeName {
    padding: 0.3rem;
    border-top-right-radius: 3rem;
    font-size: 2rem;
    padding-left: 2rem;
    color: #fff;
    font-family: Saira, EnterSansman, 'Courier New', Courier, monospace;
    font-weight: bold;
    background: linear-gradient(to left, #5354C0 34.53%, rgba(153, 154, 238, 0.266917) 124.86%, rgba(179, 179, 255, 0) 157.76%);
}

#characterInfo #snakeIntroduction {
    color: #5455C0;
    font-style: italic;
    font-size: 1.1rem;
    padding: 1.5rem;
    background: linear-gradient(90deg, #F0E7FB 65.71%, rgba(240, 231, 251, 0) 159.39%);
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.8);
    clip-path: polygon(100% 0, 100% 68%, 92% 100%, 0% 100%, 0 50%, 0% 0%);
}

#characterInfo #unlockRequirements {
    margin: 1rem auto;
    font-weight: bolder !important;
}

#charSkinFilterBtns {
    z-index: 10;
    position: absolute;
    bottom: -2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hashTagBtns button {
    display: inline-block;
    background: #EFE4FA;
    color: #5354C0;
    font-weight: 400;
    font-size: 1.1rem;
    margin: 0 1rem;
    min-width: 25%;
    width: auto;
    max-width: 50%;
    border: none;
    padding: 0.35rem;
    text-transform: capitalize;
}

#hashTagBtns button.active {
    background-color: #25258c;
    color: #fff;
}

#characterPreview {
    position: absolute;
    width: 30%;
    right: 0;
}

#characterPreview img {
    position: relative;
    display: block;
    margin: 0 auto;
    transform: rotate(40deg);
    height: 420px;
}

#charSkinFilterBtns button {
    font-family: Nunito, 'Courier New', Courier, monospace;
    background-color: #BFC0EE;
    display: inline-block;
    margin: 1rem 1.5rem;
    width: 22%;
    max-width: 10rem;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 2rem;
    color: #fff;
}

#charSkinFilterBtns button.active {
    background: #24258C;
}

/* Character List */
#characterList .content-section {
    top: -7rem;
    min-height: unset;
}

#characterList .character {
    display: inline-block;
    width: 15%;
    margin: 2rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transform: skew(-8deg);
}

#characterList .character .box {
    box-sizing: border-box;
    position: relative;
    background: #E5E5FF;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
    width: 100%;
    min-height: 90%;
    max-height: 520px;
    padding: 1rem;
}

#characterList .character .name {
    background: linear-gradient(269.97deg, rgba(98, 96, 201, 0.3) -1.24%, #5957C4 49.37%, rgba(98, 96, 201, 0.3) 99.98%);
    color: #fff;
    font-family: Saira, EnterSansman, 'Courier New', Courier, monospace;
    font-weight: bold;
    padding: 0.5rem;
    text-align: center;
    width: 100%;
    min-height: 10%;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

#characterList .character .box.active {
    background: #24258C;
}

#characterList .character .name.active {
    background: linear-gradient(269.97deg, rgba(98, 96, 201, 0.3) -1.24%, #5957C4 49.37%, rgba(98, 96, 201, 0.3) 99.98%);
}

#characterList .character .box img {
    position: relative;
    display: block;
    width: 45%;
    height: auto;
    margin: 0 auto;
    transform: rotate(15deg);
}

@media screen and (max-width: 1024px) {
    #characters .mid-section {
        width: 100%;
        height: 480px;
    }

    #characterList .content-section {
        top: -5rem;
        width: 99%;
    }

    #characterList .character .name {
        font-size: 0.65rem;
    }
}

@media screen and (max-width: 720px) {
    #characterList .character {
        margin: 1rem 0.5rem;
        width: 18%;
    }

    #characterList .content-section {
        top: -3rem;
    }

    #characterList .character .name {
        font-size: 0.5rem;
        padding: 0.25rem;
    }

    #characterList .character .box {
        padding: 0.5rem;
    }

    #characters .mid-section {
        height: 450px;
    }

    #characterPreview {
        top: unset;
        width: 40%;
    }

    #characterPreview img {
        height: 300px;
        right: -0.5rem;
    }

    #characters .mid-section .preview-section {
        width: 99%;
    }

    #characterInfo #snakeIntroduction {
        padding: 1rem;
        font-size: unset;
        clip-path: polygon(100% 0, 100% 85%, 92% 100%, 0% 100%, 0 50%, 0% 0%);
    }

    #charSkinFilterBtns button {
        font-size: unset;
        margin: 0.5rem;
    }

    #hashTagBtns button {
        font-size: 1rem;
        min-width: unset;
    }

    #characterInfo #snakeName {
        font-size: 1.5rem;
        padding-left: 1rem;
    }
}

@media screen and (max-height: 480px) {
    #characters .mid-section {
        height: 420px;
    }
}