﻿.divbody {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #fff;
}

.container {
    display: inline-block;
    background: #f7f7f7;
    border-radius: 10px;
    padding: 45px;
    margin-top: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.color-preview {
    margin-top: 15px;
    width: 100%; /* Take full width of container */
    height: 400px; /* Let height adjust with content */
    aspect-ratio: 16 / 10; /* Keep proportional shape */ 
    border: 2px solid #ccc;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally center */
    justify-content: center; /* Vertically center */
    background-color: #ccc;
    text-align: center;
    padding: 10px; /* Give breathing space */
    box-sizing: border-box; /* Ensure padding doesn’t break layout */
}

/* Make text size adjust on small screens */
.color-preview p {
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.saved-colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1350px;
    margin: 15px auto;
}

.saved-colors div {
    display: inline-block;
    width: 100px;
    height: 100px;
    margin: 10px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
}

.h4-picker {
    position : relative;
    font-size: 20px;
    color: #660066;
    font-weight: 600;
    line-height: 1.3em;
    margin-bottom: 10px;
    margin-top: 30px;
}


