:root {
  --text: rgb(53, 82, 82);
  --border: #5a7678;
  --accent: teal;
  --bg: rgba(152, 179, 179, 0.714);
  --gradientTop: rgb(218, 228, 234);
  --gradientBottom: rgba(240, 239, 239, 0.8);
}

::selection {
  background: SlateBlue;
  color:white;
  }



@font-face {
    src: url(https://fonts.cdnfonts.com/s/21828/fortyseven0.woff);
    font-family: pixel;
    }
    
    @font-face {
        font-family: wregular;
        src: url(https://files.catbox.moe/0bos2m.ttf); 
    }
    
    
    @font-face {
        font-family: 'subway';
        src: url(https://files.catbox.moe/94qphb.otf);
    }
    
    @font-face {
        font-family: 'JetBrains Mono reg';
        src: url(https://files.catbox.moe/11n5vr.ttf);
    }
    
    @font-face {
        font-family: 'JetBrains Mono bold';
        src: url(https://files.catbox.moe/m6ad37.ttf);
    }
    
    div {
    font-family: wregular;
    width: 1000px;
    height: 600px;
    }

   body {
    background-color: rgb(255, 255, 255);
    filter: opacity(85%) grayscale(50%) brightness(100%);
    margin: 0;
    padding: 0;
}

.crt {
    background-color: #000000;
    background-size: cover;
    background-size: 100% 1px;

  }

   
.smallbox {
  width: 170px;
  overflow-y: scroll;
  border: 2px ridge #71808c;
  border-radius: 5px;
  background: linear-gradient(var(--gradientTop),var(--gradientBottom));
  height: 226px;
}

.smallbox p {
  margin-left: 5px;
}

.entry {
  height:75px;
  width: 350px;
  padding:5px;
  border: none;
  box-shadow: blur;
  box-shadow: 0px 0px 5px #71808c;
  border-radius: 4px;
  overflow: hidden;
  background: white;
  font-size: 15px;
  margin: 10px;
  margin-bottom: 0px;
  display: block;
  }
  .title{
    position: sticky;
    top: 0;
    overflow: visible;
    color: rgb(152, 176, 188);
    text-align: left;
    background: linear-gradient(180deg, rgb(194, 214, 227) 0%, rgb(186, 214, 229) 16%, rgb(141, 167, 181));
    width:170px;
    font-weight:bold;
    font-size:13px;
    height: 25px;
}
.title h1 {
  margin: 0 0 0 5px;
  filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black) drop-shadow(0 -1px 0 black) drop-shadow(1px 0 black);
  position: sticky;
}

  h2 { 
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 10px;
    }
    h3 { 
      font-size: 1.5rem;
      font-weight: normal;
      text-align: center;
      margin-bottom: 10px;
      margin-top: 10px;
      position: relative;

      }

    .ico{
      border:1px solid #5a7678;
      transform:rotate(0deg);
      box-shadow: blur;
      box-shadow:0px 0px 2px black;
      transition:.3s;
      align-items: center;
      }
      
      .ico:hover{
      border:1px solid #3f6669;
      transform:rotate(2deg);
      box-shadow: blur;
      box-shadow:0px 0px 3px #000000;
      transition:.3s;
      align-items: center;
      }

      #toptext {
        position: relative;
        top: 1em;
        z-index: 5;
        font-family: 'JetBrains Mono bold';
      }

      h2, p  { 
        margin: 5px;
        line-height: 1.1;
        }

   .quiz {
  overflow-y: hidden;
  overflow-x: scroll;
  display: flex;
  flex-wrap: nowrap;
  height: 140px
 }

 .quiz img {
  max-width: auto;
  max-height: 140px;
  filter: opacity(85%) grayscale(50%) brightness(100%);
  transition: 0.5s ease;

}

 .quiz img:hover {
  filter: none;
}

.marquee {
  position: relative;
  top: -860px;
  left: 50px;
  text-align: center;
  width: 150px;
  height: 200px;
  overflow: hidden;

  
}

.marquee__item {
  animation-duration: 50s ;
  animation-iteration-count: infinite ;
  animation-name: marquee-content ;
  animation-timing-function: linear;
  animation-delay: none;
}

.marquee:hover .marquee__item {
  animation-play-state: paused ;
}

.marquee__item img {
  display: block;
  width: 150px; /* or desired width */
  margin-bottom: 10px; /* spacing between images */
}

@keyframes marquee-content {
  from {
    transform: translateY( 0% );
  }
  to {
    transform: translateY( -50% );
  }
}