body {
    /* 
    070740
    071a4f
    030a11
    06070e
    000201
    */
    font-family: 'Ubuntu Mono', 'Montserrat', monospace;
    background-color: #000201;
    color: white;
    margin: 0;
}

p {
    max-width:150px;
    word-wrap:break-word;
    
}


#container {
    background-color: #9bc6f1;
    display: grid;
    grid-template-columns: 1fr;
}

#header {
    background-color: #0a1e33;
    padding: 0 .5rem;
    display: flex;
    align-items: start;
    flex-direction: row;
    justify-content: space-between;
}

#todo-container {
    display: grid;
    grid-template-columns: 1fr;
}

.todo-card {
    border-radius: 16px;
    font-size: medium;
    padding: 0 1rem;
    margin: .7rem;
    background-color: rgb(101, 101, 119);
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: auto;
}

.data {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0;
}

.due-date {
    font-family: inherit;
    padding: inherit;
    font-size: inherit;
    background-color: #00020100;
    color: #ffffff;
    height: inherit;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* input[type="date"]{
    border-radius: 8px;
    border: none;
    
  } */

.actions {
    display: flex;
    justify-content: right;
}

#new-todo {
    text-align: center;
    font-family: inherit;
    font-size: larger;
    color: silver;
    background-color: hsl(229, 80%, 53%);
    padding: .5rem;
    border-radius: 8px;
    border: none;
    transition-duration: 0.4s;
    margin: 1rem;
}

#new-todo:hover {
    background-color: hsl(229, 68%, 64%);
}

.form {
    display: grid;
}

.delete-btn {
    font-family: inherit;
    background-color: #0a1e33;
    font-size: larger;
    border-radius: 50px;
    border: none;
    margin: 1rem .25em;
    color: #9bc6f1;
}

.edit-btn {
    font-family: inherit;
    background-color: #0a1e33;
    font-size: larger;
    border-radius: 50px;
    border: none;
    margin: 1rem .25em; 
    color: #9bc6f1;
}

.delete-btn:hover {
    background-color: hsl(229, 68%, 64%);
}

#todo-name {
    font-family: inherit;
    margin: .5rem;
    font-size: larger;
    border-radius: 8px;
    padding: .5rem;
}

#todo-due-date {
    font-family: inherit;
    margin: .5em;
    font-size: larger;
    padding: .5em;
    border-radius: 8px;
    width: inherit;
}

#priority {
    font-family: inherit;
    margin: .5em;
    font-size: larger;
    padding: .5em;
    border-radius: 8px;
    width: inherit;
}

.cluster {
    display: grid;
    grid-template-columns: 1fr 2fr;
}


.lbl {
    font-size: inherit;
    margin: .5rem;
}

/* The Modal (background) */
.modal {
    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: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    
}

/* Modal Content/Box */
.modal-content {
    background-color: #0a1e33;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 10px;
    border-radius: 8px;
    width: 90%;
    /* Could be more or less, depending on screen size */
}

.modal-header {
    padding: .125rem .50rem;
    color: white;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Modal Body */
.modal-body {
    padding: 2px 16px;
    display: grid;
    grid-template-columns: 1fr;
}

/* Modal Footer */
.modal-footer {
    padding: 0 8px;
    color: white;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.cancel-button {
    text-align: center;
    font-family: inherit;
    font-size: larger;
    color: silver;
    background-color: hsl(227, 8%, 23%);
    padding: .5rem;
    border-radius: 8px;
    border: none;
    transition-duration: 0.4s;
    margin: 1rem;
}

.save-button {
    text-align: center;
    font-family: inherit;
    font-size: larger;
    color: silver;
    background-color: hsl(229, 80%, 53%);
    padding: .5rem;
    border-radius: 8px;
    border: none;
    transition-duration: 0.4s;
    margin: 1rem;
}

#edit-button {
    text-align: center;
    font-family: inherit;
    font-size: larger;
    color: silver;
    background-color: hsl(229, 80%, 53%);
    padding: .5rem;
    border-radius: 8px;
    border: none;
    transition-duration: 0.4s;
    margin: 1rem;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    .data {
        flex-direction: column;
    }
    .actions {
        flex-direction: column;
        flex-basis: auto;
    }
}