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

html {
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    color: #474a56;
    font-family: 'Alice', serif;
}
  


/* -------------------header--------------------- */
header {
    background: #e6e7e5;
    flex-shrink: 0;
}


nav {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

header nav h2 {
    font-family: 'Yellowtail', cursive;
}


.settings {
    display: flex;
    align-items: center;
}

#settings-button {
    border: none;
    background: none;
    cursor: pointer;
}


.settings-icon {
    font-size: 25px;
}



#style-links {
    list-style-type: none;
}

#style-links li button {
    display: block;
    text-decoration: none;
    font-size: 16px;
    padding: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 20px;
    border: none;
    cursor: pointer;
}


#silver {
    background: #e6e7e5;
}

#grey {
    background: #546e7a;
}

#blue {
    background: #1a237e;
}


h1 {
    text-align: center;
    padding: 20px 0;
    font-size: 50px;
    background: #f5efe3;
}







/* ------------------------------main--------------------------- */
main {
    display: flex;
    justify-content: space-around;
    flex-grow: 1;
    flex-shrink: 0;
    background: #f5efe3;
    padding: 30px 0;
}


.img-container img {
    opacity: 0.3;
}



#warning-empty {
    margin-top: 15px;
    font-size: 16px;
    color: red;
}


#todo-adding {
    font-size: 16px;
    border: 2px solid #f7d3ba;
    padding: 5px;
    width: 600px;
    margin: 0px 5px 10px 0;
}


#todo-adding::placeholder {
    color: grey;
}

#adding-button {
    font-size: 16px;
    margin: 10px 0;
    border: 1px solid #f7d3ba;
    background: #f7d3ba;
    border-radius: 10px;
    padding: 5px 10px;
    transition: background 2s ease;
}
  
#adding-button:hover {
    background: #a6aa9c;
    cursor: pointer;
}


#show-priority-button, #show-oldest-button {
    font-size: 14px;
    padding: 5px;
    border: 1px solid #f7d3ba;
    border-radius: 10px;
    background: #f7d3ba;
    transition: background 2s ease;
}


#show-priority-button:hover, #show-oldest-button:hover {
    cursor: pointer;
    background:#a6aa9c;
}




.change-opacity {
    color: rgba(0, 0, 0, 0.3);
}

.give-opacity {
    opacity: 0.5;
}




.todo-lists {
    display: flex;
    padding-top: 20px;
}


.todo-item {
    padding-bottom: 15px;
    list-style-type: none;
    max-width: 600px;
}


.todo-item-container {
    display: flex;
}


.todo-text-container {
    padding: 0 15px;
}


.todo-text {
    display: flex;
    flex: 1 0 auto;
}

.todo-text p {
    font-size: 22px;
}

.change-todo-text-p-style {
    background: white;
    border: 1px solid #f7d3ba;
    padding: 3px;
}


.save-cancel-container {
    display: flex;
    margin-top: 5px;
}


.save-button, .cancel-button {
    font-size: 14px;
    padding: 5px;
    border: 1px solid #f7d3ba;
    border-radius: 10px;
    background: #f7d3ba;
    transition: background 2s ease;
}

.save-button:hover, .cancel-button:hover {
    cursor: pointer;
    background:#a6aa9c;
}

.save-button {
    margin-left: 20px;
    margin-right: 5px;
}




.todo-attribute {
    display: flex;
    justify-content: flex-start;
}

.todo-attribute p {
    padding-left: 20px;
    font-size: 16px;
}

.piority {
    color: red;
    font-weight: bold;
    display: block;
}




.delete-question {
    font-size: 16px;
    color: red;
    padding: 5px 0px 0px 20px;
}


.delete-answer-buttons-container {
    margin-left: 20px;
  
}

.delete-yes, .delete-no {
    font-size: 14px;
    padding: 5px;
    margin-right: 5px;
    border: 1px solid #f7d3ba;
    border-radius: 10px;
    background: #f7d3ba;
    transition: background 2s ease;
}


.delete-yes:hover, .delete-no:hover {
    cursor: pointer;
    background:#a6aa9c;
}




.heart-icon {
    padding-right: 10px;
    display: flex;
    align-self: center;
}

.icon-container {
    display: flex;
    width: 200px;
}

.pencil, .calendar, .exclamation, .trash, .check {
    display: block;
    cursor: pointer;
}


.arrow, .pencil, .calendar, .exclamation, .trash, .check {
    border: none;
    background: none;
    padding: 10px;
    transition: color 2s ease;
}



