html, body
{
    margin: auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    width: 100%;
}

nav
{
    display: flex;
    justify-content: center;
    width: 100%;
    border-bottom: 2px solid black;
    box-shadow: 2px 2px 2px black;
}
#content
{
    display: grid;
    grid-template-columns: 1fr 6fr;
    flex-grow: 1;
}

.sidebar
{
    padding-top: 1.5em;
    padding-left: 1.5em;
    border-right: 1px grey solid;
    flex-grow: 1;
}

ul
{
    padding: 0;
    list-style: none;
}

#modal {
    box-sizing: border-box;
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 8px;
}

#modalForm
{
    display: grid;
    grid-template-columns: 40% 30% 30%;
    row-gap: 1em;
}

.field3
{
    display: flex;
    flex-direction: column;
    justify-self: left;
    align-self: center;
}
.field3 select
{
    width: 100px
}

textarea
{
    width: 520px;
    height: 100px;
    resize: none;
}
.field4
{
    display: flex;
    flex-direction: column;
    grid-row: 2/3;
    grid-column: 1/4;
}

#modalForm button
{
    grid-area: 3/1/4/4;
}
#projects
{
    display: flex;
    flex-direction: column;
    margin-right: 1em;
    gap: 0.2em
}
#projects li
{
    border-radius: 6px;
    padding: 0.5em 0.3em;
    border: 1px black solid;
    cursor: pointer;
    transition: transform 0.3s ease-in 0s,
                background-color 0.3s ease-in 0s;
}

#projects li:hover
{
    background-color: #CCC;
}
#projects li:active
{

    background-color: #AAA;
    transform: scale(1.05);
}
li
{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: max-content;
}

.lists ul li 
{
    height: max-content;
}

#projectForm
{
    margin-right: 1em;
}
#projectForm input
{
    border-radius: 6px;
    font-size: large;
    box-sizing: border-box;
    width: 100%;
}

#projectForm button
{
    margin-top: 0.4em;
    width: 100%;
}
input
{
    font-size: 1em;
    padding: 0.4em 0.3em;
}


.todo
{
    margin: 2em;
    border: black 1px solid;
    width: 42%;
    border-radius: 16px;
    padding: 0.8em;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 220px;
    height: 250px;
}

.todoInput
{
    margin: 2em;
    border-color: black;
    border-width: 2px 2px 2px 10px;
    border-style: solid;
    width: 42%;
    border-radius: 16px;
    padding: 1em;
    box-sizing: border-box;
    min-height: 220px;
    height: 250px;
}

#editTaskForm
{
    flex-direction: column;
    display: flex;
    row-gap: 0.8em;

}
.descriptionInput
{
    width: 470px;
    padding: 0.4em 0.5em;
    font-size: 1.5em;
    height: 60px;
}

.priorityInput
{
    margin-right: 190px;
}
.taskFooterInput
{
    display: flex;
    justify-content: flex-end;
    gap: 0.3em;
}
.taskFooterInput button
{
    min-width: 120px;
    height: 40px;
}
.Low
{
    border-width: 2px 2px 2px 10px;
    border-color: green;
}
.Medium
{
    border-width: 2px 2px 2px 10px;
    border-color: yellow;
}
.High
{
    border-width: 2px 2px 2px 10px;
    border-color: orange;
}
.Critical
{
    border-width: 2px 2px 2px 10px;
    border-color: red;
}

.displayNav
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

p {
    box-sizing: border-box;
    padding: 3px;
    margin: 0;
    height: 60px;
    word-wrap: break-word; /* Break long words to prevent overflow */
    overflow-wrap: break-word; /* Similar property for better compatibility */
    overflow: auto;
    max-height: 4em;
    max-width: 450px; /* Height for one line, adjust as needed */
    transition: max-height 0.3s ease; /* Smooth transition when expanding */
    border: black solid 1px;
}



p.expanded {
    max-height: none; /* Remove height restriction to show all text */
}
.titleAndDateWrapper
{
    display: flex;
    align-items: center;
    gap: 12px;
}
.buttonWrapper
{
    display: flex;
    gap: 1em;
}
.taskDueDate
{
    margin-top: 32px;
    color: rgba(0,0,0,0.3);
}
.taskFooter
{
    display: flex;
    flex-direction: row;
    margin-top: 1em;
    align-items: center;
    justify-content: space-between;
}
button
{
    font-size: 14px;
    padding: 6px;
    height: 40px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease; /* Smooth transitions */
  }
  
  /* Confirm Button */
  .btn.confirm {
    background-color: #4CAF50; /* Green */
  }
  
  .btn.confirm:hover {
    background-color: #45a049; /* Darker green on hover */
  }
  
  .btn.confirm:active {
    transform: scale(0.95); /* Slightly shrink on click */
  }
  
  /* Edit Button */
  .btn.edit {
    background-color: #FFA500; /* Yellow/Orange */
  }
  
  .btn.edit:hover {
    background-color: #e59400; /* Darker orange on hover */
  }
  
  .btn.edit:active {
    transform: scale(0.95);
  }
  
  /* Delete Button */
  .btn.delete {
    background-color: #f44336; /* Red */
  }
  
  .btn.delete:hover {
    background-color: #d32f2f; /* Darker red on hover */
  }
  
  .btn.delete:active {
    transform: scale(0.95);
  }

.completedTasksHeader
{
    align-self: center;
}

.lists
{
    display: flex;
    flex-direction: column;
    
}

/*# sourceMappingURL=main.441a8aa8d6bf2d6e3121.css.map*/