* {
    margin: 0;
    padding: 0;
 }

 html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

 body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}



/* header */
header {
    width: 100%;
  }

 nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    height: 70px;
    position: fixed;
    top: 0;
    background-color: white;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-out;
    z-index: 99999;
}


@media (max-width: 768px) {
    nav {
            height: 60px;
    }
}

nav.hide {
    transform: translateY(-100%);
}

nav.hide .nav-icons,
nav.hide .nav-button,
nav.hide .nav-identity {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.nav-icons {
  position: relative;
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  margin: 5px 5%;
  width: 33%;
}

 .nav-icons img {
    margin-left: 3px;
}

.hamburger-menu {
    background-color: #009dfb;
    border-radius: 50%;
    width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
      position: relative;
      overflow: visible;
      cursor: pointer;
      z-index: 1001;
    }

    .hamburger-menu path {
      fill: white;
      transition: transform 0.3s ease, fill 0.3s ease;
      transform-origin: center;
    }

    .hamburger-menu:hover path {
      fill: #FB7600;
      transform: scale(1.8);
    }

  .identity {
    width: 7%;
    padding: 1px;
  }

  .nav-icons h2 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 32px;
    font-weight: 400;
    transform: rotate(-1deg);
    margin-left: 3px;
  }

  .nav-identity {
    display: flex;
      justify-content: center;
      align-items: flex-start;
      text-align: center;
      width: 33%;

}

.nav-identity a {
    display: flex; /* Změní `<a>` na flex kontejner */
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.nav-identity a img {
    width: 100px;
    display: block; /* Zabrání problémům s mezery pod obrázkem */
    margin-bottom: -125px;
}


  .nav-button {
    width: 33%;
    display: flex;
    justify-content: end;
    margin-right: 5%;
  }
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 70px;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 30px;
    z-index: 100;
}

#menu-toggle-btn {
  position: relative;
  z-index: 101;
}

/* Otevřený stav menu pro desktop */
.sidebar.open {
  width: 51%; /* Šířka otevřeného menu na desktopu */
}

.sidebar a {
    padding: 0px 50px;
    text-decoration: none;
    font-size: 36px;
    color: black;
    display: flex;
    transition: 0.2s;
    font-family: 'DM Sans';
    font-weight: 700;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: 0.3s;
    z-index: 99;
}

.aside-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 150px;
}

.aside-social-icons {
    display: flex;
    flex-direction: row;
    width: 50%;
    justify-content: flex-start;
    padding: 0;
    margin-left: 50px;
    align-items: center;
}

.aside-social-icons a {
    padding: 10px;
}

.aside-social-icons i {
    font-size: 24px;
    color: #009dfb;
    padding: 5px;
}

.aside-info {
    width: 50%;
}

.aside-info p {
    font-size: 32px;
}



/* index */
main:not(.error-page, .main-contact, .references-main, .fotogalery-main, .aboutus-main) {
    width: 100%;
    background-image: url('/images/kresba_pozadi_homepage_kouzelnik_pan_kravata.webp');
    background-size: cover;
    background-repeat: no-repeat;
    height: 640px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }


  

.main-text {
    display: flex;
    justify-content: center;
    margin-top: auto;
    width: 50%;
    margin-left: 50px;
    margin-bottom: 25px;
  }

  .main-image {
    display: flex;
    justify-content: center;
    width: 50%;
  }

  .main-image img {
    width: 100%;
    z-index: 1;
  }

  .performance {
    width: 100%;
    margin: 100px 0px;
  }

  .performance-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .performance-container a {
    margin-top: 50px;
    max-width: 400px;
  }

  .performance-container button img {
    width: 15px;
    margin-left: 10px;
    background-color: white;
    border-radius: 25px;
    padding: 5px;
  }


  .performance-container h2 {
    margin-top: 40px;
    color: #009dfb;
    font-size: 72px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
  }

  .performance-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .performance-text img {
    width: 15px;
    margin-right: 10px;
  }

  .performance-text h4 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
  }


  .performance-blog {
    display: flex;
    width: 100%;
    color: white;
    margin-top: 50px;
}

.performance-blog-info {
    display: flex;
    flex-direction: row;
    background-color: #009dfb;
    width: 750px;
    margin-left: 50px;
    border-radius: 25px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.performance-blog-info:hover,
.performance-blog-info-container-second:hover,
.performance-blog-info-container-third:hover {
    cursor: pointer;
}

.performance-blog-info img {
    margin-left: auto;
    width: 40%;
    margin-top: -25px;
    margin-bottom: -40px;
    transition: transform 0.5s ease;
}

.performance-blog-info:hover img {
    transform: scale(1.1) translateY(-12px);
}


  .performance-blog-info-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40%;
    height: 100%;
  }

.performance-blog-info-container-second {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 50px;
  width: 500px;
  height: 300px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.performance-blog-info-container-third {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 50px;
  width: 500px;
  height: 300px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.performance-blog-info-container-second::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/narozeninove-oslavy-kouzelnik-pan-kravata.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  z-index: -1;
}

.performance-blog-info-container-third::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/kouzelnik_pan_kravata_moderator.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  z-index: -1;
}

.performance-blog-info-container-second:hover::before {
  transform: scale(1);
}

.performance-blog-info-container-third:hover::before {
  transform: scale(1);
}

  .performance-blog-info-container p {
    font-family: 'DM Sans';
    font-size: 24px;
    font-weight: 500;
    padding: 20px 35px;
    text-align: left;
    margin-top: auto;
    width: 100%;
  }

  .performance-blog-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 100px;
  }

  .performance-blog-links a {
    list-style-type: none;
    text-decoration: none;
    background-color: #FB7600;
    color: white;
    border-radius: 50px;
    font-family: 'DM Sans';
    font-size: 18px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0px 50px;
    max-width: 500px;
    padding: 0px 25px 0px 5px;
  }

  .performance-blog-links a svg {
    transition: transform 0.3s ease-out;
}

.performance-blog-links a:hover svg {
    transform: rotate(45deg);
}

.index-aboutus {
  width: 100%;
  margin-bottom: 100px;
}

.index-aboutus-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.index-aboutus-container h2 {
    margin-top: 40px;
    color: #009dfb;
    font-size: 72px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
  }

  .index-aboutus-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .index-aboutus-text img {
    width: 15px;
    margin-right: 10px;
  }

  .index-aboutus-text h3 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
      margin-bottom: 8px;
  }

  .index-aboutus-banner {
    width: 100%;
    margin: 0px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
  }

  .index-aboutus-banner-text {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .index-aboutus-banner-text p {
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 42px;
    margin: 50px 100px 0px 100px;
  }

  .index-aboutus-banner-text a {
    margin: 10px 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 180px;
  }

  .index-aboutus-banner-text button img {
    width: 15px;

  }

  .index-aboutus-banner img {
    width: 95%;
    margin-top: -50px;
  }


  .photogalery {
    width: 100%;
    margin-bottom: 100px;
  }

  .photogalery-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    text-align: center;
    align-items: center;
  }

    .index-video-galery {
        width: 100%;
        margin: 0px;
        padding: 0px;
        position: relative;
        margin-top: 20Px;
    }

