*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #222;
    color: wheat;

}

.title {
    display: flex;
    justify-content: center;
    font-family: fantasy;
    letter-spacing: 2px;
    color: wheat;
    text-shadow: 5px 2px 6px red;
    ;
}

.button-container>* {
    padding: 5px;
    border-radius: 5px;
    color: blue;
    font-weight: bold;
}

.grid {
    display: grid;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fill, 65px);
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.item {
    height: 65px;
    border: 1px solid red;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0 10px;
}

.img-blur {
    filter: blur(6px);
    cursor: not-allowed
}

.displaySelectedItems {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 300px;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    letter-spacing: 2px;
    padding-top: 25px;
}

#selectedItemsList {
    list-style: none;
    padding-left: 0;
    text-align: left;
    font-size: .75em;
    color: yellow;
    font-weight: 100;
    padding-top: 10px;
}

#totalPrice {
    width: 35%;
    background-color: green;
    margin-top: 10px;
    color: yellow;
    padding: 10px;
}

/* @MEDIA POUR LA PARTIE RESPONSIVE SANS LA GRID */
@media (min-width: 1080px){
    .title {
        font-size: 3em;
    }
    .displaySelectedItems {
        font-size: 2em;
    }
    .button-container > * {
        font-size: 1em;
    }
}

@media (max-width:1080px) {
    .title {
        font-size: 2.25em;
    }
    .displaySelectedItems {
        font-size: 1.40em;
    }
    .button-container > * {
        font-size: .85em;
    }
}

@media (max-width: 540px) {
    .title {
        font-size: 1.75em;
    }
    .displaySelectedItems {
        font-size: 1.15em;
    }
    .button-container  * {
        font-size: .75em;
    } 
}

@media (max-width: 340px) {
    .title {
        font-size: 1.25em;
    }
    .displaySelectedItems {
        font-size: .95em;
    }
    .button-container > * {
        font-size: .65em;
    }
}