/* General Desktop Styling (Applies by Default) */
body {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    overflow-x: hidden;
    background-color: white;
}

.container {
    width: 800px;
    /* Fixed Desktop Width */
    background-color: lightblue;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Optional Enhancement */
}

.bar {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 600px;
    background-color: rgb(25, 98, 122);
    height: 40px;
}


.no-tasks {
    float: left;
    padding: 10px;
    text-align: left;
    color: red;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
    font-size: 16px;
}

.input {
    margin-top: 10px;
    margin-left: 10px;
    float: left;
    width: 250px;
}

.taskText {
    float: left;
    padding: 10px;
    text-align: left;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
    font-size: 16px;
}

.btn {
    float: right;
    margin: 10px;
}

.main-heading {
    padding-top: 20px;
    color: rgb(25, 98, 122);
    font-weight: bolder;
    text-decoration: underline;
}

table {
    border: 2px solid black;
    padding: 10px;
    height: auto;
    width: 600px;
    text-align: center;
    display: none;
    user-select: none;
}

tr {
    background-color: rgb(25, 98, 122);
    padding: 10px;
}

td {
    padding: 10px;
    width: 550px;
    text-align: center;
}

td:hover {
    background-color: lightblue;
    color: rgb(25, 98, 122);
}

.center-heading {
    background-color: rgb(25, 98, 122);
    color: white;
    text-align: left;

}

.center-heading #listItem_history {
    margin-top: 10px;
    color: red;
}



.center-heading:hover {
    background-color: rgb(25, 98, 122);
    color: white;
}

/* Media Queries to Retain Desktop Layout for Smaller Screens */

/* For Smaller Screens (max-width: 1280px) */
@media (max-width: 1280px) {
    body {
        transform: scale(0.7);
        /* Scale down the entire layout */
        transform-origin: top center;
        /* Ensure it scales from the center */
    }

    .container {
        width: 800px;
        /* Maintain Desktop Width */
    }
}

/* For Very Small Screens (max-width: 768px) */
@media (max-width: 768px) {
    body {
        transform: scale(0.5);
        /* Further scale down for smaller devices */
        transform-origin: top center;
        /* Scale from the top center */
    }

    .container {
        width: 800px;
        /* Still Maintain Desktop Width */
    }
}

/* For Extremely Small Screens (max-width: 480px) */
@media (max-width: 480px) {
    body {
        transform: scale(0.4);
        /* Further Scale Down */
        transform-origin: top center;
    }

    .container {
        width: 800px;
    }
}


.news-para {
    width: 600px;
    padding: 10px;
    background-color: rgb(118, 191, 118);
    color: white;
    font-size: 20px;
    transition: 2s;
}

.container marketing_img {
    transition: 2s;
}