.index-video-galery video {
    width: 90%;
    border-radius: 25px;
}



  .photogalery-container h2 {
    margin-top: 40px;
    color: #009dfb;
    font-size: 72px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
  }

  .photogalery-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .photogalery-text img {
    width: 15px;
    margin-right: 10px;
  }

  .photogalery-text h3 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
  }

  .image-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 300px;
  gap: 50px;
  max-width: 1350px;
  margin-top: 20px;
  }

  .collage-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    border-radius: 25px;
  }

  .collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  }

  .collage-item img:hover {
  transform: scale(1.1) translateY(-12px);
  transition: 0.5s;
  }

  .item-1 {
  grid-column: span 2;
  grid-row: span 1;
  }

  .item-2 {
  grid-column: span 2;
  grid-row: span 1;
  }

  .item-3 {
  grid-column: span 2;
  grid-row: span 2;
  }

  .item-4 {
  grid-column: span 2;
  grid-row: span 2;
  }

  .item-5 {
  grid-column: span 2;
  grid-row: span 1;
  }

  .item-6 {
  grid-column: span 4;
  grid-row: span 1;
  }

  .video-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    transition: opacity 0.3s ease-in-out;
  }

  .collage-item:hover .play-button-overlay {
    opacity: 0;
    pointer-events: none;
  }

  .play-icon {
    width: 100px;
    height: 100px;
    background-color: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 5px;
    transition: transform 0.2s ease-out;
  }

  .play-icon:hover {
    transform: scale(1.1);
  }

  .play-icon-blue {
    fill: #009dfb; /* Modrá barva vnitřního trojúhelníku */
    stroke: none; /* Bez obrysu */
    /* Můžete zkusit i z-index, pokud by se stále překrývalo */
    z-index: 2; /* Zajistí, že bude nad oranžovým */
  }

  /* Styly pro vnější oranžový obrys */
  .play-icon-orange {
    fill: #fb7600; /* Oranžová barva */
    stroke: none; /* Bez obrysu */
    /* Zde již není opacity: 0, takže bude viditelný */
    z-index: 1;
  }

  .collage-item.playing .play-button-overlay {
    opacity: 0;
    pointer-events: none;
  }

  .photogalery-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  gap: 50px;
  margin: 0px 0px 50px 0px;
  }

  .social-media {
    width: 100%;
    margin-bottom: 100px;
  }

  .social-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .social-container a {
    margin: 50px 0px;
  }

  .social-container h2 {
    margin-top: 40px;
    color: #009dfb;
    font-size: 72px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
  }

  .social-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .ikona-sipka {
    width: 24px;
    height: 24px;
  }

  .ikona-sipka {
    fill: #FB7600;
  }

  .social-text img {
    width: 15px;
    margin-right: 10px;
  }

  .social-text h3 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
  }

  .social-container-images {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }

  .social-images a {
    text-decoration: none;
    list-style-type: none;
  }

  .social-images img {
    width: 20%;
    padding: 20px;

  }

  .rabbit-container-left {
  position: fixed;
  bottom: 50%;
  width: 150px;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  cursor: pointer;
  z-index: 50;
  }

  .rabbit-container-right {
  position: fixed;
  bottom: 20%;
  width: 150px;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  cursor: pointer;
  z-index: 99999;
  }

  .rabbit-container-bottom {
  position: fixed;
  bottom: -200px;
  left: 20%;
  transform: translateX(-50%);
  width: 150px;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  cursor: pointer;
  z-index: 50;
  }

  .rabbit-container-bottom:hover {
  opacity: 0 !important;
  transform: translateY(0);
  }

  .rabbit-container-left {
  left: -200px;
  }

  .rabbit-container-right {
  right: -205px;
  }

  .rabbit-container-bottom {
  bottom: -100px;
  }

  .rabbit-container-left.active {
  opacity: 1;
  transform: translateX(200px) rotate(45deg);
  }

  .rabbit-container-right.active {
  opacity: 1;
  transform: translateX(-200px) rotate(45deg);
  }

  .rabbit-container-bottom.active {
  opacity: 1;
  transform: translateX(-175px) rotate(90deg);
  }

  .rabbit-container-left:hover,
  .rabbit-container-right:hover {
  opacity: 0 !important;
  transform: translateX(0) rotate(45deg);
  }

  .rabbit-container-right:hover {
  opacity: 0 !important;
  transform: translateX(0) rotate(45deg);
  }

  /* references.html */
  .references-main {
    width: 100%;
    background-image: none;
  }

  .references-main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    text-align: center;
    align-items: center;
    margin: 0px auto;
    position: relative;
  }

  .references-main-container h1 {
    margin-top: 40px;
    color: #009dfb;
    font-size: 120px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
  }

  .programme-position {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0px auto;
    width: 100%;
  }


  .headline-wrapper {
    position: relative;
    display: inline-block;
  }

  .headline-wrapper h2 {
    margin: 40px 0;
    color: #009dfb;
    font-size: 120px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    position: relative;
    z-index: 1;
  }

  .references-img {
    position: absolute;
    width: 50px;
    height: auto;
    z-index: 2;
    pointer-events: none;
  }

  .references-top-right {
    top: 0;
    right: 50px;
    transform: rotate(180deg);
  }

  .references-bottom-left {
    bottom: 0;
    left: 50px;
    transform: translate(-20px, -20px);
  }


  .references-main-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .references-main-text h3 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
  }

  .references {
    width: 100%;
    margin-bottom: 100px;
  }

  .references-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .references-container h2 {
    margin-top: 40px;
    color: #009dfb;
    font-size: 72px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
  }

  .references-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .references-text img {
    width: 15px;
    margin-right: 10px;
  }

  .references-text h3 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
  }

  .references-logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-bottom: 75px;
  }

  .references-logo img {
    width: 19%;
    height: auto;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .references-users {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 50px;
  }

  .references-user-container {
    position: relative;
    width: 25%;
    background-color: #F4F4F4;
    border-radius: 25px;
    padding: 0px 20px 50px 20px;
    overflow: visible;
    gap: 30px;
  }

  .corner-img {
    position: absolute;
    width: 25px;
    height: auto;
    z-index: 1;
  }

  .top-left {
    top: -10px;
    left: -3px;
  }

  .bottom-right {
    bottom: -10px;
    right: -3px;
  }


  .references-user-container h2 {
    font-family: 'DM Sans';
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    margin-bottom: 20px;
      color: black;
  }

  .references-user-container p.author {
    position: absolute;
    bottom: 15px;
    right: 30px;
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 300;
    text-align: right;
  }

  .references-button {
    margin-top: 30px;
  }

/* footer */

footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 20px;
  }

  .footer-container {
    display:  flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    border-radius: 75px 75px 0px 0px;
    background-color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 -30px 30px -20px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
  }

  .footer-info {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    margin-left: 2.5%;
  }

  .text-blue {
    font-family: 'Just Another Hand';
    color: #009dfb;
    font-size: 48px;
    margin-bottom: -10px;
    transform: rotate(-2deg);
  }

  .text-orange {
    font-family: 'Just Another Hand';
    color: #FB7600;
    font-size: 48px;
    transform: rotate(-2deg);
  }

  .text-orange-about {
    color: #FB7600;
  }

  .footer-info img {
    margin-top: 15px;
    max-width: 300px;
  }

  .footer-identity {
    width: 33%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
  }

  .footer-identity img {
    max-height: 300px;
    margin-top: -60px;
  }

  .footer-text {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    width: 33%;
    margin-right: 2.5%;
  }

  .footer-text a {
    margin-left: auto;
    width: 90px;
  }

  .footer-email {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
    margin-top: 8px;
    width: 100%;
  }

  .footer-email a {
    color: black;
    list-style-type: none;
    text-decoration: none;
    font-family: 'DM Sans';
    font-weight: bold;
    font-size: 22px;
    margin-top: 5px;
    width: 100%;
  }

  .technical-text a {
    font-family: 'DM Sans';
    font-weight: 300;
    font-size: 15px;
    color: #FB7600;
    list-style-type: none;
    text-decoration: none;
  }

  .technical-text p {
    font-family: 'DM Sans';
  }

  .footer-social-icons i {
    font-size: 24px;
    color: #009dfb;
    padding: 5px;
  }

  .footer-copyright {
    display: flex;
    justify-content: space-between;
    margin: 20px 125px;
    font-family: "DM Sans";
  }

  .skybert-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
  }

  .skybert-logo img {
    width: 100px;
    margin-right: 10px;
  }

  .skybert {
    font-weight: 700;
  }

  /* komponenty */

  .animated-button {
    background-color: #009dfb;
    border: none;
    border-radius: 25px;
    /* max-width: 220px; -- Může být potřeba doladit nebo odstranit, pokud text přetéká při animaci */
    width: auto;
    font-size: 14px;
    font-family: 'DM Sans';
    font-weight: 500;
    color: white;
    cursor: pointer;
    text-decoration: none;
  display: inline-flex;
    align-items: center; /* Vertikální zarovnání obsahu */
    overflow: hidden; /* Skryje obsah, který se posune mimo tlačítko */
    position: relative;
    transition: background-color 0.3s ease-out; /* Plynulá změna barvy pozadí buttonu */
    gap: 5px; /* Mezera mezi textem a šipkou */
    height: 45px;
    padding: 0 8px 0 18px;
  }

  .button-text {
    /* Odebereme order, protože ho nebudeme měnit */
    transition: transform 0.3s ease-out; /* Plynulý posun */
    /* Zpočátku bez transformace */
  }

  .button-text-aboutus {
    /* Odebereme order, protože ho nebudeme měnit */
    transition: transform 0.3s ease-out; /* Plynulý posun */
    /* Zpočátku bez transformace */
  }

  .button-text-long {
    transition: transform 0.3s ease-out;
    padding-right: 10px;
    margin-top: 1px;
  }

    .button-text-videogalerie {
        transition: transform 0.3s ease-out;
        padding-right: 10px;
        margin-top: 1px;
    }


  .button-sipka-modra {
    background-color: white;
    padding: 5px;
    border-radius: 60px;
    width: 12px;
    transition: transform 0.3s ease-out; /* Plynulý posun */
    transform: rotate(-45deg);
  }

  .button-sipka-modra-long {
    background-color: white;
    padding: 5px;
    border-radius: 50px;
    width: 13px;
    transition: transform 0.3s ease-out; /* Plynulý posun */
    transform: rotate(-45deg);
  }

  .button-sipka-modra-longer {
    background-color: white;
    padding: 10px;
    border-radius: 50px;
    width: 13px;
    transition: transform 0.3s ease-out; /* Plynulý posun */
    transform: rotate(-45deg);
  }

    .button-sipka-modra-videogalerie {
        background-color: white;
        padding: 10px;
        border-radius: 50px;
        width: 13px;
        transition: transform 0.3s ease-out; /* Plynulý posun */
        transform: rotate(-45deg);
    }

  .button-sipka-modra-fotogalerie {
    background-color: white;
    padding: 10px;
    border-radius: 50px;
    width: 13px;
    transition: transform 0.3s ease-out; /* Plynulý posun */
    transform: rotate(-45deg);
  }

  .button-sipka-modra-medium {
    background-color: white;
    padding: 10px;
    border-radius: 50px;
    width: 13px;
    transition: transform 0.3s ease-out; /* Plynulý posun */
    transform: rotate(-45deg);
  }

  .button-sipka-modra-aboutus {
    background-color: white;
    padding: 10px;
    border-radius: 50px;
    width: 13px;
    transition: transform 0.3s ease-out; /* Plynulý posun */
    transform: rotate(-45deg);
  }

  .button-sipka-modra path {
    fill: #009dfb;
  }

  .button-sipka-modra-long path {
    fill: #009dfb;
  }

  .button-sipka-modra-longer path {
    fill: #009dfb;
  }

    .button-sipka-modra-videogalerie path {
        fill: #009dfb;
    }

  .button-sipka-modra-fotogalerie path {
    fill: #009dfb;
  }

  .button-sipka-modra-medium path {
    fill: #009dfb;
  }


  .button-sipka-modra-aboutus path {
    fill: #009dfb;
  }

  .animated-button:hover .button-text {
    transform: translateX(40px);
  }

  .animated-button:hover .button-text-long {
    transform: translateX(40px);
  }

  .animated-button:hover .button-text-aboutus {
    transform: translateX(30px);
  }

  .animated-button:hover .button-sipka-modra {
    transform: translateX(-70px);
  }

  .animated-button:hover .button-sipka-modra-long {
    transform: translateX(-130px);
  }

  .animated-button:hover .button-sipka-modra-longer {
    transform: translateX(-155px);
  }

    .animated-button:hover .button-sipka-modra-videogalerie {
        transform: translateX(-155px);
    }

  .animated-button:hover .button-sipka-modra-fotogalerie {
    transform: translateX(-150px);
  }

  .animated-button:hover .button-sipka-modra-medium {
    transform: translateX(-135px);
  }

  .animated-button:hover .button-sipka-modra-aboutus {
    transform: translateX(-130px);
  }

  .animated-button:hover .button-sipka-modra path {
    fill: orange;
  }

    .animated-button:hover .button-sipka-modra-videogalerie path {
        fill: orange;
    }

  .animated-button:hover .button-sipka-modra-long path {
    fill: orange;
  }

  .animated-button:hover .button-sipka-modra-longer path {
    fill: orange;
  }

  .animated-button:hover .button-sipka-modra-fotogalerie path {
    fill: orange;
  }

  .animated-button:hover .button-sipka-modra-medium path {
    fill: orange;
  }

  .request-button {
    position: relative;
    overflow: hidden;
  }

  .request-button .button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.4s ease;
    position: relative;
  }

  .request-button .icon,
  .request-button .text {
    transition: transform 0.4s ease;
  }

  /* Výchozí stav: vše na středu */
  .request-button .icon {
    transform: translateX(0);
  }
  .request-button .text {
    transform: translateX(0);
  }

  /* Hover efekt: šipka vlevo, text vpravo */
  .request-button:hover .icon {
    transform: translateX(-50px);
  }

  .request-button:hover .text {
    transform: translateX(30px);
  }




  /* Styl pro samotný text uvnitř buttonu */
  .button-text {
    position: relative; /* Důležité pro posun */
    z-index: 2; /* Zajistí, že text bude nad šipkou */
    transition: transform 0.3s ease-out; /* Animace posunu textu */
    padding-right: 10px; /* Výchozí mezera mezi textem a šipkou */
  }

  /* Kontejner pro bílé kolečko a šipku uvnitř */
  .arrow-wrapper {
    position: relative; /* Důležité pro posun kolečka s textem, místo absolute */
    right: 0; /* Výchozí pozice napravo od textu (flexbox) */
    width: 25px;
    height: 25px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: transform 0.3s ease-out;
  }

  .arrow-icon {
    width: 8px;
    height: 8px;
    border-top: 2px solid #009dfb;
    border-right: 2px solid #009dfb;
    transform: rotate(45deg);
  }

  .animated-button:hover .button-text {
    transform: translateX(25px);
  }

    .animated-button:hover .button-text-videogalerie {
        transform: translateX(30px);
    }

  .animated-button:hover .arrow-wrapper {
    transform: translateX(-75px);
  }

  .ikona-sipecka {
    background-color: white;
    padding: 10px;
    border-radius: 50%;
    margin: 20px 35px;
    width: 20px;
    height: 20px;
    fill: #FB7600;
    rotate: -45deg;
    transition: rotate 0.5s;
}

