.stats-section {
    margin-top: 150px;
    display: flex;
    flex-direction: column;    
    align-items: center;
    margin-bottom: 100px;
    
}

#stats-section-title {
    color: var(--color1);
    margin-bottom: 50px;
}

.stats-line-section {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 3vw;
    grid-row-gap: 3vw;
    width: 100%;
    margin-bottom: 40px;
}

.stats {
    width: 100%
}

.stats-subtitle {
    color: var(--color1);
    font-size: 1.4rem;
}

.square-stats {
    background-color: var(--color2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 10vw;
    min-height: 10vw;
    height: auto;
}

#square-stats-burn {
    background-color: black ;
}

#square-stats-all {
    background-color: var(--color2) ;
}

#square-stats-rare {
    background-color: var(--color2) ;
}

#square-stats-exclu {
    background-color:rgb(98, 0, 255) ;
}

#square-stats-leg {
    background-color:rgb(255, 0, 255) ;
}

#square-stats-common {
    background-color:rgb(255, 0, 0) ;
}

.stats-title {
    color: var(--color4);
    font-size: 1.4rem;
    margin-bottom: 18px;
    margin-top: 10px;
}

.stats-number {
    color: var(--color4);
    font-size: 1rem;
    margin-bottom: 18px;
}

.stats-number-main {
    color: var(--color4);
    font-size: 1.5rem;
}

.square-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(auto, 1fr);
    grid-column-gap: 4px;
    grid-row-gap: 4px;
    margin-bottom: 10px;
}
.square-grid-element {
    background-color: var(--color4);
    height: 1vh;
    width: 1vh;
    order: -1
}

/* écran 4k */
@media screen and (min-width: 2560px) and (min-height: 1400px){
    .stats-subtitle {
        font-size: 1.8rem;
    }
    .stats-title {
        font-size: 1.8rem;
    }
    .stats-number {
        font-size: 1.5rem;
    }
    .stats-number-main {
        font-size: 2.1rem;
    }
    .square-grid {
        grid-column-gap: 7px;
        grid-row-gap: 7px;
        margin-bottom: 15px;
    }
    .square-grid-element {
        height: 1.2vh;
        width: 1.2vh;
    }
}

/* écran HD 1440x900 */
@media screen and (max-width: 1440px) and (max-height: 900px) {

}

/* écran HD 1366x768 */
@media screen and (max-width: 1366px) and (max-height: 768px) {

}

/* écran HD 1280x1024 */
@media screen and (max-width: 1280px) and (max-height: 1024px) {

}

/* écran HD 1280x720 */
@media screen and (max-width: 1280px) and (max-height: 720px) {

}

/* ipdad air mini paysage 900x1200 */
@media screen and (max-width: 950px) and (max-height: 1400px) {

}

/* écran Mobile 360x800 */
@media screen and (max-width: 360px) and (max-height: 800px) {
    .stats-section {
        margin-top: 100px;
    }
    .stats-line-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 3vw;
        grid-row-gap: 3vw;
        width: 100%;
        margin-bottom: 40px;
    }
    .square-stats {
        width: 100%;
        min-height: 10vw;
        height: auto;
    }
}

/* écran Mobile 390x844 */
@media screen and (max-width: 390px) and (max-height: 844px) {
    .stats-section {
        margin-top: 100px;
    }
    .stats-line-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 3vw;
        grid-row-gap: 3vw;
        width: 100%;
        margin-bottom: 40px;
    }
    .square-stats {
        width: 100%;
        min-height: 10vw;
        height: auto;
    }
}

/* écran Mobile 414x896 */
@media screen and (max-width: 414px) and (max-height: 896px) {
    .stats-section {
        margin-top: 100px;
    }
    .stats-line-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 3vw;
        grid-row-gap: 3vw;
        width: 100%;
        margin-bottom: 40px;
    }
    .square-stats {
        width: 100%;
        min-height: 10vw;
        height: auto;
    }
}

/* écran Mobile 393x873 */
@media screen and (max-width: 393px) and (max-height: 873px) {
    .stats-section {
        margin-top: 100px;
    }
    .stats-line-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 3vw;
        grid-row-gap: 3vw;
        width: 100%;
        margin-bottom: 40px;
    }
    .square-stats {
        width: 100%;
        min-height: 10vw;
        height: auto;
    }
}

/* écran Mobile 412x915 */
@media screen and (max-width: 412px) and (max-height: 915px) {
    .stats-section {
        margin-top: 100px;
    }
    .stats-line-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 3vw;
        grid-row-gap: 3vw;
        width: 100%;
        margin-bottom: 40px;
    }
    .square-stats {
        width: 100%;
        min-height: 10vw;
        height: auto;
    }
}

/* iphone SE 375x667 */
@media screen and (max-width: 375px) and (max-height: 667px) {
    .stats-section {
        margin-top: 100px;
    }
    .stats-line-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 3vw;
        grid-row-gap: 3vw;
        width: 100%;
        margin-bottom: 40px;
    }
    .square-stats {
        width: 100%;
        min-height: 10vw;
        height: auto;
    }
}

/* galaxy s8+ 360x740 */
@media screen and (max-width: 360px) and (max-height: 740px) {
    .stats-section {
        margin-top: 100px;
    }
    .stats-line-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 3vw;
        grid-row-gap: 3vw;
        width: 100%;
        margin-bottom: 40px;
    }
    .square-stats {
        width: 100%;
        min-height: 10vw;
        height: auto;
    }
}


