html {
    --top-spacing: 100px;
    scroll-padding-top: var(--top-spacing);
    scroll-behavior: smooth;
}

.mobile {
	display: none;
}

h2 {
	text-decoration: none;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	color: #00215b;
	font-size: 50px;
}

h3 {
	color: #00215b;
	text-decoration: underline;
	text-align: center;
}

p {
	text-align: left;
	max-width: 600px;
	/* Adjust the max-width as needed */
	margin: 0 auto;
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	font-weight: 500px;
	opacity: 1;
}

.form {
	text-align: left;
}


.formsheet {
	z-index: 1;
}

.application {
	max-width: 1000px;
	margin: 0 auto;
	justify-content: center;
	align-items: center;
	box-shadow: 3px 3px 10px 2px#ee4924;
	margin-bottom: 50px;
	padding: 20px;
}

.appTitle {
	display: flex;
	align-items: center;
	border-bottom: 2px dotted #00215b;
}

.app-logo {
	width: 200px;
}

.application h2 {
	margin-left: 200px;
	text-align: center;
}

.information {
	max-width: 1080px;
}

.table {
	margin-left: auto;
	margin-right: auto;
}

table {
	display: none;
}

.education {
	display: none;
}

form p input[type="text"],
form p input[type="numbers"] {
	margin-left: 10px;
	border: 2px solid #d4a18d;
	padding: 5px 10px;
	width: 60%;
}

.app-parallax {
	/* The image used */
	background-image: url("ATC_Word_Logo2.png");
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 20px;
	align-items: flex-start;
	/* Align content at the top */
	width: 100%;
	height: 100%;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	position: relative;
}

.background-color {
	/* Full width and height of the viewport */
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.93);
	/* Background color with transparency */
	position: absolute;
	/* Position this container absolutely */
	top: 0;
	left: 0;
}


aside {
	/* Styles for the aside container */
	width: 100%;
	/* Set to the desired width */
	margin: 0 auto;
	/* Center the aside */
	position: relative;
	clear: both;
	/* Needed for positioning the parallax */
}

.container {
	display: flex;
	align-items: flex-start;
	/* Align the height of columns */
	height: auto;
	overflow: hidden;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(0, 33, 91, 0.3));
}


.paramedic {
	width: 100%;
	/* Take up half the space */
	text-align: left;
	margin: 0 auto;
	padding: 20px;
	/* Add padding for text */
	overflow: hidden;
}

.parallax_about {
	flex: 1;
	/* Take up the other half */
	background-image: url("Paramedic.png");
	display: flex;
	justify-content: center;
	align-items: flex-start;
	min-height: 550px;

	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: auto;
	position: relative;
	/*Changed from fix */
	top: 0;
	/* Other background and size styles */
	z-index: 1;
	/* Higher than other elements */

	overflow: hidden;
}

.background {
	background-image: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(0, 33, 91, 0.3));
}

.backgroundEMT {
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(0, 33, 91, 0.3));
}

.center_list,
.container h3,
.emt-container h3 {
	margin: 0 auto;
	/* Center the container horizontally within its parent */
	text-align: center;
	padding-top: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.center_list ul {
	list-style-position: inside;
	/* Place the list bullets inside the list items */
	text-align: left;
	font-size: 18px;
}


.emt-container {
	display: flex;
	align-items: flex-start;
	/* Align the height of columns */
	height: auto;
	overflow: hidden;
	background-image: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(0, 33, 91, 0.3));
}

.emt {
	width: 115%;
	/* Take up half the space */
	text-align: left;
	margin: 0 auto;
	padding: 20px;
	/* Add padding for text */
	overflow: hidden;
}

.parallax_alex {
	flex: 1;
	/* Take up the other half */
	background-image: url("EMT.png");
	min-height: 550px;
	display: flex;
	justify-content: center;
	align-items: flex-start;

	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: auto;
	/* Adjust height as needed */
	/* Start off-screen to the left */
	position: relative;
	/*Changed from fix */
	top: 0;
	/* Other background and size styles */
	z-index: 1;
	/* Higher than other elements */

	overflow: hidden;
}

.parallax_about {
	opacity: 0;
	transform: translatex(200px);
	transition: opacity .5s ease-out, transform .5s ease-out;

}