.performance-blog-info:hover .ikona-sipecka,
.performance-blog-info-container-second:hover .ikona-sipecka,
.performance-blog-info-container-third:hover .ikona-sipecka {
    rotate: 0deg;
}

  .button-sipka {
    background-color: white;
    padding: 5px;
    border-radius: 50px;
    margin: 10px 20px 10px 10px;
    width: 14px;
    fill: #FB7600;
    rotate: -45deg;
  }

  .blue-text {
      color: #009dfb;
      line-height: 0.7;
    }

  .orange-text {
    color: #FB7600;
  }

  .main-orange-text {
    color: #FB7600;
      font-size: 90px;
      font-family: 'Luckiest Guy';
      font-weight: 400;
  }

  .main-white-text {
    color: white;
      font-size: 90px;
      font-family: 'Luckiest Guy';
      font-weight: 400;
  }

  /* videogalerie.html */

  .references-main {
    width: 100%;
    background-image: none;
  }

  .references-main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    text-align: center;
    align-items: center;
    margin: 0px auto;
    position: relative;
  }

  .references-main-container h1 {
    margin-top: 40px;
    color: #009dfb;
    font-size: 96px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    width: 100%;
  }

  .references-main-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .references-main-text h3 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
  }

  .video-wrapper {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
  }

  .video-wrapper h1 {
    margin: 40px 0;
    color: #009dfb;
    font-size: 120px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    position: relative;
    z-index: 1;
  }

  .video-wrapper img {
    position: absolute;
    top: 37%;       
    left: 162%;      
    transform: translate(-50%, -50%);
    width: 150px; 
    z-index: 1;
  }


  .video-orange {
    color: #FB7600;
    position: relative;
    display: inline-block;
  }

  .video-galery {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
  }

  .video-galery-container {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0px auto;
    flex-wrap: wrap;
    gap: 30px;
  }

  .video-galery-single {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;


  }

  .video-galery-vimeo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 50px;
    width: 100%;
  }

