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

body {
    font-family: 'Josefin Sans', sans-serif;
    background-color: hsl(237, 14%, 26%);
    font-size: 18px;
    display: flex;
    justify-content: center;
}

.header-color {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-height: 350px;
    z-index: -1;
    background-color: #3700ff96;
    width: 100%;
    object-fit: cover;
    min-height: 350px;
    object-position: left;
    border-radius: 0 0 2rem 2rem;
    box-shadow: 0 3px 4px rgb(0 0 0 / 15%);
}

.footer{
    bottom: 0;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.text{
    font-size: 14px;
    color: #fff;
}
.link{
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.link:hover{
    text-decoration: underline;
}

::-webkit-scrollbar{
    width: .60rem;
    height: 10px;
    background-color: transparent;
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb{
    background-color:rgb(128,128,128);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover{
    background-color: rgb(97, 97, 97);
}


.container {
    width: 100%;
    max-width: 700px;
    margin: 0px 30px;
    margin-top: 100px;
}

.header {
    display: absolute;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.title {
    color: white;
    letter-spacing: 10px;
    font-size: 50px;
    font-weight: bold;
}

.new-todo {
    width: 100%;
    height: 70px;
    background-color: hsl(235, 24%, 19%);
    margin-top: 50px;
    border-radius: 6px;
    display: flex;
}

.check{
    flex-basis: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid hsl(237, 14%, 26%);
    transition: all 0.25s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-mark img {
    visibility: hidden;
}

.check-mark.checked img, .check-mark:hover img {
    visibility: visible;
}

.check-mark:hover {
    border-color: linear-gradient(135deg, #ff8716 0%, #58dcf3 100%);
    background: rgb(58, 123, 253);   
}

.check-mark.checked {
   
    background: rgb(58, 123, 253);   
}

.todo-text.checked {
    text-decoration: line-through;
    color: hsl(233, 14%, 35%);
}

.new-todo-input {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.new-todo-input input {
    width: 100%;
    padding: 10px 0px;
    font-size: 18px;
    background-color: transparent;
    border: none;
    outline: none;
    color: hsl(234, 39%, 85%);
}

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

.new-todo-input input::placeholder {
    color: hsl(233, 14%, 35%);
}

.todo-text {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: hsl(234, 39%, 85%);
}

.todo-item {
    width: 100%;
    height: 70px;
    background-color: hsl(235, 24%, 19%);
    display: flex;
    border-bottom: 1px solid hsl(237, 14%, 26%);
    cursor: pointer;
    transition: all .25s ease;
    transition-property: box-shadow, transform, border-color;
}

.todo-items-wrapper {
    margin-top: 30px;
    border-radius: 6px;
    overflow: hidden;
    background-color: hsl(235, 24%, 19%);
    box-shadow: 0px 2px 30px 0px rgba(0,0,0,0.4);
    margin-bottom: 30px;
}

.todo-items-info {
    width: 100%;
    height: 70px;
    background-color: hsl(235, 24%, 19%);
    display: flex;
    align-items: center;
    color: hsl(233, 14%, 35%);
    padding-left: 30px;
    display: flex;
    justify-content: space-between;
    padding-right: 30px;
}

.items-statuses {
    display: flex;
    justify-content: center;
}

.items-statuses span  {
    padding: 0 4px;
    cursor: pointer;
}

.items-clear {
    cursor: pointer;
    text-align: end;
}

.items-statuses span:hover, .items-clear:hover {
    color: hsl(220, 98%, 61%);
}

.items-statuses .active  {
    color: hsl(220, 98%, 61%);
}

.todo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 0px 7px 0px hsl(235, 21%, 11%);
    border-color: hsl(235, 24%, 19%);
}








