@import url("https://fonts.googleapis.com/css2?family=Spline+Sans+Mono:wght@500&display=swap"); /*Title*/
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@600&display=swap"); /*Return*/

/* common styles */
* {
	padding: 0;
	margin: 0;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;

	background-image: linear-gradient(
		45deg,
		hsl(240deg 89% 28%) 0%,
		hsl(230deg 100% 20%) 9%,
		hsl(227deg 90% 15%) 18%,
		hsl(239deg 48% 10%) 27%,
		hsl(240deg 33% 4%) 36%,
		hsl(240deg 44% 3%) 45%,
		hsl(240deg 60% 3%) 55%,
		hsl(240deg 95% 2%) 64%,
		hsl(359deg 14% 11%) 73%,
		hsl(360deg 8% 21%) 82%,
		hsl(360deg 6% 33%) 91%,
		hsl(0deg 4% 46%) 100%
	);
	background-repeat: no-repeat;
	background-attachment: fixed;
}

button:hover {
	cursor: pointer;
}

ul {
	list-style-type: none; /* get rid of bullet points on side of list items */
}

/* common style ends */

/* container */
.container {
	min-width: 700px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
}

h1 {
	color: #414c4f;
	font-size: 3rem;
	font-family: "Spline Sans Mono", monospace;
	padding-bottom: 30px;
}

/* todo-form */

.todo-form {
	margin: 40px 0px;
}

.todo-input {
	width: 250px;
	border: none;
	outline: none;
	border-radius: 5px;
	padding: 10px;
	margin-right: 10px;
	font-size: 1rem;
	background-color: lightblue;
}

.add-button {
	background-color: #343642;
	color: #fff;
	border: none;
	outline: none;
	border-radius: 5px;
	padding: 7px;
	font-size: 1.2rem;
}

/* todo-form style ends */

/* todo-items */
.todo-items {
	min-width: 350px;
}

/* each li with class="item" */
.item {
	background-color: black;
	padding: 10px;
	font-size: 1.1rem;
	color: white;
}

.item:first-child {
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}

.item:last-child {
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
}

/* item style end */

.checkbox {
	margin-right: 10px;
	cursor: pointer;
}

.delete-button {
	float: right;
	background-color: #dc143c;
	border: none;
	outline: none;
	border-radius: 7px;
	padding: 2px 5px;
	margin-left: 10px;
	font-size: 1.1rem;
	font-weight: 550;
}

/* applied when the todo item is checked */
.checked {
	text-decoration: line-through;
}
.Return {
	color: #414c4f;
	font-size: 20px;
	padding-top: 30px;
	font-family: "Source Sans Pro", sans-serif;
	text-decoration: none;
}
.Return:hover {
	transform: scale(1.5);
	cursor: pointer;
}

@media only screen and (max-width: 600px) {
	h1 {
		color: #fff;
		font-size: 30px;
	}
}