.video-galery-youtube {
    width: 95%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0px auto;
    flex-wrap: wrap;
    gap: 30px;
}

  .vimeo-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
  }

  .vimeo-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  /* fotogalery.html*/
  .fotogalery-main {
    width: 100%;
    background-image: none;
    padding-top: 50px;
  }

  .fotogalery-main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    text-align: center;
    align-items: center;
    margin: 0px auto;
    position: relative;
  }

  .fotogalery-main-container > img {
    position: absolute;
    width: 140px;
    top: 58%;
    left: 52%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  .fotogalery-main-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .fotogalery-main-text h3 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
  }

  .main-title-container {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
  }

  .main-title-container h1 {
    color: #009dfb;
    font-size: 120px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    line-height: 0.9;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    line-height: 0.6;
    margin-top: 20px;
  }

  h1.foto {
    color: #009dfb;
    font-size: 120px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    line-height: 0.9;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  h1.galerie {
    color: #009dfb;
    font-size: 120px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    line-height: 0.9;
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    padding-top: 20px;
  }

  /*
  .smiley-r {
    color: #009dfb;
    font-size: 120px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    line-height: 0.9;
    position: absolute;
    top: 110px;
    left: 41.5%;
    transform: translateX(110px);
    z-index: 3;
  }
  */


  .fotogalery {
    width: 100%;
    margin-bottom: 125px;
  }

  .fotogalery-container {
        width: 95%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0px auto;
        flex-wrap: wrap;
        gap: 80px;
  }
  .fotogalery-single {
    display: flex;
    justify-content: center;
    width: 100%;
    border-radius: 50px;
  }

.fotogalery-single img {
    width: 100%;
    height: 100%;
    max-height: 660Px;
    object-position: 25% 25%;
    border-radius: 50px;
    object-fit: cover;
}

  .fotogalery-double-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    height: auto;
    text-align: center;
    align-items: center;
    gap: 70px;
  }

  .fotogalery-double-first {
    width: 45%;
    max-height: 520px;
    height: 100%;
    border-radius: 50px;
  }

  .fotogalery-double-first img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    border-radius: 50px;
  }

  .fotogalery-double-second {
    display: flex;
    width: 55%;
    max-height: 520px;
    height: 100%;
    border-radius: 50px;
  }

  .fotogalery-double-second img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50px;
  }

  .fotogalery-triple-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: auto;
    gap: 70px;
  }

  .triple-double-column {
    display: flex;
    flex-direction: column;
    gap: 70px;
    width: 50%;
    }

  .triple-single-column {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 1110px;
  }

  .triple-item {
    border-radius: 50px;
    overflow: hidden;
    position: relative;
  }

  .triple-item-small {
    flex-grow: 1;
    width: 100%;
    max-height: 520px;
  }

  .triple-item-large {
    height: 100%;
    width: 100%;
  }

  .triple-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .fotogalery-single,
  .fotogalery-double-first,
  .fotogalery-double-second,
  .triple-item {
    overflow: hidden;
  }

  .fotogalery-single img,
  .fotogalery-double-first img,
  .fotogalery-double-second img,
  .triple-item img {
    cursor: pointer;
    transition: transform 0.4s ease;
  }

  .fotogalery-single:hover img,
  .fotogalery-double-first:hover img,
  .fotogalery-double-second:hover img,
  .triple-item:hover img {
    transform: scale(1.1);
  }

  .lightbox {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 99999;
  }

  .lightbox.active {
      display: flex;
  }

  .lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 90%;
    max-height: 90%;
  }

  #lightbox-image {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
  }

  .lightbox-close-btn,
  .lightbox-prev-btn,
  .lightbox-next-btn {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 5px;
    user-select: none;
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
    background-color: black;
  }

  .lightbox-close-btn:hover,
  .lightbox-prev-btn:hover,
  .lightbox-next-btn:hover {
    opacity: 1;
  }

  .lightbox-close-btn {
    top: 5px;
    right: 5px;
  }

  .lightbox-prev-btn {
    left: 5px;
  }

  .lightbox-next-btn {
    right: 5px;
  }

  /* programme.html */

  .schedule-main {
    background-image: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  .scroll-navigation {
    position: absolute; /* Pozicuje se vůči .programme-main */
    z-index: 50;
    /* === HORIZONTÁLNÍ POZICE === */
    /* "Nalepeno" na levý okraj s malou mezerou 30px */
    left: 0px;

    /* === VERTIKÁLNÍ POZICE A VÝŠKA === */
    /* Začátek 150px od vrchu (100px menu + 50px mezera) */
    top: 70px;
    /* Výška je 100% výšky okna mínus prostor nahoře (150px) a dole (50px) */
    height: calc(100vh - 100px);

    /* Vnitřní uspořádání pomocí Flexboxu */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Kontejner pro samotný posuvník */
.scroll-bar-container {
    /* Kouzlo, které roztáhne posuvník na maximum */
    flex-grow: 1;

    width: 5px; /* Vaše šířka posuvníku */
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin: 20px 0; /* Vytvoří mezeru mezi šipkami a posuvníkem */
}

.scroll-bar {
  width: 100%;
  height: 90%;
  position: relative;
}

  .arrow-container {
    /* Zajistí, aby se šipky "nezmačkly", pokud by bylo málo místa */
    flex-shrink: 0;

    /* Vaše ostatní styly... */
    width: 100px;
    height: 100px;
    background-color: #009dfb;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

  .arrow-container:hover {
    background-color: #FB7600;
  }

  .arrow-up {
    transform: rotate(270deg);
    width: 42px;
    fill: white;
  }

  .arrow-down {
    transform: rotate(90deg);
    width: 42px;
    fill: white;
  }





  .scroll-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #ff9900;
    border-radius: 4px;
    transition: top 0.2s ease-out;
  }

  .content-slides {
    width: 100%;
    max-width: 1200px;
    position: relative;
    height: 100vh;
    overflow: hidden;
  }

  .content-slide {
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    display: none;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
  }

  .content-slide.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
  }

  .schedule-title,
  .schedule-title-2,
  .schedule-title-3,
  .schedule-title-4 {
    width: 56%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0px auto;
    padding-top: 100px;
  }

  .schedule-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
  }

  .schedule-title h3 {
    color: #009dfb;
    font-family: 'DM Sans';
    font-size: 80px;
    font-weight: 500;
    line-height: 1;
    margin: 0px 0px 0px 130px;
    width: 100%;
  }

  .performance-blog [data-target] { cursor: pointer; }

  .schedule-title p {
    font-size: 20px;
    width: 80%;
    font-family: 'DM Sans';
    font-weight: 300;
    margin-left: 130px;
    margin-top: 20px;
  }

  .schedule-icon {
    width: 18%;
    fill:#009dfb;
    margin-left: 10px;
    transform: translate(-325px, 80px);
  }

  .schedule-icon-2 {
    width: 20%;
    fill:#009dfb;
  }

  .schedule-orange {
    width: 100%;
    color: #FB7600;
    font-size: 96px;
    transform: rotate(-10deg);
    position: absolute;
    font-family: 'Just Another Hand';
    top: 0.9em;
    left: 4.6em;
  }

  .schedule-orange-2 {
    width: 100%;
    color: #FB7600;
    font-size: 96px;
    transform: rotate(-10deg);
    position: absolute;
    font-family: 'Just Another Hand';
    top: 0.8em;
    left: 5em;
  }

  .schedule-orange-3 {
    width: 100%;
    color: #FB7600;
    font-size: 96px;
    transform: rotate(-10deg);
    position: absolute;
    font-family: 'Just Another Hand';
    top: 1em;
    left: 4.4em;
  }

  .schedule-clocks {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    font-family: 'DM Sans';
    margin-left: 125px;
  }

  .schedule-clocks img {
    width: 10%;
    margin-left: 10px;
  }

  .schedule-clocks .clock {
    width: 40px;
    margin-right: 10px;
  }

  .schedule-clocks p {
    font-size: 36px;
    font-family: 'Just Another Hand';
    align-items: center;
    color: #FB7600;
    width: auto;
    margin-left: 10px;
    font-weight: 200;
  }

  .schedule-image-container {
    display: flex;
    flex-direction: column;
    width: 42%;
    justify-content: flex-start;
    margin: 50px;
    padding-top: 100px;
  }

  .schedule-image-double {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 230px;
  }

  .image-1,
  .image-2 {
    width: 45%;
    height: 200px;
    position: relative;
    overflow: hidden;
  }

  .image-1 img,
  .image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .image-1:hover img,
  .image-2:hover img {
    transform: scale(1.2);
  }

  .schedule-image-single {
    width: 100%;
    height: 200px;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
  }

  .schedule-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    object-position: 25% 25%;
  }

  .schedule-image-single:hover img {
    transform: scale(1.2);
  }

  /* Styly, které jsou společné pro všechny bloky */


  .programme-main {
    /* Klíčová oprava: Přidá horní odsazení o velikosti vašeho menu. */
    /* !!! Nahraďte 100px skutečnou výškou vašeho menu !!! */
    padding-top: 100px;

    /* Zajišťuje, že padding je započítán DO celkové výšky a nerozbije layout. */
    box-sizing: border-box;

    /* Kontejner musí zabírat 100% výšky okna. */
    height: 100vh;

    /* Další potřebné vlastnosti */
    width: 100%;
    position: relative;
    overflow: hidden; /* Skryje neaktivní .view a zabrání scrollu */
    display: block; /* Flexbox zde není potřeba, pozicování řeší .view */
    justify-content: center;
  }

  .view {
    /* Všechny 'view' jsou absolutně pozicovány uvnitř .programme-main */
    position: absolute;

    /* Začínají hned pod přidaným paddingem */
    top: 0px; /* !!! Tato hodnota musí být STEJNÁ jako padding-top u .programme-main !!! */
    left: 0;

    width: 100%;
    /* Výška je dopočítána tak, aby vyplnila zbytek místa pod menu */
    height: calc(90vh - 0px); /* !!! Zde musí být také STEJNÁ hodnota jako padding-top !!! */

    /* Nastavení vnitřního layoutu pro každý program */
    display: flex;
    flex-direction: row; /* Obsah uvnitř .view (text a obrázky) je vedle sebe */
    align-items: center;
    justify-content: space-between;

    /* Sjednocená animace: vysunutí zespodu a zprůhlednění */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;

    /* Důležité: Neaktivní pohledy jsou "neviditelné" pro myš */
    pointer-events: none;
  }

  .view.active {
    opacity: 1;
    z-index: 2; /* Aktivní pohled je vždy navrchu */
    pointer-events: auto; /* Aktivní pohled je klikatelný */
  }


  .programme-main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 640px;
    text-align: center;
    align-items: center;
    z-index: 2;
    margin-right: 0;
    box-sizing: border-box;
    max-width: none;
    margin: 0 auto;
  }

  .programme-buttons {
    display: flex;
    justify-content: center;
    width: 70%;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 100000;
  }

  .programme-but {
    background-color: white;
    border: 1px solid;
    border-radius: 25px;
    color: #009dfb;
    width: auto;
    padding: 5px 20px;
    margin: 0px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    z-index: 99999;
  }


  .programme-but:hover {
    background-color: #FB7600;
    color: white;
    border: 1px solid #009dfb;
    z-index: 99999;
  }


  .programme-main-container h1 {
    color: #009dfb;
    font-size: 120px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
  }

  .programme-main-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .programme-main-text .ikona-sipka {
    width: 20px;
    fill:#FB7600;
  }

  .programme-main-text h1 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
  }

  .floating-image {
    position: absolute;
    width: 175px;
    height: auto;
    user-select: none;
    will-change: transform;
    filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.2));
    transition: transform 0.2s ease-out;
    pointer-events: auto; /* Ponechte, aby se detekoval pohyb myši na obrázcích */
  }

  .floating-images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    /* KLÍČOVÁ ZMĚNA: Umožní proklik na prvky pod tímto kontejnerem */
    pointer-events: none;
  }

  /* footer.html*/

  .main-contact {
    width: 100%;
    height: 630px;
    background-image: none;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    position: relative;
  }


