body {
    background-color: rgb(28,38,60);
    font-family: 'Ubuntu', sans-serif;
}

* {
    box-sizing: border-box;
}

.card {
    height: 700px;
    width: 1350px;
    background-image: url(/img/characters/artwork/Aizen_6th.png);
    /* background-image: url(./Kyo.png); */
    /* background: linear-gradient(90deg, rgba(145, 39, 39, 1) 0%, rgba(39, 39, 175, 1) 100%); */
    background-size: cover;
    position: relative;
    border-radius: 20px;
    border: 2px solid rgb(112 45 174);
    /* border: 2px solid rgb(226 75 75); */
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px) brightness(0.35);
}

.melee, .range, .mix {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    z-index: 2;
}

.mix {
    grid-column: 1 / 3;
    min-height: 0;
    height: min-content;
}

.mix > h3 {
    margin: 0.2em;
}

.mix-team-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding-top: 10px;
    margin-top: 10px;
    position: relative;
}

.mix-team-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: rgb(255 255 255 / 30%);
}

.mix-team-list > .team {
    border: 2px solid rgb(129 44 150);
    justify-self: center;
}

/* .melee {
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.range {
    background: linear-gradient(-90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
} */

.melee > .team {
    border: 1px solid brown;
}

.range > .team {
    border: 1px solid royalblue;
}

.team {
    display: inline-flex;
    padding: 5px;
    background: rgb(0 0 0 / 80%);
    border-radius: 10px;
    height: 61px;
    color: lightgray;
    font-size: 0.7em;
    width: 90%;
}

.rota-name {
    text-align: center;
    width: 100%;
    padding-bottom: 5px;
}

.team-info {
    display: inline-flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    width: 100%;
}

.team-compo {
    flex-shrink: 0;
    margin-right: 20px;
    height: 100%;
}

.team-member {
    display: inline-block;
    font-size: 0;
    position: relative;
    margin: 0 5px;
    height: 100%;
    aspect-ratio: 1/1;
}

.team-member > img {
    border-radius: 10px;
    height: 100%;
    z-index: 1;
    position: relative;
}

.team-member::after {
    content: "";
    height: 100%;
    width: 100%;
    border: 1px solid rgb(211 211 211 / 30%);
    display: block;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 10px;
}

.team-clear {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.clear-time {
    color: lightgray;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clear-time > * {
    text-align: center;
}

.clear-time > p {
    margin: 0;
    width: 106%; /*FIREFOX DE MERDE.*/
}

.clear-time > span {
    margin-bottom: 0.3em;
    font-size: 1.4em;
    color: white;
}

.cleared {
    color: limegreen;
    display: flex;
    align-items: center;
    font-size: 1.8em;
}

.non-cleared {
    color: brown;
    display: flex;
    align-items: center;
    font-size: 1.8em;
}

/* MIDDLE PANEL */

.player-profile-container {
    display: flex;
    /* width: 100%; */
    height: 100%;
    align-items: center;
    z-index: 2;
}

.player-panel-container {
    height: 600px;
    width: 330px;
    margin-left: 20px;
    background-image: url(/img/characters/artwork/Aizen_6th.png);
    position: relative;
    background-position-x: center;
    background-size: cover;
    border-radius: 10px;
    border: 2px solid rgb(226 75 75);
    border: 2px solid rgb(112 45 174);
    overflow: hidden;
    background-repeat: no-repeat;
    cursor: grab;
}

.player-panel-bg {
    background-image: url(/img/characters/artwork/Aizen_6th.png);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position-x: center;
}

.website-link {
    z-index: 10;
    position: absolute;
    color: white;
    font-weight: 400;
    font-size: 0.7em;
    color: lightgray;
    left: 0;
    font-style: italic;
    padding: 5px 10px;
    bottom: 0;
    min-width: 150px;
}

.player-informations {
    color: lightgray;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 600px;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1) 100%);
}

.player-pres {
    padding: 10px;
    display: flex;
}

.player-pfp {
    height: 90px;
    border: 2px solid white;
    border-radius: 50%;
    margin-bottom: 10px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: rgb(30 30 30);
    box-shadow: inset 0px 0px 5px 5px rgb(0 0 0);
}

.player-account {
    margin: 0 10px;
    width: 100%;
}

