* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url("../img/Untitled.png");
}

main {
    width: 100%;
    /* height: 100vh; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.messagesNotifications {
    position: relative;
    width: 15px;
    height: 15px;
    background-color: #c400c4;
    border-radius: 50px;
    /*right: 388px;*/
    top: 18px;
    border: 2px solid #ffffff;

}

.profileNotifications {
    position: relative;
    width: 15px;
    height: 15px;
    background-color: #c400c4;
    border-radius: 50px;
    top: 18px;
    border: 2px solid #ffffff;

}

.main-profile {
    width: 100%;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 60px;
}

h1 {
    font-family: 'Staatliches', cursive;
    font-size: 70px;
}

h2 {
    font-family: 'Staatliches', cursive;
    font-size: 34px;
    max-width: 640px;
    line-height: 60px;
    text-align: justify;
    border-radius: 20px;
   }

h3 {
    font-family: 'Staatliches', cursive;
    font-size: 70px;
}

select {
    font-family: 'Staatliches', cursive;
}

option {
    font-family: 'Staatliches', cursive;
    font-size: 25px;
}

.profile-pic-user {
    color: transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 30px;
}

.user-infos {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fighterContainer {
    margin-top: 60px;
    margin-bottom: 10px;
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 20px;
}

.logo {
    border-radius: 40px;
    margin-left: 10px;
    margin-right: 30px;
}

.avatarCont {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid black;
}

.bxs-home, .bxs-invader, .bxs-book-content, .bxs-user, .bx-power-off, .bxs-store, .bx-message-dots {
    margin-top: 13px;
    margin-left: 5px;
}

.bx-money-withdraw, .bxs-trash, .bx-arrow-from-top, .bx-cart-add, .bx-message-dots {
    font-size: 24px;
    margin-right: 10px;
}

.att {
    font-size: 35px;
    margin-top: 25px;
}

.desc {
    margin-top: 60px;
    font-size: 25px;
    text-align: justify;
}

.sell {
    width: 360px;
}

.fighterAvatar {
    border-radius: 10px;
    margin-top: 30px;
    width: 100%;
    height: 100%;
    border: 1px solid dimgrey;
}

.fighterAvatar {
    width: 100%; /* This ensures the image takes the full width of its container */
    /*height: auto; /* This maintains the aspect ratio based on the width, disable */
    max-height: 600px; /* Adjust this value depending on your needs */
    min-height: 337px;
    object-fit: cover; /* This ensures that the image is resized to cover the container */
}

.friends {
    display: flex;
    flex-direction: column;
    font-family: 'Staatliches', cursive;
    font-size: 32px;
    box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.2);
    justify-content: start;
    width: 15%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 2px solid white;
    border-radius: 1rem;
    padding: 35px 50px;
    background: repeating-linear-gradient(to bottom, transparent 0%, rgba(64, 144, 181, 0.6) 1px, rgb(0, 0, 0) 3px, hsl(295, 60%, 12%) 5px, #153544 4px, transparent 0.5%), repeating-linear-gradient(to left, hsl(295, 60%, 12%) 100%, hsla(295, 60%, 12%, 0.99) 100%);

}

.friendlist {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-family: 'Staatliches', cursive;
    font-size: 38px;
    justify-content: start;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 1rem;
    padding: 35px 50px;
}

.profile-infos {
    display: flex;
    flex-direction: column;
    font-family: 'Staatliches', cursive;
    font-size: 32px;
    box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.2);
    justify-content: start;
    width: 40%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /*border: 2px solid white;*/
    border-radius: 1rem;
    padding: 35px 50px;
    background-color: rgba(0, 0, 0, 0.58);
    /*background: repeating-linear-gradient(to bottom, transparent 0%, rgba(64, 144, 181, 0.6) 1px, rgb(0, 0, 0) 3px, hsl(295, 60%, 12%) 5px, #153544 4px, transparent 0.5%), repeating-linear-gradient(to left, hsl(295, 60%, 12%) 100%, hsla(295, 60%, 12%, 0.99) 100%);*/
    overflow: scroll;
}

