/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 17.08.2024, 16:18:02
    Author     : robert
*/

.masteries-p {
    
}
.masteries-container {
    display: flex;
    margin: 2px auto 2px;
    padding: 0 10px;
    width: fit-content;
}
.mastery {
    display: grid;
    text-align: center;
    width: fit-content;
    margin: 1px;
    padding: 2px;
    position: relative;
    border: 2px solid transparent;
    border-radius: 5px 5px 5px 0;
}

.mastery > *{
    
}
.mastery-image {
    border: 1px solid black;
    border-radius: 7px;
}
.mastery-name {
    display: none;
}
.mastery:hover {
    border: 2px solid rgb(189, 143, 255);
}
.mastery:hover .mastery-name {
    display: block;
    position: absolute;
    bottom: -16px;
    left: -2px;
    background: rgb(189, 143, 255);
    color: rgb(255, 251, 255);
    border-radius: 0 0 5px 5px;
    z-index: 1;
    padding: 0px 5px;
    font-size: 13px;
}
.mastery-value {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 10px;
    color: white;
    font-size: 20px;
    text-align: center;
    background: #000a;
    border-radius: 5px;
    width: fit-content;
    margin: auto;
    padding: 1px 6px;
}

.class_icon {
    
}
.class_icon > img {
    height: 70px;
    width: 104px;
    object-fit: cover;
}
.mastery-image-tank {
    object-position: 0 -17px;
}
.mastery-image-brawler {
    object-position: 0 -18px;
}
.mastery-image-finisher {
    object-position: 0 -20px;
}
.mastery-image-mage {
    object-position: 0 -22px;   
}
.mastery-image-support {
    object-position: 0 -15px;   
}