@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*{
	margin: 0;
	padding: 0;
}

::-webkit-scrollbar {
	width: 1.2rem;
}

::-webkit-scrollbar-track {
	background: hsl(0, 0%, 24%);
}

::-webkit-scrollbar-thumb {
	background: hsl(0, 0%, 54%);
	border: .2em solid hsl(0, 0%, 24%);
	border-radius: 100vw;
}

@supports (scrollbar-color: red blue) {
	*{
	  scrollbar-color: hsl(0, 0%, 54%) hsl(0, 0%, 24%);
	  scrollbar-width: auto;
	}
}

#header{
	padding: 1% 3%;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: space-between;
	background-color: #303030;
	flex-wrap: wrap;
}

#heading{
	margin: 2%;
	font-size: 2rem;
	color: aliceblue;
	font-family: Arial, Helvetica, sans-serif;
	display: flex;
	flex-wrap: wrap;
}

#license{
	font-size: 1rem;
	font-family: Arial, Helvetica, sans-serif;
	color: lightgrey;
	display: flex;
	flex-wrap: wrap;
}

#body{
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-image: url('Image.jpg');
  background-size: contain;
  background-attachment: fixed;
  padding-top: 20vh;
  align-items: center;
}

#card-header{
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: rgb(131, 117, 101);
	height: 12vh;
	width: 60vw;
	border-radius: 20px 20px 0px 0px;
}

#category-header{
	color: aliceblue;
	text-align: center;
	font-family: 'Poppins', sans-serif;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding-left: 2vw;
	padding-right: 2vw;
}

.card{
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	background-color: rgb(65, 65, 65);
	padding-top: 4vh;
	padding-bottom: 4vh;
	height: auto;
	width: 60vw;
	border-radius: 0px 0px 20px 20px;
}

#list{
	margin: 0;
	padding: 0;
	color: rgb(230, 224, 224);
	list-style-type: none;
	font-family: 'Poppins', sans-serif;
	font-size: 1.2rem;
	text-align: left;
}

#list li[class="empty"]::before{
	content:'⬜ ';
}

#list li[class="checked"] > span{
	text-decoration: line-through;
}

#list li[class="checked"]::before{
	content:'✅ ';
}

#list li{
	cursor: pointer;
}

#list li:hover{
	color: white;
}

.opt{
	border: none;
	background-color: transparent;
	color: rgb(205, 212, 218);
	cursor: pointer;
	font-size: 1rem;
}

.opt:hover{
	color: rgb(255, 255, 255);
}

.item{
	font-size: 1rem;
}

li .item{
	visibility: hidden;
}

li:hover .item{
	visibility: visible;
}

.buttons{
	margin-top: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 5px;
}

.btn{
	box-sizing: border-box;
	cursor: pointer;
	height: auto;
	width: 8rem;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
}

.add-task{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 5vh;
}

.add-task input {
	box-sizing: border-box;
	height: auto;
	width: 8rem;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	outline: 0;
	border: 1px solid rgba(0, 0, 0, 0.1);
  }

.add-task input[name="task"]{
	cursor: text;
}

.add-task input[type="submit"]{
	cursor: pointer;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #303030;
  padding-top: 2vh;
  padding-bottom: 2vh;
  height: auto;
}

.footer > #footer-text {
	display: flex;
	flex-wrap: wrap;
	color: white;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.2rem;
}

#github-link{
	color: rgb(121, 206, 240);
}
