@import './colors.css';
.profileheader{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 80%;
    height: 150px;
    border: 1px solid var(--secondary);
    background:var(--secondary);
    box-sizing: border-box;
    border-radius:var(--borderradius);
    padding: 20px;
    background: url("../images/banner.png");
    background-size: 100%;
    background-repeat: no-repeat;
    /*
    background-position-y: -120px;
    */
    background-position-y: 50%;
    margin-top: 20px;
}
.profileheader::before{
    content:"";
    position: absolute;
    background: rgba(0, 0, 0, 0.350);
    width: 20px;
    height: 100%;
    z-index: 1;
    border-radius:var(--borderradius);
    top: 0;
    left: 0;
    width: 100%;
    transition: 0.2s ease-in-out all;
}
.profileheader:hover::before{
    background:rgba(0, 0, 0, 0);
}
.user-info{
    display: flex;
    align-items: center;
    width: 50%;
    z-index: 10;
}
.infos{
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    height: 100%;

    margin-left:5%;
}
.user-info div span{
    display: flex;
    align-items: center;
}
.user-info div span p {
    margin-left:10px;
    
}

.avatar, .avatar img{

    width: 100px;
    height: 100px;
    border-radius: 100%;
}
.avatar:before{
    opacity: 0;
    position: absolute;
    content: "";
    display: block;
    width:100px;
    height: 100px;
    background:rgba(0, 0, 0, 0.664);
    border-radius: 100%;
    transition: 0.2s all ease-in-out;
    transform:scale(0);
}
.avatar:after{
    color: var(--fontcolor);
    font-family: "Font Awesome 6 Brands";
    font-weight: 400; 
    content: "\f1b6";
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top:25px;
    font-size: 48px;
    width: 100px;
    height: 100px;
    opacity: 0;
    transform:scale(0) rotate(500deg);
    transition: 0.3s all ease-in-out;
}
.avatar:hover:after{
    color: var(--fontcolor);
    opacity: 1;
    transform:scale(1.1) rotate(0deg);
}

.avatar:hover:before{
    opacity: 1;
    transform:scale(1) 
}

#rank{
    width: 45px;
}

.user-links{
    display: flex;
    justify-content: end;
    align-items: center;
    z-index: 10;
}
.user-links a{
    margin-right: 10px;
}
#profile-wrapper{
    flex-flow: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}
#profile-leaderboard .row{
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr;

}
.player-settings{
    display: grid;
    width: 80%;
    justify-content: space-between;

    gap: 10px;
    margin-top: 10px;
}
.player-settings .box{
    display: flex;
    gap: 10px;
    box-sizing: border-box;
    padding: 15px;
    background:var(--secondary);
    background-size: 1500%;
    background-repeat: no-repeat;
    border-radius: var(--borderradius);
    align-items: center;
    transition: 0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86) all;
}

.player-settings .box:hover{
    background-color: var(--stripe-hover);

}

.player-settings .box:hover .icon i{
    margin-right: 15px;
}
.player-settings .box .icon i{
    color: var(--hover);
    font-size: 38px;
    transition: 0.2s ease-in-out all;
}
.player-settings .box:hover .icon i{
    text-shadow: 1px 1px rgba(0, 238, 255, 0.253)
}
.profileheader.vip{
    border: 1px solid #ff0000;
    box-shadow: 0px 0px 0px 4px #9900ff;
}

.profileheader.vip::after{
    position: absolute;
    content: "\f005";
    font-family: 'Font Awesome 6 Free';
    font-weight: 800;
    z-index: 1;
    font-size: 64px;
    right:30px;
    top:30px;
    color:#9900ff;

}

.swiper {
    width: 100%;

  }
  

/* RWD */

@media (max-width:1024px){
    .profileheader{
        width: 90%;
    }
    .player-settings{
        width: 90%;
    }
    .player-settings .box{
        height: 150px;  
        justify-content: center;
    }

}

@media (max-width: 768px) {
    .profileheader{
        width: 90%;
        height: 100%;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        background-size: 200%;
        background-repeat: no-repeat;
        background-position-x: 50%;
        background-position-y: 65%;
    }
    .user-info{
        width: 100%;
        justify-content: center;
        flex-flow: column;
    }
    .avatar:after{
        top: 20px;
    }
    .infos{
        margin-left:0;
    }
    .user-info div span{
        flex-flow: column;
    }
    .user-info div span p{
        margin-left:0;
    }
    .infos h3{
        margin-top:5px;
        margin-bottom: 5px;
        text-align: center;
    }
    .infos span p{
        margin-top:5px;
        margin-bottom: 5px;
    }

}