.player-account > * {
    width: 100%
}

.player-name {
    font-weight: bold;
    color: white;
    font-size: 1.1em;
    margin: 0;
    margin-top: 10px;
    text-shadow: 2px 2px black;
}

.player-UID {
    font-weight: bold;
    color: lightgray;
    margin: 0;
    margin-top: 5px;
    text-shadow: 2px 2px black;
}

.player-stats {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 50px;
    padding-bottom: 20px;
}

.player-card-averaged {
    font-size: 2em;
    color: white;
    text-shadow: 0 0 15px rgb(220 220 220 / 80%);
}

.card-team-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-rows: 86.5% auto; */
}

/* EDITOR */

.card-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgb(0 0 0 / 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    z-index: 10;
}

.card-edition {
    background: rgb(28 34 50);
    display: flex;
    border-radius: 10px;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
    max-width: 100%;
    height: fit-content;

}

.card-container {
    font-size: 16px;
    width: 100%;
    overflow-x: auto;
}

/* width of the entire scrollbar */
.card-container::-webkit-scrollbar {
    height: 6px;
}
   
 /* color of the tracking area */
 .card-container::-webkit-scrollbar-track {
    background: rgb(20, 27, 40);
}
 
.card-container::-webkit-scrollbar-thumb {
    background-color: rgb(40, 55, 83);
}

.card-editor-mode {
    width: 100%;
    background: rgb(91 111 163);
    padding: 10px;
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.card-editor-mode > span {
    margin: 0 10px;
    color: lightgray;
    cursor: pointer;
}

.card-editor-mode > span:hover {
    color: white;
}

.card-editor-button {
    display: flex;
    padding: 10px 20px;
    padding-bottom: 0;
    width: 100%;
}

.card-editor-button > * {
    font-size: 0.9em;
    background: none;
    border: none;
    outline: none;
    color: gray;
    cursor: pointer;
    margin: 0 10px;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.card-editor-button > *:hover {
    color: lightgray;
}

.card-editor-button > div > select {
    background: none;
    border: none;
    outline: none;
    color: inherit;
    cursor: pointer;
    border-bottom: 1px solid gray;
    margin: 0 5px;
}

.card-editor-button > div > select > option {
    background: rgb(28 34 50);
} 

.card-tech {
    border: 2px solid rgb(133 183 112);
}

.card-power {
    border: 2px solid rgb(226 75 75);
}

.card-speed {
    border: 2px solid rgb(72 153 240);
}

.card-heart {
    border: 2px solid rgb(112 45 174);
}

.card-mind {
    border: 2px solid rgb(228 159 49);
}

.card-neutral {
    border: 2px solid lightgray;
}

.card-search-name-button {
    border-radius: 0 5px 5px 0;
    border: none;
    outline: none;
    background: rgb(91 111 163);;
    padding: 5px;
    box-shadow: inset 1px 4px 5px 0px rgb(0 0 0 / 30%), inset 0px -3px 5px 0px rgb(0 0 0 / 30%);
    color: lightgray;
    cursor: pointer;
}

.card-search-name-input {
    border-radius: 5px 0 0 5px;
    border: none;
    outline: none;
    background: rgb(24 29 42);
    padding: 5px;
    box-shadow: inset 1px 4px 5px 0px rgb(0 0 0 / 30%), inset 0px -3px 5px 0px rgb(0 0 0 / 30%);
    color: lightgray;
}

.card-character-proposition-list {
    display: inline-flex;
    justify-content: normal;
    flex-direction: row;
    max-width: 50%;
    overflow-x: auto;
}

/* width of the entire scrollbar */
.card-character-proposition-list::-webkit-scrollbar {
   height: 6px;
}
  
/* color of the tracking area */
.card-character-proposition-list::-webkit-scrollbar-track {
    background: rgb(20, 27, 40);
}

.card-character-proposition-list::-webkit-scrollbar-thumb {
    background-color: rgb(40, 55, 83);
}

@media screen and (max-width: 768px) {
    .card-wrapper {
        overflow-y: auto;
        align-items: baseline;
    }

    .card-container {
        padding: 10px;
    }

    .card-editor-button {
        justify-content: center;
    }

    .card-edition {
        margin: 15% 0;
    }

    .card-character-proposition-list {
        max-width: 80%;
    }
}