* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: #444;
}

html,
body,
#root {
    width: 100%;
    height: 100%;
}

.title {
    height: 56px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.13);
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title__text {
    font-size: 24px;
    font-weight: normal;
    padding-left: 20px;
}

.todos-container {
    height: calc(100% - 104px);
}

.form {
    height: 48px;
    width: 100%;
    padding: 8px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.13);
    border-top: 1px solid rgba(0, 0, 0, 0.13);
}

.todo {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.todo_completed {
    background-color: #eeeeee;
}

.checkbox-label {
    margin-right: 10px;
    border: none;
    background: none;
    width: 20px;
    height: 20px;
    border: 2px solid #444;
    position: relative;
}

.checkbox-label_checked {
    border: 2px solid #2973b7;
    background-color: #2973b7;
}

.checkbox-label_checked:after {
    content: "";
    width: 6px;
    height: 10px;
    position: absolute;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    left: 4px;
    bottom: 4px;
    transform: rotate(38deg);
}

.input_checkbox {
    visibility: hidden;
}

.todo__text {
    font-size: 18px;
}

.todo__text_completed {
    text-decoration: line-through;
}

.todo__delete {
    width: 20px;
    line-height: 20px;
    color: white;
    border-radius: 50%;
    background-color: #2973b7;
    font-size: 18px;
    text-align: center;
    align-self: flex-end;
}

.form__input {
    border: none;
    outline: none;
}

.input_text {
    border-bottom: 2px solid #2973b7;
    width: 80%;
    font-size: 18px;
    padding: 4px;
}

.input_submit {
    border: none;
    background: none;
    color: #2973b7;
    font-size: 24px;
}

@media screen and (min-width: 768px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(180deg, #dddbd1, #d2dbdc);
    }
    #root {
        background-color: #fff;
        height: 60%;
        width: 512px;
        position: relative;
    }
}