.arrow-icon, .pencil-icon, .calendar-icon, .exclamation-icon, .trash-icon, .check-icon {
    font-size: 20px;
    align-self: center;
    color: #f7d3ba;
}

.arrow-icon:hover, .pencil-icon:hover, .calendar-icon:hover, .exclamation-icon:hover, .trash-icon:hover, .check-icon:hover {
    cursor: pointer;
    color: #a6aa9c;
}


.arrow-icon {
    display: flex;
}


.is-hidden {
    display: none;
}

/* the datepicker is originally executed on an input field, which we hide here */
.datepicker-input {
    visibility: hidden;
    width: 0px;
}


.ui-widget-content {
    border: 1px solid #dddddd;
    border-radius: 10px;
	background: #ffffff;
	color: #333333;
}







/* -----------------------------footer-------------------------- */
footer {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background: #e6e7e5;
    text-align: center;
    padding: 10px 0;
}
  
footer p {
    font-size: 0.875em;
}

.footer-trademark p {
    font-family: 'Yellowtail', cursive;
}
  
  
.website-credit p {
    color: #474a56;
    font-size: 0.75em;
}
  
.website-credit a {
    text-decoration: none;
    color: #474a56;
    font-style: italic;
    font-size: 0.75em;
    transition: font-size 1s ease;
}
  
.website-credit a:hover {
    font-size: 1em;
}





/* ------------------------------different color themes---------------------- */

/*blue-pink*/

.blue header {
    background: #1a237e;
    color: white;
}

.blue footer {
    background: #534bae;
    color: white;
}

.blue #settings-button {
    color: white;
}

.blue h1,
.blue main {
    background: #E1E2E1;
    color: black;
}

.blue #todo-adding {
    border: 2px solid #ff4081;
}

.blue #adding-button,
.blue #show-priority-button,
.blue #show-oldest-button,
.blue .save-button,
.blue .cancel-button,
.blue .delete-yes,
.blue .delete-no {
    border: 1px solid #ff4081;
    background: #ff4081;
}


.blue #adding-button:hover,
.blue #show-priority-button:hover,
.blue #show-oldest-button:hover,
.blue .save-button:hover,
.blue .cancel-button:hover,
.blue .delete-yes:hover,
.blue .delete-no:hover {
    background: #8ea6b4;
}


.blue .change-todo-text-p-style {
    background: white;
    border: 1px solid #ff4081;
}


.blue .arrow-icon,
.blue .pencil-icon,
.blue .calendar-icon,
.blue .exclamation-icon,
.blue .trash-icon,
.blue .check-icon {
    color: #ff4081;
}

.blue .arrow-icon:hover,
.blue .pencil-icon:hover,
.blue .calendar-icon:hover, 
.blue .exclamation-icon:hover,
.blue .trash-icon:hover,
.blue .check-icon:hover {
    color: #8ea6b4;
}

.blue .website-credit p,
.blue .website-credit a {
    color: white;
}




/*grey*/

.grey header {
    background: #546e7a;
    color: white;
}


.grey footer {
    background: #819ca9;
    color: white;
}

.grey #settings-button {
    color: white;
}

.grey h1,
.grey main {
    background: #E1E2E1;
    color: black;
}

.grey #todo-adding {
    border: 2px solid #80deea;
}

.grey #adding-button,
.grey #show-priority-button,
.grey #show-oldest-button,
.grey .save-button,
.grey .cancel-button,
.grey .delete-yes,
.grey .delete-no {
    border: 1px solid #80deea;
    background: #80deea;
}


.grey #adding-button:hover,
.grey #show-priority-button:hover,
.grey #show-oldest-button:hover,
.grey .save-button:hover,
.grey .cancel-button:hover,
.grey .delete-yes:hover,
.grey .delete-no:hover {
    background: #4bacb8;
}


.grey .change-todo-text-p-style {
    background: white;
    border: 1px solid #80deea;
}


.grey .arrow-icon,
.grey .pencil-icon,
.grey .calendar-icon,
.grey .exclamation-icon,
.grey .trash-icon,
.grey .check-icon {
    color: #80deea;
}

.grey .arrow-icon:hover,
.grey .pencil-icon:hover,
.grey .calendar-icon:hover, 
.grey .exclamation-icon:hover,
.grey .trash-icon:hover,
.grey .check-icon:hover {
    color: #4bacb8;
}


.grey .website-credit p,
.grey .website-credit a {
    color: white;
}