/* stylecontact.css */

body, html {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

header {
    background-color: transparent;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative; /* Add position relative for pseudo-element */
}

header img {
    width: 300px; /* Adjust the width of the logo as needed */
    height: auto; /* Maintain aspect ratio */
	margin-right: 530px;
}

footer img {
    width: 300px; /* Adjust the width of the logo as needed */
    height: auto; /* Maintain aspect ratio */
}

/* Footer */
footer {
	font-family: Jura, sans-serif; /* Use Jura font */
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}



nav {
    margin-right: auto; /* Move nav to the left */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; /* Use flexbox for layout control */
    align-items: center; /* Align items vertically center */
}

nav ul li {
    margin-right: 17px;
}

nav ul li a {
    font-family: 'Jura', sans-serif; /* Use Jura font */
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    padding: 0 20px; /* Add padding to create space between links */
}

nav ul li a:hover {
    animation: colorTransition 1s infinite alternate; /* Apply the animation on hover */
}

@keyframes colorTransition {
    0% {
        color: #ff66b3; /* Pink */
    }
    100% {
        color: #00FFFF; /* Cyan */
    }
}

.contact-info {
    font-family: 'Jura', sans-serif; /* Use Jura font */
    color: #fff; /* Set color to white */
    font-size: 20px; /* Set font size to match other nav items */
    animation: colorTransition 3s infinite; /* Apply the animation continuously */
    margin-left: 600px; /* Push Contact Us text to the right */
}


@keyframes colorTransitionWhite {
    0% {
        color: #00FFFF; /* Cyan */
    }
    100% {
        color: #fff; /* White */
    }
}


main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background-color: #16171A;
}

#hero {
    position: relative;
    z-index: 1;
    height: 100vh;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('BackgroundSpace.gif') center center/cover;
    z-index: -1;
    animation: animateBackground 3s linear infinite;
    padding: 5px;
}

/* Style the hero content */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* Adjust text color for visibility */
  text-align: center;
}


.contact-form {
    background-color: transparent; /* Dark blue background */
    padding: 50px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    color: #fff;
    box-sizing: border-box; /* Include padding in width calculation */
    margin-top: 20px; /* Add margin to separate from header */
}

.contact-form h2 {
	font-family: 'Jura', sans-serif; /* Use Jura font */
    margin-bottom: 20px; /* Add space below the heading */
    font-size: 40px; /* Increase font size */
    text-align: center;
	font-style: italic;
	animation: colorTransition 1s infinite alternate;
}

.form-group {
    margin-bottom: 20px; /* Add space between form fields */
    text-align: left; /* Align text to the left */
}

label {
    font-weight: bold; /* Make labels bold */
    font-size: 18px; /* Increase font size */
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%; /* Full width text inputs */
    padding: 15px; /* Increase padding */
    border: 1px solid #ccc; /* Add a border */
    border-radius: 5px; /* Add rounded corners */
    font-size: 18px; /* Set font size */
	background-color: #181515;
	color: #fff;
	
}

textarea {
    height: 200px; /* Increase height */
}

button[type="submit"] {
    background-color: #026078; /* Cyan */
    color: #fff; /* White text */
    border: none; /* Remove border */
    padding: 15px 30px; /* Increase padding */
    border-radius: 5px; /* Add rounded corners */
    cursor: pointer; /* Add cursor pointer on hover */
    font-size: 18px; /* Set font size */
    margin-left: 145px;
}

button[type="submit"]:hover {
    background-color: #008b8b; /* Darker cyan on hover */
}

@media only screen and (min-width: 768px) and (max-width: 1366px) {
	nav ul li {
    margin-right: 0px;
}

nav ul li a {
    font-family: 'Jura', sans-serif; /* Use Jura font */
    font-size: 20px;
    color: #fff;
    text-decoration: none;
   
 }
 
 nav {
        display: none; /* Hide the navigation on mobile screens */
    }
 
 
 button[type="submit"] {
	 margin-left: 135px;
 }
 

header img {
    width: 300px; /* Adjust the width of the logo as needed */
    height: auto; /* Maintain aspect ratio */
	margin-right: 220px;
}

.contact-info {
    margin-left: 350px; /* Push Contact Us text to the right */
}
}

/* Adjust styles for smaller screens like phones */
@media only screen and (max-width: 430px) {
    .contact-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    button[type="submit"] {
        margin-left: 70px !important; /* Reset margin-left */
        margin-right: auto !important; /* Reset margin-right */
    }
	
	header {
        justify-content: center; /* Center header contents */
    }

    header img {
        margin: 0 auto; /* Center the header image */
    }

    nav {
        display: none; /* Hide the navigation on mobile screens */
    }
}
	
	
}