/* Base: No scroll */
body {
  margin: 0;
  padding: 0;
  overflow: auto;
  background: black;
  font-family: Arial, sans-serif;
  color: white;
}

/* Allow scroll on mobile */
@media only screen and (max-width: 768px) {
  body {
    overflow-y: auto;
  }

  img.logo {
    max-width: 80%;
    height: auto;
    margin-top: 20px;
  }

  .content {
    padding: 20px;
  }

  form {
    width: 100%;
    padding: 10px;
  }

  textarea,
  input,
  button {
    font-size: 14px;
    padding: 10px;
  }

  h1, h2, p {
    text-align: center;
    font-size: 16px;
  }
}

/* Make the page take full height */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto; /* Disable all scrolling */
}


/* Body background and font */
body {
  background: url('images/vending-machine.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Content box with centered layout */
.content-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
  width: 90vw;
}

/* Logo styling - bigger */
.logo {
  max-width: 250px;
  margin-bottom: 20px;
}

h1 {
  margin-bottom: 10px;
}

/* Mission statement styling */
.mission {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Smaller text below mission */
.below-mission {
  font-size: 0.85em;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #ddd;
}

/* Contact form styles */
form {
  display: flex;
  flex-direction: column;
  gap: 6px; /* smaller space between fields */
}

/* Form title */
form h2 {
  color: #e63946;
  font-size: 1.2em;
  margin-bottom: 10px;
}

/* Slimmer fields */
input, textarea {
  width: 100%;
  padding: 6px 8px;
  border: none;
  border-radius: 5px;
  font-size: 0.85em;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 60px;
}

/* Compact button */
button {
  background-color: #e63946;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: auto;
  align-self: center;
  max-width: 150px;
  margin-top: 6px;
}

button:hover {
  background-color: #b22232;
}

/* Footer */
footer {
  text-align: center;
  color: #ccc;
  font-size: 0.85em;
  padding: 20px 0 0 0;
  margin-top: 30px;
}
