:root{
    --pcolor:#16425B;
    --scolor:#2F6690;
    --tcolor:rgba(11, 39, 55, 0.887);
}
.color-parent-div {
    position: fixed;
    top: 10vh;
    right: 0px;
    width: 16%;
    height: 90vh;
    background-color: var(--scolor);
    overflow-y: scroll;
    z-index: 222;
    display: none;
    transition: all 0.3s ease;
}

.showcolorplattes{
    display: block;
}

.color-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;

}

.palette-box {
    padding: 2px;
    width: 95%;
    background-color: var(--pcolor);
    border: 1px solid var(--scolor);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.palette-colors {
    width: 100%;
    display: flex;
}

.color {
    flex: 1;
    height: 40px;
    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;
}

#modalText{
    color: black;
}


#hidecolorpalette{
    width: 20px;
    height: 20px;
    background-color: var(--pcolor);
    color: white;
    border-radius: 50%;
    margin: 10px 0px 10px 10px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    position: fixed;
}