body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header, footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    background: linear-gradient(45deg, #007BFF, #00BFFF);
    color: white;
    padding: 20px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 24px;
    margin-right: 20px;
}

.full-title {
    display: inline;
}

.short-title {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right span {
    margin-right: 20px;
    font-size: 16px;
}

.header-right a {
    color: white;
    margin-left: 10px;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-right a:hover {
    color: #f0f0f0;
}

.main-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

.content {
    width: 75%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-link {
    margin: 20px 0;
}

.input-container, .output-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.input-container textarea {
    flex-grow: 1;
    margin-bottom: 10px;
}

.output-container textarea {
    flex-grow: 1;
    margin-bottom: 10px;
}

.input-buttons, .output-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.input-buttons button, .output-buttons button {
    margin-right: 10px;
}

.input-buttons span, .output-buttons span {
    flex: 0;
}

#inputCharCount, #outputCharCount {
    font-size: 12px;
    color: #666;
    margin-left: auto;
}

#copyIcon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #007BFF;
}

#copyIcon:hover {
    color: #0056b3;
}

textarea, textarea[readonly] {
    width: 100%;
    height: 200px;
    resize: none;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    width: calc(100% - 22px);
}

button {
    background: linear-gradient(45deg, #007BFF, #00BFFF);
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: linear-gradient(45deg, #0056b3, #008fbf);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    display: none;
    z-index: 1000;
}

.notification-success {
    background-color: #4CAF50;
    color: white;
}

.notification-error {
    background-color: #f44336;
    color: white;
}

#inputCharCount,
#outputCharCount {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    text-align: right;
    width: 100%;
}

.sidebar {
    width: 25%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-left: 50px;
}

.settings {
    margin-bottom: 20px;
    text-align: left;
}

.settings label {
    margin-right: 10px;
}

.coffee {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer {
    width: 100%;
    background-color: #007BFF;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin-top: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-products,
.footer-social {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.footer-products a,
.footer-social a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 16px;
}

.footer-products a:hover,
.footer-social a:hover {
    color: #007BFF;
}

body.dark-mode {
    background-color: #1c1c1c;
    color: #e0e0e0;
}

.sidebar.dark-mode, .description.dark-mode {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

textarea.dark-mode, button.dark-mode {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: 1px solid #444;
}

button.dark-mode {
    background-color: #444;
    color: #e0e0e0;
}

button.dark-mode:hover {
    background-color: #555;
}

.description {
    padding: 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
    margin-top: 20px;
    margin-bottom: 20px;
}

.description ul {
    margin-top: 10px;
}

.description li {
    margin-bottom: 10px;
}

.description.dark-mode {
    background-color: #1e1e1e;
    border-bottom: 1px solid #444;
    color: #e0e0e0;
}

@media (max-width: 768px) {
    .full-title {
        display: none;
    }

    .short-title {
        display: inline;
    }

    .main-container {
        flex-direction: column;
        align-items: center;
    }

    .content {
        width: 100%;
        max-width: 900px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .sidebar {
        width: 80%;
        margin-left: 0;
        margin-top: 20px;
    }

    .description {
        width: 80%;
    }

    .footer-products,
    .footer-social {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 10px;
    }

    .footer-products a,
    .footer-social a {
        margin: 5px 10px;
    }

    #inputCharCount, #outputCharCount {
      display: none;
    }

    textarea {
      width: 95%;
    }

    #creatorLabel {
      display: none;
    }
}