.notif-title {
    font-size: 48px;
    margin-bottom: 30px;
}

.main-container {
    width: 100%;
    height: 600px;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 40px;
}

.main-container-friendlist {
    width: 100%;
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 40px;
}

.card-back-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.cursor-pointer {
    cursor: pointer;
}

.stars2 {
    background:
        repeating-linear-gradient(to bottom, transparent 0%,
        rgba(64, 144, 181, 0.6) 1px,
        rgb(0, 0, 0) 3px,
        hsl(295, 60%, 12%) 5px, #153544 4px, transparent 0.5%),
        repeating-linear-gradient(to left,
        hsl(295, 60%, 12%) 100%,
        hsla(295, 60%, 12%, 0.99) 100%);
    animation: backglitch2 50ms linear infinite;
    margin-top: 40px;
    /*width: 467px;*/
    width: 87% !important;
    border: 2px solid;
    border-radius: 20px;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    object-fit: fill;
}

.friend-avatar-circle {
    width: 167px;
    height: 167px;
    object-fit: fill;
}


#output {
    border-radius: 80px;
}

.join-with-code {
    display: flex;
    flex-direction: column;
}

.btn-create-room {
    width: 300px;
    height: 60px;
    font-family: 'Staatliches', cursive;
    font-size: 30px;
}

.fight-cont {
     background: inherit;
     padding-top: 60px;
     border-radius: 30px 30px 0 0;
     border: solid #69696938;
 }

.fighterAvatar2 {
    border-radius: 50px;
    margin-top: 5px;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid dimgrey;
}

.fighterAvatar3 {
    border-radius: 50px;
    margin-top: 5px;
    width: 100%;
    height: 100%;
    border: 1px solid dimgrey;
}

.friendAvatar {
    border-radius: 50%;
    margin-top: 5px;
    width: 167px;
    height: 167px;
    object-fit: cover;
    border: 1px solid dimgrey;
}

.hp {
    margin-top: 15px;
}

.navbar {
    border-bottom: 2px solid #212121e5 !important;
    height: 95px;
    font-size: 24px;
    font-family: 'Staatliches', cursive;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    width: 100%;
    /*background: rgba(18, 18, 18, 0.89) !important;*/
    background: #121212 !important;
    z-index: 1;
}

/*The eye icon on the password can be stylize with any tool you want
to use (the only way i know to do this correctly is using JS)
this is meant to be wide supported and it really depends on you browsers
if i realize any way to stylize the eye it could be added in the future
in other input type*/

.container {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-style: italic;
    font-weight: bold;
    display: flex;
    margin: auto;
    aspect-ratio: 16/9;
    align-items: center;
    justify-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 1em;
    margin-top: 90px;
}

.input-container {
    filter: drop-shadow(46px 36px 24px #4090b5) drop-shadow(-55px -40px 25px #9e30a9);
    animation: blinkShadowsFilter 8s ease-in infinite;
    height: 275px;
    width: 445px;
    margin-top: 40px;
}

.btn-generate {
    margin-top: 190px;
    font-family: 'Staatliches', cursive;
    font-size: 30px;
    border: 1px solid #69696975;
}

.input-content {
    display: grid;
    align-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
    padding-inline: 1em;
}

.input-content::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(40px);
    -webkit-clip-path: polygon(26% 0, 66% 0, 92% 0, 100% 8%, 100% 89%, 91% 100%, 7% 100%, 0 92%, 0 0);
    clip-path: polygon(26% 0, 66% 0, 92% 0, 100% 8%, 100% 89%, 91% 100%, 7% 100%, 0 92%, 0 0);
    background: rgba(122, 251, 255, 0.5568627451);
    transition: all 1s ease-in-out;
}

