* { 
    box-sizing: border-box; 
}

body {
    background: #0D1B2B;
    color: #666666;
    font-family: Arial, Helvetica, sans-serif;
    background-attachment: fixed;
    margin: 0px;
}

nav {
    font-weight: bold;
    position: sticky;
    top: 0;
    grid-row: 2 / 3; 
    grid-column: 5 / -2;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
}

nav a:hover {
    color: #666666;
}

nav ul {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
}

nav ul li {
    width: 100%;
}

#mySubmit {
    width: 10rem;
    grid-column: 2 / 3;
}
header a {
    text-decoration: none;
    color: #FFFFFF;
}
header h1 {
    line-height: 140%;
    padding: .5rem;
    background-image: url('/Images/camera-icon.png');
    background-repeat: no-repeat; 
    background-position: left;
    background-origin: content-box;
    margin: 0;
}
h2 {
    justify-content: center;
}
footer {
    font-size: .7rem;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    grid-row: 5 / 6; 
    grid-column: 2 / -2;
    color: white;
}

#wrapper {
  display: grid;
  grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

#bluebar {
    background-color: #0133A0;
    grid-row: 2 / 3; 
    grid-column: 1 / 9;
}

#homehero {
    background-image: url('Images/NIL-HERO.png');
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center;
    grid-row: 3 / 4; 
    grid-column: 2 / 8;
}
#logo {
    background-image: url('Images/logo-hero.png');
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center;
    grid-row: 3 / 4; 
    grid-column: 2 / 8;
}

.section {
    padding: 30px;
    text-align: center;
    background-color: #ECEFF3;
    color: BLACK;
}
main {
    grid-row: 4 / 5; 
    grid-column: 2 / -2;
    background-color: #ECEFF3;
}
.section2 {
    grid-area: section2;
    background-color: #0D1B2B;
    color: white;
}
.button-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}
.button-container .button {
    margin: 15px;
    padding: 15px 50px;
    background-color: #0133A0;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.form-container {
    width: 50%;
    margin: 0 auto;
}

.form-group {
    display: block;
    margin-bottom: 20px;
}

label {
    display: block;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 10px;
}

.button {
    margin: 10px;
    padding: 10px 20px;
    background-color: #0133A0;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #0D1B2B;
}

.navbar {
    padding: 15px;
    text-align: right;
  }
  
  .navbar-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
  }
  
  .nav-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
  }
  
  .nav-list li {
    margin-left: 20px;
  }
  
  .nav-list a {
    text-decoration: none;
    color: white;
  }
  
  @media screen and (max-width: 992px) {
    .navbar-toggle {
        display: block;
      }
    
      .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust as needed */
        right: 15px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
      }
    
      .nav-list.show {
        display: flex;
      }
    
      .nav-list li {
        margin: 0;
        text-align: center;
      }
  
      .button-container {
         margin: 20px;    
         padding: 20px;
      }
  
      .button {
          margin: 5px;
          padding: 5px;
      }
}

  @media screen and (max-width: 768px) {
    .button-container {
        display: flex;
        flex-direction: column;
    }
    .button {
        margin: 5px;
        padding: 5px;
    }
}