body {
  margin: 10px 40px;
  font-size: 16px;
  font-family: sans-serif;
  line-height: 1.5;
}

.header {
  height: 50px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 30px;
}

.footer {
  margin-top: 30px;
  padding-top: 10px;
  font-size: 75%;
}

.logo {
  height: 50px;
  margin-right: 10px;
}

.searchbar {
  background-color: white;
  border: 1px solid gray;
  padding: 8px;
  width: 300px;
  box-sizing: border-box;
}

img {
  max-height: 150px;
}

/* MAIN PAGE */

.titlebox {
  border: 1px solid lightgray;
  background-color: rgb(249, 249, 249);
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 10px;
}

.innertitlebox {
  border: 1px solid gray;
  background-color: lightgray;
  padding: 5px;
  width: 100%;
  box-sizing: border-box;
  font-weight: bold;
  margin-bottom: 10px;
}

.infoparent {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  gap: 10px;
}

.infobox {
  border: 1px solid lightgray;
  background-color: rgb(249, 249, 249);
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* ARTICLES */

.articletitle {
  font-family: serif;
  font-size: 200%;
  margin-bottom: -10px;
}

.articlesection {
  font-family: serif;
  font-size: 150%;
  margin-bottom: -10px;
}

.articlesubsection {
  font-size: 125%;
  font-weight: bold;
  margin: 10px 0;
}

.articledirect {
  font-style: italic;
  text-indent: 20px;
  margin: 10px 0;
}

.floatbox {
  border: 1px solid rgb(162, 169, 177);
  background-color: rgb(249, 249, 249);
  padding: 10px;
  box-sizing: border-box;
  float: right;
  text-align: center;
  width: 350px;
  font-size: 90%;
  margin-bottom: 10px;
  margin-left: 10px;
}

.floatgrid {
  display: grid;
  grid-template-columns: 30% 70%;
  column-gap: 5px;
  row-gap: 5px;
  text-align: left;
  margin-top: 10px;
}

#bold {
  font-weight: bold;
}

/* LINKS */

a {
  color: blue;
  background-color: transparent;
  text-decoration: none;
  cursor: pointer;
}

a:visited {
  color: blue;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: purple;
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: pink;
  background-color: transparent;
  text-decoration: underline;
}

/* MOBILE ZONE */

@media only screen and (max-width: 768px) {
  
  body {
    margin: 5px 10px;
    
  }
  .header {
    flex-flow: column nowrap;
    height: auto;
  }
  
  .searchbar {
    width: 100%;
  }
  
  .infoparent {
    flex-flow: column nowrap;
  }
  
  .floatbox {
    float: none;
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
  }
 
}