html, body {
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: #f2f2f2;
	color: #333;
}

.container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* Link styles */
footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


h1 {
	font-size: 36px;
	font-weight: bold;
	margin: 0;
	text-align: center;
}

h2 {
	font-size: 28px;
	font-weight: bold;
	margin: 20px 0 10px 0;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

li {
	margin-bottom: 10px;
}

span {
	display: inline-block;
	padding: 5px 10px;
	background-color: #f8f8f8;
	border-radius: 5px;
	font-family: 'Courier New', Courier, monospace;
}

button {
	background-color: transparent;
	color: #666;
	border: 2px solid #666;
	border-radius: 5px;
	padding: 5px 10px;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
	background-color: #666;
	color: #fff;
}

.alert {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 10px 20px;
	background-color: #4CAF50;
	color: #fff;
	border-radius: 5px;
	animation-name: fadeOut;
	animation-duration: 2s;
	animation-fill-mode: forwards;
	display: none;
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@media screen and (max-width: 600px) {
	h1 {
		font-size: 24px;
	}
	h2 {
		font-size: 20px;
	}
	p, ul, li {
		font-size: 16px;
	}
	#ipv4, #ipv6, #org, #city, #region {
		font-size: 20px;
	}
	button {
		font-size: 16px;
	}
	#copy-ipv4, #copy-ipv6 {
		font-size: 16px;
	}
}

@media screen and (min-width: 1200px) {
	.container {
		padding: 40px;
	}
	h1 {
		font-size: 48px;
	}
	h2 {
		font-size: 36px;
	}
	ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	li {
		margin-right: 20px;
	}
	li:last-child {
		margin-right: 0;
	}
	span {
		margin-right: 10px;
	}
}
