@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
:root {
	--main-check-background: linear-gradient hsl(192, 100%, 67%) to
		hsl(280, 87%, 65%);
	--main-primary-blue: hsl(220, 98%, 61%);
	--light-gray-50: hsl(0, 0%, 98%);
	--light-gray-300: hsl(233, 11%, 84%);
	--light-gray-600: hsl(236, 9%, 61%);
	--light-navy-850: hsl(235, 19%, 35%);
	--light-purple-300: hsl(234, 39%, 85%);
	--header-bg: url(../images/bg-desktop-light.jpg);
	--dark-navy-950: hsl(235, 21%, 11%);
}
body {
	font-size: 18px;
	background-color: var(--light-gray-50);
	position: relative;
	font-family: 'Josefin Sans', sans-serif;
}
.dark-mode {
	--header-bg: url(../images/bg-desktop-dark.jpg);
	--light-gray-50: hsl(235, 19%, 35%);
}
section {
	position: relative;
	width: 100%;
}
.main_header {
	background-image: var(--header-bg);
	background-repeat: no-repeat;
	background-size: cover;
	height: 25rem;
}
.header {
	color: hsl(0, 0%, 98%);
	text-transform: uppercase;
}
.todo_input_con {
	display: flex;
	flex-direction: space-between;
	margin-bottom: 2.5rem;
	gap: 1rem;
}
.btn_add_to_list {
	background-color: var(--main-primary-blue);
	border: none;
	border-radius: 5px;
	padding: 5px;
	width: 20%;
	cursor: pointer;
	color: var(--light-gray-50);
}
.todo_container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	top: 30%;
	right: 25%;
	position: absolute;
	width: 50%;
	padding: 2rem;
}
.todo_con_header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
}
.todo_input {
	padding: 18px;
	width: 80%;
	border: none;
	border-radius: 5px;
	outline: none;
}
.todo_input::placeholder {
	color: var(--light-gray-600);
	font-family: 'Josefin Sans', sans-serif;
	font-size: 17px;
}
.todo_list_con {
	border-radius: 5px;
	background-color: white;
	box-shadow: 5px 10px 20px 0px rgba(0, 0, 0, 0.1);
}
.todo-item {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: centers;
}
.todo_list_container li {
	list-style: none;
	display: flex;
	justify-content: space-between;
}
.todo_list_container li {
	border-bottom: 1px solid var(--light-gray-600);
	padding: 20px;
}
.todo_list_container input {
	display: none;
}
.checkmark {
	width: 20px;
	height: 20px;
	border: 2px solid #ccc;
	border-radius: 50%;
	display: inline-block;
	position: relative;
	margin-right: 15px;
}
.todo_list_container input:checked + .checkmark {
	background: linear-gradient(135deg, #55ddff, #c058f3);
	border: none;
}
.todo_list_container input:checked + .checkmark::after {
	content: url('../images/icon-check.svg');
	position: absolute;
	color: white;
	font-size: 12px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: center;
	align-items: center;
}
.completed {
	text-decoration: line-through;
	color: #aaa;
}
.todo_list_footer {
	display: flex;
	justify-content: space-between;
	padding: 10px;
}
.filter-btn.active {
	color: var(--main-primary-blue);
}
.btn {
	background: none;
	border: none;
	cursor: pointer;
	font-family: 'Josefin Sans', sans-serif;
	color: var(--light-gray-600);
}
.btn:hover {
	color: var(--dark-navy-950);
}
.drag_drop {
	text-align: center;
	margin-top: 1rem;
	color: var(--light-gray-600);
	font-size: 14px;
}
