
@font-face {
  font-family: 'Inconsolata';
  src: url('../fonts/inconsolata-v37-latin-regular.woff2');
}

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

h2,a,div {
  font-family: 'Inconsolata';
  text-align: center;
}

#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;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0; 
    justify-content: center;
    align-items: center;
    animation: 200s linear infinite animatedBackground;
    overflow-y: hidden;
    overflow-x: hidden;
    
}

.slidemage{
  border: solid 1px;
  border-radius: 3px;
}

.main-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 50px 50px 50px 50px;
    gap: 30px;
}

.blur-overlay{ 
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url("../materials/bg.gif") center / cover no-repeat;
    filter: blur(18px);
    z-index: -1;
}

ul { list-style-type: none; }

.text-section{
    display: inline-block;
    text-align: center;
    width: 52rem;
    transition: width 0.4s ease, height 0.4s ease;
    font-size: 18px;
    text-wrap: balance;
}

.user-boxes { font-family: Arial, sans-serif; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;}
.wikipediauserbox {
  box-sizing: border-box;
  width: 238px;
  border: 1px solid #ababab;
  background: none;
  padding: 0;
  margin-bottom: 8px;
}
.wikipediauserbox.inner-light {
  border-color: #5c3e90;
  background: #9d9292;
}
.userbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #fd9; /* first  box only */
}
.userbox-id {
  min-width: 60px;
  text-align: center;
  font-size: 10pt;
  color: #fff;
  padding: 6px;
  box-sizing: border-box;
}
.userbox-info {
  font-size: 15px;
  color: #000;
  line-height: 1.2;
}
.userbox-info img {
  display: block;
  max-width: 43px;
  height: auto;
}

li{
    color:rgb(245, 245, 245);
    -webkit-text-stroke: 3px rgb(0, 0, 0);
    paint-order: stroke fill;
    text-align: center;
    transition: 0.4s ease color;

}

h1{
    margin-bottom: 12px;
    font-size: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: font-size 0.6s ease, color 0.6s ease; 
}

mark.brown{
    background: radial-gradient(circle, #ffff21, #f746b9, #38ceec, #ff87d1);
    background-size: 200% 200%;
    background-clip: text;
    color: transparent;
    animation: mark-brown 12s linear infinite;
}

a {
  color: rgb(34, 0, 255);
  text-decoration: none;
}

b {
    -webkit-text-stroke: 1px rgb(0, 0, 0);
    paint-order: stroke fill;
    color: rgb(247, 0, 255);
}

h2,h3 {
  text-align: center;
}


.window-section {
    background: rgba(0, 0, 0, 0.33);
    border-radius: 5px;
    padding: 10px;
    transition: width 0.5s ease, height 0.5s ease, transform 0.45s ease-out;
    border: solid 1px;
    place-content: center;
}

.window-section.slideshow-window {
    width: auto;
    height: auto;          
    background: rgba(0, 0, 0, 0.33);
    border-radius: 5px;
    padding: 10px;
    transition: width 0.5s ease, height 0.5s ease, transform 0.45s ease-out;
    border: solid 1px;
}

.loser {
    color: rgb(232, 0, 0);
    text-decoration: none;
}

li {
    padding-bottom: 15px;
    padding-right: 40px;
}

h2 {
    transition: font-size 0.4s ease;
}

* {box-sizing:border-box}

.slideshow-container {
  max-width: 600px;
  width: 100%;
  position: relative;
  margin: 20px auto;
  text-align: center;
}


.mySlides {
  display: none;
}


.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.277);
}


.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #ffffff3c;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.buttons {
  display: grid;
  margin-top: 30px;
}

.active, .dot:hover {
  background-color: #fb73de;
}


.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@media screen and (max-width: 1200px) {
    .main-section {
      flex-direction: column;
    }
    h1 {
        font-size: 24px;
    }
    .prev, .next{
      font-size: 12px;
    }

    .slideshow-container {
       width: 100%;
       max-width: 100%;
    }
    .window{
    width: 20rem !important ;
    }

    .container {
      flex-direction: column;
    }

    .window-section.slideshow-window {
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
        padding: 5px;      
    }

    .text-section {
        width: auto;
        height: auto;
        font-size: 16px;
    }
    .text {
        font-size: 2vh;
        position: absolute;
    }

    ul {
        padding-right: 0; 
    }
}
