/* buttons */
.button-group {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-bottom: 1rem;
}

.button-group button {
    border: none;
    padding: 0.5em;
    border-radius: 0.5em;
    background: var(--gray-100);
}

.button-group button:hover {
    background: var(--teal-100);
}

.button-group button.active {
    background: var(--teal-400);
}

.item {
    padding: 0.5em 1em;
    border-radius: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}


/*
.item-group li {
    padding: 0.5em 1em;
    border-radius: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#align-items-items {
    min-height: 15em;
}*/

/* small buttons */
/*.small-button-group {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-left: 0.5em;
}

.small-button-group button {
    border: none;
    padding: 0.25em;
    border-radius: 0.5em;
    background: var(--gray-100);
}

.small-button-group button:hover {
    background: #ffd54f;
}

.small-button-group button.active {
    background: #ffc107;
}*/

/* inputs */
label {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

input:not(input[type="range"]) {
    padding: 0.5em 1em;
    font-size: 1em;
    border: 1px solid #cfd8dc;
    border-radius: 0.5em;
}

input:not(input[type="range"]):focus {
    border-color: #9e9e9e;
}

/* range slider */

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 0.8em;
    padding: 0 1em;
    background: #cfd8dc;
    border-radius: 6px;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 1.2em;
    width: 1.2em;
    background: #1b5e20;
    border-radius: 50%;
    margin-top: 0px;
}

input[type="range"]::-moz-range-thumb {
    height: 1.2em;
    width: 1.2em;
    background: #1b5e20;
    border-radius: 50%;
}

input[type="range"]::-moz-range-progress {
    background: #ffd54f;
}



input[type="radio"]) {
    -webkit-appearance: none;
    width: 100%;
    height: 0.8em;
    padding: 0 1em;
    background: #cfd8dc;
    border-radius: 6px;
    cursor: pointer;
}




/* dialog */
#copy-dialog {
    padding: 2rem;
    border: none;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: fixed;
    top: 50%;left: 50%;
    transform: translate(-50%,-50%);
}

#copy-dialog::backdrop {
    background: rgba(0,0,0,0.6);
}

#copy-dialog[open] {
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%,-48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%,-50%);
    }
}

/* swatches */
.swatch-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(140px,1fr));
    gap: 0.75rem;
}

.swatch {
    padding: 1rem;
    border-radius: 0.5rem;
}



/* large phones */
@media (min-width: 480px) {

}

/* small tablets / large phones */
@media (min-width: 600px) {

}

/* tablets */
@media (min-width: 768px) {

    /* buttons */
    .button-group {
        flex-direction: row;
        gap: 1em;
    }

    .item {
        padding: 0.8em 1.6em;
    }

}

/* small laptops */
@media (min-width: 1024px) {

}

/* desktops */
@media (min-width: 1280px) {

}

/* large desktops / wide monitors */
@media (min-width: 1536px) {
    
}













