* {
    --main-color: rgb(28,38,60);
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--main-color);
    min-height: 100vh;
    height: 100vh;
    font-family: 'Ubuntu', sans-serif;
    user-select: none;
}

/* width of the entire scrollbar */
body::-webkit-scrollbar {
    width: 12px;
}
  
/* color of the tracking area */
body::-webkit-scrollbar-track {
    background: rgb(20, 27, 40);
}

body::-webkit-scrollbar-thumb {
    background-color: rgb(40, 55, 83);
    border-radius: 20px;
}

.main-app {
    width: 100%;
    min-height: 100%;
}

.app {
    width: 100%;
    min-height: 100%;
    display: flex;
    padding-bottom: 20px;
}

.intro-app {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
}

.footer {
    min-height: 200px;
    width: 100%;
    background-color: rgb(20, 27, 40);
}

.main-image-back {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 0;
}

.image-back, .image-back-right  {
    flex-shrink: 0;
    position: relative;
    width: fit-content;
    font-size: 0;
    height: 100vh;
    width: 25%;
}

.test {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.main-test {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    border-bottom: 3px solid;
    transition: .3s;
}

.main-content {
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.intro-app-focus-mode > .character-informations {
    opacity: 0;
}

.intro-app-focus-mode > .character-informations > * {
    pointer-events: none;
}

.intro-app-focus-mode > .main-image-back > .main-test {
    filter: brightness(0.9);
}

.character-informations {
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    position: relative;
    transition: .3s;
}

.character-informations > div {
    transition: .3s;
    background-color: rgb(0 0 0 /50%);
}
.character-informations > div:hover {
    background-color: rgb(0 0 0 /60%);
}

.page-sumarry {
    position: absolute;
    top: 10%;
    right: 5%;
    width: auto;
    bottom: auto;
    padding: 1em;
    background: rgb(0 0 0 / 60%);
    border: 1px solid;
    border-radius: 10px;
    transition: .3s;
    backdrop-filter: blur(10px);
}

.character-role {
    position: absolute;
    top: 10%;
    left: 5%;
    width: auto;
    bottom: auto;
    padding: 0.5em 1em;
    background: rgb(0 0 0 / 60%);
    border: 1px solid;
    border-radius: 10px;
    transition: .3s;
    backdrop-filter: blur(10px);
}

.guild-quest-selector-section {
    width: 100%;
    justify-content: center;
    display: block;
    box-shadow: 0 -5px 5px rgb(0 0 0 / 30%), 0 5px 5px rgb(0 0 0 / 30%);
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    background: none;
    padding: 20px 0;
    background: linear-gradient(80deg, #151616 0%, #040505 100%);
}

.guild-quest-selector-section > h2 {
    text-align: center;
    margin: 0.25em 0;
}

.guild-quest-selector-panel {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.guild-quest-selector-panel > div {
    display: flex;
    overflow-x: auto;
    max-width: 95%;
    padding-bottom: 10px;
    padding-top: 20px;
}

.guild-quest-selector-panel > div::-webkit-scrollbar {
    height: 5px;
}

.guild-quest-selector-panel > div::-webkit-scrollbar-thumb {
    border-radius: 5px;
}

.guild-quest-selector-waiting {
    color: gray;
    margin-top: 10px;
    font-size: 1.5em;
    text-align: center;
}

.loading-dots-container {
    padding: 50px 0;
}

.new-summary-informations {
    display: flex;
    width: 100%;
    padding: 10px 50px;
    border-bottom: 1px solid #4c4c4c;
    justify-content: center;
    z-index: 3;

    background: url(../public/img/gqBack/shinigami_range.webp);
    background-position: center;
    background-size: cover;
    position: relative;
    box-shadow: 0 5px 5px rgb(0 0 0 / 30%);
}

.new-summary-informations {
    display: none;
}

.new-summary-informations > .background-filter {
    background: rgb(0 0 0 / 80%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
}

.map-informations {
    position: relative;
    box-shadow: 0px 5px 5px rgb(0 0 0 / 30%);
    border-radius: 10px;
    overflow: hidden;
    font-size: 0;
    transition: .3s;
    cursor: pointer;
    color: white;
    text-decoration: none;
    margin: 0 10px;
    height: 10rem;
    display: inline-block;
    flex-shrink: 0;
}

.map-informations:hover {
    transform: translateY(-20px);
}

.map-informations > img {
    height: 100%;
    font-size: 0;
}

.map-informations > span {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 100%);
    padding-bottom: 21px;
    font-size: 1rem;
    text-transform: capitalize;
}


.guild-quest-presentation > .main-title {
    max-width: max-content;
    display: flex;
    align-items: center;
}

.guild-quest-presentation > .main-title > h3 {
    font-size: 1.5em;
    margin: 0.5em 0;
}

.guild-quest-presentation > .main-title > img {
    height: 2em;
    margin: 0 1em;
}

.guild-quest-informations {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.guild-quest-presentation {
    width: 40%;
    z-index: 2;
}

.guild-quest-informations > .info > p {
    width: 50%;
}

.main-info {
    width: 45%;
    background: rgb(0 0 0 / 60%);
    border: 1px solid;
    padding: 1em 2em;
    border-radius: 10px;
    transition: .3s;
    backdrop-filter: blur(10px);
    align-self: center;
    bottom: 5%;
    position: absolute;
    left: 5%;
}

.main-info:hover {
    background: rgb(0 0 0 / 70%);
}

.main-info-additionnal-button {
    position: absolute;
    right: 5%;
    top: 7%;
    display: flex;
    align-items: center;
}

.artwork-focus-button {
    border: none;
    background: none;
    height: 2.5em;
    margin-left: 1em;
    cursor: pointer;
}

.artwork-focus-button > svg {
    height: 100%;
    width: fit-content;
    font-size: 0;
    opacity: 0.5;
    transition: .15s;
}

.artwork-focus-button:hover > svg {
    opacity: 1;
}

.soul-tree-button {
    background: white;
    color: black;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 1.1em;
    cursor: pointer;
    transition: .3s;
}

.soul-tree-button:hover {
    transform: scale(1.1);
}

.character-profile {
    display: flex;
}

.character-profile > img {
    border-radius: 50%;
    border: 2px solid;
    height: 7em;
    margin-right: 1em;
}

.char-profile-name {
    font-size: 1.5em;
    display: flex;
    align-items: center;
    margin: 0;
}

.char-profile-attr {
    height: 1em;
    margin-left: 0.5em;
}

.char-profile-ver {
    margin: 0;
    color: lightgray;
    font-size: 1.2em;
    font-weight: normal;
}

.char-profile-tag {
    margin: 0;
    color: darkgray;
    font-size: 1em;
    font-weight: normal;
    padding: 0.5em 0;
}

.char-profile-tag > span {
    background: rgb(230 230 230);
    color: green;
    padding: 1px 5px;
    border-radius: 5px;
    font-size: 0.9em;
    margin-right: .4em;
}

.char-profile-tag > .character-tag-mind { color: rgb(228 159 49); }
.char-profile-tag > .character-tag-heart { color: rgba(112, 45, 174); }
.char-profile-tag > .character-tag-speed { color: rgba(72, 153, 240); }
.char-profile-tag > .character-tag-power { color:  rgb(226 75 75); }

.char-profile-desc {
    margin: 0;
    color: darkgray;
    font-size: 1em;
    font-weight: normal;
    text-align: justify;
    line-height: 1.3em;
}

.char-stats {
    display: grid;
    grid-template-columns: 4fr 1fr;
    vertical-align: middle;
    font-size: 0.9em;
    width: 100%;
    position: relative;
}

.char-stats::after {
    content: '';
    position: absolute;
    right: 0;
    height: 80%;
    background: rgb(255 255 255 / 30%);
    width: 1px;
    top: 10%;
}

.char-stats > p {
    display: flex;
    align-items: center;
    margin: 0;
}

.stat-name {
    display: flex;
    align-items: center;
    color: lightgray;
}

.stat-name > img {
    height: 1.5em;
}

.stat-name > p {
    margin: 0.5em;
}

.main-char-stat {
    font-weight: bold;
    color: white;
}

.used-rotation {
    display: flex;
}

.rotation-anchor {
    padding: 5px 0;
}

.rotation-anchor > a {
    color: white;
    text-decoration: none;
}

.rotation-anchor > a:hover {
    text-decoration: underline;
}

.char-kit {
    flex-shrink: 0;
    margin: 0 1em;
    height: 160px;
    width: auto;
}

.additional-info {
    border-radius: 10px;
    overflow: hidden;
    width: 25%;
    min-height: 50px;
    background: rgb(0 0 0 / 50%);
    backdrop-filter: blur(10px);
    border: 1px solid;
    position: absolute;
    right: 5%;
    bottom: 5%;
}

.additional-info.guild-quest-info {
    width: 60%;
}

.additional-info > h3 {
    width: 100%;
    padding: 10px;
    margin: 0;
}

.informations {
    color: rgb(200, 200, 200);
    display: grid;
    grid-template-columns: 1fr;
}

.info {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid rgb(255 255 255 / 3%);
}

.info > p {
    width: 30%;
    flex-shrink: 0;
    margin: 0;
    font-weight: bold;
    color: gray;
}

.info > div.info-val {
    display: flex;
    max-height: 100%;
    width: 100%;
    color: rgb(240, 240, 240);
    flex-wrap: wrap;
}

.info-soul-trait {
    flex-direction: column;
}

.info-val-icons {
    align-items: center;
}

.affinity-info-field {
    display: flex;
    align-items: center;
}

.affinity-info-field > p { margin: 0; }

.info-small-icon {
    max-height: 1.5em;
    aspect-ratio: 1/1;
    margin: 0 0.5em;
}


.teams-section {
    display: flex;

    border-bottom: 1px solid rgb(255 255 255 / 10%);
    border-top: 1px solid rgb(255 255 255 / 10%);
    transition: .3s;
    height: 80vh;
    width: 100%;
}

.build-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(29deg, rgba(4, 15, 28, 1) 0%, rgb(57 70 98) 100%);
    max-height: 90vh;
    height: 80vh;
    overflow: hidden;
}

.build-section > h2 {
    margin-bottom: .25em;
    margin-top: 1em;
}

.build-section > h2, .teams-section > h2 {
    text-align: center;
}


.character-builds {
    display: flex;
    background: rgb(0 0 0 / 30%);
    box-shadow: inset 0px 5px 10px -6px rgb(0 0 0 / 70%), inset 0px -5px 10px -6px rgb(0 0 0 / 70%);
    width: 80%;
    border-radius: 10px;
}

.character-builds > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.character-builds > div > .sub-category {
    background: none;
}

.team-varitations-wrapper {
    z-index: 5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0 0 0 / 50%);
    cursor: pointer;
}

.team-varitations-list {
    width: 60%;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: rgb(28,38,60);
    max-height: 80%;
    height: 80%;
    overflow: auto;
    border: 2px solid rgb(54 75 121);
    animation: fade_in 0.25s ease;
}

@keyframes fade_in {
    0% {
        opacity: 0;
        transform: scale(.95);
    }
    60% {
        opacity: 1;
    }
    100% {
        transform: none;
    }
}

.team-varitations-list > h2 {
    text-align: center;
    font-size: 1.75em;
}

.team-varitations-list::-webkit-scrollbar {
    width: 4px;
}
  
.team-varitations-list::-webkit-scrollbar-track {
    background-color: transparent;
}

.team-varitations-list::-webkit-scrollbar-thumb {
    background: rgb(210 210 210 / 40%);
    border-radius: 5px;
}

.team-varitations-list > .team-line {
    padding: 20px 0;
    border-bottom: 1px solid rgb(52 68 103);
}

.teams-section-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.team-filters {
    width: 15%;
    background: rgb(0 0 0 / 30%);
    border-right: 1px solid rgb(255 255 255 / 10%);
    flex-shrink: 0;
    box-shadow: 5px 0 5px rgb(0 0 0 / 30%);
    min-width: 200px;
}

.team-filters > h2 {
    text-align: center;
}

.teams-filter-section > h3 {
    padding: 5px 15px;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    margin: 0;
}

.teams-filter-section-content > div {
    padding-left: 2em;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.teams-filter-section-content > div:hover {
    background: rgb(28 38 60 / 50%);
}

.teams-filter-section-content > div > input {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    margin-right: 1em;
}

.teams-filter-section-content > div > input:checked::before {
    background: -webkit-radial-gradient( hsla(200,100%,90%,1) 0%, hsla(200,100%,70%,1) 15%, hsla(200,100%,60%,.3) 28%, hsla(200,100%,30%,0) 70% );;
}


.teams-filter-section-content > div > input::before {
    content: "";
    display: flex;
    justify-self: center;
    border-radius: 50%;
    height: 1em;
    width: 1em;
    border: 1px solid rgb(255 255 255 / 20%);
}

.teams-filter-section-content > div > label {
    padding: .5em 0;
    width: 100%;
    cursor: pointer;
}

.team-list-container {
    width: 85%;
    max-height: 100%;
    height: 100%;
    min-height: 0;
    overflow-y: scroll;
    padding: 15px;
}

.team-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 30px;
}

.team-list::-webkit-scrollbar {
    width: 0px;
}

.team-line {
    display: flex;
    padding: 0 10px;
    position: relative;
}

.team-corner-info {
    position: absolute;
    top: 0;
    right: 0.5em;
    display: flex;
    align-items: center;
}

.team-corner-updated {
    color: orange;
    text-decoration: none;
    text-shadow: 2px 2px 0 #000000;
    margin: 0 5px;
}

.team-varitations-list > .team-line .team-ytb-link {
    top: 1em;
}

.team {
    margin: 15px 0;
    background: rgb(34 53 93);
    border: 2px solid rgb(69 99 162);
    padding: 10px;
    transition: .2s;
    border-radius: 10px;
    position: relative;
}

.team-variation-button {
    display: flex;
    justify-content: end;
    width: 100%;
}

.team-variation-button > span {
    cursor: pointer;
    color: lightgray;
}

.team-variation-button > span:hover {
    color: rgb(230 230 230);
}

.team-name {
    font-weight: bold;
    margin: 0;
    font-size: 1.2em;
    margin: 0 5px;
}

.team-compo {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: start;
}

.team-members {
    display: flex;
    margin-top: 15px;
}

.team-member {
    width: 100px;
    margin: 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.team-member-thumb {
    aspect-ratio: 1 / 1;
    border: 2px solid white;
    border-radius: 0 25px 25px 25px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.team-member-thumb > img {
    aspect-ratio: 1 / 1;
    width: 100%;
}

.team-member-spe-level {
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 5px;
    position: absolute;
    top: 0;
    right: 0;
}

.team-member-level {
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: bold;
    color: greenyellow;
    text-shadow: 0 0 4px black, 0 0 4px black;
}

/* .team-member-role {
    width: 100%;
    text-align: center;
    background: black;
    border: 2px solid white;
    border-radius: 25px;
    margin-top: 10px;
} */

.team-member-role {
  text-align: center;
  background: white;
  border: 2px solid white;
  border-radius: 25px;
  font-size: 0.8em;
  padding: 0 5px;
  color: black;
  position: absolute;
  top: -7PX;
  left: -10px;
}

.team-info-content {
    padding: 10px;
    width: 100%;
}

.team-info-item {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    padding: 5px 0;
    align-items: center;
}

.team-info-item:not(:last-child)::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, 0) 100%);
}

.team-info-value {
    color: rgb(255 255 255 / 75%);
}

.team-info-item-key {
    color: rgb(255 255 255 / 45%);
    font-weight: bold;
}

.team-info-false-value {
    color: brown;
    font-weight: bold;
}

.team-info-true-value {
    color: limegreen;
    font-weight: bold;
}

.team-tags {
    display: flex;
}

.tags {
    border: 2px solid brown;
    padding: 5px;
    border-radius: 5px;
    margin: 0 5px;
}

.team-desc-content {
    line-height: 1.3em;
    font-size: 0.95rem;
    word-spacing: 2px;
    text-align: justify;
}

.team-desc-content strong {
    color: burlywood;
}

.team-desc {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin-left: 30px;
}

.slider {
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-container {
    overflow: hidden;
}

.slider > .right, .slider > .left {
    cursor: pointer;
    user-select: none;
    font-size: 2em;
    margin: 10px;
}

.light-scroll::-webkit-scrollbar {
    width: 5px;
}
  
  /* Track */
.light-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.light-scroll::-webkit-scrollbar-thumb {
    background: transparent;
    cursor: pointer;
    transition: .3s;
}

  /* Handle */
.light-scroll:hover::-webkit-scrollbar-thumb {
    background: #888;
}

.light-scroll::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.character-stuff {
    max-height: 240px;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.character-stuff, .character-link-skill {
    margin: 10px 0;
    width: 75%;
    border-radius: 10px;
}

.character-stuff > h3 {
    text-align: center;
    margin: 0;
    margin-bottom: 10px;
}

.stuffs {
    /* margin-left: -100%; */
    width: 100%;
    display: flex;
    transition: .5s;
}

.items, .ls {
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
    display: flex;
    border-radius: 10px;
    border: 1px solid rgb(39, 51, 77);
    flex-direction: column;
    background: rgb(34 53 93);
    margin: 20px 0;
}

.items:first-child, .ls:first-child {
    margin-top: 0;
}

.items-main, .ls-main {
    display: flex;
    align-items: center;
    background: rgb(24 35 59);
    border-radius: 5px;
}

.build-repr, .ls-repr {
    height: 60px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

.items-name {
    width: 100%;
}

.build-artifacts-content, .ls-skill-content {
    height: 100%;
}

.ls-skill-content {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.ls-skill-content > img {
    height: 60%;
}

.build-artifacts-content > img {
    height: 100%;
    border-radius: 10px;
}

.build-repr > p, .ls-repr > p {
    text-align: center;
    background-color: rgb(34 53 93);
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
}

.items-name, .ls-skill-name {
    font-weight: bold;
}

.ls-skill-name {
    display: flex;
    width: 100%;
}

.ls-skill-name > p {
    margin: 1em 5px;
}

.ls-skill-condition {
    margin: 1em 5px;
}

.arrow {
    height: 2em;
    margin: 0px 15px;
    transform: rotate(180deg);
    transition: .3s;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
}

.arrow:hover {
    background: rgb(200 250 250 / 15%);
}

.arrow-activated {
    transform: rotate(90deg);
}

.ls-desc, .items-desc {
    color: rgb(220, 220, 220);
    text-align: center;
    transition: .3s;
    margin: 0 10px;
    max-height: 0;
}

.desc-visible {
    margin: 10px;
    max-height: 150px;
}

.sub-category {
    background: linear-gradient(90deg, rgba(20,27,40,0) 0%, rgb(17, 23, 34) 10%, rgb(17, 23, 34) 90%, rgba(252,176,69,0) 100%);
    padding: 0 20px;
    min-width: 30%;
    margin-top: 20px;
    margin-bottom: 10px;
}

.sub-category > h2 {
    text-align: center;
    margin: 10px 0;
}

.guild-quest-info {
    display: flex;
    align-items: center;
    color: rgb(220, 220, 220);
    padding: 0 20px;
}

.gq-info-row {
    display: flex;
    font-size: 1.5em;
    margin: 10px;
}

.gq-info-row > p {
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin: 0;
}

.font-green {
    color: lightgreen;
}

.font-red {
    color:  red;
}

.font-gray {
    color:  gray;
    font-style: italic;
}

.font-gold {
    color:  gold;
    font-style: italic;
}

.font-silver {
    color:  silver;
    font-style: italic;
}

.font-bronze {
    color: chocolate;
    font-style: italic;
}

.font-blue {
    color: #6e92ff;
}

.character-ranking {
    font-size: 2em;
}

.clear-time {
    color: brown;
    display: flex;
    align-items: center;
}

.clear-time > svg {
    height: 1em;
    width: 1em;
    margin-right: 0.4em;
}

.normal {
    color: #29ad29;
    border-color: #29ad29;
}

.hard {
    color: orange;
    border-color: orange;
}

.very-hard {
    color: indianred;
    border-color: indianred;
}

.nightmare {
    color: rgb(138 86 0);
    border-color: rgb(138 86 0);
}

.soul-tree-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 70%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soul-tree-content {
    width: 60%;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: rgb(28, 38, 60);
    max-height: 80%;
    height: 80%;
    overflow: auto;
    border: 2px solid rgb(54 75 121);
    animation: fade_in 0.25s ease;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.soul-tree-section {
    width: 70%;
    background: rgba(20, 27, 42, 255);
    color: lightgray;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    margin: 10px 0;
}

.soul-tree-section > .st-section-name {
    position: absolute;
    top: -0.8em;
    left: -1.5em;
    background: rgba(20, 27, 42, 255);
    color: white;
    padding: 5px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.soul-tree-skill {
    display: flex;
    margin: 10px 0;
}

.soul-tree-skill.soul-tree-inactive-skill {
    opacity: .5;
}

.soul-tree-skill > .st-skill-value {
    width: 15%;
    display: inline-block;
    flex-shrink: 0;
    text-align: center;
}

.soul-tree-ex-skill > .st-skill-value {
    width: 30%;
}

.soul-tree-skill > .st-rebirth-value {
    display: none;
}

.rebirth-char-section > .soul-tree-skill > .st-rebirth-value {
    display: inline-block;
}

.st-skill-name {
    width: 100%;
}

.st-gauge-kill-indicator {
    font-size: 0.8em;
    margin: 0.5em;
}

.support-section {
    background: rgb(0 0 0 / 50%);
    color: lightgray;
    box-shadow: 0 5px 5px rgb(0 0 0 / 30%);
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    width: 100%;
    display: flex;
    padding-bottom: 20px;
    flex-direction: column;
    align-items: center;
}

.support-section-header {
    position: relative;
    display: flex;
    align-items: center;
}

.support-section-header > h2 {
    color: white;
}

.support-section-header > button {
    position: absolute;
    right: -3em;
    background: rgb(46 63 98);
    color: white;
    border: none;
    font-size: 1em;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    cursor: pointer;
}

.support-section-header > button:hover {
    background: rgb(60, 83, 128);
}

.support-section-help-dialog {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-section-help-part {
    display: flex;
    background: rgb(29 41 68);
    width: 80%;
    padding: 20px 10px;
    border-radius: 25px;
    margin: 10px 0;
}

.support-section-help-part > img {
    height: 7em;
    width: 7em;
    border-radius: 25px;
    margin: 0 15px;
}

.support-section-help-part:nth-child(odd) > img {
    order: 1;
}

.support-section-help-part > div {
    padding: 0 15px 0 20px;
    text-align: justify;
    color: lightgray;
}

.support-section-help-part > div > h3 {
    margin: 0;
    margin-bottom: 1em;
    color: white;
}

.support-section-help-part:nth-child(odd) > div > h3 {
    text-align: end;
}

.support-section-help-part strong {
    color: burlywood;
}

.support-list {
    display: flex;
    max-width: 85%;
    overflow-x: auto;
    padding: 10px 0;
}

.selected-support-list {
    padding-right: 10px;
    margin-right: 10px;
    position: relative;
    display: flex;
}

.selected-support-list::after {
    content: "";
    position: absolute;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(250, 250, 250, 0.2);
    right: 0;
}

@-moz-document url-prefix() {
    .support-list {
        scrollbar-color: #858585 #0e131e;
    }
}

.support-list::-webkit-scrollbar {
    height: 5px;
}
  
.support-list::-webkit-scrollbar-track {
    background-color: transparent;
}

.support-list::-webkit-scrollbar-thumb {
    transition: .3s;
    background: rgb(210 210 210 / 40%);
    border-radius: 5px;
}

.support-list::-webkit-scrollbar-thumb:hover {
    cursor: pointer;
    background: rgb(250 250 250 / 40%);
}

.support-slot {
    margin: 0 20px;
    transition: .3s;
}

.support-slot:hover {
    transform: scale(1.1);
}

.support-slot-thumb {
    height: 5em;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3px;
    cursor: pointer;
    border: 2px solid transparent;
}

.support-slot-thumb.selected {
    border-color: lightgray;
}

.support-slot-thumb > img {
    height: 100%;
    max-width: 100%;
}

.support-effect {
    font-size: 0.85em;
}

.support-effect > span {
    text-align: center;
    display: block;
    white-space: nowrap;
}

.inactive-support-skill {
    opacity: 0.5;
    font-style: italic;
    text-decoration: line-through;
}

.aura-support-skill {
    color: violet;
    font-weight: bold;
}

.boost-support-skill {
    color: goldenrod;
    font-weight: bold;
}

.support-compatibility {
    align-self: flex-end;
    margin: 0 2em;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 50px;
    transition: .2s;
}

.support-compatibility:hover {
    background: rgba(255, 255, 255, 0.05);
}

.support-compatibility > img {
    height: 1.5em;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    .build-section {
        max-height: unset;
        height: auto;
    }

    .char-build {
        width: 95%;
    }

    .char-role-builds-wrapper {
        max-width: 55%;
    }
}

@media screen and (max-width: 768px) {
    .intro-app {
        height: auto;
    }

    .main-image-back {
        position: static;
        height: auto;
    }

    .character-informations > div {
        position: static;
        background-color: rgb(0 0 0 /30%);
    }
    .character-informations > div:hover {
        background-color: rgb(0 0 0 /40%);
    }
    
    
    .character-role {
        display: none;
    }
    
    .main-info {
        width: 100%;
        border: none;
        border-radius: 0;
        padding: 1em;
    }

    .character-profile {
        margin-bottom: 20px;
    }

    .character-profile > img {
        height: 5em;
    }

    .main-info-additionnal-button {
        right: 3%;
        top: 5%;
    }

    .soul-tree-button {
        font-size: .95em;
    }

    .artwork-focus-button {
        display: none;
    }

    .char-kit {
        height: 140px;
    }

    .additional-info {
        padding: 1em 2em;
        border: none;
        border-radius: 0;
        background-color: rgb(0 0 0 / 60%);
    }

    .page-sumarry {
        padding: 1em 2em;
        border: none;
        border-radius: 0;
        width: 100%;
    }

    .app {
        flex-direction: column;
        align-items: center;
    }

    .main-title {
        max-width: 90%;
    }

    .main-title > h1 {
        max-width: 85%;
    }

    .mobile-image-back, .mobile-image-back-right {
        display: block;
    }

    .image-back , .image-back-right {
        display: none;
    }

    .main-content {
        width: 100%;
    }

    .char-stats {
        border: none;
    } 

    .team > .clear-score, .clear-score {
        display: none;
    }

    .additional-info {
        width: 100%;
    }

    .info-val-icons {
        flex-direction: column;
        align-items: baseline;
    }

    .informations {
        grid-template-columns: 1fr;
    }

    .info > p {
        width: 40%;
    }

    .guild-quest-info {
        flex-direction: column;
        align-items: center;
    }

    .team {
        grid-template-rows: 70px;
    }

    .used-rotation {
        flex-wrap: wrap;
        justify-content: center;
    }

    .team-head-line, .team-line {
        flex-direction: column;
    }

    .team-varitations-list {
        height: 90%;
        width: 80%;
        max-height: 90%;
    }

    
    .main-title > h1 {
        font-size: 2em;
    }

    .summary-informations {
        flex-direction: column;
        align-items: center;
    }

    div.map-informations-wrapper {
        position: unset;
        margin-top: 20px;
        width: 90%;
    }

    .character-stuff, .character-link-skill {
        width: 90%;
    }
    
    .team-members {
        width: 100%;
        justify-content: space-between;
    }

    .team-member {
        width: auto;
        border-radius: 15px 15px 0 0;
    }

    .team-member > img {
        height: 4.5em;
        width: auto;
        border-radius: 15px;
        border: 1px solid white;
    }
    
    .team-member-role {
        font-weight: bold;
        color: #a0adbb;
        background: none;
        border: none;
    }

    .team-info-content {
        margin-top: 10px;
    }

    .team-desc {
        margin-left: auto;
        margin-top: 30px
    }

    .items, .ls {
        position: relative;
    }

    .items-main, .ls-main {
        flex-direction: column;
    }

    .arrow {
        position: absolute;
        top: 15px;
        right: 0;
    }

    .character-builds {
        flex-direction: column;
        width: 90%;
    }

    .items-name {
        text-align: center;
    }

    .build-repr, .ls-repr {
        width: 100%;
    }
    
    .ls-repr > p, .build-repr > p {
        position: absolute;
        top: 0;
        left: 0;
    }

    .ls-skill-name {
        flex-direction: column;
        align-items: center;
    }

    .ls-skill-name > p {
        margin: 0.25em 5px;
    }

    .ls-skill-content {
        justify-content: center;
        width: 100%;
    }

    .build-artifacts-content {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .sub-category {
        min-width: 70%;
    }

    .soul-tree-container {
        display: flex;
        height: 100vh;
        align-items: flex-end;
    }

    .soul-tree-content {
        border-radius: 20px 20px 0 0;
        height: 90%;
        max-height: 90%;
        width: 100%;
    }

    .soul-tree-section {
        width: 95%;
    }

    .support-section {
        border-top: 1px solid rgb(255 255 255 / 10%);
    }

    .support-section-help-part {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .support-section-help-part:nth-child(odd) > img {
        order: unset;
    }

    .support-section-help-part:nth-child(odd) > div > h3 {
        text-align: center;
    }

    .support-section-help-part > div > h3 {
        margin-top: 1em;
    }

    .new-summary-informations {
        padding: 10px;
    }

    .guild-quest-presentation {
        width: 90%;
    }

    .guild-quest-selector-section > div {
        max-width: 100%;
        padding: 20px 0;
    }

    .build-section {
        max-height: unset;
        height: auto;
    }
    
    .teams-section {
        max-height: unset;
        height: auto;
    }

    .team-filters {
        display: none;
    }
}