* {
    font-family: 'Inter', sans-serif;
}

a {
    color: #e8e6e3;
}
body {
    background-color: #1a1a1a;
    color: #e8e6e3;
}

/* Header */ 
header {
    background-color: #221f1f;
    width: 100%;
    display: flex;
    align-items: center;
    height: 30px;
    border-radius: 15px;
}

.titleHeader {
    flex: 1;
    margin-left: 15px;
}

.navHeader {
    flex: 2;
    margin-right: 15px;
}

.navHeader ul {
    display: flex;
    list-style-type: none;
    justify-content: flex-end;
    
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 30px);
}

section {
    display: block;
    margin: 0 auto;
    text-align: center;
    margin-left: 30px;
    margin-right: 30px;
}
.CapybaraPicture {
    transition: transform 1s ease;
}

.CapybaraPicture:hover {
    transform: rotate(360deg);
}



/* XP Bar */

.XPBar {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    width: 85%;
    background-color: #221f1f;
}

.XPBar .item{
    display: flex;
    justify-content: end;
    overflow: hidden;
}

.XPBar .item .label {
    display: flex;
    align-self: flex-start;
}
.XPBar > .item {
    width: 0%;
    background-color: rgb(69, 69, 69);
    border-radius: 5px;
    transition: width 0.8s ease-in-out ;
}

.XPBar:hover > .item {
    width: calc(1% * var(--val));
}