/* The image changes when you hover over it */
#profile-pic {
    width: 35%;
    height: 18em;
    background-image: url(/assets/img/gifs/me-1.gif);
    background-size: cover;
}

#profile-pic:hover {
    background-image: url(/assets/img/gifs/me-2.gif);
    background-size: cover;
}

.anchor #profile-pic-text {
    position: absolute;
    top: 1em;
    min-width: 20ch;
    rotate: -5deg;
    font-size: 1.3rem;
}

/*------------- Traits -------------*/
section#general-traits {
    flex-grow: 1;
    /* To make it fill the remaining space */
}

.trait-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    align-content: space-evenly;
    max-lines: 2;
    max-width: 57%;
}

.trait {
    flex: 1 0 25%;
    margin: 0.7em;
    text-align: center;
}

.trait hr {
    margin: -10px 0px;
    /* To put text closer to the line */
}

.trait p {
    font-weight: 1000;
    font-size: larger;
}

/*------------- Stats -------------*/
section#stats {
    width: 55%;
}

.stat-container {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.7em;
}

.stat {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.stat-text-container {
    width: 60%;
    margin: 0.2em;
}

.skill {
    width: 40%;
    height: 4em;
    margin: 0.2em;
}

.skill ul {
    list-style-type: '⟜  ';
    margin: 4px;
}

.stat-text {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.stat-label {
    font-family: layton-title;
}

.stat-value {
    font-weight: 1000;
}

.stat-bar {
    height: 1em;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--dark-color);
    position: relative;
    width: 99%;
    overflow: hidden;
    padding: 0px;
}

.stat-fill {
    height: 100%;
    background-color: var(--accent-color);
    position: absolute;
    border: 1px solid var(--accent-color);
    border-radius: 0px 0px 15px 0px;
    top: 0;
    left: 0;
}

/*------------- Likes and dislikes -------------*/
section#likes,
section#dislikes {
    flex: 1;
}

/*------------- Stamps -------------*/
