body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color:#64b5f6 ;
    color: #e0e0e0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center vertically */
    min-height: 100vh;
}
 .tags{
    color: #000000;
 }
.effect {
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    background-color: #f9df6d;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.header {
    text-align: center;
    margin-bottom: 20px;

}

.header h1 {
    color: #2196f3;
    margin-top: 0px;
    font-family: 'Courier New', Courier, monospace;
}

.img1 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 20px auto;
    display: block;
    object-fit: cover;
    background-color: #333;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

h3 {
    margin-bottom: 10px;
    color: #bbdefb;
}

.top,
.bottom {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

button {
    background-color: #2196f3;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1976d2;
}

input[type="text"] {
    width: calc(60% - 22px);
    padding: 43px;
    margin-bottom: 20px;
    margin-left: 70px;
    margin-right: 50px;
    border: 1px solid #424242;
    border-radius: 15px;
    background-color: #f8f8f8;
    color: #000000; 

}

input[type="text"]:focus {
    outline: none;
    border-color: #64b5f6;
    box-shadow: 0 0 5px rgba(100, 181, 246, 0.3);
}

a {
    text-decoration: none;
    color: white;
}

.translation-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

#text-input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 300px;
}

select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

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

/* Dark/Light Mode Styles */
body.light-mode {
    background-color: #f8f8f8;
    color: #333;
}

.effect.light-mode {
    background-color: #fff;
}

input[type="text"].light-mode {
    background-color: #eee;
}

.img1.light-mode {
    background-color: #eee;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
}

.theme-toggle label {
    margin-right: 10px;
    color: #e0e0e0;
    /* Dark mode label color */
    cursor: pointer;
}

body.light-mode .theme-toggle label {
    color: #333;
    /* Light mode label color */
}


.theme-toggle input[type="checkbox"] {
    appearance: none;
    width: 50px;
    height: 25px;
    background-color: #424242;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.theme-toggle input[type="checkbox"]:checked {
    background-color: #2196f3;
}

.theme-toggle input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background-color: white;
    transition: transform 0.3s ease;
}

.theme-toggle input[type="checkbox"]:checked::before {
    transform: translateX(25px);
}