html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0; /* Default background color for body */
    margin: 0;
    padding: 0;
}

nav {
    background-color: rgba(20, 20, 20, 0.9); /* Fully transparent background */
    color: #ffffff; /* Fully transparent background */;
    padding: 0em; /* Double the thickness */
	padding-top: 1em; /* Double the thickness */
	padding-bottom: 1em;
		
	@media screen and (max-width:29.9999em) 
	{
		padding: 0em; /* Double the thickness */
		padding-top: 0.0em; /* Double the thickness */
		padding-bottom: 2.5em;
	}
  
    display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed; /* Fixed position */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    text-align: center;
    transition: top 0.5s ease; /* Smooth transition for showing/hiding */
    border: none; /* Ensure no border is visible */
    box-shadow: none; /* Remove any box shadow */
}



nav .nav-content {
    display: flex;
    align-items: center;
	justify-content: space-between;
    width: 100%;
	margin-left: 1em;
	margin-right: 1em;
	
	
	@media screen and (max-width:29.9999em) 
	{
		display: absolute;
		/*left: 50%;*/
		justify-content: center;
		/*align-items: center;*/
		padding-top: 0.5em;
		padding-bottom: 0.5em;

	}
	
}

nav .Links{
    display: flex;
	@media screen and (max-width:29.9999em) 
	{
		display: none;
	}
	
    align-items: center;
	/*margin: 1em 1em;*/
	margin-left: 1em;
	margin-right: 1em;
	padding: 0.1 0 0.1;	
	@media screen and (max-width:29.9999em) 
	{
		height: 1em;
		/*padding-top: 1em;*/
		margin-top: 1em;
		margin-bottom: 0.5em;
	}
}

nav .Links a {
    color: #e8e8e8;
	margin-left: 1em;
	margin-right: 1em;
	
    margin-top: 1em;
    text-decoration: none;
    font-size: 1.2em;
	@media screen and (max-width:29.9999em) 
	{
	font-size: 0.7em; /* Increase title text by 50% */
	

	}
}

nav .Links a:hover{
	color: #04c0c7;
	transition: 200ms;
}

nav .hidden {
	top: -100px; /* Hide the navbar off the screen */
}

