/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  zoom: 0.5;
  background-image: url('/bg.png');
  background-repeat: repeat; 
  color: black;
  image-rendering: pixelated;
}

input[type="range"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    cursor: pointer;
    border-radius: 0 !important;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
    box-sizing: border-box;
}

input[type="range"]::-moz-range-track {
    height: 10px;
    box-sizing: border-box;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    
    height: 16px !important;
    width: 6px !important;
    
    margin-top: -7px !important; 
    
    background: #d4d0c8 !important;
    border-radius: 0 !important;
    
    border-top: 1px solid #ffffff !important;
    border-left: 1px solid #ffffff !important;
    border-right: 1px solid #808080 !important;
    border-bottom: 1px solid #808080 !important;
    
    box-shadow: 1px 1px 0px 0px #000000 !important;
}

input[type="range"]::-moz-range-thumb {
    height: 16px !important;
    width: 6px !important;
    background: #d4d0c8 !important;
    border-radius: 0 !important;
    
    border-top: 1px solid #ffffff !important;
    border-left: 1px solid #ffffff !important;
    border-right: 1px solid #808080 !important;
    border-bottom: 1px solid #808080 !important;
    
    box-shadow: 1px 1px 0px 0px #000000 !important;
}

.news-link {
  color: #FF00FF !important;
  text-decoration: none;
  font-weight: bold;
  font-family: monospace;
}

.news-link:hover {
  color: #00FF00 !important;
  text-decoration: underline;
}

.news-link a {
  color: #FF00FF !important;
  text-decoration: none;
  font-weight: bold;
}

.news-link a:hover {
  color: #00FF00 !important;
  text-decoration: underline;
}

.content-wrapper {
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

.image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 20px auto;
  width: max-content;
  height: max-content;
}

.snews-panel {
  text-align: left;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border: 2px solid #FF00FF;
  margin-bottom: 20px;
  margin-top: -40px;
}

.snews-title {
  font-size: 32px;
  color: #FF00FF;
  text-shadow: 2px 2px #000;
  margin: 0;
}

.news-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 10px 10px 10px 10px ;
  padding: 20px;
  width: 600px;
  height: max-content;
}

.news-post-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 10px -20px;
  padding: 20px;
  width: 100%;
  height: max-content;
}


.news-post-attachment-pic {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
}


.news-post-attachment-pic img {
  height: auto;
  object-fit: cover;
}


.news-post-attachment-pic.even img {
  width: calc(50% - 4px);
}

.news-post-attachment-pic.odd img:first-child {
  width: 100%;
}

.news-post-attachment-pic.odd img:not(:first-child) {
  width: calc(50% - 4px);
}

.game-card {
  display: flex;
  background: #d4d0c8;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  padding: 15px;
  margin-bottom: 20px;
  gap: 15px;
  width: 100%;
  box-sizing: border-box;
}

.game-preview {
  display: flex;
  width: 50%;
  background: #000;
  flex-wrap: wrap;
  border: 2px inset #fff;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

.game-preview img {
  height: 100%;
  object-fit: fill;
  image-rendering: pixelated;
}

.pixel-thumb {
  max-width: 100%;
  max-height: 100%;
  image-rendering: pixelated;
}

.game-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #000;
  font-family: monospace;
  text-align: left;
}

.game-title {
  margin: 0;
  font-size: 18px;
  color: #bf00bf;
}

.game-meta {
  font-size: 12px;
  color: #404040;
  margin: 5px 0;
}

.download-btn {
  display: inline-block;
  background: #d4d0c8;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  padding: 5px 15px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  width: fit-content;
}

.download-btn:active {
  border-color: #808080 #fff #fff #808080;
  transform: translate(1px, 1px);
}

.download-btn:hover {
  color: #000000 !important;
  text-decoration: underline;
}

.centered-text {
  background-image: url('/fg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: black;
  font-size: 20px;
  /*font-weight: bold;*/
  /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);*/
  text-align: left;
  box-sizing: border-box;
  padding: 10px;
}
.info-container {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: black;
  font-size: 20px;
  /*font-weight: bold;*/
  /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);*/
  text-align: left;
  box-sizing: border-box;
  padding: 10px;
}

.another-contaner {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: black;
  font-size: 24px;
  font-weight: bold;
  /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);*/
  text-align: left;
  box-sizing: border-box;
  padding: 20px;
}

.main-text {
  background-image: url('/fg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: black;
  font-size: 24px;
  font-weight: bold;
  /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);*/
  text-align: left;
  box-sizing: border-box;
  padding: 20px;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
}

