body {
    background: linear-gradient(to right, #3494E6, #EC6EAD);
    background-size: 200% 100%;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}

h1 {
    color: #333;
}

label {
    font-weight: bold;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
}

.result-text {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.results-container {
    display: flex;
    flex-direction: column;
}

.skeleton-loading {
    background: -webkit-linear-gradient(90deg, #bebebe 35%, #6d6c6c 65%, #b1b1b1 95%);
    background: -moz-linear-gradient(90deg, #bebebe 35%, #6d6c6c 65%, #b1b1b1 95%);
    background: -ms-linear-gradient(90deg, #bebebe 35%, #6d6c6c 65%, #b1b1b1 95%);
    background: linear-gradient(90deg, #bebebe 35%, #6d6c6c 65%, #b1b1b1 95%);
    background-size: 200% 100%;
    animation: skeleton-loading 2s infinite;
    height: 20px;
    margin-bottom: 10px;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

button {
    background-color: green;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: darkgreen;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    width: 60%;
}

.close {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.dark-theme {
    background: rgb(17, 24, 39);
    color: #fff;
}

.dark-theme .container {
    background: #00002b;
    color: #fff;
}

.dark-theme .result-text {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dark-theme h1 {
    color: #fff;
}

.dark-theme .modal-content {
    background: linear-gradient(to right, #000000, #00002b);
    color: #fff;
}

.footer {
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
}

#light-theme-button {
    background: #fff;
    color: #333;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
}

#light-theme-button::before {
    content: "\2600";
    font-size: 16px;
}

#dark-theme-button {
    background: black;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
}

#dark-theme-button::before {
    content: "\1F319";
    font-size: 16px;
}

#light-theme-button:hover, #dark-theme-button:hover {
    opacity: 0.8;
}

textarea {
    text-decoration: none;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    display: block;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.sidebar a:hover {
    color: #FFC436;
    background-color: #555;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}