#character {
    background: #fff url('../media/img/character/bg.jpg') center center / cover no-repeat;
    color: #000;
}

#character .wrapper {
    width: 1280px;
    padding: 3em;
}

.character-container {
    position: relative;
    background-color: #21150b;
    min-height: 800px;
}

.character-text-container {
    color: #fff;
    width: 50%;
    position: relative;
    z-index: 5;
    margin-top: 5%;
}

#character .section-heading {
    color: #fff;
}

.character-quote {
    font-family: 'congenial', sans-serif;
}

.character-name {
    font-size: 4em;
    color: #f5eec3;
    letter-spacing: 0.1em;
}

.character-name .large {
    font-size: 1.5em;
}

.character-quote {
    font-size: 2em;
    line-height: 1.5em;
    text-transform: none;
    padding: 1em;
    font-style: italic;
}

.character-description {
    font-size: 1.5em;
    line-height: 1.5em;
    text-align: left;
    padding: 1em 2em;
}

.character-image-container {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

.character-image {
    position: relative;
    height: 100%;
}

.full-character {
    position: relative;
    right: 2.5%;
    top: 5%;
}

img.animated-character {
    cursor: pointer;
    position: absolute;
    right: -20%;
    bottom: 0;
    height: 580px;
    max-height: 75%;
    max-width: none;
}

.caption {
    color: #fff;
    text-align: center;
    font-size: 1em;
}

#character .splide {
    margin: auto;
}
#character .splide__track {
    border: 3px solid #ddcf7b;
}

.character-screenshot .splide__arrow--next {
    right: -3em;
}

.character-screenshot .splide__arrow--prev {
    left: -3em;
}



/* character select */

.character-select-list {
    margin-bottom: 6em;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.character-portrait {
    display: inline-block;
    background: #2c2622;
    border: 3px solid #00139a;
    height: 100%;
    position: relative;
    max-width: 45%;
    margin-bottom: 1em;
    margin-left: 1em;
}

#galerius.character-portrait {
    border-color: red;
}

.character-portrait,
.character-portrait img {
    border-radius: 2em;
}

.character-portrait span {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;

    font-family: 'congenial', sans-serif;
    text-transform: uppercase;
    font-size: 1.5em;
    color: #f5eec3;

    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 2em 2em;
}

.character-portrait.active::after,
.character-portrait:hover::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #00139a;
    border: 3px solid #fff;
    opacity: 0.25;
    border-radius: 2em;
    pointer-events: none;
}

@media screen and (max-width: 1023px) {

    .character-container {
        display: flex;
        flex-wrap: wrap;
        padding: 2em;
    }
    .character-text-container {
        width: 100%;
        order: 2;
    }
    .character-image-container {
        position: relative;
        width: 100%;
        height: auto;
        order: 1;
        margin-bottom: 1em;
    }
    .full-character {
        top: 0;
        right: 0;
    }
    img.animated-character {
        right: -25%;
    }
    .character-select-list {
        max-width: 100%;
    }
    .character-portrait {
        max-width: 25%;
        margin-left: 0.25em;
    }
}