@import url("entireframework.min.css");
@import url("https://unpkg.com/spectre.css/dist/spectre-exp.min.css");

body {
	font-family: "Bitter", serif;
	color: #7b44d1;
	background: #fae2ff;
	margin: 0 5%;
}

h1, h2, h3, h4, h5 {
	font-family: "Libre Baskerville", serif;
}
h1 { font-size: 40px; }

div { padding: 5px 1%; }
div div { padding: 0; margin: 0; }

a {
	color: #7b44d1;
	text-decoration: underline;
	cursor: pointer;
}
a:hover {
	color: #55269b;
	font-style: italic;
}

/* Utils */
button, .btn {
	color: #fae2ff;
	background: #7b44d1;
	border: solid 1px #662dbb;
	border-radius: 5px;
	min-width: 40px;
	height: 30px;
	padding: 3px;
	cursor: pointer;
	transition: 0.5s;
}
button:hover, .btn:hover {
	color: #efa2ff;
	background: #612cb1;
}
button a, .btn a {
	font-style: none;
	text-decoration: none;
}

form * { margin: 5px 0; width: 100%; }
form input[type=text] { width: 100%; }

.alt-scheme {
	color: #fae2ff;
	background: #7b44d1;
}
.alt-scheme a { color: #fae2ff; }
.alt-scheme a:hover { color: #f2b9ff; }

.mobile { display: none; }
.desktop { display: unset; }

.loading {
	animation-name: loading;
}

/* Custom stuff */
#header {
	min-height: 25px;
	align-items: center;
	background: linear-gradient(to right, #7b44d1, transparent), url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAFCAYAAACXU8ZrAAAANklEQVQIW2NkQAPruh+dCSqVM0EWZkTmbOh+6PuPgbEeJIasEK4IpAAkCVOErJA0k2DWYnMTAFZoFwYEkw69AAAAAElFTkSuQmCC") repeat, #7b44d1;
}
#header * { font-size: 25px; }
#header #logo {
	font-family: "Jua", sans-serif;
	font-size: xx-large;
}
#header #logo,
#header #logo:hover {
	color: white;
	text-decoration: none;
	font-style: normal;
}

#navbar_btn {
	display: none;
	float: right;
	height: 40px;
}
#navbar {
	float: right;
	font-weight: normal;
	list-style: none;
	padding: 0;
}
#navbar a { margin-left: 5px; }
#live.online {
	background: red;
	color: white;
}
#live.offline {
	background: white;
	color: red;
}

#body { height: 500px; }
#main { min-height: 68vh; padding: 0; }

.carousel {
	aspect-ratio: 3 / 1;
	text-align: center;
}
.carousel .carousel-container .item-next,
.carousel .carousel-container .item-prev {
	background: inherit;
	border: inherit;
	color: #fae2ff;
	opacity: inherit;
	transition: inherit;
}
.carousel-item img {
	width: auto;
	height: 100%;
}

#program_header {
	padding: 1%;
	margin: 0;
}
#emblem {
	border-radius: 10px;
	width: 50px;
	height: 50px;
	vertical-align: middle;
}

#footer {
	margin: 0;
	min-height: 24vh;
	position: relative;
}
#carpinchfoot {
	opacity: 0.6;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100px;
	height: auto;
}


/* Mobile */
@media screen and (max-width: 960px) {
	body { margin: 0; }
	
	.mobile { display: unset; }
	.desktop { display: none; }
	
	#header #navbar {
		display: none;
		float: none;
	}
	#header.responsive {
		overflow: auto;
	}
	#header.responsive #navbar {
		position: relative;
		display: block;
	}
	#header.responsive #navbar a {
		float: none;
		display: block;
		text-align: left;
		border-top: solid 1px #fae2ff;
	}
	
	#navbar_btn {
		display: block;
		position: relative;
		right: 0;
		top: 0;
	}
	#navbar a { margin-left: 0; }
}