div, body, html {
  margin: 0;
  padding: 0;
}

a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

html {
  font-family: 'Inter var';
}

html, body {
  background: #EFEFEF;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

header {
  background: white;
  padding-left: 3%;
  padding-right: 3%;
  padding-top: 15px;
  padding-bottom: 15px;
}

#logo {
  background: #DE962A;
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

#site-name {
  font-style: normal;
  font-weight: 900;
  font-size: 1.5em;
  line-height: 24px;
  color: #000000;
}

#logo-name {
  text-decoration: none;
}

#logo-name:hover > #site-name {
  color: #555;
}

#social-media-links {
  float: right;
}

#social-media-links > a {
  color: black;
  text-decoration: none;
}

#social-media-links i {
  font-size: 1.75em;
  fill: green;
}

#social-media-links > a:hover {
  color: #555;
}

#menu-container {
  padding-left: 3%;
  padding-right: 3%;
  padding-top: 25px;
}

#menu-container ul {
  margin: 0;
}

#menu {
  background: #688BE4;
  border-radius: 10px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 3%;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

#menu::-webkit-scrollbar {
  height: 0.5em;
  cursor: pointer;
}

#menu::-webkit-scrollbar-track {
  background: white;
}

#menu::-webkit-scrollbar-thumb {
  background-color: #cdcdcd;
}

#menu > li {
  list-style-type: none;
  display: contents;
  white-space: nowrap;
}

#menu > #burger {
  float: right;
  margin-right: 10px;
  font-size: 1.5em;
}

#menu a {
  color: white;
  font-weight: bold;
  font-size: 1.25em;
  margin-right: 10px;
  text-decoration: none;
  opacity: 0.8;
}

#menu .active {
  opacity: 1;
  border-bottom: 2px solid white;
}

#menu a:hover {
  opacity: 1;
}

#body {
  padding-left: 3%;
  padding-right: 3%;
  padding-top: 25px;
  height: 80%;
}

.row {
  display: flex;
}

.col {
  flex-grow: 1;
}

#pinned-list {
  width: 40%;
}

.pinned {
  display: block;
  margin-bottom: 10px;
  border-radius: 10px;
  text-decoration: none;
  padding: 10px;
}

.pinned:hover {
  background: white;
}

.pinned > .pinned-type {
  color: #00C398;
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 5px;
}

.pinned > .pinned-title {
  font-weight: bold;
  font-size: 14px;
  color: black
}

#pinned-title {
  font-weight: bold;
  /* font-size: 1.25em; */
  font-size: 100%;
  margin-bottom: 10px;
}

#main-article {
  margin-right: 10px;
  width: 60%;
  height: fit-content;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  text-decoration: none;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
}

#main-article:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

#main-article > img {
  width: 100%;
}

#main-article > .type {
  margin-top: 5px;
  padding-left: 10px;
  color: #BDBDD1;
  font-size: 13px;
  font-weight: 900;
}

#main-article > .title {
  font-size: 20px;
  padding: 10px;
  padding-top: 5px;
  font-weight: bold;
  color: black;
}

#article-cards {
  margin-top: 25px;
  flex-flow: row wrap;
  gap: 20px;
}

#article-cards::after {
  content: "";
  flex: 300px;
}

.article-card {
  flex: 1 0 300px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 10px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
}

.article-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16/9;
}

.title-container {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 3px;
  margin-top: auto;
  bottom: 0;
}

.article-card .type {
  color: #BDBDD1;
  font-size: 12px;
  font-weight: 900;
}

.article-card .title {
  font-weight: bold;
  color: black;
  text-decoration: none;
}

.article-body {
  padding: 10px;
}

.article-body pre {
  color: #333;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  overflow: auto;
  padding-bottom: 20px;
}

footer {
  height: 150px;
  background: white;
  font-weight: bold;
  font-size: 13px;
  position: relative;
  margin-top: 30px;
  padding-left: 30px;
  padding-top: 30px;
  width: 100%;
}

footer p {
  margin: 0;
  padding: 0;
}

footer #copyleft {
  position: absolute;
  bottom: 10px;
  color: #8D8D8D;
}

footer #header-left {
  /* background: green; */
  padding-right: 20px;
}

footer #header-right {
  position: absolute;
  right: 0;
  padding-right: 20px;
}

.site-link {
  /* font-size */
  margin-right: 10px;
}

.site-links:last-child {
  margin-right: 0;
}

.link-col {
  width: 0;
}

@media only screen and (max-width: 700px) {
  footer #header-right {
    position: relative;
    /* right: 0; */
  }
}

.button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button:hover {
  background-color: #3a9b3e;
  color: white;
}