.input-content::after {
    content: "";
    position: absolute;
    width: 98%;
    height: 98%;
    box-shadow: inset 0px 0px 20px 20px #212121;
    background: repeating-linear-gradient(to bottom, transparent 0%, rgba(64, 144, 181, 0.6) 1px, rgb(0, 0, 0) 3px, hsl(295, 60%, 12%) 5px, #153544 4px, transparent 0.5%), repeating-linear-gradient(to left, hsl(295, 60%, 12%) 100%, hsla(295, 60%, 12%, 0.99) 100%);
    -webkit-clip-path: polygon(26% 0, 31% 5%, 61% 5%, 66% 0, 92% 0, 100% 8%, 100% 89%, 91% 100%, 7% 100%, 0 92%, 0 0);
    clip-path: polygon(26% 0, 31% 5%, 61% 5%, 66% 0, 92% 0, 100% 8%, 100% 89%, 91% 100%, 7% 100%, 0 92%, 0 0);
    animation: backglitch 50ms linear infinite;
}

.input-dist {
    z-index: 80;
    display: grid;
    align-items: center;
    text-align: center;
    width: 100%;
    padding-inline: 1em;
    padding-block: 1.2em;
    grid-template-columns: 1fr;
}

.input-type {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1em;
    font-size: 1.1rem;
    background-color: transparent;
    width: 100%;
    border: none;
}

.input-is {
    color: #fff;
    font-size: 22px;
    background-color: transparent;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 0.5em;
    padding-block: 0.7em;
    border: none;
    transition: all 1s ease-in-out;
    border-bottom: 1px solid hsl(221, 26%, 43%);
}

.input-is:hover {
    transition: all 1s ease-in-out;
    background: linear-gradient(90deg, transparent 0%, rgba(102, 224, 255, 0.2) 27%, rgba(102, 224, 255, 0.2) 63%, transparent 100%);
}

.input-content:focus-within::before {
    transition: all 1s ease-in-out;
    background: hsla(0, 0%, 100%, 0.814);
}

.input-is:focus {
    outline: none;
    border-bottom: 1px solid hsl(192, 100%, 100%);
    color: hsl(192, 100%, 88%);
    background: linear-gradient(90deg, transparent 0%, rgba(102, 224, 255, 0.2) 27%, rgba(102, 224, 255, 0.2) 63%, transparent 100%);
}

.input-is::-moz-placeholder {
    color: hsla(192, 100%, 88%, 0.806);
}

.input-is::placeholder {
    color: hsla(192, 100%, 88%, 0.806);
}

.profile-pic {
    color: transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 30px;
}

.profile-pic2 {
    color: transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 30px;
}

.profile-pic input {
    display: none;
}
.profile-pic img {
    position: absolute;
    object-fit: cover;
    width: 150px;
    height: 150px;
    box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    z-index: 0;
    border: 2px black solid;
}
.profile-pic .-label {
    cursor: pointer;
    height: 150px;
    width: 150px;
}
.profile-pic:hover .-label {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    font-family: kronaone;
    text-align: center;
    padding-right: 5px;
    padding-bottom: 15px;
    color: #fafafa;
    transition: background-color 0.2s ease-in-out;
    border-radius: 100px;
    margin-bottom: 0;
}
.profile-pic span {
    display: inline-flex;
    padding: 0.2em;
    height: 2em;
}

.name-user {
    margin-top: 60px;
}

.level-user {
    margin-top: 60px;
}

.notif-cont {
    border-top: 2px solid white;
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pagination > li > a
{
    background-color: #212121;
    color: white;
    border: none;
}

.page-link {
    border:none;
}

.active > .page-link, .page-link.active {
    z-index: 3;
    color: white;
    background-color: rgba(231, 0, 250, 0.48);
    border: none;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover
{
    color: #5a5a5a;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a
{
    color: white;
    background-color: #5A4181 !Important;
    border: solid 1px #5A4181 !Important;
}

.pagination > .active > a:hover
{
    background-color: #5A4181 !Important;
    border: solid 1px #5A4181;
}

.flip-card.highlight {
    border: 3px solid yellow; /* Couleur d'illumination */
    box-shadow: 0 0 10px yellow; /* Ajoute un effet lumineux */
}

@keyframes backglitch2 {
    0% {
        box-shadow: inset 0px 0px 0px 0px #212121;
    }
    50% {
        box-shadow: inset 0px 0px 0px 0px hsl(297, 42%, 10%);
    }
    100% {
        box-shadow: inset 0px 20px 20px 30px #212121;
    }
}

@keyframes backglitch {
    0% {
        box-shadow: inset 0px 20px 20px 30px #212121;
    }

    50% {
        box-shadow: inset 0px -20px 20px 30px hsl(297, 42%, 10%);
    }

    to {
        box-shadow: inset 0px 20px 20px 30px #212121;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg) translate(-50%, 20%);
    }

    50% {
        transform: rotate(180deg) translate(40%, 10%);
    }

    to {
        transform: rotate(360deg) translate(-50%, 20%);
    }
}

@keyframes blinkShadowsFilter {
    0% {
        filter: drop-shadow(46px 36px 28px rgba(64, 144, 181, 0.3411764706)) drop-shadow(-55px -40px 28px #9e30a9);
    }

    25% {
        filter: drop-shadow(46px -36px 24px rgba(64, 144, 181, 0.8980392157)) drop-shadow(-55px 40px 24px #9e30a9);
    }

    50% {
        filter: drop-shadow(46px 36px 30px rgba(64, 144, 181, 0.8980392157)) drop-shadow(-55px 40px 30px rgba(159, 48, 169, 0.2941176471));
    }

    75% {
        filter: drop-shadow(20px -18px 25px rgba(64, 144, 181, 0.8980392157)) drop-shadow(-20px 20px 25px rgba(159, 48, 169, 0.2941176471));
    }

    to {
        filter: drop-shadow(46px 36px 28px rgba(64, 144, 181, 0.3411764706)) drop-shadow(-55px -40px 28px #9e30a9);
    }
}

@keyframes blinkShadowsFilter2 {
    0% {
        filter: drop-shadow(12px 9px 7px rgba(64, 144, 181, 0.1)) drop-shadow(-14px -10px 7px #9e30a9);
    }

    25% {
        filter: drop-shadow(12px -9px 6px rgba(64, 144, 181, 0.25)) drop-shadow(-14px 10px 6px #9e30a9);
    }

    50% {
        filter: drop-shadow(12px 9px 8px rgba(64, 144, 181, 0.25)) drop-shadow(-14px 10px 8px rgba(159, 48, 169, 0.1));
    }

    75% {
        filter: drop-shadow(5px -5px 7px rgba(64, 144, 181, 0.25)) drop-shadow(-5px 5px 7px rgba(159, 48, 169, 0.1));
    }

    to {
        filter: drop-shadow(12px 9px 7px rgba(64, 144, 181, 0.1)) drop-shadow(-14px -10px 7px #9e30a9);
    }
}

@keyframes blinkShadowsFilter3 {

    0% {
        filter: drop-shadow(5px -5px 7px rgba(64, 144, 181, 0.25)) drop-shadow(-5px 5px 7px rgba(159, 48, 169, 0.1));
    }

    75% {
        filter: drop-shadow(5px -5px 7px rgba(238, 3, 245, 0.25)) drop-shadow(-5px 5px 7px rgba(64, 144, 181, 0.25));
    }

    to {
        filter: drop-shadow(5px -5px 7px rgba(64, 144, 181, 0.25)) drop-shadow(-5px 5px 7px rgba(159, 48, 169, 0.1));
    }

}

@keyframes blinkShadowsFilterRare {

    0% {
        filter: drop-shadow(5px -5px 7px rgba(1, 122, 159, 0.56)) drop-shadow(-5px 5px 7px rgba(1, 122, 159, 0.56));
    }

    75% {
        filter: drop-shadow(5px -5px 7px rgb(33, 33, 33)) drop-shadow(-5px 5px 7px rgb(33, 33, 33));
    }

    to {
        filter: drop-shadow(5px -5px 7px rgba(1, 122, 159, 0.56)) drop-shadow(-5px 5px 7px rgba(1, 122, 159, 0.56));
    }

}

@keyframes blinkShadowsFilterLegendary {

    0% {
        filter: drop-shadow(5px -5px 7px rgba(245, 189, 3, 0.56)) drop-shadow(-5px 5px 7px rgba(245, 189, 3, 0.56));
    }

    75% {
        filter: drop-shadow(5px -5px 7px rgb(33, 33, 33)) drop-shadow(-5px 5px 7px rgb(33, 33, 33));
    }

    to {
        filter: drop-shadow(5px -5px 7px rgba(245, 189, 3, 0.56)) drop-shadow(-5px 5px 7px rgba(245, 189, 3, 0.56));
    }

}

@keyframes blinkShadowsFilterEpic {

    0% {
        filter: drop-shadow(5px -5px 7px rgba(255, 255, 255, 0.87)) drop-shadow(-5px 5px 7px rgba(255, 255, 255, 0.87));
    }

    75% {
        filter: drop-shadow(5px -5px 7px rgb(0, 0, 0)) drop-shadow(-5px 5px 7px rgb(0, 0, 0));
    }

    to {
        filter: drop-shadow(5px -5px 7px rgba(255, 255, 255, 0.87)) drop-shadow(-5px 5px 7px rgba(255, 255, 255, 0.87));
    }

}

@media (max-width: 1695px) {

    .fighterContainer {
        width: 25%;
    }

    .profile-infos {
        width: 80%;
    }

}

@media (max-width: 1415px) {

    .fighterContainer {
        width: 33%;
    }

    .friendlist {
        justify-content: center;
    }

    .friendAvatar {
        margin-bottom: 30px;
    }

}

@media (max-width: 1095px) {

    .fighterContainer {
        width: 50%;
    }


    .friendlink {
        margin-bottom: 30px;
    }

    .profile-infos {
        width: 80%;
    }

    .messagesNotifications {
        left: 10px;
        top: 19px;
    }

    .profileNotifications {
        left: 10px;
        top: 19px;
    }

}

@media (max-width: 668px) {

    .fighterContainer {
        width: 100%;
    }

    .friendlist {
        justify-content: center;
    }


    .notif-cont {
        font-size: 24px;
    }

    .profile-infos {
        padding: 35px 10px;
    }

    li.page-item {

        display: none;
    }

    .page-item:first-child,
    .page-item:nth-child( 2 ),
    .page-item:nth-last-child( 2 ),
    .page-item:last-child,
    .page-item.active,
    .page-item.disabled {

        display: block;
    }

    .messagesNotifications {
        left: 5px
    };

    .profileNotifications {
        left: 5px;
    }

}


@media (max-width: 428px) {

    h1 {
        font-size: 52px;
    }

    h2 {
        font-family: 'Staatliches', cursive;
        font-size: 24px;
        max-width: 640px;
        line-height: 60px;
        text-align: justify;
        border-radius: 20px;
    }

    .notif-title {
        font-size: 38px;
    }

    .profile-infos {
        font-size: 18px;
        padding: 5px;
        width: 85%;
    }

    .logo {
        width: 190px;
    }

    .input-container {
        animation: none;
        width: 100%;
        margin-top: 100px;
    }

    .notif-cont {
        font-size: 18px;
    }

    .profileNotifications {
        left: 5px;
    }

    .messagesNotifications {
        left: 5px;
    }
}



