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

/* Set the base font and background colors */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333333;
}

/* Style the header */
header {
  background-color: #1d3557;
  padding: 20px;
  color: #ffffff;
}

header h1 {
  font-size: 1.3em;
  margin-bottom: 10px;
  text-align: center;
}

/* Style the navigation menu */
nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
}

nav ul li {
  margin-right: 10px;
  font-size: 2.1em;
}

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

/* css code for the horizontal nav scroll */
div.scrollmenu {
  background-color: #333;
  overflow: auto;
  white-space: nowrap;
  width: 70%;
  margin: 0 auto;
  border-radius: 25px;
}

div.scrollmenu a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

div.scrollmenu a:hover {
  background-color: #777;
}

/* Style the main content */
main {
  padding: 20px;
}

section {
  margin-bottom: 20px;
}

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

p {
  line-height: 1.5;
}

/* Style the footer */
footer {
  background-color: #1d3557;
  padding: 10px;
  color: #ffffff;
  text-align: center;
}

@media screen and (min-width: 525px) {
  header h1 {
    font-size: 1.5em;
  }
  div.scrollmenu {
    width: 50%; 
  }
}

@media screen and (min-width: 750px) {
  div.scrollmenu {
    width: 35%; 
  }
}