@font-face{
  src: url('/fonts/Hack-Regular.ttf');
  font-family: 'hack';
}

@font-face{
  src: url('/fonts/msdos_9x16.ttf');
  font-family: 'msdos';
}

img.logo-md{
  image-rendering: pixelated;
  width: 40px;
  height: auto;
  max-width: 100%;
}

body{
  /*letter-spacing: -1px;*/
  /*background-image: url('/img/bg/glitch\ screen.gif');*/
  background-size: 40px 40px;
  background-color: black;
  background-image:
    linear-gradient(to right, rgb(43, 43, 43) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(43, 43, 43) 1px, transparent 1px);
  background-attachment: fixed;
  color: white;
  margin: 20px;
  font-family: hack;
  font-size: 15px;
  /*font-size: medium;*/
  height: 100%;
  /*letter-spacing: -1px;*/
  .lightm{
    display: none;
  }
  .darkm{
    display: block;
  }
}

::selection{
  background-color: white;
  color: black;
}

.border-cont{
  border: 1px solid white;
  padding: 20px;
  margin: 20px;
  max-width: max-content;
  height: min-content;
  background-color: black;
}

p, #version{
  margin: 0;
  font-family: hack;
  white-space: pre-line;
  line-height: 1.5;
}

a{
  color: white;
  text-decoration: none;
  font-family: hack;
}

a:hover{
  background-color: white;
  color: black;
}

.header-cc{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid white;
  margin: 20px;
  padding: 20px;
  background-color: black;
  a{
    padding: 20px;
  }
}

#version{
  padding-left: 20px;
  font-size: small;
  position: absolute;
  bottom: 0v;
  padding-bottom: 10px;
  a{
    text-decoration: underline;
  }
}

.flex-cont{
  display: flex;
  max-width: max-content;
}

.blog{
  width: 450px;
  text-align: justify;
  a{
    text-decoration: underline;
  }
}

.date-b{
  font-size: small;
  padding-bottom: 5px;
  text-justify:inherit;
}

hr{
  color: rgba(255, 255, 255, 0) !important;
}

*{
  cursor: url('/img/mouse/cursor-def.png') 16 16, auto;
}

body.light .header-cc{
  border: 1px solid black;
  color: black;
  padding: 0;
}

body.light{
  background-color: #ffffff;
  color: black;
  .lightm{
    display: flex;
  }
  .darkm{
    display: none;
  }
}

body.light .border-cont {
  background-color: transparent !important;
  color: black;
  border: 1px solid black;
}

body.light header{
  a{
    color: black;
  }
  a:hover{
    background-color: black !important;
    color: white;
  }
}

body.light ::selection{
  background-color: black;
  color: white;
}

body.light #randimg-ascii{
  filter: invert(100%);
}

body.light img.changemelight{
  filter: invert(100%);
}

body.light img.backgroundblack{
  background-color: black;
}

body.light a{
  color: black;
}

body.light a:hover{
  background-color: rgba(0, 0, 0, 0);
  color: rgb(255, 255, 255);
}

body.light a:hover header{
  background-color: transparent;
  color: white;
}

header-main{
  display: flex;
  width: 100%;
}

.cont-c{
  margin-top: 0px;
  margin-left: 0px;
}

.headersss{
  /*position: fixed;*/
  display: flex;
  width: 100%;
  /*line-height: 30px;*/
}

.bottom-taskbar{
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 2px solid white;
  padding: 0px 0px 15px 0px;
  width: 100%;
  overflow: hidden;
  background-color: black;
  position: fixed;
}

#currentdt{
  padding-right: 20px;
  float: right;
  text-align: end;
}

.left-t{
  float: left;
  text-align: left;
  padding-right: 40px;
}

.right-t{
  float: right;
  text-align: right;
}

h2, h3, h1, h4{
  margin: 0;
}

ps{
  font-size: smaller;
  color: gray;
}

spm{
  font-size: smaller;
}

.dok-home{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30rem;
  image-rendering: pixelated;
  position: fixed;
}

@media(min-width:1100px){
  a#close-list-mob, #open-list-mob{
    display: none;
  }/*
  .headersss{
    position: absolute;
    position: fixed;
  }
  .content-main-site{
    margin-top: 7em;
  }*/
  h1#header-mob{
    display: none;
  }
  .mobile-thing{
    display: none;
  }
}

@media(max-width:1100px){ /*mobile*/
  .header-cc{
    background-color: transparent;
    padding: 10px;
    margin: 10px;
  }
  body{
    background-image:
    linear-gradient(to right, rgb(82, 82, 82) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(82, 82, 82) 1px, transparent 1px);
  }
  .darkm, .lightm{
    display: none !important;
  }
  .headersss{
    position: absolute;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.900);
    height: 100%;
    display: none;
    flex-direction: column;
    margin: 0px;
    width: 100% !important;
    position: fixed;
    html, body {
      overflow: hidden !important;
    }
    
    header{
      display: flex !important;
      flex-direction: column;
      a{
        width: 100% !important;
      }
    }
    .header-cc{
      margin-left: 0;
      border: transparent !important;
    }
    html, body{
      overflow: hidden;
    }
    header.op-header{
      flex-direction: row;
      justify-content: space-between;
      width: 100%;
    }
  }
  a#close-list-mob, #open-list-mob{
    position: absolute;
    padding: 0.7rem;
    position: fixed;
    z-index: 999999;
  }
  a#close-list-mob{
    right: 0;
  }
  a#open-list-mob{
    left: 0;
  }
  a#close-list-mob:hover, a#open-list-mob:hover{
    background-color: transparent;
  }
  img.btn-mob{
    width: 3rem !important;
    border: 1px solid white;
    padding: 5px;
    background-color: black;
  }
  .flex-cont{
    flex-direction: column !important;
  }
  .blog{
    width: 100% !important;
  }
  .border-cont{
    width: auto !important;
  }
  .border-cont, .header-mob{
    padding: 20px !important;
    margin: 10px !important;
  }
  img, p{
    width: 100% !important;
    text-align: justify;
  }
  img.logo-md{
    width: auto !important;
    height: auto;
  }
  body{
    margin: 0;
  }
  .content-main-site{
    margin-top: 4.5rem;
  }
  .dok-home{
    all: unset;
    margin-top: 20px;
  }
  #version{
    font-size: x-small;
    text-align: center;
    margin-right: 10px;
  }
  #mob-menu{
    display: flex;
    flex-direction: column;
  }
  h1#header-mob{
    position: absolute;
    right: 0;
    padding: 20px;
  }
}