html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1C1C24;
}
/* container */
.container {
    margin: 0 auto;
    width: 100%;
    max-width: 1700px;
    justify-content: center;
}
/* header */
.header {
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:  #23252F;
    min-height: 5vh;
    border-bottom: 1px solid  Indigo;
}
.header-name {
    background-image: linear-gradient(to right, BlueViolet, Indigo);
    background-clip: text;
    color: transparent;
    font-size: 2rem;
    font-weight: 600;
}
/* todo list */
.todo-list {
    max-width: 100%;
    max-height: 100%;
    margin-top: 5vh;
}
.todo-list .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2vw;
    align-items: center;
}
.todo__item {
    display: flex;
    flex-direction: column;
    border: 2px solid grey;
    border-radius: 2rem;
    gap: 2vh;
    justify-content: center;
    align-items: center;
    padding: 5vh;
    height: auto;
}
.do__name {
    font-size: 1.5rem;
    background-image: linear-gradient(to right, BlueViolet, Indigo);
    background-clip: text;
    color: transparent;
    margin: 0 auto;
    font-weight: 700;
}
/* form */
.do__description, .do__date {
    font-size: 1rem;
    color: lightgrey;
}
.do__cancel, .do__complete, .do__change, .do__cancel-form, .do__complete-form {
    color: lightgrey;
    min-width: 6vw;
    min-height: 4vh;
    border: 1px solid red;
    border-radius: 10px ;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .2s ease-in-out;
    font-weight: 700;
}
.do__complete, .do__complete-form {
    border: 1px solid darkgreen;
}
.do__change {
    border: 1px solid orange;
}
.do__complete:hover, .do__complete-form:hover {
    background-color: darkgreen;
}
.do__change:hover, .do__change-form:hover {
    background-color: orange;
    color: black;
}
.do__cancel:hover, .do__cancel-form:hover {
    background-color: red;
}
.do__complete.complete {
    border-color: red;
    color: grey;
}
.do__complete.complete:hover {
    background-color: red;
}
.do__actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2vw;
}
.todo__item-form {
    display: none;
    transform: translateY(50px);
    transition: all 1.2s ease-out;
}
.do__name-form, .do__description-form {
    width: 80%;
    min-height: 50px;
    height: auto;
    border: none;
    border-bottom: 2px solid #e1e8ed;
    font-size: 16px;
    color: #e1e8ed;
    outline: none;
    transition: all 0.3s ease;
    background-color:#23252F;
    font-family: 'Montserrat', sans-serif;
}
.create__button {
    font-size: 5rem;
    color: grey;
    border: 1px solid grey;
    width: 95px;
    height: 95px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-top: 5vh;
}
.todo__item-form.show {
    display: block;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vh;
    width: 90vw;
    height: 80%;
    margin: 0 auto;
    z-index: 1000;
    background-color: #23252F;
    padding: 7vh ;
    border-radius: 3rem;
    border: 1px solid Indigo;
    opacity: 1;
    transform: translateY(0px);
}
.todo__item.completed {
    border: 2px solid green;
    opacity: 0.7;
}
/* media */
@media (max-width:300px) {
    .todo-list {
        justify-content: center;
        align-items: center;
    }

}
