/* 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." */

body {
  background-color: white;
  color: black;
  font-family: Verdana;
}

.flex-row {
  display: inline-flex;
}

.gallery-thumb {
  max-width: 200px;
  filter: blur(0.25px);
}
.gallery-thumb-caption {
  position: relative;
  width: 200px;
  margin: 0 -200px 0 0;
  transform: translateX(-200px);
  
  text-align: center;
  padding-top: 3rem; 
  
  color: transparent;
}
.gallery-thumb-caption:hover {
  text-shadow: 1px 1px #0000007f;
  background-color: #0000007f;
  color: white;
}

.marquee-container{
  display: flex;
  flex-direction: row;
  overflow: hidden;
  max-width: 100%;
}
.marquee {            
  display: flex;
  width: max-content;
  animation: marquee 60s infinite linear;
}
.marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50%)); }
}


.win-border {
  border: 3px transparent solid;
  border-top: 29px transparent solid;
  border-image-source: url(/theme/xp_border.png);
  border-image-slice: 29 32 3 32 fill;
  border-image-width: 29px 32px 3px 32px;
}
.win-title {
  position: relative;
  margin: -26px 0 3px 0;
  height: 23px;
  display: flex;
  justify-content: space-between;
}
.win-title-text {
  margin: 0px;
  padding: 4px;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-size: 11pt;
  font-weight: bold;
  color: white !important;
  text-shadow: 1px 1px #0000007f;
  
  pointer-events: none;
  
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win-title-btn-group {
  display: inline-flex;
  padding: 2px;
  column-gap: 2px;
}
.win-btn-title {
  display: block;
  border: none;
  width: 21px;
  height: 21px;
  background-image: url(/theme/xp_navbuttons.png);
}
.win-btn-title:hover { background-position-y: -22px; }
.win-btn-title:active { background-position-y: -44px; }
.win-btn-title:disabled { opacity: 0.6; }
.btn-min {  background-position-x: 0px; }
.btn-max { background-position-x: -22px; }
.btn-multi { background-position-x: -44px; }
.btn-close {  background-position-x: -66px; }
.btn-hint {  background-position-x: -88px; }

.stamps a img { transition-duration: 0.1s; }
.stamps a img:hover {
    transform: skewY(-2deg) translateY(-2px);
    filter: drop-shadow(2px 2px 2px #00000040);
    opacity: 0.75;
}
.stamps a img:active { opacity: 1; }

.badges a:hover{
    animation: 0.5s infinite pulseHighlight;
    display: inline-block;
}
@keyframes pulseHighlight {
    0%, 100% { filter: brightness(100%); }
    50% { filter: brightness(125%); }
}
