body {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	height: 100vh;
	background-color: #ccc;
}

header {
	display: flex;
	text-align: center;
	justify-content: space-between;
	/* Items are placed with space between them */
	align-items: center;
	/* Vertically align items to the center */
	background-color: #333;
	color: white;
	padding: 10px;
}

footer {
	display: flex;
	text-align: center;
	justify-content: center;
	/* Items are placed with space between them */
	align-items: center;
	/* Vertically align items to the center */
	align-content: center;
	background-color: #333;
	color: white;
	padding: 10px;
	margin-top: auto;
	position: sticky;
	bottom: 0vh;
}

a {
	color: #ccc;
}

input::placeholder {
	color: rgba(0, 0, 0, 0.5);
	/* Semi-transparent black */
	font-style: italic;
	/* Optional: makes the text italic */
}

input {
	width: 100%;
	padding: 10px;
	margin: 8px 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

input:focus {
	border-color: #5c9ded;
	/* Blue border on focus */
	outline: none;
	/* Removes the default focus outline */
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0, 0, 0, 0);
	overflow: hidden;
}

.hidden {
	display: none;
}

.showcase-container {
	width: 200px;
	display: flex;
	align-items: center;
	flex-direction: column;
	/* Stack image and nav vertically */
}

#showcaseimg {
	margin-bottom: 10px;
	width: 200px;
	height: 300px;
}

#showcase-nav {
	display: flex;
	/* Align buttons and text in a row */
}


#showcasename {
	margin: 0 5px;
	/* Space between text and buttons */
	width: 80px;
	/* Set a maximum width for the text */
	text-align: center;
	word-wrap: break-word;
	/* Allows breaking long words into multiple lines */
	overflow-wrap: break-word;
	/* Ensures words can break if they're too long */
	text-overflow: ellipsis;
	/* Optional: adds "..." if the text is too long for the box */
	white-space: normal;
	/* Allows the text to break into multiple lines */
	/* Space between text and buttons */
}

button {
	border-color: #999;
	background: #ccc;
	cursor: pointer;
	width: 60px;
	/* Adjusted size for better visibility */
	height: 60px;
	border-radius: 10px;
	/* Rounded corners */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 -1px 3px rgba(255, 255, 255, 0.1);
	/* Creates 3D effect */
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
	word-wrap: anywhere;
	word-break: normal;
	margin-inline: 5px;	
	padding: 0px;
	text-align: center;
	padding-right: 1px;
}

#backHome
{
	min-width: 60px;
	word-wrap: normal;
	width: min-content;
	height: auto;
}

#showcase-left,
#showcase-right,
#close_preview {
	width: 30px;
	/* Adjust button size */
	height: 30px;
}

#logoutButton img {
	width: 40px;
	/* Scaled image to fit the button */
	height: 40px;
}

/* Hover effect to amplify the 3D feel */
button:hover {
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4), 0 -2px 4px rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
	/* Slight lift on hover */
}

/* Pressed effect */
button:active {
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5), 0 -1px 2px rgba(255, 255, 255, 0.1);
	transform: translateY(2px);
	/* Simulates button press */
}

#roomba,
#workshop,
#previewButton,
#loadRooms {
	margin-top: 20px;
	width: 150px;
	height: auto;
	padding-bottom: 0.3vh;
	padding-top: 0.3vh;
}

#choose {
	margin-bottom: 10px;
	margin-top: 20px;
	width: 176px;
	text-align: center;
}

.card,
.deck {
	display: grid;
}

.actions {
	align-self: end;
}


.hidden-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #eee;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.preview-content {
	display: flex;
	flex-wrap: wrap;
	background-color: #eee;
	border-radius: 8px;
	padding: 20px;
	max-width: 80%;
	max-height: 80%;
	overflow-y: auto;
	text-align: center;
	position: relative;
}

.actions button {
width: min-content;
  word-wrap: normal;
  min-width: 60px;
  min-height: 60px;
  height: auto;
}

#languageSelect {
	padding: 5px;
	font-size: 16px;
	border-radius: 5px;
	border: 1px solid #ccc;
	background-color: #333;
	color: white;
	cursor: pointer;
  }