.icon-img {
    width: 200px;
}

.profile {
    margin-left: auto;
}

.edit-profile-selector {
    margin-left: auto;
}

.profile-selector {
    margin-left: 1rem;
}

.profile-selector p {
    margin-block-start: 2px;
    margin-block-end: 2px;
}

.profile-selector select {
    background: #25273E;
    border: 1px solid #414141;
    border-radius: 5px;
    color: white;
    padding: 5px;
    font-size: 1rem;
}

.scroll-container {
    position: fixed; /* Positionne le conteneur de défilement */
    top: 0px;
    right: 0;
    width: calc(100% - 20px); /* Ajustez la largeur pour laisser de la place pour la barre de défilement personnalisée */
    height: calc(100vh - 100px);
    overflow-x: hidden; /* Empêche le défilement horizontal */
    padding-top: 100px;
}

a.logout-button {
    padding-left: 10px;
}

/* Conteneur pour les boutons de navigation (haut/bas) */
.navigation-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%); /* Pour centrer verticalement */
    display: flex;
    flex-direction: column; /* Empile les boutons verticalement */
    gap: 10px; /* Espace entre les boutons */
    z-index: 1000; /* Assure que les boutons sont visibles au-dessus des autres éléments */
}

/* Style commun pour les boutons de navigation */
.navigation-container a {
    background-color: #bdc3c7; /* Couleur de fond */
    color: white; /* Couleur du texte */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.navigation-container a:hover {
    background-color: #3498db; /* Couleur bleue lors du survol */
}

.button-container {
    margin: 10px;
}

.edit-container {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    padding-right: 10px;
    padding-left: 10px;
}

.edit-lien_max_ur {
    position: absolute;
    bottom: 104px;
    right: 40px;
    width: 28px;
    height: auto;
}

.edit-lien_max_lr {
    position: absolute;
    bottom: 84px;
    right: 40px;
    width: 28px;
    height: auto;
}

.edit-filtres {
    position: absolute;
    bottom: 102px;
    right: 75px;
    width: 28px;
    height: auto;
}

button[type="submit"] {
    text-align: center;
}

.mainHeader {
    background-color: #161b25;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.edit-mainHeader {
    background-color: #161b25;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center; /* Ce changement centre tout le contenu horizontalement */
    padding: 0 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    width: calc(100% - 50px);
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Centre exactement le logo */
}

.logo-container img {
    height: 60px;
}

.admin-link {
    position: absolute;
    top: 50%;
    left: 1rem; 
    transform: translateY(-50%);
}

.admin-link img {
    height: 30px;
}

body {
    background-color: rgb(4, 9, 12);
    color: white;
    font-family: "Source Sans Pro", sans-serif;
    margin-top: 100px;
}

.cadre {
    padding: 2rem 0.8rem;
    box-sizing: border-box;
    margin-top: 40px;
    margin-bottom: 50px;
    margin-left: 200px;
    margin-right: 200px;
    max-width: 100%;
    border-radius: 40px;
    background: rgb(22, 27, 37);
    box-shadow: rgb(54, 133, 181) 0 3px 5px -2px;
    position: relative;
    text-align: center;
}

.icon_accueil {
    width: 120px;
    height: 120px;
    padding: 2px;
}

span {
    display: flex;
    text-align: center;
    font-size: 1.2rem;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

span img {
    margin: 0 1rem;
    width: 16px;
}

div {
    text-align: center;
}

a {
    display: inline-flex;
}

ul {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #25273E;
    position: fixed;
    width: 100%;
    border-bottom: black solid 1px;
    border-top: #25273E solid 5px;
}

table {
    margin: 0 auto;
    padding: 1px;
    border: 2px solid #414141;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    box-shadow: 0 0 4px #414141;
    text-align: center;
    width: auto;
}

th, td {
    border: 1px solid black;
    padding: 1px;
}

.box {
    background: #25273E;
}

.icon {
    width: 80px;
    height: 80px;
    padding: 10px;
}

.catégorie {
    max-width: 100px;
    max-height: 100px;
}

.possédée {
    background-color: green;
    display: grid;
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
}

.sans-fond {
    display: grid;
    max-width: 100%;
    max-height: 100%;
}

.non-possédée {
    background-color: #414358;
    display: grid;
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
}

.max {
    background: conic-gradient(
            from 45deg,
            #6699ff, #66cc66, #ffcc66, #ff6666, #aa66cc, #6699ff
    );
    display: grid;
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
}

.container {
    position: relative;
    display: inline-block;
}

.lien_max {
    position: absolute;
    bottom: 4px;
    right: 5px;
    width: 28px;
    height: auto;
}

.filtres {
    position: absolute;
    bottom: 2px;
    right: 40px;
    width: 28px;
    height: auto;
}

.collection {
    position: center;
    padding: 10px;
    max-width: 100%;
    max-height: 100px;
}

b {
    position: absolute;
    top: 30px;
    left: 260px;
    text-shadow: 1px 1px black;
    color: white;
    font-style: oblique;
    line-height: 1.75;
    font-size: 18px;
}

.UR {
    max-width: 100%;
    max-height: 120px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.LR {
    max-width: 100%;
    max-height: 120px;
}

.edit-button-container {
    position: fixed;
    right: 50px; /* Distance de la droite de la page */
    z-index: 1; /* Assure que le bouton est au-dessus des autres éléments */
}

.edit-button {
    background-color: #bdc3c7; /* Couleur grise du bouton */
    color: white; /* Couleur du texte */
    padding: 10px 20px; /* Espacement interne */
    text-decoration: none; /* Supprimer le soulignement du lien */
    border-radius: 5px; /* Bordures arrondies */
    transition: background-color 0.3s ease; /* Effet de transition */
}

.edit-button:hover {
    background-color: #3498db; /* Couleur bleue lors du survol */
}

.card-icon-item {
    grid-column: 1;
    grid-row: 1;
}

.card-background {
    z-index: 1;
}

.card-background img {
    margin-top: 17px;
    height: 100px;
}

.lr-background {
    z-index: 2;
}

.lr-background img {
    height: 120px;
}

@keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
}

.spiral {
    z-index: 2;
    animation: rotate 15s linear infinite;
}

.spiral img {
    margin-top: 2px;
    height: 140px;
}

.card-name {
    z-index: 3;
}

.card-name img {
    height: 125px;
}

.card-rarity-ssr {
    z-index: 4;
}

.card-rarity-ssr img {
    margin-top: 76px;
    margin-left: -78px;
    height: 60px;
}

.card-rarity-ur {
    z-index: 4;
}

.card-rarity-ur img {
    margin-top: 76px;
    margin-left: -78px;
    height: 60px;
}

.card-rarity-lr {
    z-index: 4;
}

.card-rarity-lr img {
    margin-top: 80px;
    margin-left: -80px;
    height: 50px;
}

.card-element {
    z-index: 4;
}

.card-element img {
    margin-left: 84px;
    height: 50px;
}