.counter-counter-strike {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content-wrapper {
  display: inline-flex;
  flex-direction: column;
  width: min-content;
  background: #d4d0c8;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  padding: 4px;
}

#lightbox-img {
  height: auto !important;
  width: 150vw !important;
  
  max-height: 150vh !important; 
  
  object-fit: contain;
  image-rendering: pixelated;
  border: 2px solid #FF00FF;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  font-family: monospace;
}
.lightbox-close:hover { color: #FF00FF; }

.win98-save-btn {
  background: #d4d0c8;
  color: #000 !important;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  padding: 6px 20px;
  font-family: monospace;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}
.win98-save-btn:active {
  border-color: #808080 #fff #fff #808080;
  transform: translate(1px, 1px);
}
.win98-save-btn:hover {
  text-decoration: underline;
}

.track-cover {
  width: 50%;
  display: flex;
  background: #000;
  flex-wrap: wrap;
  border: 2px inset #fff;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

#track-cover-img {
    width: auto;
    height: 100%;
    max-width: 100%;
    display: block;
    justify-content: center; 
    align-items: center !important;
    background: #000;
}

.player-box {
  /*background-image: url('/fg.png');*/
  background-size: 100% 100%;
  padding: 0px 0px 10px;
  width: unset;
  /*margin: auto;*/
  /*image-rendering: pixelatedж*/
}
      
.playlist li {
  cursor: pointer;
  color: #FF00FF;
  list-style: none;
  padding: 5px;
}
        
.playlist li:hover {
  background: rgba(255, 0, 255, 0.2);
}
      
.wmp-window {
  background-color: #d4d0c8 !important;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  padding: 1px !important;
  color: black !important;
  width: 450px !important;
}

.wmp-title-bar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: white;
  padding: 2px;
  display: flex;
  justify-content: space-between;
  font-family: 'Tahoma', sans-serif;
  font-size: 11px;
  font-weight: bold;
}

.wmp-display {
  background: #000;
  color: #00ff00;
  border: 2px inset #fff;
  padding: 5px;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.wmp-display h2 {
  font-size: 16px;
  text-align: left;
  margin: 0;
}

.wmp-buttons-row button {
  background: #d4d0c8;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  font-family: 'Tahoma', sans-serif;
  font-size: 11px;
  padding: 3px 10px;
  cursor: pointer;
}

.wmp-buttons-exit button {
  background: #d4d0c8;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  font-family: 'Tahoma', sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 0px 1px;
  cursor: pointer;
}

.wmp-buttons-exit button:active {
  border-color: #808080 #fff #fff #808080;
}

.wmp-buttons-row button:active {
  border-color: #808080 #fff #fff #808080;
}

.wmp-menu-bar {
  display: flex;
  background: #d4d0c8;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 11px;
  color: #000;
  gap: 10px;
  border-bottom: 1px solid #808080;
}

.wmp-menu-bar span {
  cursor: pointer;
  padding: 1px 4px;
}

.wmp-menu-bar span:hover {
  background: #000080;
  color: #fff;
}

.wmp-btn-group {
  display: flex;
}

.wmp-btn-layout {
  display: flex;
  background: #d4d0c8;
  padding: 6px;
  padding-bottom: 8px;
  gap: 8px;
  border-top: 2px inset #fff;
  box-sizing: border-box;
}

.wmp-menu-item {
    position: relative;
    display: inline-block;
}

.wmp-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #d4d0c8;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    box-shadow: 2px 2px 0px 0px #000;
    min-width: 140px;
    z-index: 999;
    padding: 2px;
}

.dropdown-row {
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
    color: #000;
    padding: 3px 15px 3px 20px;
    cursor: pointer;
    white-space: nowrap;
}

.dropdown-row:hover {
    background: #000080;
    color: #fff;
}

.dropdown-divider {
    height: 1px;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #fff;
    margin: 3px 1px;
}

.wmp-dropdown.active {
    display: block !important;
}


.win98-btn {
  background: #d4d0c8;
  border: 1px solid;
  border-color: #fff #808080 #808080 #fff;
  font-family: monospace;
  font-size: 10px;
  font-weight: bold;
  
  width: 28px !important;    
  height: 22px !important;
  box-sizing: border-box !important;
  
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000 !important;
}

.win98-btn:active {
  border-color: #808080 #fff #fff #808080;
  transform: translate(1px, 1px); 
}


.meme-small {
  height: 64px;
  width: 64px;
}