.mobile {
	display: none;
}

html {
	--top-spacing: 200px;
	scroll-padding-top: var(--top-spacing);
	scroll-behavior: smooth;
}

.top {
	transition: transform 0.3s ease, background-color 0.3s ease;
	display: none;
	/* Initially hide the button */
	position: fixed;
	bottom: 10px;
	right: 0px;
	cursor: pointer;
	z-index: 1;
}

.top:hover {
	transform: scale(1.1);
	/* The background color on hover */
}

.top h3 {
	text-align: center;
	margin: -10px;
	color: #000000;
	text-shadow: 0 0 1px #ee4924, 0 0 2px #0000ff;
}

.navbar a {
	float: left;
	color: #00215b;
	text-align: center;
	padding: 10px 16px;
	text-decoration: none;
	margin-right: 10px;
	/* Right margin for spacing */
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 0 20px rgba(0, 34, 92, 0.9);
	border: 2px solid #00215b;
	border-radius: 50px;
}

h2 {
	text-decoration: none;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	color: #00215b;
	font-size: 50px;
}

h3 {
	text-decoration: underline;
	color: #00215b;
}

.dropdown,
.dropdowns {
	float: left;
	/* Right margin for spacing */
	margin-right: 10px;
}

.dropdown .dropbtn,
.dropdowns .dropbtns {
	cursor: pointer;
	outline: none;
	font-size: 18px;
	color: #00215b;
	padding: 10px 16px;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 0 20px rgba(0, 34, 92, 0.9);
	border: 2px solid #00215b;
	border-radius: 50px;
}

.navbar a:hover,
.dropdown:hover .dropbtn,
.dropdowns:hover .dropbtns {
	color: #ee4924;
	transform: scale(1.1);
	box-shadow: 5px 5px 10px -2px #ee4924;
}

.dropdown-content {
	display: none;
	position: absolute;
	min-width: 160px;
	margin-left: -50px;
	padding-top: 10px;
	z-index: 1;
}

.dropdown-content a {
	float: none;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	background-color: white;
	text-align: left;
	margin: 5px 0;
	/* Add top and bottom margin */
}

.dropdown-content a:hover {
	color: #ee4924;
}

.show {
	display: block;
}

main {
	max-width: 1080px;
	margin: 0 auto;
}

/* Style the tab */
.tab {
	float: left;
	width: 35%;
	height: 200px;
	margin-right: 50px;
	/* Adjust as needed */
}

/* Style the buttons inside the tab */
.tab button {
	display: block;
	color: #00215b;
	padding: 22px 16px;
	width: 100%;
	border: none;
	outline: none;
	text-align: left;
	cursor: pointer;
	transition: 0.3s;
	font-size: 17px;
	background-color: white;
	box-shadow: 0 0 20px rgba(0, 34, 92, 0.9);
	border: 2px solid #00215b;
	border-radius: 10px;
}

/* Change background color of buttons on hover */
.tab button:hover {
	color: #ee4924;
	transform: scale(1.1);
	box-shadow: 5px 5px 10px -2px #ee4924;
}

/* Create an actives/current "tab button" class */
.tab button.actives {
	color: #ee4924;
	transform: scale(1.1);
	box-shadow: 5px 5px 10px -2px #ee4924;
}

/* Style the tab content */
.tabcontent {
	display: none;
	border-top: none;
	padding-left: 200px;
}

#hospitals-lake-county,
#hospitals-porter-county,
#hospitals-la-porte-county,
#hospitals-marion-county {
	padding: 20px;
	margin-bottom: 20px;
	margin-top: 20px;
	height: auto;
	/* Adds spacing below each section */
}

.hospital {
	margin-bottom: 10px;
	/* Adds spacing below each hospital within a section */
}

iframe {
	box-shadow: 5px 5px 10px -2px#ee4924;
}

@media screen and (max-width: 1070px) {
	iframe {
		width: 500px;
		box-shadow: 5px 5px 10px -2px#ee4924;
	}
}

@media (max-width: 960px) {

	.desktop {
		display: none;
	}

	.mobile {
		display: contents
	}

	main {
		max-width: 800px;
		margin: 0 auto;
		text-align: center;
		justify-content: center;
		align-items: center;
	}

	header,
	nav ul {
		flex-direction: column;
	}

	p {
		font-size: 16px;
	}


	h1,
	h2 {
		font-size: xx-large;
		text-decoration: underline;
	}

	h3 {
		font-size: large;
	}

	#hospitals-lake-county,
	#hospitals-porter-county,
	#hospitals-la-porte-county,
	#hospitals-marion-county {
		height: auto;
	}

	iframe {
		width: 375px;
		box-shadow: 5px 5px 10px -2px#ee4924;
	}

	i {
		color: #00215b;
		/* Example color: Red */
	}

	.collapsible {
		color: #00215b;
		width: 375px;
		font-size: 16px;
		padding: 15px 32px;
		cursor: pointer;
		background-color: rgba(255, 255, 255, 0.8);
		/* Background color for the entire aside */
		border: 2px solid #00215b;
		/* Border for individual boxes */
		border-radius: 50px;
		/* Rounded corners for individual boxes */
		box-shadow: 0 0 20px rgba(0, 34, 92, 0.9);
		transition: transform 0.3s ease, background-color 0.3s ease;
	}

	.actives,
	.collapsible:hover {
		color: #ee4924;
		transform: scale(1.1);
		box-shadow: 5px 5px 10px -2px#ee4924;
	}

	.collapsible:after {
		content: '\002B';
		font-weight: bold;
		color: #ee4924;
		float: left;
		margin-right: 5px;
	}

	.actives:after {
		content: "\2212";
	}

	.hospital {
		padding: 10px;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.5s ease-out;
		margin: 0 auto;
	}

	.hospital p {
		display: flex;
		justify-content: center;
		text-align: left;
	}

	.hospital p i {
		margin-right: 10px;
		/* Optional: for spacing between icon and text */
	}
}

@media (max-width: 600px) {

	.centered-navigation .navbar {
		display: flex;
		flex-direction: row;
		/* Arrange the links horizontally */
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100%;
	}



	main {
		max-width: 600px;
		margin: 0 auto;
		text-align: center;
		justify-content: center;
		align-items: center;
	}

	.dropdown-content {
		margin-left: -10px;
	}

	iframe {
		width: 350px;
		box-shadow: 5px 5px 10px -2px#ee4924;
	}

	.mobile .dropbtns {
		font-size: smaller;
	}

	.collapsible {
		width: 350px;
	}

	html {
		--top-spacing: 25px;
		scroll-padding-top: var(--top-spacing);
		scroll-behavior: smooth;
	}

	.navbar a {
		font-size: 14px;
		margin: 0 auto;
		/* Add horizontal margin between the links */
		transition: transform 0.3s ease, background-color 0.3s ease;
	}

	.header-text {
		font-size: 24px;
		/* Smaller font size for mobile */
	}

	h1,
	h2,
	h3 {
		font-size: x-large;
	}

	/* Further adjustments for mobile screens */
}