body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a2e;
    color: #ffffff;
    display: flex;
    justify-content: center; 
    align-items: center;
    min-height: 100vh;
}

#main-container {
    width: 80%;
    max-width: 800px;
    text-align: center;
}

.widgets {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.widget-button {
    padding: 10px 20px;
    background-color: #162447;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.widget-button:hover {
    background-color: #1f4068;
}

#time {
    font-size: 48px;
    font-weight: bold;
    margin-top: 20px;
}

#weather {
    margin-top: 20px;
    font-size: 20px;
}

#rss-feed-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    max-width: 100%;
    overflow-x: auto;
    background-color: #0f3460;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#rss-feed-container > div {
    flex: 1;
    min-width: auto;
    max-width: auto;
    height: 300px;
    overflow-y: scroll;
    background-color: #1a1a2e;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#todo-notes-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

#todo-list, #notes {
    flex: 1;
    background-color: #1a1a2e;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    max-height: 400px;
    overflow: auto;
}

#todo-list h3, #notes h3 {
    margin-top: 0;
}

#tasks, #notes-list {
    list-style: none;
    padding: 0;
    max-height: 150px;
    overflow-y: auto;
}

#tasks li, #notes-list div {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.task-text, .note-text {
    flex-grow: 1;
    margin-right: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#new-task {
    width: calc(100% - 80px);
    margin-right: 10px;
}

#note-content {
    width: 100%;
    height: 100px;
    resize: none;
}

.delete-button, .edit-button, .read-button {
    background-color: #e63946;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px 10px;
    margin-left: 10px;
}

.delete-button:hover, .edit-button:hover, .read-button:hover {
    background-color: #d62839;
}

#search-engine {
    margin-top: 20px;
}

#search-engine input {
    padding: 10px;
    width: 70%;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#search-engine button {
    padding: 10px;
    background-color: #162447;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#search-engine button:hover {
    background-color: #1f4068;
}

#embedded-webpage {
    margin-top: 20px;
}


#navigation-buttons {
    margin-top: 20px;
}

#navigation-buttons button {
    padding: 10px 15px;
    background-color: #162447;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 5px;
    transition: background-color 0.3s;
}

#navigation-buttons button:hover {
    background-color: #1f4068;
}