nav .Title {
    color: #e8e8e8;
	font-size: 3em; /* Increase title text by 50% */
	@media screen and (max-width:29.9999em) 
	{
	font-size: 2.5em; /* Increase title text by 50% */
	margin: 1em auto;
	padding-top: 1em;
	}

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hero {
    /*background: url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;*/
	background: url("placeholder.webp") no-repeat center center/cover;
    height: 100vh; /* Full viewport height */
    width: 100vw; /* Full viewport width */
    margin: 0; /* Ensure no margin */
    padding: 0; /* Ensure no padding */
    position: relative;
    background-size: cover; /* Ensure the image covers the area */
}

section {
    /*padding: 4em 2em;*/
    text-align: center; /* Center headings */
}

.about,.contact {
    background: #f0f0f0; /* Default background color for body */
	margin: 1em auto;
	padding: 1em;
	
	max-width: 50%; /* Limit the width to 50% of the page */
	@media screen and (max-width:29.9999em) 
	{
		max-width: 98%; /* Limit the width to 95% of the page for mobile */
	}
	
}

ul {
    padding: 0;
	list-style-type: none;
}

.social-links a {
    margin: 0 0.5em;
    color: #333;
    text-decoration: none;
    font-size: 2em;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
    position: relative;
    width: 100%;
}


.container {
    background: #f0f0f0; /* Default background color */
    margin: 1em auto; /* Center align with auto margins */
    padding: 1em;
    max-width: 75%; /* Limit the width to 50% of the page */
	outline-style: none;
	outline: none;
	user-select: none;
	
	@media screen and (max-width:29.9999em) 
	{
		max-width: 100%; /* Limit the width to 95% of the page for mobile */
	}

	
}

.container:focus{
	outline-color: #5a6268;
	outline:none;
	outline-style: none;
	background: #5a6268;
}

.form-group {
    margin-bottom: 1em; /* Space between form elements */
    width: 100%; /* Full width for form groups */
}

.form-row {
    display: flex; /* Use flexbox for alignment */
    gap: 2em; /* Space between input fields */
}

input[type="text"],
input[type="email"] {
	display: inline-block; /* Align inputs on the same row */
    width: calc(100%); /* Make input fields half-width with some spacing */
	
    flex: 1; /* Make inputs flexible to fill container */
    background: transparent; /* Transparent background */
    border: none; /* Remove all borders */
    border-bottom: 1px solid #ccc; /* Only bottom border */
    border-radius: 0; /* No rounded corners */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    padding: 1em; /* Padding to ensure consistent height */
    margin: 0; /* Remove any extra margins */
}

textarea {
    width: 100%; /* Full width for the textarea */
    background: transparent; /* Transparent background */
    border: none; /* Remove all borders */
    border-bottom: 1px solid #ccc; /* Only bottom border */
    border-radius: 0; /* No rounded corners */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    padding: 1em; /* Padding to match input fields */
    height: 20em; /* Set height to accommodate approximately 10 lines of text */
    resize: none; /* Disable resizing of the textarea */
}

input[type="submit"] {
    display: block;
    width: 100%; /* Match the width of the textarea */
    height: 2.5em; /* Twice the height of the input fields */
    margin-top: 1em; /* Space above the submit button */
    background-color: #04c0c7; /* Button background color */
    color: #fff; /* Button text color */
    border: none; /* Remove default border */
    box-sizing: border-box; /* Include padding and border in the total width and height */
	border-radius: 0.5em;
}

input[type="submit"]:hover {
    background-color: #5a6268; /* Darker button background on hover */
	border-radius: 0.5em;
	box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
	transition: 500ms;
}


input[type="text"]:focus{
	outline-color: #5a6268;
	/*background-color: #04c0c7; */
	/*border-color: #5a6268;*/
}



.form-group__input {
		font: inherit;
		border-radius: 2px;
		outline: 2px solid #fff;
		background: transparent;
		transition: outline-color 500ms;
}

.form-group label {
	position: absolute;
	top: 0;
	left: 0;
	translate: 10px 10px;
	transition: translate 500ms, scale 500ms;
}



.form-group {
	position: relative;
	margin-bottom: 2em;
}


.input-group{
	position: relative;
	
}

.input-group__input {
	display: inline-flex; /* Align inputs on the same row */
    width: calc(100%); /* Make input fields half-width with some spacing */
	
    flex: 1; /* Make inputs flexible to fill container */
	box-sizing: border-box; /* Include padding and border in element's total width and height */
	display: flex;
	align-items: center;
	
	font: inherit;
	font-size: 1em;
	padding: 1em; 
	border: bottom;
	border-bottom: 1px solid #ccc; /* Only bottom border */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
	
	outline: 2px solid #f0f0f0;
	outline-style: none;
	background-color: transparent;
	transition: 500ms;

}


.input-group__input:focus:valid {
	outline-color: #04c0c7;
	border-bottom-color : #04c0c7;
	background-color: rgba(182, 203, 203, 0.1); /* Fully transparent background */
	border-top-right-radius: 1em;
	border-top-left-radius: 1em;
	transition: 500ms;
}

.input-group__label {
	display: flex;
	align-items: center;
	
	position: absolute;
	font-size: 0.8em;
	left: 1em;
	
	color: #ccc;
	transition: translate 500ms,scale 500ms;
	pointer-events: none;
	

}
 
.input-group__input:focus:valid + .input-group__label
{
	padding: 0.1em 0.5em 0.1em 0.5em;
	transform: translate( -1.1em, -100%) scale(0.7);
	background-color: #f0f0f0;
	outline: 2px solid #04c0c7;
	outline-color: #04c0c7;
	border-bottom-color : #04c0c7;
	color: #04c0c7;
	border-radius: 0.25em;
	font-style: italic;
	transition: 500ms;
}

.input-group__input:focus:not(:valid) {
	outline-color: #04c0c7;
	border-bottom-color : #04c0c7;
	background-color: rgba(182, 203, 203, 0.1); /* Fully transparent background */
	border-top-right-radius: 1em;
	border-top-left-radius: 1em;
	transition: 500ms;
}

.input-group__input:valid:not(:focus) + .input-group__label {
	background-color: transparent;
    opacity: 0; /* Hide the label */
    visibility: hidden; /* Ensure the label is hidden visually */
	transition: 500ms;	
}



/* To display the output when needed */
.show-output {
	color: #04c0c7;
	background-color: rgba(182, 203, 203, 0.1); 
	border: 1px solid #04c0c7;
	padding: 10px;
	margin-top: 15px;
	border-radius: 5px;
}
