
/**  List of Trips CSS Starts Here  **/

.lists
{
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.lists > div
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.welcome
{
    font-size: 35px;
    text-align: center;
}   

.heading
{
    color: white;
    font-size: 30px;
    text-align: center;
}

.theme
{
    padding: 1rem;
    font-weight: 800;
    cursor: pointer;
    border-radius: 5px;
    margin: 1rem;
    text-align: center;
}

.theme:hover
{
    background-color: #333333;
}

.checked
{
    .item-text
    {
        text-decoration: line-through;
    }
}

.list-titles
{
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.list-titles div
{
    background-color: red;
    padding: 10px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.title 
{
    font-size: 30px;
    text-align: center;
}

.tracking
{
    text-align: center;
    padding: 10px 20px 10px 20px;
    background-color: red;
    width: 50%;
    cursor: pointer;
    border-radius: 5px;
}

.main-container
{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.main-container h2
{
    font-size: 20px;
    text-align: center;
}

.form-container form input[type="text"]
{
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
    font-weight: 700;
}

.form-container form input[type="text"]::placeholder
{
    font-weight: 600;
}

.form-container
{
    width: 100%;
    display: none;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
}

.form-container form
{
    display: flex;
    gap: 10px;
}

.form-container form button
{
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: red;
    color: white;
    cursor: pointer;
    border: 1px solid black;
}

.coming-list, .going-list
{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.item
{
    border: 1px solid black;
    background-color: white;
    display: flex;
    justify-content: center;
    gap: 15px;
    border-radius: 5px;
    padding: 1rem;
    color: black;
}

.item p
{
    width: 12rem;
    font-size: 15px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.item input[type="checkbox"]
{
    width: 2rem;
    padding: 1px;
    border-radius: 5px;
}

.item div
{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item div button
{
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    background-color: #BAB700;
    color: black;
    font-weight: 600;
    border: 1px solid black;
}
/** List of Trips CSS Ends Here **/

/* Media Queries for List of Trips */

@media (min-width: 600px) 
{
    
    .main-container h2
    {
        font-size: 30px;
        width: 100%;
    }

    .lists
    {
        margin: 0;
        justify-content: center;
        flex-direction: row;
    }

    .lists div
    {
        width: 100%;
    }

    .lists > div
    {
        gap: 20px;
        text-align: center;
        padding: 50px;
        align-items: center;
        justify-content: space-between;
        height: 80vh;
    }

    .form-container form input[type="text"]
    {
        width: 15rem;
    }

    .form-container
    {
        align-items: center;
    }

    .coming-list, .going-list
    {
        align-items: center;
    }

    .form-container h2
    {
        text-align: center;
    }

    .item button
    {
        height: 100%;
        padding: 10px 0px 20px 10px;
    }

    .item
    {   
        padding: 1rem;
        width: 30rem;
        gap: 25px;
    }

    .item p
    {
        width: 18rem;
        font-size: 18px;
    }

    .item input[type="checkbox"]
    {
        width: 2rem;
    }

    .title
    {
        font-size: 40px;
    }
}
