@import url("https://use.typekit.net/fzy6blb.css");
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
	--black: #110305;
	--red: #B82638;
	--grey: #848585;
	--white: #EFEFEF;
	--neon: #F72119;
	--trans: #00000000;
}
body {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	line-height: 1.2;
	color: var(--black);
	margin: 0;
}
h1,
h2,
h3,
h4,
h5 {
	font-family: 'peckham-press', sans-serif;
	font-style: normal;
	font-weight: 400;
	line-height: 1.2;
	color: var(--black);
	margin: 0 0 10px;
	margin-bottom: 0;
}
h1 {
	font-size: 22px;
	padding-top: 5px;
}
h2 {
	font-size: 26px;
}
h3 {
	font-size: 21px;
}
h4 {
	font-size: 28px;
}
h5 {
	font-size: 24px;
}
h6 {
	font-family: 'Poppins', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	color: var(--black);
	margin: 0 0 15px;
	text-transform: uppercase;
}
p {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	line-height: 1.2;
	color: var(--black);
	margin: 0 0 15px;
}
p:last-of-type {
	margin: 0;
}
a {
	color: var(--red);
	text-decoration: none;
	transition: all 250ms ease;
}
a:hover {
	color: var(--neon);
}
header {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
	padding: 0.5% 8%;
	border-bottom: 3px solid var(--red);
	box-shadow: 0px 0px 10px 0px var(--neon);
}
.page-title {
	text-align: right;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: right;
	gap: 15px;
}
.page-title h1 {
	margin: 0;
}
.page-header {
	display: flex;
	flex-flow: column;
	justify-content: center;
	gap: 10px;
}
.main {
	padding: 60px 8%;
	text-align: center;
	display: flex;
	flex-flow: column;
	gap: 25px;
}
.btn {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	color: var(--white);
	background-color: var(--red);
	border: 0;
	border-radius: 3px;
	padding: 10px 20px;
	transition: all 250ms ease;
}
.btn:hover {
	color: var(--white);
	background-color: var(--red);
	box-shadow: 0px 0px 10px 0px var(--neon);
	cursor: pointer;
}
.btn-alt {
	background-color: var(--black);
}
.btn-alt:hover {
	background-color: var(--black);
}
.btn-small {
	font-size: 12px;
	padding: 6px 12px;
}
.btn:disabled,
.btn[disabled] {
	background-color: var(--grey);
}
.btn:disabled:hover,
.btn[disabled]:hover {
	cursor: not-allowed;
	background-color: var(--grey);
	box-shadow: none;
}
.btn-group {
	display: flex;
	flex-flow: row;
	justify-content: center;
	gap: 15px;
}
form {
	display: flex;
	flex-flow: column;
	gap: 20px;
	/*max-width: 400px;*/
	margin: 0 auto;
}
form > div {
	width: 100%;
}
form input {
	width: 100%;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	line-height: 1.2;
	color: var(--black);
	border: 0;
	border-bottom: 1px solid var(--black);
	outline: none !important;
	padding: 5px;
	text-align: center;
	box-sizing: border-box;
}
form select {
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	line-height: 1.2;
	color: var(--black);
	outline: none !important;
	padding: 5px;
	
}
.errormessage {
	color: var(--neon);
	display: flex;
	flex-flow: row;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

/* Home */
.home .login-forms{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	column-gap: 60px;
	row-gap: 35px;
}
.home .login-forms h2 {
	margin-bottom: 10px;
}

/* Control Panel */
.control-panel p {
	font-size: 17px;
	margin-bottom: 14px;
}

/* View Employees */
.employee-table {
	display: flex;
	flex-flow: column;
}
.employee-table .row {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	padding: 5px;
}
.employee-table .row:nth-child(even) {
	background-color: var(--white);
}
.employee-table .row > div {
	text-align: left;
}
.employee-table .row > div.name {
	width: 20%;
}
.employee-table .row > div.phone {
	width: 15%;
}
.employee-table .row > div.email {
	width: 30%;
}
.employee-table .row > div.small {
	width: 10%;
	text-align: center;
}
.employee-table .row span {
	font-size: 13px;
}
.employee-table .row.headers span {
	text-transform: uppercase;
	font-weight: 700;
}
.employee-table label {
	display: none;
}

/* Add Employee */
.add-employee form {
	gap: 35px;
	width: 80%;
	max-width: 400px;
}
.add-employee form > div {
	display: flex;
	flex-flow: column;
	gap: 10px;
}
.add-employee form h6 {
	margin-bottom: 0;
}

/* View Schedule */
.schedule-table {
	display: flex;
	flex-flow: column;
	margin-bottom: 35px;
	border: 2px solid var(--black);
}
.schedule-table .row {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
	border-bottom: 1px solid var(--black);
}
.schedule-table .row.headers {
	border-bottom: 2px solid var(--black);
}
.schedule-table .row:last-of-type {
	border-bottom: 0;
}
.schedule-table .row > div {
	text-align: center;
	width: 12%;
	padding: 5px;
	box-sizing: border-box;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
}
.schedule-table .row > div:nth-child(even) {
	background-color: var(--white);
}
.schedule-table .row > div.employee {
	width: 16%;
	justify-content: flex-start;
	text-align: left;
}
.schedule-table .row span {
	font-size: 13px;
	text-align: center;
}
.schedule-table .row > div.employee span {
	text-align: left;
}
.schedule-table .row.headers span {
	text-transform: uppercase;
	font-weight: 700;
}

/* Create/Modify Schedule */
.create-schedule h3 {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	column-gap: 20px;
}
.create-schedule div.week-of input[type="text"] {
	width: 100px;
	text-align: center;
	font-family: 'peckham-press', sans-serif;
	font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}
.create-schedule div.add-employee {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	gap: 15px;
}
.create-schedule div.add-employee .btn {
	width: auto;
	padding: 8px 16px;
}
.create-schedule .schedule-table input[type="text"] {
	background-color: var(--trans);
	box-sizing: border-box;
	text-align: center;
	border-bottom: 0;
}
.create-schedule .schedule-table .row > div {
	width: 10%;
}
.create-schedule .schedule-table .row > div.employee {
	width: 20%;
}
.create-schedule .btn-group {
	display: flex;
	flex-flow: column;
	justify-content: center;
}

@media screen and (max-width: 767px) {
	header {
		padding: 10px 10px 5px;
		flex-flow: row;
		align-items: stretch;
		gap: 10px;
	}
	header .logo {
		margin-bottom: 2px;
	}
	h1 {
		font-size: 18px;
		padding-top: 0;
	}
	h2 {
		font-size: 16px;
	}
	h3 {
		font-size: 14px;
	}
	h4 {
		font-size: 28px;
	}
	h5 {
		font-size: 24px;
	}
	.errormessage {
		flex-flow: column;
	}
	.main {
		padding: 40px 10px;
		gap: 20px;
	}
	.login form {
		max-width: 80%;
		margin: 0 auto;
	}
	.page-title {
		flex-flow: column-reverse;
		align-items: flex-end;
		justify-content: space-between;
		gap: 10px;
	}
	.btn-group {
		gap: 10px;
	}
	.home .login-forms {
		flex-flow: column;
	}
	.view-schedule.main, .create-schedule.main {
		padding: 40px 5px;
	}
	.schedule-table {
		margin-bottom: 20px;
	}
	.schedule-table .row > div {
		padding: 5px 1px;
		width: 11%;
		box-sizing: content-box;
	}
	.schedule-table .row > div.employee {
		width: 16%;
		padding: 5px;
	}
	.schedule-table .row span {
		font-size: 10px;
	}
	.employee-table .row.headers {
		display: none;
	}
	.employee-table .row.entries {
		flex-flow: wrap;
		align-items: center;
		column-gap: 10px;
		padding: 10px;
	}
	.employee-table .row > div {
		width: 100% !important;
	}
	.employee-table .row > div.name {
		font-weight: 700;
		margin-bottom: 5px;
	}
	.employee-table .row > div.small {
		width: auto !important;
		margin-top: 5px;
	}
	.employee-table .row > div.small a {
		display: flex;
		align-items: center;
		gap: 5px;
	}
	.employee-table .row span {
		font-size: 14px;
	}
	.employee-table label {
		display: inline;
	}
	.create-schedule.main {
		gap: 10px;
	}
	.create-schedule h3 {
		column-gap: 10px;
		font-size: 12px;
	}
	.create-schedule div.week-of input[type="text"] {
		padding: 2px 0;
		width: 72px;
		font-size: 12px;
	}
	.create-schedule .schedule-table .row > div {
		width: 10%;
		box-sizing: border-box;
    	padding: 5px 1px;
	}
	.create-schedule .schedule-table .row > div.employee {
		width: 20%;
	}
	.create-schedule .schedule-table .row > div.employee span {
		padding: 5px;
	}
	.create-schedule .schedule-table input[type="text"] {
		font-size: 10px;
	}
}