@keyframes animatedBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 0;
  }
}

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inconsolata-v37-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

h1,p,h2,h3,a {
    font-family: 'Inconsolata';
    color: rgb(0, 0, 0);
}

#cover{
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    width:100%;
    height: 100%;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

#cover.hidden {
    opacity: 0;
    pointer-events: none;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
}

.blur-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(rgba(255,255,255,0.77), rgba(22,5,39,0.67)), url("../materials/bg4.gif");
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  animation: 200s linear infinite animatedBackground;
  filter: blur(6px);
  z-index: 0;
}


#blog-window {
  position: absolute;
  z-index: 9;
  width: 500px; 
}

#blog-windowheader {
  cursor: move;
}

.text-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-height: 400px;
    overflow-y: auto;
}

.nonint-buttons {
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.art-entries {
  display: flex;
  flex-direction: column;
  width: 400px;
  max-height: 200px;
  overflow-y: auto; 
  scrollbar-width: thin; /* hide scrollbar in Firefox */
  scrollbar-color: rgba(0,0,0,0.3) transparent;
  -ms-overflow-style: none; /* hide scrollbar in IE/Edge */
  gap: 12px;
  margin: 5px auto;
  padding: 10px 25px;
}

.art-entries::-webkit-scrollbar {
  width: 6px; 
}

.art-entries::-webkit-scrollbar-track {
  background: transparent; 
}

.art-entries::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 3px; }


.art-entries::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0,0,0,0.5); 
}


.text-section {
  text-align: center;
}

a {
    font-size: 20px;
    text-decoration: none;
    
}

@media screen and (max-width: 600px) {
  .text-section h2{
    font-size: 20px;
  }
  .art-entries{
    width: 200px;
  }
  a {
    font-size: 16px;
  }
  #blog-window {
    width: 300px;
    height: auto;
  }

}
