/* Define the charset to interpret this stylesheet in */
@charset "utf-8";

@keyframes glowingDotAnimation {
    0%      {right: 20px; top: 20px;}
    20%     {right: -15px; top: -30px;}
    30%     {right: -25px; top: -42px;}
    50%     {right: -45px; top: -50px;}
    55%     {right: -50px; top: -45px;}
    75%      {right: 10px; top: -15px;}
    80%      {right: 12px; top: -5px;}
    100%    {right: 20px; top: 20px;}
}


.pageContainer {
    background: transparent url(/static/CharacterScreenBackground_low.jpg) no-repeat;
    background-size: 100% auto;
}

.page_body {
    width: 90%;
    margin: 22vw auto 0rem auto;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, rgb(0, 0, 32), rgb(0, 2, 66));
    border-radius: 50px 50px 0px 0px;
    border: 5px solid hsl(240, 20%, 80%);
    border-bottom-width: 0px;
}
@media (min-width: 1200px) {
    .page_body {
        margin-top: 15rem;
    }
}


.characterSelectionHeader {
    max-width: 90%;
    margin: 2rem auto 2rem auto;
}
.header_title {
    padding: 0.1rem 0.1rem 0.1rem 0.1rem;
    background: linear-gradient(to bottom, rgba(12, 19, 146, 0), rgba(12, 19, 146, 1));
    font-family: Audiowide, sans-serif;
    font-size: 26px;
    color: white;
    text-align: center;
}
.header_BlueText {
    margin-top: 0.5rem;
    color: rgb(0, 183, 255);
}
.header_YellowText {
    margin-bottom: 1rem;
    color: rgb(255, 242, 0);
    font-weight: bold;
}


.characterGroup {
    background: linear-gradient(to right, rgb(4, 40, 117), rgb(30, 32, 80));
    margin-bottom: 2rem;
    padding: 2rem 0rem 0rem 2rem;
    border: 3px solid rgb(14, 124, 255);
    border-right-width: 0px;
    border-left-width: 0px;
}
@media (min-width: 760px) {
    .characterGroup {
        margin-left: 4rem;
        padding-right: 50px;
        border-radius: 40px 0px 0px 40px;
        border: 3px solid rgb(14, 124, 255);
        border-right-width: 0px;
    }
}
@media (min-width: 1200px) {
    .characterGroup {
        padding-right: 100px;
    }
}

.characterGroup_header {
    width: 600px;
    max-width: 100%;
    padding: 0.3rem 1rem 0.3rem 1rem;
    position: relative;
    top: -60px;
    left: -60px;
    border-radius: 50px;
    background: linear-gradient(rgb(33, 36, 40), rgb(33, 36, 40)) padding-box,
                linear-gradient(to bottom, rgb(192, 192, 192), rgb(20, 25, 30)) border-box;
    border: 3px solid transparent;
}
.characterGroup_header_text {
    margin-left: 2rem;
    color: white;
    font-family: Audiowide, sans-serif;
    font-size: 24px;
}
@media (min-width: 480px) {
    .characterGroup_header_text {
        font-size: 32px;
    }
}

.characterGroup_header_glowingDot {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 80px;
    width: 80px;
    animation: glowingDotAnimation 4s infinite;
    animation-timing-function: linear;
    display: none;
}

.characterGroup_summary {
    color: rgb(0, 183, 255);
    margin: 0rem 1rem 0rem 0rem;
    padding-bottom: 2rem;
    position: relative;
    top: -25px;
}
@media (min-width: 1024px) {
    .characterGroup_summary {
        max-width: 80%;
    }
}

.characters_container {
    margin: 2rem 1rem 0rem 0rem;
    position: relative;
    top: -25px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: 0.2rem;
}
.characters_container[data-animated] {
    animation-name: fade_in_upward;
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-delay: 0.2s;
}
.character_item img {
    width: 140px;
    border-radius: 20px;
}
.character_item_name {
    text-align: center;
    margin: 0.7rem 0rem 0.3rem 0rem;
    max-width: 140px;
}
.character_item_name a {
    font-size: 18pt;
}
.character_item_description {
    max-width: 140px;
    text-align: center;
    color: var(--color-page-text-secondary);
    margin-bottom: 1rem;
}






/* For the Character Detail Screen (Profile View) */
.header_wrapper {
    display: grid;
    grid-template-columns: 20% 75% 5%;
}
@media (min-width: 480px) {
    .header_wrapper {
        grid-template-columns: 15% 70% 15%;
    }
}

