:root {
  --font-family-primary: 'Inkfree', cursive;
}

body {
    background: #dfe6fb;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-family: var(--font-family-primary);
}

header {
    background: #4a53fe;
    color: #fff;
    padding: 10px 200px;
    text-align: left;
}


/* Секция для создания новой задачи */
.new_task {
    align-self: center;
    background: #ffffff;
    padding-left: 30px;
    padding-top: 5px;
    padding-bottom: 20px;
    border-radius: 10px;
    margin-top: 50px;
    margin-left: 200px;
    max-width: 400px;
    max-height: 1000px;
    
}

.new_task input[type="text"] {
    align-self: center;
    width: 200px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    font-family: var(--font-family-primary);

}

.new_task button {
    padding: 10px 15px;
    background: #4a53fe;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
    font-family: var(--font-family-primary);

}

.new_task button:hover {
    background: #3b44cc;
    transform: scale(1.05);
    transition: 0.5s;
}


/* Секция для колонок */
.state_container {
    display: flex;
    gap: 20px;
    margin: 50px 200px;
}

.state_items {
    border-radius: 10px;
    flex: 1;
}

.state_items h3 {
    display: inline-block;
    margin: 0 0 10px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    font-size: 16px;
    font-weight: normal;
}

.state_items button {
    background-color: #fd2525;
    align-self: center;
    padding: 16px;
    font-family: var(--font-family-primary);
    border-radius: 10px;
    cursor: pointer;
    min-width: 300px;
}

.state_items button:hover {
    transform: scale(1.05);
    transition: 0.5s;
}

.item {
    background-color: #f8f9fa;
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    border-left: 5px solid #e0e0e0;
    cursor: pointer;
    transition: 0.5s;
    font-size: 14px;
}

.item:hover {
    transform: translateY(-3px);
}


/* Добавление цветов обводки колонок */
.state_items:nth-child(1) .item { 
    border-left: 4px solid #b0b0b0;
}

.state_items:nth-child(2) .item { 
    border-left: 4px solid #8fa1fd;
}

.state_items:nth-child(3) .item { 
    border-left: 4px solid #adfac4;
}

.state_items:nth-child(4) .item { 
    border-left: 4px solid #ff8b8b;
}


/* Добавление цвета для заголовков */
.state_items:nth-child(1) h3 { 
    background-color: #b0b0b0; 
}

.state_items:nth-child(2) h3 { 
    background-color: #8fa1fd;
    color: #0021c2;
 }

.state_items:nth-child(3) h3 { 
    background-color: #adfac4;
    color: #009f3a;
}

.state_items:nth-child(4) h3 { 
    background-color: #ff8b8b;
    color: #b60000;
}