body {
  font-family: 'Gill Sans', 'Gill Sans MT', 'Myriad Pro', 'DejaVu Sans Condensed', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header, main, footer {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 10px;
}

footer {
  background-color: #C9EEFF;
  height: auto;
  min-height: 25px;
}

nav {
  background-color: #C9EEFF;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 15px;
  background-color: #C9EEFF;
  color: black;
  cursor: pointer;
  font-weight: bold;
  border: none;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  margin: 0;
  height: 44px;
  box-sizing: border-box;
}

.menu-toggle::before {
  content: "☰";
  margin-right: 8px;
  font-size: 1.2em;
}

#nav-toggle {
  display: none;
}

nav ul {
  display: none;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-direction: column;
}

#nav-toggle:checked ~ ul {
  display: flex;
}

nav ul li {
  width: 100%;
}

nav ul li a {
  display: block;
  padding: 12px 5px;
  background-color: #C9EEFF;
  color: black;
  text-align: center;
  text-decoration: none;
  border-bottom: 1px solid #97DEFF;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: #97DEFF;
}

@media screen and (min-width: 769px) {
  body {
    padding-top: 60px;
  }
  
  .menu-toggle {
    display: none;
  }
  
  nav {
    position: fixed;
    top: 0;
    padding: 5px 0;
  }
  
  nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    white-space: normal;
    padding-bottom: 5px;
  }
  
  nav ul li {
    width: auto;
    margin: 0 5px;
    flex-shrink: 0;
  }
  
  nav ul li a {
    width: auto;
    min-width: 100px;
    padding: 12px 15px;
    border-radius: 4px;
    border-bottom: none;
  }
  
  nav ul li a:hover {
    background-color: #97DEFF;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  header {
    margin-top: 20px;
  }
}

form {
  margin: 20px 0;
}

form p {
  margin-bottom: 15px;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #97DEFF;
  border-radius: 4px;
  box-sizing: border-box;
}

form textarea {
  height: 120px;
  resize: vertical;
}

.submit-btn {
  background-color: #97DEFF;
  color: black;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: 'Gill Sans', 'Gill Sans MT', 'Myriad Pro', 'DejaVu Sans Condensed', Helvetica, Arial, sans-serif;
}

form button[type="submit"] {
  background-color: #97DEFF;
  color: black;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: 'Gill Sans', 'Gill Sans MT', 'Myriad Pro', 'DejaVu Sans Condensed', Helvetica, Arial, sans-serif;
}

form button[type="submit"]:hover {
  background-color: #62CDff;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

table img {
  max-width: 100%;
  height: auto;
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table tr {
  display: flex;
  flex-direction: column;
}

table td {
  width: 100% !important;
  padding: 10px;
  box-sizing: border-box;
}

@media screen and (min-width: 769px) {
  table tr {
    flex-direction: row;
  }
  
  table td {
    width: 50% !important;
    flex: 1;
  }
}

figcaption {
    color: #666;
    font-size: 0.8em;
    margin-top: 4px;
  }