h1{
  display: block;
  background-image: url('images/logo.jpg');
  background-position: top left;
  background-size: contain;
  background-repeat: no-repeat;
  width: 120px;
  height: 120px;
  text-indent: -9999px;
  float: left;
  margin-bottom: 0;
}

.logo {
  height: 80px;
  display: none;
}

.tagline{
  clear: right;
  float: right;
  font-style: italic;
  color: #aaa;
  margin-top: 0;
  font-weight: normal;
  font-size: 0.8rem;
}

.clear{
  clear: both;
}

body {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  /*background: #f4f4f4;
  background-image: url('images/Van Boardroom 24.06.21.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  background-attachment: fixed;*/
}

.html-mobile-background {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 125%; /* To compensate for mobile browser address bar space */
    background: url('images/Van Boardroom 24.06.21.jpg') no-repeat; 
    background-size: 100% 100%;
    background-position: right center;
}

@media (min-width: 600px) {
    html {
        background: url('images/Van Boardroom 24.06.21.jpg') no-repeat right center fixed; 
        background-size: cover;
    }
    .html-mobile-background {
        display: none;
    }
}

header, section, footer {
  padding: 20px;
  background: rgba(255,255,255,0.8);
  margin: 20px auto;
  max-width: 1000px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header {
  padding-top: 0;
  padding-bottom: 0;
  position: sticky; /* or 'fixed' if you want it *always* visible */
    top: 0;
    z-index: 9999; /* make sure it stays above other content */
    background: rgba(255,255,255,1.0);
}
h1, h2, h3, h4, h5, h6 {
  color: #003366;
  font-weight: lighter;
  text-transform: uppercase;
  margin-top: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-grid a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  transition: transform 0.2s;
}
.gallery-grid img:hover {
  transform: scale(1.05);
}
form {
  display: flex;
  flex-direction: column;
}
form input, form textarea {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 1rem;
}
form button {
  padding: 10px;
  font-size: 1rem;
  background-color: #003366;
  color: white;
  border: none;
  cursor: pointer;
}
#form-message {
  font-weight: bold;
  margin-top: 0.5rem;
  color: green;
}

footer p {
  font-style: italic;
  color: #aaa;
  font-weight: thin;
  font-size: 0.8rem;
}

/* NAV */
nav {
  float: right;
  position: relative;
  background: #fff;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  padding: 10px 15px;
  cursor: pointer;
  background: #eee;
}

nav ul {
  display: flex;
  list-style: none;
  justify-content: space-around;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: 40px;
}

nav li {
  margin-left: 20px;
}

nav a {
  color: #003366;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: lighter;
  font-size: 1.2rem;
  display: block;
}

nav a:hover {
  color:#aaa;
  text-decoration: underline;
}



/* Mobile Styles */
@media (max-width: 768px) {

  header {
    background-color: rgba(255,255,255,1);
    /*position: fixed;*/
  }

  .tagline {display: none;}

  .menu-toggle {
    display: block;
    margin-top: 30px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    position: absolute;
    top: 100%;
    right: 0;
    border-top: 1px solid #ccc;
    margin-top: 0;
    text-align: right;
    width: 400%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding-left: 0px;
  }

  nav ul.show {
    display: flex;
  }

  nav li {
    text-align: center;
    border-bottom: 1px solid #ddd;
    margin-left: 0;
  }
}