.contact-challenge {
    position: absolute;
    top: 150px;
    left: 78%;
    transform: rotate(20deg);
    font-family: 'Just Another Hand', cursive;
    font-size: 45px;
    color: #FB7600;
    font-weight: 400;
    z-index: 2;
}


  .contact-data-image {
    width: 80%;
  }

  .contact-data-image img {
    width: 100%;
  }

  .contact-data-text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .contact-data-text a {
    text-align: left;
    margin-top: 0px;
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 38px;
    margin-right: 80px;
    line-height: 1.1;
    list-style-type: none;
    text-decoration: none;
    color: black;
  }

  .contact-small {
    font-size: 22px;
    font-weight: 300;
  }


  /* aboutus.html */
  .aboutus-main {
    width: 100%;
    background-image: none;
    height: 660px;
    position: relative;
    overflow: hidden;
  }

  .aboutus-main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    text-align: center;
    align-items: center;
    margin: 0px auto;
  }

  .aboutus-main-container h1 {
    margin-top: 50px;
    color: #009dfb;
    font-size: 120px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    line-height: 0.9;
    position: relative;
  }

  .aboutus-main-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }



  .pan-kravata-img {
    position: absolute;
    bottom: -83px;
    left: 850px;
    width: 47%;
    z-index: 9999;
    margin: 0;
    padding: 0;
  }

  .aboutus-main-text h2 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
  }

