* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

:root {
	--background-color: #fff;
	--text-color: #444;
}

[data-theme="dark"] {
	--background-color: #080404;
	--text-color: #fff;
}

[data-theme="dim"] {
	--background-image: linear-gradient(to bottom, #2f4f7f, #6c5ce7);
	--text-color: #fff;
	background-image: var(--background-image);
	background-color: transparent;
}

body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	/* background: linear-gradient(to bottom, #2f4f7f, #6c5ce7); */
	background-color: var(--background-color);
    background-image: var(--background-image);
	color: var(--text-color);
	background-attachment: fixed;
	background-size: 100% 100%;
	height: 100%;
	color: #fff;
	overflow-x: hidden;
}


#horoscope-form {
	max-width: 500px;
	margin: 40px auto;
	padding: 20px;
	background: linear-gradient(to top, rgb(2, 3, 5), rgb(110, 91, 250, 0.5)),
		url(/20241119_121859.jpg);
	background-size: 250px;
	background-position: 0 10%;
	background-attachment: fixed;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#horoscope-form label {
	display: block;
	margin-bottom: 10px;
}

#horoscope-form select,
#horoscope-form input[type="number"] {
	width: 100%;
	height: 40px;
	margin-bottom: 20px;
	padding: 10px;
	border: none;
	border-radius: 5px;
	font-size: 16px;
}

#horoscope-form button[type="submit"] {
	width: 100%;
	height: 40px;
	background-color: #6c5ce7;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
}

#horoscope-form button[type="submit"]:hover {
	background-color: #7a6bc9;
}

#horoscope-result {
	max-width: 500px;
	margin: 20px auto;
	padding: 20px;
	background: linear-gradient(to top, rgb(2, 3, 5), rgb(110, 91, 250, 0.5)),
		url(/20241119_121859.jpg);
	background-size: 250px;
	background-position: 0 10%;
	background-attachment: fixed;
	/* opacity: 0.9; */
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.container {
	display: flex;
	flex-direction: column;
	margin: 100px auto;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	border: transparent;
	padding: 20px;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(
		to top,
		rgb(47, 79, 127, 0.966),
		rgb(47, 79, 127, 0.966)
	);
	filter: drop-shadow(10px);
}

header h1 {
    letter-spacing: 6px;
	text-transform: uppercase;
	/* float: left; */
	font-size: 2rem;
	font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	color: #fefafa;
	font-weight: 800;
	cursor: pointer;
	transition: 0.5s ease;
}

header h1:hover {
	transform: translateX(12px);
}

nav ul {
	margin-right: 50px;
	list-style: none;
	display: flex;
}

.nav-content a {
	margin-left: 4rem;
	text-decoration: none;
	color: aliceblue;
	transition: ease-out 0.2s;
}

.nav-content a:hover {
	border-bottom: 2px solid rgb(255, 255, 255, 0.5);
	box-shadow: 0px 1px 2px rgb(255, 255, 255, 0.4);
	padding: 5px;
}

button {
	padding: 10px;
	cursor: pointer;
}

.btn {
	margin-bottom: 20px;
	width: 100px;
	height: 40px;
	font-size: 18px;
	background-color: #4caf50;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.btn:hover {
	background-color: #3e8e41;
}

#title {
	text-transform: uppercase;
	text-align: center;
	max-width: 500px;
	margin: 20px auto;
	padding: 20px;
	background: linear-gradient(to top, rgb(2, 3, 5), rgb(110, 91, 250, 0.5)),
		url(/20241119_121859.jpg);
	background-size: 250px;
	background-position: 0 10%;
	background-attachment: fixed;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	font-family: Tahoma;
}

#horoscope-result h2 {
	margin-top: 0;
}

footer {
	background: linear-gradient(
		to top,
		rgb(47, 79, 127, 0.966),
		rgb(47, 79, 127, 0.966)
	);
	filter: drop-shadow(10px);
	color: #fff;
	text-align: center;
    border: transparent;
	padding: 20px;
	font-size: 14px;
	opacity: 0.869;
}

.label {
	margin: 10px auto;
	color: rgba(164, 250, 221);
}

#footer {
	text-align: center;
	padding: 28px;
	display: flex;
	color: burlywood;
}

.menu-icon {
	display: none;
}

.dropdown-menu li {
	list-style: none;
	margin-bottom: 10px;
}

.dropdown-menu a {
	text-decoration: none;
	color: #ffffff;
}

.dropdown-menu a:hover {
	color: #23527c;
}

/* Media Queries */

/* Mobile (max-width: 767px) */
@media only screen and (max-width: 995px) {
	nav {
		display: none;
	}

	.dropdown-menu {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		width: 200px;
		border-left: 2px solid rgb(255, 255, 255, 0.5);
		border-bottom: 2px solid rgb(255, 255, 255, 0.5);
		border-bottom-left-radius: 2rem;
		padding: 1rem solid;
		background-color: rgb(22, 22, 22, 0.7);
		border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
		transition: 0.5s ease;
	}

	.dropdown-menu:hover {
		transform: translateY(10px);
	}

	.menu-icon {
		display: block;
		cursor: pointer;
		position: relative;
	}

	.menu-icon span {
		display: block;
		width: 25px;
		height: 3px;
		background-color: white;
		margin-bottom: 5px;
		transition: all 0.3s;
	}

	.menu-icon:focus-within .dropdown-menu {
		display: block;
	}

	.menu-icon:hover .dropdown-menu,
	.dropdown-menu:hover {
		display: block;
	}

	.menu-icon:hover span:nth-child(1) {
		transform: translateY(10px);
	}
	.menu-icon:hover span:nth-child(3) {
		transform: translateY(-10px);
	}

	.dropdown-menu.active {
		display: block;
	}

	.dropdown-menu li a:hover,
	.dropdown-menu li a.active {
		color: rgb(255, 186, 13);
		border-bottom: 3px solid rgb(255, 255, 255, 0.5);
	}

	.dropdown-menu a {
		display: block;
		font-size: 1rem;
		margin: 3rem 1.5rem;
		transition: 0.4s ease;
	}

	.dropdown-menu a:hover,
	.dropdown-menu a.active {
		padding: 1rem;
		border-radius: 0.5rem;
		border-bottom: 0.5rem;
	}

	#horoscope-form {
		max-width: 350px;
		margin: 20px auto;
		padding: 15px;
	}
	#horoscope-result {
		max-width: 350px;
		margin: 15px auto;
		padding: 15px;
	}
	#title {
		max-width: 350px;
		margin: 15px auto;
		padding: 15px;
	}
}

/* Tablet (min-width: 768px) and (max-width: 1023px) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
	#horoscope-form {
		margin: 30px auto;
		padding: 20px;
	}
	#horoscope-result {
		margin: 25px auto;
		padding: 20px;
	}
}

/* Desktop (min-width: 1024px) */
@media only screen and (min-width: 1024px) {
	#horoscope-form {
		margin: 40px auto;
		padding: 25px;
	}
	#horoscope-result {
		margin: 35px auto;
		padding: 25px;
	}
}

/* Large Desktop (min-width: 1280px) */
@media only screen and (min-width: 1280px) {
	#horoscope-form {
		margin: 50px auto;
		padding: 30px;
	}
	#horoscope-result {
		margin: 45px auto;
		padding: 30px;
	}
}
