/* Reset default styles */
body, h1, h2, p, ul, li {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header styles */
header {
  background-color: #333;
  color: #fff;
}

header .logo {
  height: 40px;
  float: left;
  margin: 10px;
}

header h1 {
  font-size: 24px;
}

nav {
  margin: 20px;
}

nav ul {
  list-style-type: none;
}

nav ul li {
  display: inline;
  margin-right: 10px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

#menu-toggle {
  display: none;
}



/* Mobile styles */
@media (max-width: 767px) {
  header {
    position: relative;
  }

  .menu-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 0;
  }

  .menu-toggle:focus {
    outline: none;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin-bottom: 5px;
  }

  .menu-toggle span:last-child {
    margin-bottom: 0;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    width: 100%;
    padding: 10px 0;
  }

  nav ul li {
    display: block;
    margin-bottom: 10px;
    padding: 0 10px;
  }

  nav ul li:last-child {
    margin-bottom: 0;
  }

  nav ul li a {
    color: #fff;
    text-decoration: none;
  }

  /* Show menu when checkbox is checked */
  #menu-toggle:checked + nav ul {
    display: block;
  }
}

/* Main content styles */
main {
  padding: 20px;
}

section h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  margin-top: auto;

}

footer ul {
  list-style-type: none;
}

footer ul li {
  display: inline;
  margin-right: 10px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
}
