@import 'light.css';
@import url('dark.css') screen and (prefers-color-scheme: dark);
@font-face {
  font-family: DéjàVu Sans;
  src: local("DéjàVu Sans"), url(../fonts/DejaVuSans.ttf);

}

body {
  font-family: DéjàVu Sans;
  margin: 0;
  color: var(--main-fg-color);
  background-image: var(--body-bg-image);
  background-attachment: fixed; 
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

h1 { 
  color: var(--main-fg-color); 
  font-weight: bold;
}

h1, h2 { 
color:var(--main-fg-color);
border-radius: 2px; 
}

p {
  line-height: 1.5em;
  text-align: justify;
}

a {
  color: var(--main-fg-color);
}

.footer {
  background: var(--main-bg-color);
  color:var(--main-fg-color);
}

.footer a {
  text-align: center;
}

.float-right {
  float: right;
}

.header {
  background: var(--main-bg-color);
  padding: 1em;
  color: var(--main-fg-color);
}

.logo {
  width: 160px;
  transform: translate(0px, 10%);
  filter: var(--body-logo-filter);
}

.boxes {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}

.box  {
  border: 1px solid #000000;
  background-color: var(--main-bg-color);
  text-align: center;
}

.box:hover {
  background-color: var(--main-highlight-color);
}

.navcontainer {
  background: var(--main-bg-color);
}

.main {
  background: var(--main-bg-color);
}

ul.nav-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 0;
}

ul.nav-list > li:not(:last-child) {
    margin-bottom: 2em;
}

ul > li.box > a {
  color: var(--main-fg-color);
  text-decoration: none;
  display: block;
  padding: 1em;
}


/* Extracted from bootstrap-utilities */
@media (min-width: 768px) {
  .text-md-center {
    text-align: center !important;
  }
}
.text-end {
  text-align: right !important;
}

@media (max-width: 767px){
  .text-sm-end {
      text-align: right!important;
  }
}

.ml-2 {
  margin-left: 1em;
}

p > img {
  max-width: 100%;
  border: 1px solid black
}

.r-img {
    width: 24%;
    float: right;
    max-height: 100vh;
    display: flex;
    margin: 1em;
}

.l-img {
    width: 24%;
    float: left;
    max-height: 100vh;
    display: flex;
    margin: 1em;
}
.cr-img {
  width: 46%;
  float: right;
  max-height: 100vh;
  display: flex;
  margin: 1em;
}

.cl-img {
  width: 46%;
  float: left;
  max-height: 100vh;
  display: flex;
  margin: 1em;
}
