@font-face {
	font-family: italics;
	src: url("font.ttf");
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: navy;
}

.back-to-top {
		position: fixed;
		bottom: 20px;
		right: 20px;
		background: rgba(0, 0, 0, 0.5);
		color: white;
		padding: 10px;
		border-radius: 50%;
		cursor: pointer;
		display: none;
		z-index: 1000;
}

.back-to-top:hover {
		background: rgba(0, 0, 0, 0.8);
}

.mainbox {
	padding: 20px;
	margin: auto;
	width: 80%;
	opacity: 0.8;
	background-color: orange;
	text-align: center;
}

.signature {
	font-family: cursive;
}

.TITLE {
	padding: 20px;
	margin: auto;
	color: green;
	text-align: center;
}

.SUBTITLE {
	padding: 20px;
	margin: auto;
	text-align: center;
	color: blue;
}

.TEXT {
	padding: 20px;
	margin: auto;
	color: green;
	text-align: center;
}

.DARK-TEXT {
	color: darkgreen;
}

.input-submit-reset {
	color: navy;
	background-color: orange;
}

#clickme, #sliding {
	padding: 20px;
	background-color: darkgreen;
	color: white;
	border: inset 2px grey;
	text-decoration: none;
}

#sliding {
	display: none;
	border-top: none;
}

#clickme {
	border-bottom: none;
}

#sliding a {
	display: block;
	color: lightgreen;
	background-color: blue;
	padding: 20px;
}

#sliding a:hover {
	color: blue;
	background-color: lightgreen;
	text-decoration: none;
}

#change-color-scheme {
	margin: auto;
	text-align: center;
	color: white;
}
main h1{
	margin: auto;
	padding: 20px;
	color: green;
}
main p {
	padding: 20px;
	color: green;
}

#hangman {
	padding: 20px;
	color: green;
}

.nav-link {
	color: navy !important;
}
.nav-link:hover {
	transition: color 0.5s ease;
	color: blue !important;
}

.nav-link-current {
	font-weight: bold;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.nav-link-current:hover {
	transition: color 0.5s ease;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Tooltip container */
.navbar-games {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.navbar-games .navbar-games-text {
	visibility: hidden;
	width: 120px;
	background-color: #555;
	color: #fff;
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;

	/* Position the tooltip text */
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -60px;

	/* Fade in tooltip */
	opacity: 0;
	transition: opacity 0.3s;
}

/* Tooltip arrow */
.navbar-games .navbar-games-text::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.navbar-games:hover .navbar-games-text {
	visibility: visible;
	opacity: 1;
}

/* Dropdown Button */
.dropbtn {
	background-color: #4CAF50;
	color: white;
	padding: 16px;
	font-size: 16px;
	border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
	position: relative;
	display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}

/* Hover dropdown styles */
.hover-dropdown .hover-dropdown-menu {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease-in-out;
	display: block !important;
	pointer-events: none;
}

.hover-dropdown:hover .hover-dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* Ensure smooth animation on dropdown items */
.hover-dropdown-menu .dropdown-item {
	transition: background-color 0.2s ease;
}
