html {
  box-sizing: border-box;
  overflow-x: clip;
  max-width: 100%;
}
*,
::after,
::before {
  box-sizing: inherit;
}

body {
  background-color: #f2ecec;
  display: flex;
  flex-direction: column;
  font-family: montserrat, sans-serif;
  font-size: 18px;
  padding: 0;
  align-items: center;
  margin: 0;
  max-width: 100%;
  width: 100%;
  font-weight: 400;
  overflow-x: clip;
}

.line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  right: 0;
  background-color: #f2ecec;
  height: 45px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media only screen and (max-width: 500px) {
  /*.menu {
    max-width: fit-content;
    font-size: 2rem;
    margin-right: 2%;
  }*/
}
@media only screen and (min-width: 500px) {
  .line {
    height: 45px;
  }
}

.menu {
  /* max-width: fit-content;*/
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.menu a {
  color: #070c12;
  text-decoration: none;
  font-size: 1.8vw;
  font-family: rubik distressed;
  font-weight: 300;
  padding-left: 0.3em;
  padding-right: 0.2em;
  margin: 1vw;
}

.menu a::before {
  content: "/";
  color: #cb2026;
  font-weight: 900;
  font-size: 1.2em;
  margin-right: 0.3em;
  -webkit-text-stroke: 0.5px #cb2026;
}

@media only screen and (max-width: 800px) {
  .menu {
    display: none;
  }
}

.ham {
  /*hamburger a krizek*/
  position: absolute;
  right: 15px; /* Pevná vzdálenost od pravého okraje */
  top: 7px; /* Vertikálně vycentrovaný */

  width: 30px; /* Pevná šířka místo 3vw */
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  z-index: 10001;
}
.cara1,
.cara2,
.cara3 {
  width: 100%;
  flex-shrink: 0;
  height: 2px;
  background-color: #070c12;
  /*background-color: #ccbd71;*/
}
.cara2 {
  background-color: #cb2026;
}
@media only screen and (min-width: 800px) {
  .ham,
  .cara1,
  .cara2,
  .cara3 {
    display: none;
  }
}
@media only screen and (min-width: 500px) {
  .ham {
    right: 20px; /* Na mobilu trochu blíž ke kraji */
    width: 30px; /* Na mobilu trochu menší */
  }
}
.caraB {
  display: none;
}
.caraA {
  transform: rotate(45deg);
  position: relative;
  top: 20%;
}
.caraC {
  transform: rotate(-45deg);
  position: relative;
  bottom: 30%;
}

/*logo small v navigaci*/

.logoS {
  width: auto;
  height: 45px;
  padding: 5px;
  box-sizing: border-box; /* padding se počítá dovnitř */
  position: absolute;
  left: 32px; /* stejná vzdálenost jako má .ham od pravého okraje */
  top: 50%;
  transform: translateY(-50%); /* vycentrované vertikálně */

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logoS.visible {
  opacity: 1;
  visibility: visible;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.visible {
  opacity: 1;
  visibility: visible;
}

/* Language Switcher Styles */
.lang-switcher {
  display: inline-flex;
  gap: 0.3em;
  margin-left: 1em;
  align-items: center;
  vertical-align: middle;
  padding-bottom: 1%;
}

.lang-btn {
  background-color: transparent;
  color: #070c12;
  border: 1px solid #cb2026;
  font-size: 1.6vw;
  font-family: rubik distressed;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
  margin: 0;
}

.lang-btn:hover {
  background-color: #cb2026;
  color: #070c12;
}

.lang-btn.active {
  background-color: #cb2026;
  color: #070c12;
  font-weight: 600;
}

/* Mobile Language Switcher */
.lang-switcher-mobile {
  display: flex;
  justify-content: center;
  gap: 1em;
  padding: 1em 0;
  border-top: 1px solid #cb2026;
  margin-top: 1em;
}

.lang-switcher-mobile .lang-btn {
  font-size: 1.2rem;
  padding: 0.5em 1.2em;
}

/* Hide desktop language switcher on mobile */
@media only screen and (max-width: 800px) {
  .menu .lang-switcher {
    display: none;
  }
}

/* Hide mobile language switcher on desktop */
@media only screen and (min-width: 801px) {
  .lang-switcher-mobile {
    display: none;
  }
}

/*navigace na klik*/
.nav {
  background-color: #070c12;
  position: fixed;
  z-index: 9000;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  margin-top: 0;
  padding: 10%;
  padding-top: 30%;
}
ul {
  list-style: none;
  line-height: 300%;
  display: flex;
  flex-direction: column;
}
a.nav-link {
  color: #cb2026;
}
.nav-link {
  text-align: left;
  text-decoration: none;
  font-family: sansation, sans-serif;
  font-size: 1.6rem;
  color: #cb2026;

  /*border-bottom: 1px solid #07192f;*/
}

@media only screen and (min-width: 800px) {
  .nav {
    display: none;
  }
}

.hidden {
  display: none;
}

h2 {
  font-family: sansation, sans-serif;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  padding-top: 65px;
}

.bandphoto {
  width: 70%;
  max-width: 600px;
  height: auto;
  margin: 20px auto 0;
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.text p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 20px auto 0;
  padding: 0 10% 5% 10%;
}

@media only screen and (min-width: 800px) {
  .souhrn {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: repeat(6, auto);
    gap: 0 2rem;
    padding: 2rem;
  }

  .bandphoto {
    grid-column: 1;
    grid-row: 1 / 5;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .text {
    grid-column: 2;
    grid-row: 1 / 7;
  }

  .text p {
    font-size: 1.2rem;
    padding: 0;
    margin: 0 0 1.5rem 0;
  }
}

.yt-preview {
  position: relative;
  display: block;
  max-width: 80%;
  cursor: pointer;
  margin: 20px auto 0;
}

.yt-preview img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: #cb2026;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

h3 {
  font-family: sansation, sans-serif;
  font-size: 16px;
  text-align: center;
  text-transform: uppercase;
  padding-top: 65px;
}

/* Clickable h2 for videos toggle */
.videa h2 {
  cursor: pointer;
  user-select: none;
  color: #cb2026;
}

/* Hide videos by default */
.video1,
.video2,
.video3,
.video4 {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
}

/* Show videos when toggled */
.video1.show,
.video2.show,
.video3.show,
.video4.show {
  max-height: 1000px;
  opacity: 1;
}

/* Clickable h2 for podcast toggle */
.podcast h2 {
  cursor: pointer;
  user-select: none;
  color: #cb2026;
}

/* Clickable h2 for infodownload toggle */
.infodownload h2 {
  cursor: pointer;
  user-select: none;
  color: #cb2026;
}
.infodownload h2:hover {
  font-size: larger;
}
/* Hide podcasts by default */
.podcast1,
.podcast2,
.podcast3 {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
}

/* Show podcasts when toggled */
.podcast1.show,
.podcast2.show,
.podcast3.show {
  max-height: 1000px;
  opacity: 1;
}

/* Hide infodownload ul by default */
.infodownload ul {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
}

/* Show infodownload ul when toggled */
.infodownload ul.show {
  max-height: 1000px;
  opacity: 1;
}
.infodownload ul a {
  text-decoration: none;
}
@media only screen and (min-width: 800px) {
  .videa h2,
  .podcast h2 {
    display: none;
  }
  .video1,
  .video2,
  .video3,
  .video4 {
    max-height: none;
    opacity: 1;
  }
  .podcast1,
  .podcast2,
  .podcast3 {
    max-height: none;
    opacity: 1;
  }
  .yt-preview {
    max-width: 60%;
  }
  .videa {
    display: flex;
    gap: 1rem;
    padding: 2% 5%;
  }
  .videa img {
    justify-content: baseline;
    border-radius: 0;
  }
  .play-button {
    font-size: 48px;
  }
  .video1 img {
    padding-top: 18px;
  }
  .podcast {
    display: flex;
    gap: 1rem;
    padding: 2% 5%;
  }
  .podcast img {
    justify-content: baseline;
    border-radius: 0;
  }
}
.contact {
  width: 100%;
  text-align: center;
  padding: 1rem 0;
  background-color: #070c12;
  color: #f2ecec;
}
.contact h2 {
  font-family: sansation, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  padding: 1rem;
}
.contact img {
  width: 50px;
  height: auto;
  margin-bottom: 1rem;
}
.socialmedia {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
}

@media only screen and (min-width: 800px) {
  .contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding: 2rem 0;
    justify-items: center;
  }

  .socialmedia {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
  }

  .contact img {
    width: 60px;
  }
}

footer {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
  background-color: #070c12;
  color: #f2ecec;
  font-size: 14px;
}

footer a {
  color: #cb2026;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #f2ecec;
}

/* Fix styles for viewports 1350px and above */
@media only screen and (min-width: 1350px) {
  body {
    overflow-x: clip;
    font-size: 20px;
  }

  .line {
    overflow: visible;
    max-width: 1350px;
    margin: 0 auto;
    height: 60px;
  }

  .menu a {
    font-size: 24.3px;
    margin: 13.5px;
  }

  .lang-btn {
    font-size: 21.6px;
  }
.celek{
    max-width: 1350px;
    margin: 0 auto;
  }

.contact {
    max-width: 1350px;
    margin: 0 auto;
  }

  footer {
    max-width: 1350px;
    margin: 0 auto;
  }
  footer p {
    font-size: 18px;
  }}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #070c12;
  }

  .line {
    background-color: #070c12;
  }

  .menu a {
    color: #f2ecec;
  }

  .cara1,
  .cara3 {
    background-color: #f2ecec;
  }

  .lang-btn {
    color: #f2ecec;
  }

  .lang-btn:hover {
    color: #070c12;
  }

  .lang-btn.active {
    color: #070c12;
  }

  .nav {
    background-color: #070c12;
  }

  h2{
    color: #f2ecec;
  }
  h3{
    color: #f2ecec;
  }
  .text p {
    color: #f2ecec;
  } 

  .infodownload a{
    color: #f2ecec;
  }
  .infodownload a:hover {
    color: #cb2026;
  }
.contact {
    background-color: #363636;
    color: #f2ecec;
  }

  footer {
    background-color: #363636;
    color: #f2ecec;
  }

  footer a:hover {
    color: #f2ecec;
  }}