/* Body styling */
body {
    background-color: #4e8656;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/*Entire Website in here */
.website{
    width: 1100px;
    margin: 0 auto;
    padding: 0;
}

/*Navigation Bar */
.navBar {
  position: relative;
  width: 100%;
  height: 40px;
  border-radius: 10px 10px 0 0;
  background-color: gray;
  display: flex;           /* Use flexbox for layout */
}

/* Style the links inside the navigation bar */
.navBar a {
  flex: 1;                 /* Each link gets equal width */
  color: #f2f2f2;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  padding: 10px 0;         /* Vertical padding only */
  text-align: center;      /* Center text */
  display: block;          /* Make the whole area clickable */
  transition: background-color 0.3s; /* Smooth transition for hover */
}

/* Change the color of links on hover */
.navBar a:hover {
  background-color: #ddd;
  color: black;
}

/* Game container */
.gameContainer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 560px;
  box-sizing: border-box;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  background: radial-gradient(circle, #6eaf78, #315436);
  background-size: cover;
}

.contact-form-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

h2 {
  margin-top: 0;
  color: #333;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

.error-message {
  color: red;
  font-size: 0.875rem;
  display: none; /* Hidden by default */
}

.submit-button {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #218838;
}