.body-container {
  position: relative;
  height: 100vh;
  background: url('../img/background-image.jpg') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(7, 9, 26, 0.8);
  z-index: 1;
}

.body-content {
  position: relative;
  z-index: 2;
  color: white;
}

.body-header {
  height: 40px;
  width: 100%;
  text-align: center;
  display: inline-block;
}

.body-header .main-logo {
  width: 10%;
  height: auto;
}

.body-main {
  display: inline-block;
  text-align: center;
}

.body-main h1 {
  font-family: arial;
  font-weight: bold;
  margin: 0 auto;
}

.bodytext-container {
  width: 100%;
}

.body-text {
  display: inline-block;
  font-family: arial;
  width: 800px;
}

.required {
  color: rgb(255, 109, 109);
  font-weight: bold;
}

.validation-errors {
    color: red;
    font-weight: bold;
    font-family: arial;
}

.confirmation-banner {
  width: 100%;
  color:#0A447E;
  background-color: #26c6da;
  font-family: arial;
  font-size: 20pt;
  font-weight: bold;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}

.contact-form {
  display: inline-block;
  width: 700px;
  font-family: arial;
  background-color: rgba(213, 251, 255, 0.3);
  padding: 15px;
}

.contact-form input[type="text"] {
  display: inline-block;
  text-align: center;
  border: 1px solid #ccc; 
  transition: 0.35s;
  border-radius: 15px;
  width: 300px;
  height: 30px;
  margin: 10px;
}

.contact-form input[type="text"]:focus {
  display: inline-block;
  text-align: center;
  border: 1px solid #ccc; 
  background-color: #d5fbff;
  transition: 0.35s;
  border-radius: 15px;
  width: 300px;
  height: 30px;
  margin: 10px;
}

.contact-form input[type=submit] {
  background-color: #0A447E;
  border: 1px solid #ccc; 
  transition: 0.35s;
  font-weight: bold;
  color: white;
  width: 300px;
  height: 30px;
}

input[type=submit]:hover {
  background-color: #d5fbff;
  border: 1px solid #ccc; 
  transition: 0.35s;
  font-weight: bold;
  color: black;
}

input[type=submit]:active {
  background-color: #26c6da;
  border: 1px solid #ccc;
  transition: 0.35s; 
  font-weight: bold;
  color: black;
}

/* Responsive styles for mobile devices */
@media only screen and (max-width: 600px) {
  .body-container {
    height: auto; /* let height adjust */
    padding: 20px 10px;
  }

  .body-header .main-logo {
    width: 40%; /* bigger and easier to tap */
  }

  .body-main h1 {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  .body-text {
    width: 100% !important; /* override fixed width */
    font-size: 1rem;
    padding: 0 10px;
  }

  .contact-form {
    width: 100% !important; /* full width form */
    padding: 10px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="submit"] {
    width: 80% !important;
    max-width: none;
    margin: 8px 0;
    box-sizing: border-box;
  }

  .confirmation-banner {
    font-size: 1.2rem;
    padding: 10px 5px;
  }
}