.aboutus {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .aboutus-info {
    width: 100%;
    display: flex;
    justify-content: start;
    text-align: left;
    align-items: left;
  }

  .aboutus-info-2 {
    width: 100%;
    display: flex;
    justify-content: start;
    text-align: left;
    align-items: left;
  }

  .orange-line {
    border-bottom: 3px solid orange;
  }

  .aboutus-info p {
    font-family: 'DM Sans';
    font-weight: 300;
    font-size: 40px;
    width: 75%;
    margin-left: 50px;
    line-height: 1.2;
  }

  .aboutus-info-2 p {
    font-family: 'DM Sans';
    font-weight: 300;
    font-size: 40px;
    width: 100%;
    padding: 0px 50px;
    line-height: 1.2;
  }

  .aboutus-info-image {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;

  }

  .aboutus-info-image img {
    width: 94%;
    border-radius: 50px;
    height: 950px;
  }
  /*.foto-kouzelnik-pan-kravata_show {*/
  /*    border-radius: 50px;*/
  /*}*/

  .aboutus-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 100px 0px;
  }

  .aboutus-container-2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 100px auto;
  }

  .aboutus-container-text {
    display: flex;
    flex-direction: column;
    width: 50%;
    text-align: left;
    margin: 0px 50px;
  }

  .aboutus-container-text-2 {
    display: flex;
    flex-direction: column;
    width: 50%;
    text-align: left;
    margin: 0px 50px;
    padding-left: 50px;
  }

  .aboutus-container-text p {
    font-family: 'DM Sans';
    font-weight: 300;
    font-size: 40px;
    width: 95%;
    line-height: 1.2;
  }

  .aboutus-container-text-2 p {
    font-family: 'DM Sans';
    font-weight: 300;
    font-size: 40px;
    width: 100%;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .aboutus-container-text a {
    width: 180px;
    margin-top: 25px;
  }

  .aboutus-container-text button {
    margin-top: 20px;
    width: 225px;
    font-size: 12px;
    text-align: left;
  }

  .aboutus-container-image {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -50px;
  }

  .aboutus-container-image img {
    width: 100%;
    border-radius: 50px;
    height: 800px;
    object-fit: cover;
  }

  .aboutus-container-image-2 {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -50px;
  }

  .aboutus-container-image-2 img {
    width: 100%;
    border-radius: 50px;
    height: 800px;
    object-fit: cover;
    margin-left: 50px;
  }

  /* .aboutus */

.aboutus-main {
    width: 100%;
    background-image: none;
    height: 660px;
    position: relative;
    overflow: hidden;
  }

  .aboutus-main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    text-align: center;
    align-items: center;
    margin: 0px auto;
  }

  .aboutus-main-container h1 {
    margin-top: 50px;
    color: #009dfb;
    font-size: 120px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    line-height: 0.9;
    position: relative;
  }

  .aboutus-main-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  /* Třída pro obrázek, který je nyní mimo hlavní kontejner */
  .pan-kravata-img {
    position: absolute; /* Měníme zpět na absolute */
    bottom: -83px;
    left: 850px;
    width: 47%;
    z-index: 9999; /* Zůstává vysoký pro zobrazení nad navigací */
    margin: 0;
    padding: 0;
  }

  .aboutus-main-text h3 {
    color: #009dfb;
    font-family: 'Just Another Hand';
    font-size: 48px;
    font-weight: 400;
    transform: rotate(-1deg);
    border-bottom: 3px solid orange;
  }

