#robot-container {
	position: absolute;
	top: 65%;
	right: 1%;
	z-index: 1000;
	animation: levitation 2s ease-in-out infinite alternate;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	width: 0;
}

#robot-img {
	width: 180px;
	height: auto;
	cursor: pointer;
}

#robot-bubble {
	position: relative;
	background: var(--text-color);
	color: #000;
	border: 2px solid #333;
	border-radius: 15px;
	border-bottom-right-radius: 0;
	padding: 10px 15px;
	margin-bottom: 10px;
	width: max-content;
	max-width: 250px;
	text-align: left;

	font-family: sans-serif;
	font-size: 14px;
	box-shadow: -4px 4px 6px rgba(0, 0, 0, 0.1);
	opacity: 0;
	transform-origin: bottom right;
	transform: scale(0.8) translateY(10px);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	pointer-events: none;
}
#robot-bubble::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: auto;
	transform: none;
	right: 20px;
	border-width: 8px 8px 0;
	border-style: solid;
	border-color: #333 transparent transparent transparent;
}
#robot-bubble::before {
	content: "";
	position: absolute;
	bottom: -5px;
	left: auto;
	transform: none;
	right: 21px;
	border-width: 7px 7px 0;
	border-style: solid;
	border-color: #fff transparent transparent transparent;
	z-index: 1;
}
#robot-bubble.visible {
	opacity: 1;
	transform: scale(1) translateY(0);
}

@keyframes levitation {
	0% {
		transform: translateY(0px) rotate(-2deg);
	}
	100% {
		transform: translateY(-25px) rotate(2deg);
	}
}

@media screen and (max-width: 900px) {
	#robot-container {
		top: 70%;
		right: 2%;
	}
	#robot-img {
		width: 180px;
	}
	#robot-bubble {
		font-size: 13px;
		max-width: 180px;
		padding: 8px 10px;
	}
}

@media screen and (max-width: 600px) {
	#robot-container {
		top: 75%;
		right: 0;
	}
	#robot-img {
		width: 160px;
	}
	#robot-bubble {
		font-size: 12px;
		max-width: 90vw;
		padding: 6px 8px;
	}
}

@media screen and (max-width: 400px) {
	#robot-container {
		top: 80%;
		right: 0;
	}
	#robot-img {
		width: 100px;
	}
	#robot-bubble {
		font-size: 11px;
		max-width: 98vw;
		padding: 4px 5px;
	}
}
