body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e1e1e; /* Set body background color */
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0 10px; /* Add padding for small screens */
    box-sizing: border-box;
}


.container {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
/*    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);*/
    width: 100%; /* Make the container take full width on small screens */
    max-width: 600px;
    text-align: center; /* Align all contents to center */
}


.profile-picture {
    margin-bottom: 20px;
}

.profile-picture img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 0px solid #fff; /* Optional: add a border around the image */
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
}

textarea {
    width: calc(100% - 20px); /* Adjusted width to account for padding */
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #2c2c2c;
    color: #ffffff;
    resize: none;
    box-sizing: border-box;
    max-height: 150px; /* Set max height for smaller screens */
    overflow-y: auto; /* Enable vertical scrolling if needed */
}

button {
    margin: 5px;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    box-sizing: border-box;
}

button:hover {
    background-color: #0056b3;
}

.label, .color-picker label {
    font-size: 16px;
    color: #ffffff;
}

.color-picker input[type="color"] {
    align-self: center
    margin-left: 10px;
    padding: 0;
    border: none;
    border-radius: 5px;
    background-color: #2c2c2c;
}

.color-picker {
    margin: 10px auto; /* Center the color picker horizontally */
    max-width: 200px; /* Set a max-width to prevent it from stretching too wide */
    display: inline-block; /* Ensure inline-block behavior for centering */
}


.button-group {
    margin: 10px 0;
}

.copy-button {
    display: inline-block; /* Ensure inline-block behavior for centering */
    width: auto; /* Let the button take the necessary width */
    margin-top: 20px; /* Increase top margin for better spacing */
    margin-bottom: 10px; /* Add bottom margin for separation */
}

/* Responsive design */
@media (max-width: 600px) {
    h1 {
        font-size: 20px;
    }

    button {
        padding: 8px;
        font-size: 20px;
    }

    .color-picker label {
        display: block;
        margin-bottom: 5px;
    }

    .color-picker input[type="color"] {
        width: 100%;
    }

    .button-group {
        display: flex;
        justify-content: space-around;
    }

    textarea {
        max-height: 100px;
    }
}
