* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
#myLinks {
    background-color: #333;
    text-align: center;
}

#myLinks ul {
    list-style-type: none;
    padding: 0;
}

#myLinks li a {
    padding: 12px;
    display: block;
    color: white;
}


#myLinks li a:hover {
    background-color: #444;
}

  html, body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
  }
  
  .logo {
    max-width: 100px;
    display: block;
    margin: auto;
}

.topnav {
    background-color: #333;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    position: relative;
}

.topnav #myLinks {
  display: none;
  text-align: center;
}

.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.topnav a.icon {
  background: #333;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav a:hover {
  background-color: #ddd;
  color: #333;
}

#myLinks li a {
  padding: 12px;
  display: block;
  color: white;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  
}
#myLinks ul {
  list-style-type: none;
  padding: 0;
}

#myLinks li a:hover {
  background-color: #444;
}

  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  nav {
    background-color: #333;
    padding: 10px;
    position: relative;
  }
  
  nav div {
    list-style: none;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  
  nav div li {
    width: 100%;
  }
  
  nav div li a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
  }
  
  nav  li a:hover {
    background-color: #333;
  }
  
  .hamburger {
    cursor: pointer;
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .hamburger span {
    background-color: white;
    height: 4px;
    border-radius: 2px;
    transition: 0.3s;
  }
  
  @media screen and (min-width: 768px) {
    nav ul {
      display: flex;
      flex-direction: row;
      justify-content: flex-end;
    }
  
    .hamburger {
      display: none;
    }
  }
  
  main {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
  }
  
  main h1 {
    font-size: 2.5rem;
    color: #764d2d;
  }
  
  main p {
    margin: 20px 0;
    font-size: 1.2rem;
    color: #555;
  }
  
  main section {
    margin-bottom: 40px;
  }
  form {
    max-width: 400px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  form input[type="submit"] {
    background-color: #764d2d;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  form input[type="submit"]:hover {
    background-color: #5a3920;
  }
  
  footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
  }
  
  footer p {
    margin: 0px;
  }
  
  footer a {
    color: #f4f4f4;
    text-decoration: none;
    padding: 10px;
  }
  
  footer a:hover {
    color: #ddd;
  }
  
  @media (max-width: 768px) {
    nav ul {
      display: none;
    }
  
    nav ul.show {
      display: flex;
    }
  
    form {
      margin: 10px auto;
      padding: 10px;
    }
  
    form input, form textarea {
      padding: 8px;
      font-size: 1rem;
    }
  
    form input[type="submit"] {
      font-size: 1.1rem;
      padding: 12px;
    }
  
    main h1 {
      font-size: 2rem;
    }
  
    main p {
      font-size: 1rem;
    }
  }