.backButton {
    margin: auto auto auto auto;
    padding: 0rem 0.5rem 0rem 0.5rem;
    max-width: 100%;
    grid-area: 1 / 1 / 2 / 2;
}
.backButton img {
    width: 60px;
    max-width: 100%;
}

.characterProfileHeader {
    width: 500px;
    max-width: 100%;
    margin: 2rem auto 3rem auto;
    grid-area: 1 / 2 / 2 / 3;
}
.characterProfileHeader[data-animated] {
    animation-name: fade_in_static;
    animation-duration: 1.5s;
    animation-delay: 0s;
    animation-fill-mode: forwards;
}
.characterProfile_header_title {
    padding: 0.1rem 0.1rem 0.1rem 0.1rem;
    background: linear-gradient(to bottom, rgba(12, 19, 146, 0), rgba(12, 19, 146, 1));
    font-family: Audiowide, sans-serif;
    font-size: 26px;
    color: white;
    text-align: center;
}
@media (min-width: 480px) {
    .characterProfile_header_title {
        font-size: 32px;
    }
}


.characterProfile_container {
    margin: 0rem 2rem 2rem 2rem;
    display: grid;
    grid-template-columns: 100%;
}
.characterProfile_container[data-animated] {
    animation-name: fade_in_upward;
    animation-duration: 1.5s;
    animation-delay: 0s;
    animation-fill-mode: forwards;
}
@media (min-width: 760px) {
    .characterProfile_container {
        grid-template-rows: auto auto auto;
        grid-template-columns: 50% 50%;
    }
}

.characterProfile_statblock {
    max-width: 70%;
    margin: 2rem auto 1rem auto;
    display: block;
    grid-area: 2 / 1 / 3 / 2;
    color: white;
    font-family: Audiowide, sans-serif;
    text-align: center;
}
@media (min-width: 760px) {
    .characterProfile_statblock {
        grid-area: 1 / 1 / 3 / 2;
    }
}
.characterProfile_statblock h1 {
    font-size: 24px;
}
@media (min-width: 760px) {
    .characterProfile_statblock h1 {
        font-size: 30px;
    }
}

.starsRating {
    margin: 0.5rem auto 1rem auto;
    max-width: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: no-wrap;
}
@media (min-width: 480px) {
    .starsRating {
        margin: 0.5rem auto 2rem auto;
    }
}
.starsRating img {
    min-width: 0;
}

.characterProfile_mainImage {
    max-width: 90%;
    margin: 0rem auto 0rem auto;
    border-radius: 20px;
    grid-area: 1 / 1 / 2 / 2;
}
@media (min-width: 760px) {
    .characterProfile_mainImage {
        max-width: 80%;
        grid-area: 1 / 2 / 2 / 3;
    }
}

.characterProfile_buttons {
    margin-bottom: 1rem;
    grid-area: 3 / 1 / 4 / 2;
}
@media (min-width: 760px) {
    .characterProfile_buttons {
        grid-area: 2 / 2 / 3 / 3;
    }
}
@media (min-width: 1024px) {
    .characterProfile_buttons {
        margin-right: 1.5rem;
        margin-bottom: 0rem;
    }
}
.redirectButton {
    position: relative;
    max-width: 90%;
    margin: 0.8rem auto 0rem auto;
    border-radius: 50px;
    background: linear-gradient(rgb(33, 36, 40), rgb(33, 36, 40)) padding-box,
                linear-gradient(to bottom, rgb(192, 192, 192), rgb(20, 25, 30)) border-box;
    border: 3px solid transparent;
    cursor: pointer;
}
.redirectButton_text {
    padding: 0.7rem 0.7rem 0.7rem 0.7rem;
    color: white;
    font-family: Audiowide, sans-serif;
    font-size: 18pt;
    text-align: center;
}
.redirectButton_glowingDot {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 80px;
    width: 80px;
    animation: glowingDotAnimation 4s infinite;
    animation-timing-function: linear;
    display: none;
}


.characterProfile_bio {
    max-width: 70%;
    margin: 2rem auto 2rem auto;
    grid-area: 4 / 1 / 5 / 2;
}
@media (min-width: 760px) {
    .characterProfile_bio {
        grid-area: 3 / 1 / 4 / 3;
    }
}
.characterProfile_bio p {
    padding-bottom: 2rem;
}