html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* Prevents scrolling on the body */
    background-color: #f5f5f5;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
   

    background: radial-gradient(circle at top left,transparent 25%,#fafafa 25.5%, #fafafa 36%, transparent 37%, transparent 100%),radial-gradient(circle at bottom right,transparent 34%,#fafafa 34.5%, #fafafa 45.5%, transparent 46%, transparent 100%);
        background-size: 4em 4em;
        background-color: #ffffff;
        opacity: 1
}

.container {
    max-width: 600px;
    width: 100%;
    height: calc(100vh - 100px); /* Subtract the height of the header */
    overflow-y: scroll;
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #fff;
    border-left: 1px solid #ececdb;
    border-right: 1px solid #ececdb;
    padding-bottom: 120px;
    box-shadow: 1px 0px 20px 0px #c2c2c2;
}

.stacked-div {
    width: 600px; /* Width of the divs */
    height: 600px; /* Height of the divs */
    position: relative; /* Allows absolute positioning of child elements like labels */
    box-sizing: border-box; /* Includes padding and border in the element's total width and height */
    background-size: cover; /* Ensures the background image covers the div */
    background-position: center; /* Centers the background image */
}

.stacked-div label {
    position: absolute;
    bottom: 10px; /* Position from the bottom */
    right: 10px; /* Position from the right */
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
    padding: 5px;
    border-radius: 5px; /* Optional: adds rounded corners */
    font-size: 14px; /* Adjust based on your design */
}

/* Responsive adjustments for screens narrower than 600px */
@media (max-width: 600px) {
    .container {
        max-width: 100%; /* Allows the container to take full width of the screen */
    }

    .stacked-div {
        width: 100%; /* Makes each div take up 100% of the container's width */
        height: auto; /* Adjusts the height to maintain the aspect ratio */
        aspect-ratio: 1 / 1; /* Ensures the div remains square */
    }
}

.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    left: 50%;
    bottom: 0;
    width: 600px;
    max-width: 100%;
    transform: translateX(-50%);
    height: 60px;
    box-sizing: border-box;
    background-color: #242424;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    font-size: 16px; /* Set the font size for the entire footer */
}

.footer div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer input[type="text"],
.footer button {
    padding: 5px; /* Add padding to the buttons and inputs */
    border: none; /* Remove default button border */
    background: rgb(20, 20, 20); /* Remove default button background */
    cursor: pointer; /* Change cursor to pointer for buttons */
    outline: none; /* Remove outline on focus */
    border-radius: 5px;
    color: white;
    height: 40px;
}

.footer button > div,
.footer input[type="text"] > div {
    font-size: 12px; /* Set font size for the text */
    color: #fff; /* Set text color */
}

.footer input[type="text"] {
    color: #fff; /* Set text color for input */
    height: 30px;
}

.footer input[type="text"]::placeholder {
    color: #ccc; /* Set placeholder color for input */
}

#colorPicker {
    width: 30px; /* Set the width */
    height: 30px; /* Set the height */
    font-size: 12px;
    color: #fff;
}

#colorPicker::-webkit-color-swatch-wrapper {
    padding: 0;
}

#colorPicker::-webkit-color-swatch {
    border: none;
}
.header {
    position: fixed;
    top: 0;
    left: 50%;
    width: 600px;
    max-width: 100%;
    transform: translateX(-50%);
    height: auto; /* Change height to auto */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 1000;
    background-color: #242424;
    padding: 10px; /* Add padding to the header */
    box-shadow: 1px 0px 20px 0px #c2c2c2;
}

.header-title {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    background-color: #101010;
    border-radius: 10px;
}

.header-control {
    margin-right: 20px;
  
}

.control-label {
    font-size: 12px;
    color: #fff;
}

#colorPicker {
    width: 40px;
    height: 40px;
    font-size: 12px;
    color: #fff;
}

#colorPicker::-webkit-color-swatch-wrapper {
    padding: 0;
}

#colorPicker::-webkit-color-swatch {
    border: none;
}
.header-controls {
    display: flex;
    margin-top: 9px;
    align-items: center;
    background-color: #101010;
    border-radius: 10px;
    padding: 6px;
}

.title a {
    color: #ffffff; /* Color for the link */
    text-decoration: none; /* Remove underline */
}

.title a:hover {
    color: #cccccc; /* Color for the link on hover */
}

.title a:active {
    color: #ff0000; /* Color for the link when active (clicked) */
}


/* Style for header controls */
.header-controls {
    display: flex;
    margin-top: 9px;
    align-items: center;
    background-color: #101010;
    border-radius: 10px;
    height: 50px;
}

/* Style for buttons inside header controls */
.header-controls button {
    padding: 8px 12px; /* Adjust padding as needed */
    margin-right: -12px; /* Adjust margin as needed */
    background-color: #333; /* Button background color */
    color: #fff; /* Button text color */
    border: none; /* Remove button border */
    border-radius: 5px; /* Button border radius */
    cursor: pointer; /* Set cursor to pointer */
    height: 50px;
}

/* Style for input field inside header controls */
.header-controls input[type="text"] {
    padding: 8px; /* Adjust padding as needed */
    background-color: #333; /* Input field background color */
    color: #fff; /* Input field text color */
    border: none; /* Remove input field border */
    border-radius: 5px; /* Input field border radius */
    outline: none; /* Remove input field outline */
    height: 34px;
    margin-right: -12px;
    width: 75px;

}

/* Style for input placeholder */
.header-controls input[type="text"]::placeholder {
    color: #ccc; /* Placeholder text color */
}

/* Style for input field focus */
.header-controls input[type="text"]:focus {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); /* Add box shadow on focus */
}


/* Hover state for buttons inside header controls */
.header-controls button:hover {
    background-color: #555; /* Adjust background color on hover */
}

/* Hover state for input field inside header controls */
.header-controls input[type="text"]:hover {
    background-color: #555; /* Adjust background color on hover */
}


.container {
    max-width: 600px;
    width: 100%;
    height: calc(100vh - 100px);
    overflow-y: scroll;
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #fff;
    /* border-left: 1px solid #ececdb; */
    /* border-right: 1px solid #ececdb; */
    padding-bottom: 120px;
    margin-top: 120px;
    height: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 50%;
    width: 600px;
    max-width: 100%;
    transform: translateX(-50%);
    height: auto; /* Change height to auto */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 1000;
    background-color: #242424;
    padding: 10px; /* Add padding to the header */
    height: 120px;
}
