/* AUTHOR: Gabriel Copat*/

.userInfo {
    display: flex;
    flex-direction: column;
    padding: min(2vw, 4em);
    text-align: center;

    & #userPicture {
        width: min(30vw, 30em);
        margin-inline: auto;
        border-radius: 100%;
        border: solid #a2a2a2 4px;
        box-shadow: rgba(0, 0, 0, 0.7) 0 0.5svh max(1vw, 1em);
    }

    & h1 {
        font-size: max(5vw, 2em);
        margin: 1svh 25%;
        color:white;
        border-bottom: #36454F solid 2px;
        border-radius: 5vw;
        box-shadow: rgba(0, 0, 0, 0.7) 0 0.5svh 1vw -1vw;
    }
}

#badgesBar {
    background-color: white;
    border-radius: 1vw;
    margin-inline: max(4vw, 3rem);
    display: flex;
    flex-direction: column;

    & h2 {
        margin-inline: 5vw;
        padding-inline: 2vw;
        margin-block: 0.5svh;
        box-shadow: rgba(0, 0, 0, 0.7) 0 0.5svh 1vw -1vw;
        border-bottom: #36454F solid 2px;
        font-size: max(2vw, 2em);
    }

    & .badgesContainer {
        margin: 1svh 2vw;
        padding: 1svh 1vw;
        border-inline: solid rgba(194, 98, 188, 0.7) 5px;
        border-radius: 10%;
        background: linear-gradient(90deg, rgba(255, 215, 0, 0.75), rgba(184, 134, 11, 0.75));
        overflow-x: scroll;
        min(18svh, 12em);
        align-content: center;
        display: flex;

        & .badge {
            margin-inline: 3vw;
            height: min(18svh, 10em);

        }

    }
}
#stickersBox {
    display: flex;
    flex-direction: column;
    margin-block: 0.5svh;
    margin-inline: 0.5vw;
    border-radius: 2vw;
    background: #9f74be;
    & h2 {
        font-size: 4em;
        text-align: center;
        box-shadow: rgba(0, 0, 0, 0.7) 0 2vw 2vw -2vw;
        border-bottom: #36454F solid 2px;
        margin-block: 1svh;
        margin-inline: 25%;
    }
    & .stickersContainer {
        margin-block: 1svh;
        display: grid;
        grid-template-columns: repeat(4, 1fr);

        & img {
            width: 20vw;

        }
    }
}
.locked {
    filter: grayscale(100%);
}




/* TOOLTIP CSS MODIFIED FROM:
    http://www.menucool.com/tooltip/css-tooltip*/
.tooltip {
    display:inline-block;
    position:relative;
    border-bottom:1px dotted #666;
    text-align:left;
}

.tooltip h3 {margin:12px 0;}

.tooltip {
    display:inline-block;
    position:relative;
    border-bottom:1px dotted #666;
    text-align:left;
}

.tooltip h3 {margin:12px 0;}

.tooltip .right {
    min-width:200px;
    max-width:18vw;
    max-height: 22vw;
    top:-20px;
    left:50%;
    transform:translate(-50%, 10%);
    padding:10px 20px;
    color:#ffffff;
    background-color:#009cdc;
    font-weight:normal;
    font-size:14px;
    border-radius:8px;
    position:absolute;
    z-index:1;
    box-sizing:border-box;
    box-shadow:0 1px 8px rgba(0,0,0,0.5);
    visibility:hidden; opacity:0; transition:opacity 0.8s;
    overflow: hidden;
}

.tooltip:hover .right {
    visibility:visible; opacity:1;
}

.tooltip .right img {
    width:400px;
    border-radius:8px 8px 0 0;
}
.tooltip .text-content {
    padding:10px 20px;
}

.tooltip .right i {
    position:absolute;
    top:50%;
    right:100%;
    margin-top:-12px;
    width:12px;
    height:24px;
    overflow:hidden;
}
/*.tooltip .right i::after {*/
/*    content:'';*/
/*    position:absolute;*/
/*    width:12px;*/
/*    height:12px;*/
/*    left:0;*/
/*    top:100%;*/
/*    transform:translate(50%,-50%) rotate(-45deg);*/
/*    background-color:#444444;*/
/*    box-shadow:0 1px 8px rgba(0,0,0,0.5);*/
/*}*/



