*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.title{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 500px;
}

#todoInput{
    width: 500px; 
    height: 50px;
    padding: 5px; 
    border: none;
    border-radius: 10px;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.822);
    color: whitesmoke;
}

.result{
    background-color: rgba(0, 0, 0, 0.836);
    color: white;
    width: 500px;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: start;
    margin-top: 20px;
    position: relative;
    left: 430px;
}

.container-fluid {
    background-image: url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 300px;
    flex-direction: column;
}

body.dark-theme.container-fluid{
    background-image: url();
    background-color: black;
    background-size: cover;
    background-position: center;
}

body.dark-theme #todoInput {
    background-color: rgba(255, 255, 255, 0.945);
    color: black;
    border: none;
}

body.dark-theme.result{
    background-color: whitesmoke;
    padding: 20px;
    border-radius: 10px;
    width: 500px;
    display: flex;
    justify-content: center;
}

body.dark-theme {
    background-color: #121212;
    color: white;
}

@media (max-width: 768px) {
    /* Add responsive styles here */
    .main {
        width: 760;
        height: 100vh;
    }

    .container-fluid {
        width: 700;
        height: 400px;
    }

    .result {
        width: 700;
        position: relative;
        left: 150px;
    }
}

@media (max-width: 480px) {
    /* Add responsive styles for smaller screens */
    .main {
        width: 480px;
        height: 100vh;
    }

    .container-fluid {
        width: 480;
        height: 400px;
    }

    #todoInput{
        width: 300px;
        height: 40px;
    }

    .title {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .result {
        width: 300px;
        position: relative;
        left: 60px;
        text-align: center;
    }


    body.dark-theme.result {
        width: 300px;
        position: relative;
        left: 30px;
    }

    body.dark-theme#todo{
        width: 300px;
        height: 40px;
    }
}