.parallax_alex {
	opacity: 0;
	transform: translatex(-200px);
	transition: opacity .5s ease-out, transform .5s ease-out;

}

.paramedic,
.emt {
	opacity: 0;
	transform: translatey(200px);
	transition: opacity .5s ease-out, transform .5s ease-out;
}


.reveal {
	opacity: 1;
	transform: translateY(0);
}

.required {
	color: red;
}

/* Responsive styles for mobile devices */
@media (max-width: 960px) {
	.mobile {
		display: contents;
	}
	
	.application {
		max-width: 600px;
	}

	.parallax_about {
		background-image: url("mobile/Paramedic.png");
	}

	.parallax_alex {
		background-image: url("mobile/EMT.png");
	}

	.appTitle {
		flex-direction: column;
		align-items: center;
	}

	.app-logo {
		width: 150px;
		/* Smaller logo for mobile */
	}

	.appTitle h2 {
		margin-left: 0;
	}

	.information,
	.form {
		max-width: 75%;
		/* Full width on mobile */
		padding: 5px;
		margin: 0 auto;
	}

	form p input[type="text"],
	form p input[type="numbers"],
	form p input[type="tel"],
	form p input[type="date"],
	form p select {
		width: 100%;
		/* Full width inputs on mobile */
	}

	table {
		display: none;
	}

	.education {
		display: none;
	}

	p {
		font-size: 16px;
	}

	#applicantName{
		display: block;
		margin-bottom: 10px;
	}

	#applicantLName{
		display: block;
		margin-bottom: 10px;
	}

	#alternatePhone{
		clear: right;
		display: block;
		margin-bottom: 10px;
	}

	#street{
		clear: right;
		display: block;
		margin-bottom: 10px;
	}

	#state{
		clear: right;
		margin-right: 100px;
		margin-bottom: 10px;
	}	

	#previousemp{
		clear: right;
		margin-right: 100px;
		margin-bottom: 10px;
	}

	#zip{
		width: 15%;
	}

	#ExpDate{
		margin-top: 10px;
	}

	#Pcontact{
		clear: right;
		margin-right: 50px;
		margin-bottom: 10px;
	}

	#psid {
		margin-right: 150px;
		margin-bottom: 10px;
	}

	#cpr {
		margin-right: 70px;
		margin-bottom: 10px;
	}


	#employerName {
		clear: right;
		margin-right: 120px;
		margin-bottom: 10px;
	}

	#employerName2 {
		clear: right;
		margin-right: 130px;
		margin-bottom: 10px;
	}

	#title,
	#title2 {
		clear: right;
		margin-right: 180px;
		margin-bottom: 10px;
	}

	#duties {
		clear: right;
		margin-right: 180px;
		margin-bottom: 10px;
	}

	#duties2 {
		clear: right;
		margin-right: 180px;
		margin-bottom: 10px;
	}

	#supervisors {
		clear: right;
		margin-right: 50px;
		margin-bottom: 10px;
	}

	#supervisors2 {
		clear: right;
		margin-right: 100px;
		margin-bottom: 10px;
	}

	#Phone{
		clear: right;
		margin-right: 150px;
		margin-bottom: 10px;
	}

	#Phone2 {
		clear: right;
		margin-right: 170px;
		margin-bottom: 10px;
	} 
	

}

/* General adjustments for smaller screens */
@media (max-width: 600px) {

	.center_list li{
		font-size: 12px;
	}

	.information,
	.form {
		max-width: 100%;
		/* Full width on mobile */
		padding: 5px;
		margin: 0 auto;
	}

	.personalInfo input {
		margin-right: 70px;
		margin-bottom: 10px;
	}

	label{
		display: block;
	}

	.application {
		max-width: 350px;
	}
	
	h1,
	h2 {
		font-size: xx-large;
	}

	#calendarDate{
		margin-bottom: 10px;
	}
	
	.information h3 {
		font-size: 18px;
	}	

	.parallax_about {
		background-image: url("mobile/Paramedic2.png");
		margin-bottom: -300px;
	}

	.parallax_alex {
		background-image: url("mobile/EMT2.png");
		margin-bottom: -200px;
	}
}