* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

.container {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;   
    display: flex;   
    justify-content: center;
    align-items: center;
}

.canvas-wrapper {
    padding-top: 30px;    
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    width: 95%;
}

.menu__item {
    color: #fff;
    border-radius: 3px;
    padding: 5px;
    background-color: #0d9095;
    text-align: center;
    white-space: nowrap;
    min-width: calc((100% - 40px) / 4);
    margin: 0 0 20px;
    cursor: pointer;
}

.menu__item:hover {
    background-color: rgb(0, 0, 0);
}

.counter {
    display: flex;
    font-size: 1rem;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    width: 50%;
}

.menu--counter--value {
    font-size: 1.5rem;
    margin-left: -33%;
}

.canvas {
    margin: 0 auto;
    background: #e5e5e5;
    width: 95%;
}

.current-options {
    align-self: center;
    margin-top: 1.4%;
    font-size: 1rem;
}


.listItem {
    cursor: pointer;
    text-decoration: underline;
    color: #0066cc;
}

.listItem:hover {
    color: rgb(0, 0, 0);
}

.options {
    width: 95%;
}

.options-list {
    margin: 2.8% auto;
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 0;
    font-size: 1rem;
    width: 60%;
}

/* MEDIA QUERY */

@media (max-width: 640px) {
   
    .options-list {
        align-items: center;
        font-size: 1.5rem;
        width: 95%;
    }
}

@media (max-width: 525px) {
    .container {
        max-width: 520px;
    }
    .menu {
        display: grid;
        grid-template-columns: 40% 40%;
    }

    .options-list {
        display: grid;
        grid-template-columns: 25% 25%;
    }

    .listItem-item {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        background-color: lightgray;
        text-align: center;
        grid-column: 1 / 3;

    }

    .listItem {
        margin-bottom: 10px;
        background-color: lightgray;
        display: block;
        text-align: center;

    }
}

@media (max-width: 475px) {

    .container {
        max-width: 470px;
    }
    .counter {
        width: 95%;
    }
}

@media (max-width: 420px) {
    .container {
        max-width: 415px;
    }
}

@media (max-width: 375px) {
    .container {
        max-width: 370px;
    }
}
@media (max-width: 320px) {
    .container {
        max-width: 315px;
    }
}
