
body {
	background-color: #f3f4f6;
	font-family: 'Open Sans', sans-serif;
}

div.nav-row>div {
	background-color: white;
	border-bottom: 1px solid #555;
}

/* Tables */
.table th,
td {
	text-align: center;
	vertical-align: center;
}

/* Class to highlight the first row in the table */
.table-highlight-first tbody tr:first-child {
	background-color: #ffd700;
	color: #000;
}

/* Clue */
.clue-markdown {
	margin-top: 6px;
	margin-bottom: 6px;
	margin-left: 12px;
	margin-right: 12px;
}

.font-handwriting-a {
    font-family: 'Mali', sans-serif;
}

.font-handwriting-b {
    font-family: "Architects Daughter", sans-serif;
    line-height: 1.6;
}

/* Typewriter styles */
.font-typewriter-a {
    font-family: 'Special Elite', system-ui;
    line-height: 1.8;
}

/* Frame Display */
div.frame-display-row {
	margin-top: 10px;
	margin-bottom: 10px;
	border: 3px solid black;
}

div.frame-display-row div.display-column {
	background-color: #fff;
	padding: 0;
}

div.frame-display-row div.side-column {
	background-color: #ddd;
}

#frame-canvas {
	position: relative;
	/*width: 100%;*/
	height: 800px;
	width: 800px;
	background-color: brown;
	background-size: cover;
	background-position: center;
}

#frame-canvas .add-background {
	position: relative;
	left: 20px;
	top: 20px;
}

#frame-canvas .interactable {
	position: absolute;
	/*background-color: red;*/
	cursor: pointer;
	border: 3px solid red;
}

textarea.fullwidth {
	width: 100%;
}

/* Interactable management */
div.interactable-management-row {
	background-color: #eeeeff;
}

/* Basic styling for the textarea */
.auto-expand {
	width: 100%;
	min-height: 50px;
	/* Disable manual resizing */
	resize: none;
	/* Hide scrollbars */
	overflow: hidden;
}

/* Text Extra Styling */
.highlight {
	background-color: rgba(240, 221, 77, 0.6);
	/* Highlighter color */
	padding: 2px 4px;
	/* Space around the text */
	border-radius: 2px;
	/* Optional: softens the edges */
}

/* Frames */
.card-img-top {
	background-image: url('/assets/images/placeholders/frame_placeholder.png');
	background-size: cover;
	background-position: center;
}



.card-img-top[src=""] {
	/* Hide broken images */
	visibility: hidden;
}

.frame-index-img {
	object-fit: cover;
	height: 200px;
}

/* Bootstrap Overrides */
.form-label,
.col-form-label {
	font-weight: bold;
}

.btn-primary {
	background-color: #000;
	border-color: #000;
}

.btn-primary:hover {
	background-color: rgba(0, 0, 0, 0.7);
	border-color: rgba(0, 0, 0, 0.7);
}

.btn-primary.disabled {
	background-color: rgba(0, 0, 0, 0.4);
	border-color: rgba(0, 0, 0, 0.4);

}

.nav-link {
	position: relative;
	color: #000;
	transition: color 0.3s ease, transform 0.3s ease;
	font-weight: normal;
}

.nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 1);
	/* Place the background behind the text */
	z-index: -1;
	transition: opacity 0.3s ease;
	/* Start fully transparent */
	opacity: 0;
	border-radius: 8px;
}

.nav-link:hover {
	color: #000;
}

.nav-link:hover::after {
	opacity: 0.05;
	/* Fade in to 20% opacity */
}

.nav-link.active {
	color: #fff !important;
	background-color: rgba(0, 0, 0, 1) !important;
	font-weight: bold;
}