/* Apply a reset to remove default margin and padding */
.color-palette-generator * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Set a background color for the entire page */
  .color-palette-generator body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
  }
  
  /* Style the container for the color palette */
  .color-palette-generator .color-palette-results {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin-top: 0px;
    padding: 0px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
  }
  
  /* Style the container for the color palette */
  .color-palette-generator .color-palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin-top: 0px;
    padding: 0px;
    background-color: #fff;
    border-radius: 0px;
  }
  
  /* Style individual color boxes */
.color-palette-generator .color-palette div {
    position: relative;
    width: 300px; /* Adjust the width as needed */
    height: 500px; /* Adjust the height as needed */
    text-align: center;
    line-height: 100px;
    font-size: 14px;
    color: #fff;
    border-radius: 0px;
    cursor: pointer;
	margin: 0; /* Remove margin */
    padding: 0; /* Remove padding */
    box-sizing: border-box; /* Ensure the width includes padding and border */
}

/* Style the copied message */
.color-palette-generator .color-palette div .message {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px;
    font-size: 12px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    display: block; /* Initially show the message */
    opacity: 0; /* Initially make the message transparent */
    transition: opacity 0.2s; /* Add a transition for smoother appearance */
}

/* Show the message on hover */
.color-palette-generator .color-palette div:hover .message {
    opacity: 1; /* Make the message fully visible on hover */
}



/* Buttons Container styles */
.buttons-container {
    display: flex;
    justify-content: center; /* Center align buttons horizontally */
    align-items: center;
    max-width: 100%; /* You can adjust the container width as needed */
    margin: 20px auto;
}

/* Style the "Generate" button */
.color-palette-generator #generate-button {
    margin: 0 10px 0 10px;
    padding: 13px 20px;
    min-width: 50%;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Style the "Download PNG" button */
.color-palette-generator #download-png {
    margin: 0 10px 0 10px;
    min-width: 20%;
    padding: 13px 20px; /* Smaller padding for a less prominent look */
    background-color: #f0f0f0; /* A neutral background color */
    color: #333; /* Dark text color for contrast */
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover effect for both buttons */
.color-palette-generator button:hover {
    background-color: #0056b3; /* Darker shade for hover effect */
}

/* Style the color theory select dropdown */
.color-palette-generator #color-theory {
    display: block;
    min-width: 20%;
    margin: 0px 10px 0 10px;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

/* Center the page content */
.color-palette-generator .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
}

/* Media Query for Smaller Screens */
@media screen and (max-width: 768px) {
    /* Adjust styles for smaller screens here */
    .color-palette-generator .color-palette div {
        width: 100%; /* Adjust the width as needed for smaller screens */
        height: 75px; /* Allow the height to adjust based on content */
    }

    .color-palette-generator .color-palette-results,
    .color-palette-generator .color-palette {
        margin-top: 10px; /* Reduce top margin for spacing */
        padding: 10px; /* Reduce padding for spacing */
    }

    .buttons-container {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center; /* Center align buttons */
    }

    /* Adjust button styles for smaller screens */
    .color-palette-generator #generate-button,
    .color-palette-generator #download-png,
    #color-theory {
        width: 100%; /* Make buttons full width */
        margin: 10px 0; /* Add vertical spacing between buttons */
    }
}

