.image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    width: 100%;
}
.image-container img {
    max-width: 100%;
    height: auto;
}
.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-width: 80%;
}
@media (max-width: 640px) {
    .text-overlay {
        font-size: 18px;
    }
}
.color-picker-wrapper {
    position: relative;
    width: 100%;
}
.color-picker-button {
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}
#textColor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}