*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Lato;
}

body{
    background-color: #F1F4F9;
}

span{
    display: flex;
}
/* -------------------- HEADER ---------------- */
header{
    height: 80px;
    background-color: #268EE6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    color: white;
    font-size: 14px;
}

header navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 50px ;
}

header navbar li{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
header navbar li img{
    width: 20px;
}

/* -------------------- Main ---------------- */

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100px;
}

.filters{
    margin-top: 30px;
    background-color: #fff;
    padding: 20px 50px;
    display: flex;
    gap: 15px;
    /*justify-content: center;*/
    align-items: center;
}
.tablinks{
    background-color: transparent;
    border: none;
}

.tablinks:hover{
    /*font-size: 14px;*/
    color: #268EE6;
    /*font-weight: 900;*/
}

.tab{
    display: flex;
    gap: 5px;
    position: relative;
    top: 2px;
    flex-wrap: wrap;
}

.tablinks.active{
    font-weight: 900;
}

.filters select{
    padding: 10px 10px;
    margin: 0 5px;
    border-radius: 5px;
}

.list_cards{
    margin-top: 30px;
    width: 80%;
}

.list_cards .card{
    padding: 20px 50px;
    margin-top: 30px;
    background-color: white;
    display: flex;
    justify-content: space-between;
}

.list_cards .list_elements p::first-letter{
    text-transform: capitalize;
}

.list_cards span .type{
    position: relative;
    top: 8px;
    left: 8px;
}

.list_elements{
    font-size: 16px;
    line-height: 30px;
    margin: 20px 0px;
    list-style: none;
    display: none;
}

.list_elements .pourcentage {
    color: #606060;
    margin-left: 5px;
}

.list_elements .rank {
    margin-right: 5px;
}
/*Scroll*/
.list_cards .card .top_part .scroll{
    align-items: center;
    gap: 5px;
    position: relative;
    left: 5px;
}

/*.list_cards .card .scroll .chevron{*/
/*    cursor:pointer*/
/*}*/

.list_cards .card .top_part scroll p{
    color: #4B4B4B;
    font-size: 14px;
}

/* Chevrons */
.disabled{
    color: #CACACA;
    cursor: default;
}
.enabled{
    cursor: pointer;
}

/* Back filter */
.back-filter{
    display: flex;
    gap: 5px;
}

/* ---GRAPH---*/
.chart-container{
    width: 400px;
}

/* --- LOADING WHEEL ---*/
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    /*background-color: transparent;*/
    z-index: 9999;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    /*border: 5px solid #ccc;*/
    background-color: transparent;
    border-radius: 50%;
}

.spinner:before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: #333;
    animation: spinner-rotation 1s linear infinite;
}

@keyframes spinner-rotation {
    to {
        transform: rotate(360deg);
    }
}

