:root {
  --background: #FFFFFF;
  --card-background: #FFFFFF;
  --light-text-base: #111111;
  --text-base: #111111;
  --text-hover: #444444;
  --text-bold: #111111;
  --link: #0B6E99;
  --text-visited: #0B6E99;
  --light-hover-color: #0B6E99;
}

body
{
  color: var(--text-base);
  background-color: var(--background);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  -webkit-animation: DynamicGradient 35s ease infinite;
  animation: DynamicGradient 35s ease infinite;
  background-size: 800% 100%;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  left: 0;
  top: 0;
  text-align: justify;
  display: block;
  max-width: 900px;
  line-height: 1.5;
  font-size: 16px;
}

@-webkit-keyframes DynamicGradient {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@keyframes DynamicGradient {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

*
{
  text-decoration: none ;
}

main:not(.homepage, .list){
  background-color: var(--card-background);
  padding: 1rem;
  border-radius: 0.25rem;
}

ul {
  list-style-type: none;
  column-gap: 1rem;
}

h1
{
    font-size: 50px;
    text-align: center;
}

h2
{
  text-align: left;
}

h4
{
  text-align: center;
  font-weight: initial;
  font-size: small;
}

header {
  color: var(--light-text-base);
}

header ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  list-style-type: none;
}

header ul li {
  width: auto;
  text-align: center;
}

header ul li a {
  text-decoration: none !important;
}

hr {
  height: 1px;
  border-width: 2px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-color: var(--light-text-base);
}

a:link
{
  color: var(--link);
  text-decoration: underline;
}

a:visited
{
  color: var(--text-visited);
  text-decoration: underline;
}

a:hover
{
  color: var(--light-hover-color);
  text-decoration: underline;
}

pre {
  padding: 1rem;
  border-radius: 0.25rem;
  line-height: 1rem;
  overflow-x: scroll;
  font-size: 1rem;
}

pre code 
{
  background: rgba(0, 0, 0, 0);
}

code
{
  font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
  padding: 0.2em 0.4em;
  background: rgba(5, 5, 5, 0.05);
  color: inherit;
  border-radius: 6px;
}

.nav
{
  display: flex;
  margin-bottom: 6px;
  list-style: none;
}

.pagination
{
  text-align: center;
  list-style-type: none;
  display: flex;
  margin-bottom: 3px;
  font-weight: bold;
  color: inherit;
  justify-content: center;
}

footer
{
  text-align: center;
  color: var(--light-text-base);
}

.post 
{
  padding: 1.5rem;
  background-color: var(--card-background);
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
  color: var(--text-base);
  border: 1px solid rgba(55, 53, 47, 0.16);
}

.post a 
{
  color: var(--text-base);
}

.post a:visited 
{
  color: var(--text-base);
}

.readmore 
{
  text-decoration: underline;
  text-decoration-color: var(--text-base);
}

.readmore:hover 
{
  color: var(--text-hover);
}

.post h3 a 
{
  color: var(--text-base);
  text-decoration: none;
}

.post h3 a:hover {
  color: var(--text-hover);
}

.list {
  padding: 0;
}

.db-list {
    display: flex;
    flex-direction: column;
    justify-content: space;
}

.db-list > * {
    padding: 3px;
    display: flex;
}

.db-list > *:hover {
   background: #eee;
}

.tags {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  column-gap: 0.5rem;
}

.tags > li {
    background: #DDEBF1;
    border-radius: 5px;
    padding: 3px;
    font-size: small;
}

main div h2 {
  color: var(--light-text-base);
}

.reversed {
  display:inline-block;
  transform: rotate(180deg);
}

.grid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 1rem 1rem;
}

@media (max-width: 800px) {
    .grid {
        grid-template-columns: auto;
    }
}

.banner {
    width: 100%;
}
