/* GENERAL */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}



/* VARIABLES */
:root {
	/* font */
	--fontfamily: 'Cormorant Garamond', serif;
	--fontweight-light: 300;
	--fontweight-regular: 400;
	--fontweight-medium: 500;
	--fontweight-bold: 700;

	/* colors*/
	--color-dark: #11111af1;
	--color-gray: #c5c3c6;
	--color-light: #f7f4e9;

}



/* BODY */
body {
	height: 100vh;
	display: flex;
	align-items:flex-start;
	justify-content: center;
	background-image: url("concrete-2.jpg");
}



/* LIST CONTAINER */
.list {
	font-family: var(--fontfamily);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: column;
	width: 17.5rem;
	color: var(--color-light);
}


/* list header */
.list__header {
	text-align: center;
	width: 100%;
	padding: 5px;
	background: var(--color-dark);
}

.list__title {
	padding: 2px;
	font-size: 1.875rem;
	font-weight: var(--fontweight-medium);
	color: var(--color-light);
}

.list__add {
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.list__input {
	border: 3px double var(--color-gray);
	background: none;
	outline: none;
	padding: 2px 5px;
	width: 88%;
	color: var(--color-light);
	font-size: 1rem;
	font-weight: var(--fontweight-regular);
	font-family: var(--fontfamily);

}

.list__input::placeholder {
	font-size: 1rem;
	font-weight: var(--fontweight-medium);
}

.list__btn {
	width: 10%;
	padding: 2px 5px;
	background: none;
	outline: none;
	border: 3px double #c5c3c6;
	font-size: 1rem;
	color: var(--color-light);
	cursor: pointer;
}

.list__btn:active {
	transform: scale(.97);
}


/* list tasks */
.list__tasks {
	width: 100%;
	text-align: left;
	margin-top: 5px;
}

.list__item {
	list-style-type: none;
	margin-bottom: 5px;
	border: 3px double var(--color-dark);
	padding: 2px 5px;
	font-weight: var(--fontweight-bold);
	font-size: 1rem;
	background: #e8e8e862;
	color: var(--color-dark);
	cursor: pointer;
}

.list__item:hover {
	transform: scale(1.02);
	transition: .1s ease;
}

.checked {
text-decoration: 1px line-through var(--color-dark);
}



/* RESPONSIVE WEB DESIGN  - MOBILE FIRST*/

/* min width 320px */
@media screen and (min-width: 320px) {
	.list {
		margin-top: 6.25rem;
	}
}

/* min width 768px */
@media screen and (min-width: 768px) {
	.list {
		width: 25rem;
	}

	.list__title {
		font-size: 3rem;
	}

	.list__input {
	font-size: 1.5rem;
	}

	.list__input::placeholder {
	font-size: 1.5rem;
	}

	.list__btn {
		font-size: 1.5rem;
	}
	
	.list__item {
		font-size: 1.5rem;

	}
}

/* min width 1200px */
@media screen and (min-width: 1200px) {
	.list {
		width: 35rem;
	}

	.list__title {
		font-size: 3.5rem;
	}
	
	.list__input {
	font-size: 2rem;
	}

	.list__input::placeholder {
	font-size: 2rem;
	}

	
	.list__btn {
		font-size: 2rem;
	}
	
	.list__item {
		font-size: 2rem;
	}
}

/* min width 1600px */
@media screen and (min-width: 1600px) {
	.list {
		width: 40rem;
	}

	.list__title {
		font-size: 3.5rem;
	}
	
	.list__input {
	font-size: 2rem;
	}

	.list__input::placeholder {
	font-size: 2rem;
	}

	
	.list__btn {
		font-size: 2rem;
	}
	
	.list__item {
		font-size: 2rem;
	}
}
