* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.color-parent-div {
    padding-top: 20vh;
    width: 100%;
}

.color-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

}

.palette-box {
    padding: 10px;
    width: 300px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.palette-name {
    text-align: center;
    margin-bottom: 10px;
}

.palette-colors {
    width: 100%;
    display: flex;
}

.color {
    flex: 1;
    height: 100px;
    cursor: pointer;
    transition: flex 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;

}

.color:hover {
    flex: 2;

}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #cccccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.modal.show {
    display: block;
}
.color-maker-div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.box-container-color {
    text-align: center;
    background: #fff;
    padding: 20px 60px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.color-picker {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

#colorInput {
    margin-right: 10px;
}

.color-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.color-item {
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.color-code {
    margin-top: 5px;
    font-size: 12px;
    color: #333;
}

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    line-height: 1;
}
#addColorButton{
    background-color: #0097A7;
}
#modalText{
    color: black;
}

.color-containers {
    display: flex;
    gap: 10px;
    width: 95%;
    margin: auto;
    margin-bottom: 20px;
    overflow: scroll;
    
}

.color-boxes {
    min-width: 100px;
    min-height: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.color-boxes:hover {
    border: 2px solid #000;
}
