:root {
	--primary-color: #0d6efd;
	--secondary-color: #6c757d;
	--success-color: #198754;
	--danger-color: #dc3545;
	--light-color: #f8f9fa;
	--dark-color: #212529;
	--border-color: #dee2e6;
	--border-radius: 0.375rem;
	--container-max-width: 1320px;

	--bg-color: #f8f9fa;
	--text-color: #212529;
}

* {
	box-sizing: border-box;
}

html {
	font-size: 14px;
	position: relative;
	min-height: 100%;
}

@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

body {
	margin: 0;
	font-family:
		system-ui,
		-apple-system,
		"Segoe UI",
		Roboto,
		"Helvetica Neue",
		"Noto Sans",
		"Liberation Sans",
		Arial,
		sans-serif;
	line-height: 1.5;
	color: var(--dark-color);
	background-color: #fff;
	margin-bottom: 60px;
}

.container {
	width: 100%;
	padding-right: 1rem;
	padding-left: 1rem;
	margin-right: auto;
	margin-left: auto;
}

@media (min-width: 576px) {
	.container {
		max-width: 540px;
	}
}
@media (min-width: 768px) {
	.container {
		max-width: 720px;
	}
}
@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}
}
@media (min-width: 1200px) {
	.container {
		max-width: 1140px;
	}
}
@media (min-width: 1400px) {
	.container {
		max-width: var(--container-max-width);
	}
}

/* Layout Grid */
.row {
	display: flex;
	flex-wrap: wrap;
	margin-top: calc(-1 * 1.5rem);
	margin-right: calc(-0.5 * 1.5rem);
	margin-left: calc(-0.5 * 1.5rem);
}

.row > * {
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
	padding-right: calc(0.5 * 1.5rem);
	padding-left: calc(0.5 * 1.5rem);
	margin-top: 1.5rem;
}

@media (min-width: 992px) {
	.col-lg-6 {
		flex: 0 0 auto;
		width: 50%;
	}
}

/* Utilities */
.text-center {
	text-align: center;
}
.text-end {
	text-align: right;
}
.d-flex {
	display: flex;
}
.flex-column {
	flex-direction: column;
}
.flex-grow-1 {
	flex-grow: 1;
}
.justify-content-between {
	justify-content: space-between;
}
.justify-content-center {
	justify-content: center;
}
.align-items-center {
	align-items: center;
}
.w-100 {
	width: 100%;
}
.mt-3 {
	margin-top: 1rem;
}
.mb-3 {
	margin-bottom: 1rem;
}
.mb-4 {
	margin-bottom: 1.5rem;
}
.me-2 {
	margin-right: 0.5rem;
}
.pb-3 {
	padding-bottom: 1rem;
}
.p-4 {
	padding: 1.5rem;
}
.rounded-4 {
	border-radius: 1rem;
}
.border-top {
	border-top: 1px solid var(--border-color);
}
.border-bottom {
	border-bottom: 1px solid var(--border-color);
}

/* Buttons */
.btn {
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 400;
	line-height: 1.5;
	color: var(--dark-color);

	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	background-color: transparent;
	border: 1px solid transparent;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	border-radius: var(--border-radius);
	transition:
		color 0.15s ease-in-out,
		background-color 0.15s ease-in-out,
		border-color 0.15s ease-in-out,
		box-shadow 0.15s ease-in-out;
}

.btn-primary {
	color: #fff;
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-danger {
	color: #fff;
	background-color: var(--danger-color);
	border-color: var(--danger-color);
}

.btn-success {
	color: #fff;
	background-color: var(--success-color);
	border-color: var(--success-color);
}

.btn-outline-secondary {
	color: var(--secondary-color);
	border-color: var(--secondary-color);
}

/* Forms */
.form-control {
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--dark-color);
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid var(--border-color);
	appearance: none;
	border-radius: var(--border-radius);
	transition:
		border-color 0.15s ease-in-out,
		box-shadow 0.15s ease-in-out;
}

.form-control-lg {
	min-height: calc(1.5em + 1rem + 2px);
	padding: 0.5rem 1rem;
	font-size: 1.25rem;
	border-radius: 0.5rem;
}

/* Navbar (basic) */
.navbar {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.navbar-brand {
	padding-top: 0.3125rem;
	padding-bottom: 0.3125rem;
	margin-right: 1rem;
	font-size: 1.25rem;
	text-decoration: none;
	white-space: nowrap;
}

.navbar-nav {
	display: flex;
	flex-direction: row;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}

.nav-link {
	display: block;
	padding: 0.5rem 1rem;
	color: rgba(0, 0, 0, 0.55);
	text-decoration: none;
	transition: color 0.15s ease-in-out;
}

.nav-link.text-dark {
	color: var(--dark-color) !important;
}

/* Footer */
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	line-height: 60px;
}

.icon {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.icon-white {
	filter: brightness(0) invert(1);
}

.delete-event-btn > .icon {
	width: 20px;
	height: 20px;
	margin-right: 0.5rem;
}