/*  .cookie-banner {*/
/*    display: none; !* Ve výchozím stavu je skrytá *!*/
/*    position: fixed;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    background-color: #333;*/
/*    color: white;*/
/*    padding: 15px;*/
/*    box-sizing: border-box;*/
/*    z-index: 10000;*/
/*    align-items: center;*/
/*    gap: 20px;*/
/*}*/



.cookie-banner {
    display: none; /* Ve výchozím stavu je skrytá */
    position: fixed;
    bottom: 0;
    right: 0;
    /*display: flex;*/
    flex-direction: column;
    justify-content: flex-end;
    background-color: white;
    box-shadow: 15px 0 30px -5px rgba(0, 0, 0, 0.15), 0 -15px 30px 0px rgba(0, 0, 0, 0.15);
    border-radius: 75px 75px 0px 0px;
    width: 50%;
  z-index: 100051;
    padding-bottom: 25px;
}
.cookie-banner-show {
    display: flex!important; /* Třída .show ji zviditelní */
}

.cookie-banner h2 {
    color: #009dfb;
    font-size: 72px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    margin: 50px 50px -25px 50px;
}

.cookie-banner p {
    font-size: 20px;
    font-weight: 300;
    padding: 25px 50px;
    width: 90%;
}

.cookies-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
    -webkit-backface-visibility: hidden;
    background-color: white;
    border: 2px solid #FB7600;
    color: black;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 15px;
    margin-left: 50px;
    cursor: pointer;
    transition: color 0.4s;
    width: 27%;
}

.cookies-button span {
    position: relative;
    z-index: 2;
}

.cookies-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FB7600;
    z-index: 1;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}

.cookies-button:hover {
    color: black;
}

.cookies-button:hover::before {
    transform: translateY(0);
}

