:root {
    --main-color: #cccccc;
    --bg-color: #ffffff;
    --grey-color: #888;
}

h1 {
    display: flex;
    justify-content: center;

    font-family: 'Roboto', serif;
    font-style: normal;
    font-weight: 100;
    font-size: 100px;
    line-height: 21px;

    color: var(--main-color);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.todo-app-dropdown-list-header {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: left;
    background: var(--bg-color);
    border-bottom: inset 1px #e6e6e6;
}

.button-down-arrow {
    background-size: 100%;
    background: url("../images/down_arrow.png") no-repeat center;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;

    margin: 10px;
    min-width: 30px;
    min-height: 25px;
}

.todo-form {
    display: flex;
    flex-grow: 1;
}

#input_todo {
    flex-grow: 1;
    min-height: 66px;
    font-family: 'Roboto', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 24px;
    line-height: 21px;

    text-align: left;

    color: var(--grey-color);
    border: none;
}

.todo-app-dropdown-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 562px;
    background: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 20%);
    overflow: hidden;
}

.todo-app-checklist {
    font-family: 'Roboto', serif;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 21px;

    color: #666;
}

.section-todos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    height: 64px;
    background: var(--bg-color);
    border-bottom: inset 1px #e6e6e6;
}

.section-todos:hover {
    background: #FAFAFA;
}

label {
    overflow: hidden;
    width: auto;
}

.todo-item-status {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    vertical-align: middle;
    background: var(--bg-color);
    border: 1px solid #e6e6e6;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    box-sizing: content-box;
}

.todo-item-status:checked {
    background: url("../images/check_mark.png") no-repeat center;
    background-size: 50%;
    border: 1px solid #5dc2af;
}

.todo-item-status:focus-visible {
    border: 1px solid var(--grey-color);
}

.todo-item-status:checked + .todo-item-text {
    text-decoration: line-through;
    color: var(--main-color);
}

.button-delete {
    border: none;
    cursor: pointer;
    background: url("../images/delete_button.png") no-repeat center;
    background-size: 50%;
    appearance: none;
    -webkit-appearance: none;
    min-width: 50px;
    min-height: 50px;
    opacity: 0;
    margin-left: auto;
}

.button-delete:hover {
    opacity: 1;
}

.button-delete:focus {
    opacity: 1;
}

.todo-app-footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 562px;

    font-family: 'Roboto', serif;
    font-style: normal;
    font-size: 18px;
    background: var(--bg-color);
    color: var(--grey-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 20%);
}

.buttons-filter label {
    padding: 2px 10px;
    border-radius: 5%;
    cursor: pointer;
}

input[type="radio"] {
    appearance: none;
}

input[type="radio"]:checked + label {
    outline: 1px solid #EBDFDF;
}

input[type="radio"]:focus-visible + label {
    outline: 1px solid var(--grey-color);
}

.button-clear {
    font-family: 'Roboto', serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    appearance: none;
    -webkit-appearance: none;

    color: var(--grey-color);
    background: var(--bg-color);
    border: none;
    cursor: pointer;
}

.todo-app-dropdown-list-decoration-first {
    min-width: 558px;
    height: 5px;
    z-index: -1;
    background: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 20%);
}

.todo-app-dropdown-list-decoration-second {
    min-width: 554px;
    height: 5px;
    z-index: -2;
    background: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 20%);
}

.todo-item-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: 10px;
}

p {
    margin: 15px 0 15px 15px;
}
