html, body {
    background-color: black;
    color: white;
    font-family: "Teko";
    font-weight: normal;
    letter-spacing: 0.1vh;
}

body {
    font-family: "Teko";
    line-height: 1.6;
    /*border: 4px outset;*/
    border-radius: 20px;
    margin: 50px;
    /*padding: 20px;*/
    /*background-color: rgb(250,250,250,0.1);*/
    box-shadow: 10px 10px 100px rgb(200, 0, 0, 0.6), -10px -10px 100px rgb(200,0,0,0.6);
    max-width: 1920px;
}

.teko {
  font-family: "Teko", sans-serif;
  font-optical-sizing: auto;   /* volitelné, moderní vlastnost */
  font-weight: 400;            /* nahraď konkrétní číslo: 100, 200, 300, 400, 500, 600, 700 */
  font-style: normal;
}

header {
    text-align: center;
    margin-bottom: 20px;
    height: 300px;
    background-image: url("/img/header.jpeg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
     display: flex;
    align-items: flex-end;   /* vertikálně dolů */
    justify-content: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

}

footer {
    width:100%;
    text-align:center;
    padding:1rem 0;
}
footer p {
    color: white;
    font-size: 1.3vh;
    margin: 0px;
}

footer a {
    color: red;
    text-decoration: none;
    font-size: 1.3vh;
}

#silktide-cookie-icon {
  display: none !important;
}

/*.headerbgd {
    background-image: url("/img/header.jpg");
    height: max-content;
    background-size: cover;
    background-position: center;
    /*padding: 20px;
    border-radius: 10px;
    /*border: 4px outset rgb(250,250,250,0.3);*/
    /*margin-bottom: 20px;
}*/

.abutton {
    color: white;
    font-weight: bold;
    border: 1px outset #ffffffa0;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px red;
    transition-duration: 500ms;
}

.abutton:hover {
    color: red;
    border: 1px outset red;
    box-shadow: 3px 3px 10px white;
} 

.headerflex {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 20px;
    width: -webkit-fill-available;
    margin-bottom: 20px;
    justify-content: center;
    background-color: rgb(0, 0, 0, 0.7);
    box-shadow: 2px 2px 10px rgb(255, 255, 255, 0.4);
    margin: 20px;
    border-radius: 20px;
}
.headerflex  left {
    flex: 1;}
.headerflex  right {
    flex: 2;
}
.headerflex img {
    display: none;
    max-width: 100px;
    height: auto;
    border-radius: 50%;
    border: 3px outset red;
}
.headerflex div {
    text-align: center;
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    text-decoration: none;
    color: red;
    font-weight: bold;
    text-transform: uppercase;
}
nav ul li {
    display: inline;
    border-bottom: 2px solid red;
}
nav ul li a {
    color: red;
    text-wrap: unset;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}
nav ul li a:hover {
    color: white;
    cursor: pointer;
    transition-duration: 500ms;
}
nav ul li a.active {
    color: white;
}

h1, h2, h3, h4, h5, h6 {
    color: red;
}

article, p {
    color: white;
    text-decoration: none;
    font-size: 2vh;
}



#playlist {
text-align: center;
}
#playlist p {
 color: red;
}
.container {
    margin: 20px;
    padding: 20px;
    /*border: 4px outset rgb(250,250,250,0.3);*/
    border-radius: 10px;
    text-align: center;

}

.grid2x1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

#sidebar iframe {
  margin: auto !important;
}
















/* Kontejner a Základní Text */
.animated-link {
  /* Odstranění standardního podtržení a nastavení barev */
  text-decoration: none;
  color: #ff0000; /* Původní barva textu */
  padding: 5px 0; /* Rezerva pro pozadí */

  /* Klíčové vlastnosti pro pozicování animace */
  position: relative;
  overflow: hidden; /* Skryje část pozadí, která ještě není vidět */
  display: inline-block; /* Aby se efekt aplikoval jen na délku textu */

  /* Plynulý přechod pro text (barvu) */
  transition: color 0.4s ease-in-out;
}

/* Generovaný Obsah (Barevné Pozadí) */
.animated-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ff9d00; /* Barva vysouvaného pozadí (např. oranžová) */
  z-index: -1; /* Posuneme pozadí pod text */

  /* Nastavení počátečního stavu pro animaci */
  transform: scaleX(0); /* Začínáme s nulovou šířkou (není vidět) */
  transform-origin: left; /* Důležité: vysouváme zleva */
  
  /* Nastavení plynulé animace pro pozadí */
  transition: transform 0.4s ease-in-out;
}

/* Stav po najetí myší (HOVER) */
.animated-link:hover::before {
  /* Vysunutí pozadí zleva doprava */
  transform: scaleX(1); /* Změní šířku z 0 na 100% */
}

.animated-link:hover {
  /* Změna barvy textu pro kontrast */
  color: #fff; /* Např. bílá barva textu na oranžovém pozadí */
}


/* Základní styly pro text */
.fire-text {
  /* Výběr ohnivého fontu a velikosti */
  text-align: center;
  color: #f7931e; /* Základní ohnivá barva */
  
  /* Vytvoření ohnivé záře pomocí vícenásobného text-shadow */
  text-shadow: 
    /*0 0 2px #ffcc00,*/     /* Žlutá záře - nejblíže textu */
    /*0 0 10px #ff9900, */    /* Oranžová záře - střední */
    0 0 10px #e0aeae,
    0 0 20px #ff0000,     /* Červeno-oranžová záře - vnější */
    0 0 40px rgba(255, 0, 0, 0.7); /* Červený žár - nejsilnější */
    
  /* Aplikace animace na blikání */
  animation: fire-flicker 2s infinite alternate;
}

/* * Definice klíčových snímků pro animaci blikání (Flicker)
 * Měníme intenzitu stínů a mírně i barvu pro simulaci blikání plamene.
 */
@keyframes fire-flicker {
  0% {
    text-shadow: 
      /*0 0 2px #ffcc00, */
      /*0 0 10px #ff9900, */
      0 0 10px #e0aeae,
      0 0 20px #ff0000, 
      0 0 40px rgba(255, 0, 0, 0.7);
    opacity: 1;
  }
  30% {
    /* Mírné zeslabení světla */
    text-shadow: 
      /*0 0 1px #ffcc00, */
      /*0 0 7px #ff9900, */
      0 0 10px #e0aeae,
      0 0 17px #ff0000, 
      0 0 30px rgba(255, 0, 0, 0.6);
    opacity: 0.9;
  }
  70% {
    /* Mírné zesílení světla */
    text-shadow: 
      /*0 0 3px #ffe066, */
      /*0 0 8px #ffb366, */
      0 0 15px #e0aeae,
      0 0 25px #ff0000, 
      0 0 50px rgba(255, 0, 0, 0.8);
    opacity: 1;
  }
  100% {
    text-shadow: 
      /*0 0 2px #ffcc00, */
      /*0 0 10px #ff9900, */
      0 0 10px #e0aeae,
      0 0 20px #ff0000, 
      0 0 40px rgba(255, 0, 0, 0.7);
    opacity: 1;
  }
}