@media (max-width: 1023px) {
    .performance-blog-desktop {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .performance-blog-mobile {
        display: none;
    }
}


@media(min-width: 1820px) {
  .aboutus-container-text-2 p {
    font-family: 'DM Sans';
    font-weight: 300;
    font-size: 50px;
    width: 100%;
    line-height: 1.2;
    letter-spacing: 0;
  }
}


@media(min-width: 1441px) and (max-width: 1819px) {
  .aboutus-container-text-2 p {
    font-size: 40px !important;
  }

  .aboutus-info p{
    font-size: 40px !important;
  }

  .aboutus-container-text p{
    font-size: 40px !important;
  }

  .aboutus-info-2 p{
    font-size: 40px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .aboutus-container-text-2 p {
    font-size: 32px !important;
  }

  .aboutus-info p{
    font-size: 32px !important;
  }

  .aboutus-container-text p{
    font-size: 32px !important;
  }

  .aboutus-info-2 p{
    font-size: 32px !important;
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
    .aboutus-container-text-2 p {
    font-size: 30px !important;
  }

  .aboutus-info p{
    font-size: 30px !important;
  }

  .aboutus-container-text p{
    font-size: 30px !important;
  }

  .aboutus-info-2 p{
    font-size: 30px !important;
  }
}

@media screen and (min-width: 431px) and (max-width: 768px) {
    .aboutus-container-text-2 p {
    font-size: 24px !important;
  }

  .aboutus-info p{
    font-size: 24px !important;
  }

  .aboutus-container-text p{
    font-size: 24px !important;
  }

  .aboutus-info-2 p{
    font-size: 24px !important;
  }

}

@media screen and (min-width: 376px) and (max-width: 430px) {
    .aboutus-container-text-2 p {
    font-size: 20px !important;
  }

  .aboutus-info p{
    font-size: 20px !important;
  }

  .aboutus-container-text p{
    font-size: 20px !important;
  }

  .aboutus-info-2 p{
    font-size: 20px !important;
  }
}


.animated-button .button-text {
    white-space: nowrap !important;
}

@media (min-width: 1025Px) and (max-width: 1440px) {
.footer-text{
  margin-right: 5% !important;
}

.footer-info{
  margin-left: 5% !important;
}

.aboutus-info, .aboutus-info-2, .aboutus-container, .aboutus-container-2, .aboutus-info-image{
  width: 90% !important;
}

.aboutus-container {
    margin-top: 40px;
}
}


.references-users p.reference{

}


@media (min-width: 320px) and (max-width: 767px) {
    .references-users p.reference {
        font-size: 16px;
        margin-bottom: 20px;
        color: black;
        padding: 0 20px;
    }
}

@media screen and (min-width: 376px) and (max-width: 430px) {
    .references-users p.reference {
        font-size: 14px;
        margin-bottom: 15px;
        color: black;
    }
}


.references-users p.reference {
    margin-top: 40px;
    color: #009dfb;
    font-size: 72px;
    font-family: 'Luckiest Guy';
    font-weight: 400;
    left: unset !important;
    bottom: unset !important;
    position: unset !important;
    right: unset !important;
    top: unset !important;
}


.references-users p.reference {
    font-family: 'DM Sans';
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    margin-bottom: 20px;
    color: black;
}


@media screen and (min-width: 376px) and (max-width: 430px) {
    .references-container h2 {
        font-size: 42px;
        width: 90%;
    }
}



@media screen and (min-width: 1441px) and (max-width: 2560px) {
.index-video-galery video {
    width: 95%;
    border-radius: 25px;
}
}



@media (min-width: 769px) and (max-width: 1024px) {
 .index-video-galery video {
    width: 86%;
    border-radius: 25px;
}


}



@media(max-width: 1024Px){
  main:not(.error-page, .main-contact, .references-main, .fotogalery-main, .aboutus-main) {
    width: 100%;
    background-image: url('/images/kresba_pozadi_homepage_kouzelnik_pan_kravata.webp');
    background-size: cover;
    background-repeat: no-repeat;
    height: 481px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

}



@media(max-width: 768px){
.performance-blog-info-container-third::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/kouzelnik_pan_kravata_moderator.jpg");
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  z-index: -1;
}
}


        .animated-button2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    background: #009dfb;
    border-radius: 999px;
    color: white;
    text-decoration: none;
    overflow: hidden;
    font-family: 'DM Sans';
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
}


.animated-button2.contact-btn-header{
  padding: 10px 20px 8px 20px;
}

.animated-button2.contact-btn-header .btn-icon2 svg {
        width: 14px;
        padding: 4px;
    }

.btn-text2 {
    white-space: nowrap;
}

.btn-icon2 svg {
    width: 14px;
    padding: 6px;
    background: white;
    border-radius: 50%;
    fill: #009dfb;
    transform: rotate(-45deg);
}

.js-animating .btn-icon2 {
    transition: transform 0.4s ease;
}

@media (max-width: 1200px) {
    .animated-button2.contact-btn-header {
        gap: 8px;
        padding: 8px 16px;
        font-size: 12px;
    }

    .animated-button2.contact-btn-header .btn-text2 {
        font-size: 12px;
    }

    .btn-icon2 svg {
        width: 12px;
        padding: 5px;
    }
}

@media (max-width: 768px) {
    .animated-button2.contact-btn-header {
        gap: 6px;
        padding: 6px 12px;
        font-size: 11px;
    }

    .animated-button2.contact-btn-header .btn-text2 {
        font-size: 10px;
    }

    .animated-button2.contact-btn-header .btn-icon2 svg {
        width: 10px;
        padding: 4px;
    }

    .performance-blog-links a {
    height: auto !important;
}

.animated-button2{
  font-size: 12px !important;
}

.button-sipka {
    width: 12px !important;
}

.performance-blog-links a{
  margin: 0 !important;
}

.performance-container a {
    margin-top: 0 !important;
}

.performance-blog-links{
  margin-bottom: 20px !important;
}

.index-aboutus-banner-text > a{
  margin-top: 0 !important;
}

.social-container a {
    margin: 10px 0;
}
}



@media (min-width: 2561px) {
main:not(.error-page, .main-contact, .references-main, .fotogalery-main, .aboutus-main) {
    width: 100%;
    background-image: url(/images/kresba_pozadi_homepage_kouzelnik_pan_kravata.webp);
    background-size: cover;
    background-repeat: no-repeat;
    height: 1440px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


.main-image > img {
    height: calc(100%) !important;
    bottom: 0 !important;
}


.performance-blog {
    gap: 80px !important;
    width: 80% !important;
}


.performance-blog-info-container p {
    font-size: 40px;
}

.performance-blog-info-1 > img {
    width: 100% !important;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    margin-bottom: -2.2vw;
}

.performance-blog-info{
  width: 40% !important;
  margin-left: 0 !important;
}

.performance {
    width: 100%;
    margin: 100px auto;
    display: flex;
    justify-content: center;
}

.performance-blog-info-last > img{
    width: 100% !important;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    margin-bottom: -2.2vw !important;
    top: calc(58px - 1.4vw);
}

.performance-blog-info-container-second{
  width: 60% !important;
}


div.performance-blog-info.performance-blog-info-last{
  width: 40% !important;
}

div.performance-blog-info-container-third{
  width: 60% !important;
}
.performance-blog-info-last > img {
    top: calc(58px - 1.4vw) !important;
}
.image-collage {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 395px;
    gap: 50px;
    max-width: 100%;
    margin-top: 20px;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.5s ease;
}


.instagram-item img{
  max-height: 620px !important;
}

.instagram-video-wrapper,.instagram-video-wrapper {
    max-height: 100% !important;
}

.social-images a{
  max-height: 100% !important;
}


.schedule-title, .schedule-title-2, .schedule-title-3, .schedule-title-4 {
    justify-content: center !important;
}

.schedule-orange {
    top: 5.5em !important;
    left: 7.6em !important;
}

.schedule-title h3{
  font-size: 100px !important;
}

.schedule-title p {
    font-size: 30px !important;
}


.schedule-clocks {
    margin-top: 30px !important;
    font-size: 25px !important;
}

.schedule-clocks .clock {
    width: 60px !important; 
    margin-right: 15px !important;
}

.aboutus-main {
        width: 100%;
        background-image: none;
        height: 100vh;
        position: relative;
        overflow: hidden;
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }


    .aboutus-main-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 50%;
        text-align: center;
        align-items: center;
        margin: 0px auto;
    }

        .pan-kravata-img {
        position: absolute;
        bottom: -220px;
        left: 55%;
        width: 50%;
        z-index: 9999;
        margin: 0;
        padding: 0;
    }


    .references-user-container{
    width: 30% !important;
    }

    .references-users p.reference{
    font-size: 22px !important;
    }

    .references-user-container p.author{
      font-size: 18px !important;
    }


    .animated-button2, .performance-blog-links a {
    padding: 20px 50px !important;
    font-size: 20px !important;
    width: fit-content !important;
}

.btn-icon2 svg, .button-sipka {
    width: 20px !important;
    padding: 10px !important;
}

nav{
  height: 120px !important;
}

.ikona-sipecka{
  width: 38px !important;
  height: 38px !important;
}

.nav-identity a img {
    width: 150px !important;
    display: block;
    margin-bottom: -150px !important;
}

.hamburger-menu{
  width: 50px !important;
  height: 50px !important;
}

.identity {
    width: 10% !important;
    padding: 1px;
    margin-left: 20px !important;
}

.nav-icons h2 {
    font-size: 50px !important;
    margin-left: 20px !important;
}

.sidebar{
  top: 120px !important;
}
}