@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    background: linear-gradient(180deg, #201723, #12302f);
	background-attachment: fixed;
    font-family: "Fira Code", serif !important;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.small {
	font-size: 12px;
	color: #555555;
}
.wrap {
    width: 100%;
}
.wrap-inner {
    width: 100%;
    max-width: 800px;
	margin: 0 auto;
}
.clear {
	clear: both;
}
#date-time {
    margin: 0 auto 80px auto;
}
#date-time .wrap-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 25px;
}
.arrows {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
	color: #fff;
	border-radius: 30px;
	transition: background-color .3s ease;
	font-weight: bold;
	font-size: 18px;
	transition: background-color .5s ease, box-shadow .3s ease, border-color .3s ease;
	border: solid 1px #4f4f4f;
    box-shadow: 0 0 10px rgba(0,0,0,.4);
}
.arrows svg {
	width: 40px;
	fill: #ffffff;
}
.arrows:hover {
	cursor: pointer;
	border-color: #ffffff;
	background-color: #43b3a8;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.arrows:active {
	cursor: default;
	border-color: #4f4f4f;
	background-color: #43b3a8;
	box-shadow: 0 0 10px rgba(0,0,0,.4);
}
#login-form img {
	margin-bottom: 20px;
}
#login-form .wrap-inner {
	max-width: 400px;
	text-align: center;
	margin-bottom: 100px;
}
#login-form input {
	height: 50px;
	margin-top: 10px;
	background: none;
    background-image: linear-gradient(200deg, rgb(255 255 255 / 50%), rgb(255 255 255 / 60%), rgb(255 255 255 / 50%));
    border: solid 1px #fff;
}
#login-form .btn {
	margin: 30px auto;
	width: 120px;
	height: 45px;
	line-height: 45px;
	font-size: 15px;
}
#date-display {
    text-align: center;
	width: 250px;
	height: 50px;
	line-height: 50px;
    border: solid 2px #fff;
	border-radius: 25px;
	color: #fff;
	cursor: pointer;
}
#add-task .wrap-inner, #add-people .wrap-inner {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
#add-task-form {
	width: 100%;
}
input, textarea {
	padding: 10px;
	border-radius: 8px;
	font-size: 18px;
	width: 100%;
	height: 38px;
	line-height: 38px;
	box-sizing: border-box;
	background: none;
    background-image: linear-gradient(200deg, rgb(255 255 255 / 70%), rgb(255 255 255 / 80%), rgb(255 255 255 / 70%));
    border: solid 1px #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.4);
}
textarea {
	min-width: 100%;
	max-width: 100%;
	height: 100px;
	min-height: 100px;
	max-height: 200px;
	line-height: normal;
}
input::placeholder, textarea::placeholder {
	color: #333333;
}
input[type="checkbox"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	box-shadow: none;
	margin: 0;
}
.completed {
  float: left;
  width: 26px;
  height: 26px;
  border: solid 1px #ffffff;
  border-radius: 5px;
  padding: 2px;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
  overflow: visible;
}
.completed .checkbox {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background-color: transparent;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.3, 3);
}
.completed.completed-checked .checkbox {
  transform: scale(1);
  background-color: #43b3a8;
}
.completed .particles {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.completed .particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  transform: translate(0, 0);
  pointer-events: none;
}
.completed.completed-checked .particle {
  animation: explode 0.4s ease-out;
}
@keyframes explode {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y));
  }
}
#time {
    width: 150px;
	margin-right: 10px;
}
#description {
    width: calc(100% - 170px);
}
#daily-tasks {
	padding-bottom: 30px;
}
#people-wrap, #access-wrap {
	padding-bottom: 15px;
}
#daily-tasks .wrap-inner, #people-wrap .wrap-inner, #access-wrap .wrap-inner {
    display: flex;
    justify-content: center;
}
.title {
    font-size: 25px;
    margin-top: 25px;
    text-align: center;
	color: #ffffff;
}
#tasks, #people, #access {
    margin-top: 15px;
    width: 100%;
	box-sizing: border-box;
    border-radius: 8px;
	box-sizing: border-box;
    background-image: linear-gradient(200deg, rgb(255 255 255 / 55%), rgb(255 255 255 / 80%), rgb(255 255 255 / 50%));
    border: solid 1px #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.4);
}
.task, .people {
	position: relative;
    width: 100%;
	border-bottom: dashed 1px #cdcdcd;
}
.task:nth-child(even), .people:nth-child(even){
	background-color: rgba(255,255,255,.1);
}
.task:last-child, .people:last-child {
	border-bottom: none;
}
.check-box {
	float: left;
    width: 26px;
	padding: 10px 0;
	margin-left: 15px;
	margin-right: 10px;
	box-sizing: border-box;
}
.time-description, .name-email {
	float: left;
	width: calc(100% - 181px);
	margin-right: 10px;
	transition: background-color .3s ease;
	border-radius: 8px;
	box-sizing: border-box;
}
.task-assigned .time-description {
	width: calc(100% - 101px);
}
.name-email {
	margin-right: 0;
	width: calc(100% - 120px);
}
.time {
	float: left;
	width: 60px;
	margin-top: 10px;
	text-align: left;
	margin-left: 10px;
	margin-right: 20px;
	box-sizing: border-box;
	font-weight: 300;
}
.description {
	float: left;
	width: calc(100% - 90px);
	padding: 10px 0;
	box-sizing: border-box;
	font-size: 18px;
}
.name, .email {
	float: left;
	width: 50%;
	padding: 10px 0;
}
.name {
	width: calc(50% - 20px);
	padding: 10px 20px;
	box-sizing: border-box;
}
#access .name {
	width: calc(100% - 40px);
	padding: 10px 20px;
	box-sizing: border-box;
	margin-right:0;
}
.assignees {
	display: none;
	float: left;
	width: calc(100% - 170px);
	font-size: 12px;
	margin: 5px 0 10px 90px;
}
.assigned_task {
	background-color: rgba(73, 54, 112, 0.2);
}
.task-nav, .people-nav {
	float: left;
	width: 30px;
    height: 30px;
	margin-top: 10px;
	margin-right: 10px;
	border-radius: 8px;
	text-align: center;
	box-sizing: border-box;
	border: solid 1px rgba(255,255,255, .5);
	background-color: rgba(0,0,0,.1);
	transition: background-color .5s ease, border-color .5s ease, box-shadow .5s ease;
}
.task-nav:last-child {
	margin-right: 0;
}
.people-nav {
	margin-top: 6px;
}
.task-nav svg, .people-nav svg {
	width: 18px;
	margin-top: 3px;
	opacity: .7;
	fill: #ffffff;
	transition: opacity .5s ease;
}
.task-nav:hover, .people-nav:hover {
	cursor: pointer;
	border-color: #ffffff;
	background-color: #43b3a8;
	box-shadow: 0 0 5px rgba(0,0,0,.2);
}
.task-nav:hover svg, .people-nav:hover svg {
	opacity: 1;
}
.btn {
	width: 100px;
	height: 40px;
	line-height: 40px;
	color: #ffffff;
	background-color: #000000;
	text-align: center;
	transition: color .3s ease;
	border-radius: 8px;
	border: solid 1px transparent;
	transition: background-color .5s ease, box-shadow .3s ease, border-color .3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,.4);
}
.btn:hover {
	border-color: #ffffff;
	cursor: pointer;
	background-color: #43b3a8;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
#add-task .btn, #add-people .btn {
	border-color: #4f4f4f;
	min-width: 60px;
}
#add-task .btn:hover, #add-people .btn:hover {
	border-color: #ffffff;
}
#no-tasks, #no-people, #no-access {
	width: 100%;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 10px 0;
	font-size: 17px;
}
#navigation {
	margin-top: 20px;
	padding-bottom: 50px;
}
#navigation .wrap-inner {
	text-align: center;
	color: #ffffff;
}
a:link, a:visited {
	color: #ffffff;
	text-decoration: none;
	font-size: 13px;
}
a:hover, a:active {
	text-decoration: underline;
}
.reload {
	padding-bottom: 30px;
}
.reload .wrap-inner {
	text-align: center;
}
.link {
	color: #ffffff;
	font-size: 13px;
}
.link:hover {
	text-decoration: underline;
	cursor: pointer;
}
.assignee {
	display: flex;
	border-bottom: solid 1px #bbbbbb;
	padding-bottom: 8px;
	margin-bottom: 8px;
}
.assignee div {
	text-align: left;
	flex: 1;
}
/*--- Modal ---*/
body.modal-open {
	overflow: hidden;
}
#modal {
	display: none;
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(8, 17, 20, 0.8);
	overflow-y: auto;
	z-index: 20;
	align-items: center;
}
#modal-content {
	background-color: rgba(255, 255, 255, .9);
	margin: 20px auto;
	padding: 20px;
	border: 1px solid #ffffff;
	width: 80%;
	max-width: 400px;
	position: relative;
	border-radius: 8px;
	text-align: left;
}
#modal input, #modal textarea {
	box-shadow: none;
	border-color: #d1d1d1;
	margin-right: 0;
}
#modal #change_time, #modal #change_name {
	margin-bottom: 10px;
}
#modal-header  {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #292929;
}
#modal-body {
	text-align: center;
}
#modal a:link, #modal a:visited {
	color: #000000;
	text-decoration: none;
	font-size: 14px;
}
#modal a:hover, #modal a:active {
	text-decoration: underline;
}
#modal-close {
	color: #292929;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 20px;
	z-index:21;
}
#modal-close:hover {
	color: #666666;
	text-decoration: none;
	cursor: pointer;
}
#modal-footer {
	width: 100%;
    display: flex;
    justify-content: center;
	align-items: center;
	flex-direction: column;
}
/*--- Loading Icon ---*/
.loading {
	width: 30px;
	height: 30px;
	display: inline-block;
	overflow: hidden;
	background: none;
	position: relative;
}
.loading div {
	position: absolute;
	opacity: 1;
	border-radius: 50%;
	animation: ripple 1.1s cubic-bezier(0, 0, 1, 1) infinite;
	border: solid 3px #ffffff;
}
.loading div:nth-child(1) {
	animation-delay: 0s;
}
.loading div:nth-child(2) {
	animation-delay: -0.5s;
}
.loading.white-border div {
	border-color: #FFFFFF;
}
.loading.gray-border div {
	border-color: #999999;
}
.loading.black-border div {
	border-color: #000000;
}
@keyframes ripple {
	0% {
		top: 16px;
		left: 13px;
		width: 0;
		height: 0;
		opacity: 1;
	}
	100% {
		top: 4px;
		left: 2px;
		width: 22px;
		height: 22px;
		opacity: 0;
	}
}
/* Success Checkmark */
.success-checkmark {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.success-checkmark::after {
	content: '';
	width: 8px;
	height: 18px;
	border: solid white;
	border-width: 0 4px 4px 0;
	transform: rotate(45deg);
	position: absolute;
	top: 1px;
	left: 8px;
	opacity: 0;
	animation: draw 2s ease;
}
@keyframes draw {
	0% { opacity: 0; height: 0; }
	25% { opacity: 1; height: 18px; }
	100% { opacity: 1; height: 18px; }
}
@media (max-width: 850px){
	#daily-tasks {
		margin-top: 30px;
	}
	.wrap {
		padding: 0 20px;
		box-sizing: border-box;
	}
	#date-display {
		font-size: 20px;
		width: 190px;
	}
	#daily-tasks {
		margin-top: 0;
	}
	#add-task-form {
		display:none;
	}
	#time {
		width: 100%;
		margin: 0 0 10px 0;
	}
	#add-task .btn {
		width: 100%;
		margin: 0;
		border:solid 1px #ffffff;
	}
	#date-time {
		margin-bottom: 40px;
	}
	.time-description {
		flex-wrap: wrap;
		padding: 10px 0;
		width: calc(100% - 61px);
	}
	.task-assigned .time-description {
		width: calc(100% - 61px);
	}
	.time, .name {
		font-weight: 600;
		height: auto;
		line-height: normal;
		margin-top: 0;
	}
	.description, .email {
		height: auto;
		padding: 0;
		width: calc(100% - 20px);
		margin-left: 20px;
		margin-top: 10px;
	}
	.name-email {
		width: calc(100% - 120px);
	}
	.name, .email {
		width: 100%;
	}
	.name {
		padding-bottom: 0;
	}
	.email {
		margin-top: 0;
		padding-bottom: 10px;
	}
	#modal input#change_description {
		width: 100%;
	}
	.assignees {
		margin-left: 20px;
		width: calc(100% - 20px);
	}
	.task-nav {
		position: absolute;
		right: 80px;
	}
	.task-nav:nth-child(4) {
		right: 40px;
	}
	.task-nav:nth-child(5), .task-assigned .task-nav:nth-child(3) {
		right: 0;
	}
	.reload {
		padding-bottom: 30px;
	}
}
