*  {
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
}

body {
    background: url("./img/poppy-5397906_1920.jpg")no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
    width: 100%;
}

h1, li, span {
    font-weight: bold;
}

#header-box {
    margin: 60px 60px;
}

.clock-box {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: #eee;
}

.weather-box {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #eee;
    margin: 0 15px;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 60vh;
}

.display-none {
    display: none;
}

.form-box {
    margin: 0 auto;
}

.form-container {
    position: relative;
    width: 400px;
    height: 450px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    font-size: 2em;
    text-align: center;
    color: #fff;
}

.inputbox {
    position: relative;
    margin: 30px 0;
    width: 310px;
    border-bottom: 2px solid #fff;
}

.inputbox label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: black;
    font-size: 1em;
    pointer-events: none;
    transition: .5s;
    color: #fff;
}

input:focus ~ label, 
input:valid ~ label {
    top: -5px;
}

.inputbox input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    padding: 0 35px 0 5px;
    color: #fff;
}

#loginBtn, #logoutBtn {
    width: 100%;
    height: 40px;
    border-radius: 40px;
    background-color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    color: #fabdbdee;
}

.todo-box {
    width: 400px;
    height: auto;
    padding: 30px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.todo-box h1 {
    color: #eee;
    text-align: center;
    margin-bottom: 36px;
}

.input-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.todo-input {
    flex: 1;
    outline: none;
    padding: 10px 10px 10px 20px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    color: #eee;
    font-size: 16px;
    margin-right: 10px;
}

.todo-input::placeholder {
    color: #fabdbdee;
}

.button-box {
    display: flex;
    border: none;
    outline: none;
    background: #fabdbdee;
    color: #fff;
    cursor: pointer;
    border-radius: 40px;
    width: 50px;
    height: 50px;
}

.add-button {
    display: flex;
    justify-content: center;
    margin: auto;
    border: none;
    outline: none;
    background: #fff;
    color: #fabdbdee;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 40px;
    width: 40px;
    height: 40px;
}

.empty-image {
    margin: 55px auto 0;
    display: block;
}

.todo {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border-radius: 5px;
    margin: 10px 0;
    padding: 10px 12px;
    border: 2px solid #eee;
    transition: all 0.2s ease;
}

.todo:first-child {
    margin-top: 0;
}

.todo:last-child {
    margin-bottom: 0px;
}

.todo:hover {
    background-color: #fabdbdee;
}

.todo label {
    cursor: pointer;
    width: fit-content;
    display: flex;
    align-items: center;
    color: #eee;
}

.todo span {
    padding-left: 20px;
    position: relative;
    cursor: pointer;
}

.todo span::before {
    content: "";
    height: 15px;
    width: 15px;
    position: absolute;
    margin-left: -30px;
    border-radius: 100px;
    border: 2px solid #fabdbdee;
}

input[type='checkbox'] {
    visibility: hidden;
}

input:checked + span {
    text-decoration: line-through;
}

.todo:hover input:checked + span::before, input:checked + span::before {
    background-color: #eee;
}

.todo:hover span::before {
    border-color: #eee;
}

.todo .delete-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #eee;
    font-size: 20px;
    font-weight: 800;
}

.todos-container {
    height: 300px;
    overflow: overlay;
    margin-bottom: 20px;
}

.todos-container::-webkit-scrollbar-track {
    background: rgb(247, 247, 247);
    border-radius: 20px;
}

.todos-container::-webkit-scrollbar {
    width: 0;
}

.todos-container:hover::-webkit-scrollbar {
    width: 7px;
}

.todos-container::-webkit-scrollbar-thumb {
    background: #d5d5d5;
    border-radius: 20px;
}

.filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.filter {
    color: #eee;
    padding: 5px 15px;
    border-radius: 100px;
    border: 2px solid #eee;
    transition: all 0.2s ease;
    cursor: pointer;
    margin: 0 5px;
}

.filter.active, .filter:hover {
    background-color: #fabdbdee;
}

.delete-all {
    display: flex;
    color: #eee;
    padding: 7px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-all:hover {
    border-radius: 5px;
    background-color: #fabdbdee;
}
 