@import url('https://fonts.googleapis.com/css?family=Afacad');
* {
 box-sizing: border-box;
}
html {
 font-size: 20px;
}
#maingrid {
 max-width: 1000px;
 margin: auto;
 font-family: 'Afacad', sans-serif;
}
#banner {
 display: flex; 
 color: #188693;
 padding: 10px;
 justify-content: space-between;
 gap: 20px;
}
#pagehead {
 display:flex;
 justify-content: space-around;
 align-items: center;
 margin-bottom: 20px;
}
.headlinks {
 display: flex;
 gap: 20px;
 justify-content: space-around;
 align-items: center;
 flex-wrap: wrap;
}
.notice {
 flex-basis: 100%;
 text-align: center;
 color: #188693;
 font-size: 20px;
}
.hl {
 margin: auto;
 background-color: #ff9;
 padding: 10px 30px;
 border-radius: 20px;
 width: fit-content;
}
.button {
 border: 3px outset #188693;
 border-radius: 10px;
 color: #188693;
 padding: 8px;
 margin:10px;
 cursor:pointer;
 white-space: nowrap;
 text-decoration: none;
}
.button:hover {
 color: #fab01d;
 border-color: #188693;
}
#content {
 background-color:azure;
 overflow: auto;
 line-height: 150%;
}
#content li, #content p {
 margin: 10px;
}
#menu {
 display: flex;
 gap: 30px;
 background-color: #188693;
 color: #fff;
}
#menu > a {
 padding: 8px;
 text-decoration: none;
 color: #fff;
}
#menu > a:hover {
 color: #188693;
 background-color: #fab01d;
}
#menu > span {
 padding: 8px;
}
.imgbanner {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
}
.imgbanner img {
  width: 30%;
  height: 200px;
  object-fit: cover;
}
@media (max-width: 800px) {
 #pagehead {
  flex-direction: column;
 }
 .imgbanner {
  flex-direction: column;
  align-items: center;
  gap: 20px;
 }
 .imgbanner img {
  width: 80%;
 }
}
#footer {
 background-color: #188693;
 color: #fff;
 overflow: auto;
}
#footer > p {
 margin: 10px;
}