@media screen and (max-width: 320px) {

    /* navigační menu */
    header {
        margin-top: 60px;
      }
    
      nav {
        justify-content: center;
        max-width: 320px;
        width: 100%;
        margin: 0px;
        padding: 0px;
      }
    
      .nav-icons {
        width: auto;
        justify-content: flex-start;
        padding-left: 0;
        margin: 0px 5px;
      }
    
      .nav-icons img {
        width: 20px;
      }
    
      .nav-icons h2 {
        font-size: 24px;
        margin-left: 3px;
      }
    
      .hamburger-menu {
        background-color: #009dfb;
        border-radius: 50%;
        width: 20px;
          height: 20px;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 10px;
          position: relative;
          overflow: visible;
          cursor: pointer;
          z-index: 1001;
        }

        .hamburger-menu.active {
          background-color: white;
          /* Zruší jakoukoliv animaci při přechodu na bílou */
          transition: none; 
      }
        
        .hamburger-menu path {
          fill: white;
          transition: transform 0.3s ease, fill 0.3s ease;
          transform-origin: center;
        }

        .hamburger-menu.active path {
          fill: #009dfb; /* Barva původního pozadí */
      }
        
    
      .identity {
        width: 20%;
      }
    
      .nav-identity {
        width: auto;
        margin: 0;
      }
      
      .nav-identity img {
        width: 100px;
        margin-bottom: 0px;
      }
    
      .nav-button {
        width: auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-right: 5px;
      }
      
      .nav-button .animated-button {
        width:85px;
        height: 26px;
        padding: 0px 5px;
        display: flex;
        justify-content: space-between;
        gap: -20px;
      }
      
      .nav-button .button-text {
        font-size: 10px;
        margin-left: 3px;
      }

      .button-sipka-modra {
        width: 40px;         
        margin-left: 3px;
        padding: 3px;
        border-radius: 50%;
        margin-right: 3px;
      }
    
      .sidebar {
        width: 0;
        top: 0;
        padding-top: 10px;
        text-align: center;
        margin-top: 100px;
      }

      #menu-toggle-btn {
        position: relative; 
        z-index: 101; 
      }
    
      .sidebar.open {
        width: 100%;
    }
    
      .sidebar a {
        padding: 0px;
        font-size: 20px;
        line-height: 1;
        padding: 1px 15px;
        margin-top: 10px;
      }
    
      .aside-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin-top: 80px;
        margin-bottom: 0px;
      }
    
      .aside-social-icons {
        width: 100%;
        justify-content: flex-start;
        margin-left: 10px;
        margin-bottom: 20px;
      }
      
      .aside-social-icons a {
        padding: 5px;
      }
    
      .aside-social-icons i {
        font-size: 24px;
      }
    
      .aside-info {
        width: 100%;
        text-align: center;
        margin-top: -50px;
      }
      
      .aside-info p {
        font-size: 24px;
        margin: 5px 0;
      }

      .sidebar {
        width: 0; 
        top: 0;
        padding-top: 10px;
        text-align: center;
        margin-top: 100px;
}

.sidebar.open {
  width: 100%;
}

.sidebar a {
    padding: 0px;
    font-size: 20px;
    line-height: 1;
    padding: 1px 15px;
    margin-top: 5px;
}

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

.aside-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 0px;
}

.aside-social-icons {
    width: 100%;
    justify-content: flex-start;
    margin-left: 10px;
    margin-bottom: 20px;
}

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

  .aside-social-icons i {
    font-size: 22px;
  }

  .aside-info {
    width: 100%;
    text-align: center;
    margin-top: -50px;
  }
  
  .aside-info p {
    font-size: 22px;
    margin: 5px 0;
  }

  body {
    padding: 0;
    max-width: 320px;
    width: 320px;
  }

  p {
      text-align: left;
  }

  main {
    max-width: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* TOTO PONECHÁME */
    min-height: 50vh;
    padding-top: 100px;
  }
  
  .main-text {
    width: 99%;
    line-height: 1;
    /* Zjednodušeno - flex zde není nutný */
    text-align: left;
    margin: 0 auto; /* ODSTRANĚNO: Pevný horní a dolní margin */
  }
  
  /* Zbytek kódu pro .main-text h1 a spany zůstává stejný... */
  .main-text h1 {
    font-size: 10px;
    width: 90%;
    margin-left: 0px;
  }
  .main-orange-text {
    font-size: 48px;
  }
  .main-white-text {
    font-size: 32px;
  }
  
  .main-image {
    width: 100%;
    /* Odstraníme zde margin-bottom: auto; pokud byl */
    display: flex; /* Důležité: Nyní se chová jako flex kontejner */
    justify-content: center; /* Vycentruje obrázek horizontálně */
    align-items: flex-end; /* Přilepí obrázek na spodek */
  }

  .main-image img {
    /* ÚPRAVY JSOU HLAVNĚ ZDE */
    width: 100%; /* Ponecháme 100% šířku kontejneru .main-image */
    height: auto; /* Důležité: Zachová proporce */
    display: block;
    
    /* KLÍČOVÉ: Přesah obrázku */
    transform: translateY(-15%); /* Posune obrázek o 15% vlastní výšky směrem dolů.
                                   Experimentujte s hodnotou, dokud nebude loket sedět. */
    object-fit: cover; /* Důležité: Zajistí, že obrázek vždy pokryje oblast a ořízne se */
    object-position: center bottom; /* Zajistí, že spodní část obrázku je vždy vidět */
  }
    
      .rabbit-container-left {
        display: none;
      }

      .rabbit-container-right {
        display: none;
      }

      .rabbit-container-bottom {
        display: none;
      }

      .photogalery-container {
        width: 100%;
      }

      .photogalery-container h1 {
        font-size: 42px;
      }

      .photogalery-text h2 {
            
        font-size: 24px;
        
      }

      .social-text {
        gap: 0px;
      }

      .social-text h2 {
        gap: 0px;
        font-size: 24px;
      }

      .social-container {
        display: flex;
        flex-direction: column;
      }

      .social-container h1 {
        font-size: 42px;  
      }

      .social-images img {
        width: 280px;
        gap: 0px;
      }

      .index-aboutus-container h1 {
        font-size: 42px;
        margin: 30px 10px 50px 10px;
      }

      .index-aboutus-container h2 {
        font-size: 24px;
        margin: 10px;
      }

      .index-aboutus-text {
        gap: 0px;
      }

      .index-aboutus-banner img {
        height: 200px;
        object-fit: cover;
        width: 95%;
      }

      .index-aboutus-banner-text a {
        margin-left: 10px;
      }

      .index-aboutus-banner-text p {
        align-items: flex-start;
        text-align: left;
        margin: 20px;
        font-size: 14px;
      }

      .performance-container h1 {
        font-size: 48px;
      }

      .performance-text {
        gap: 0px;
      }

      .performance-text h2 {
        font-size: 42px;
      }

      .performance-blog {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 50px;
        margin: 20px;
      }


      .performance-blog-info img {
        width: 200px;
        margin-top: auto;
      }

      .performance-blog-info,
    .performance-blog-info-container-second,
    .performance-blog-info-container-third {
        width: 90%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin: 0px auto;
    }
      
      .performance-blog-info-container {
        width: 100%;
        
      }

      .performance-blog-info-container p {
        width: 80%;
        font-size: 24px;
        margin-bottom: 20px;
        margin-top: -20px;
      }

      button {
        max-width: 100%;
        font-size: 14px;
        padding: 10px 15px;
        justify-content: center;
      }

      .hidden-on-mobile {
        display: none;
      }

    /* index */
    
    
      .image-collage {
        display: flex;
        flex-direction: column;
        width: 95%;
      }

      .image-collage .item-1 { order: 1; }
    .image-collage .item-2 { order: 2; }
    .image-collage .item-5 { order: 3; } /* <-- Zde posouváme video na 3. pozici */
    .image-collage .item-3 { order: 4; }
    .image-collage .item-4 { order: 5; }
  .image-collage .item-6 { order: 6; }
    
      .photogalery-links {
        width: 70%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0px auto;
        margin-bottom: 50px;
        gap: 10px;
      }
    

      /* references.html */
      .references-main {
        display: flex;
        justify-content: center;
        margin: 50px auto;
        height: 400px;
        }
  
        .references-main-container {
          width: 100%;
        }
  
        .references-main-container h1 {
          font-size: 42px;
        }
  
        .references-main-text {
          gap: 10px;
        }

        .references-container h1 {
            font-size: 42px;
        }
    
          .references-text {
            gap: 0px;
        }
    
          .references-text h2 {
            font-size: 24px;
        }
        .references {
            margin-bottom: 50px;
          }
        
          .references-logo {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: scroll;
            justify-content: flex-start;
            margin-bottom: 30px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
            width: 100%;
          }
        
          .references-logo img {
            flex: 0 0 calc(100% / 3.5);
            height: auto;
            padding: 5px;
            margin: 5px;
          }
        
          .references-users {
            flex-direction: column;
            align-items: center;
            width: 95%;
            margin: 0 auto;
            margin-bottom: 20px;
          }
    
          .corner-img {
            width: 20px;
          }
          
          .top-left {
            top: -5px;
            left: -5px;
          }
          
          .bottom-right {
            bottom: -5px;
            right: -5px;
          }
        
          .references-main-text h2 {
            font-size: 24px;
            border-bottom: 2px solid orange;
          }
        
          .headline-wrapper {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            margin-top: 20px;
          }
        
          .headline-wrapper h1 {
            font-size: 42px;
            line-height: 1.2;
            margin: 10px 0;
          }
          
          .references-img {
            display: none;
          }
          
          .references-top-right {
            top: 0px;
            right: 35px;
            transform: rotate(180deg);
          }
          
          .references-bottom-left {
            left: 50px;
            bottom: -10px;
          }
        
        .references-users {
          flex-direction: column;
          justify-content: center;
          align-items: center;
          width: 95%;
          margin: 0 auto;
          margin-bottom: 20px;
        }
        
        .references-user-container {
          max-width: 320px;
          width: 80%;
          max-height: none;
          margin-bottom: 30px;
          padding: 30px 20px;
        }
        
        .references-user-container h2 {
          font-size: 14px;
          margin-bottom: 15px;
        }
        
        .references-user-container p {
          bottom: 10px;
          right: 20px;
          font-size: 12px;
        }
      /* videogalerie.html */

      .references-main {
        display: flex;
        justify-content: center;
        margin: 50px auto;
        height: auto;
        }

    .references-main-container {
        width: 100%;
        margin-top: 100px;
      }

      .references-main-text {
        gap: 10px;
      }

    .video-galery {
        width: 100%;
    }

    .video-galery-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 90%;
    }

    .video-galery-single {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .video-player-container {
        position: relative;
        width: 100%;
        padding-bottom: 75%;
        height: 0;
        overflow: hidden;
    }
          
    .video-player-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }



    .video-wrapper img {
      /* 2. Vyjmeme obrázek z normálního toku dokumentu */
      position: absolute; 
      
      /* 3. Vyladíme pozici obrázku vůči spanu (rodiči) */
      /* Toto jsou příklady hodnot - budete si je muset doladit! */
      top: 5px;      /* Posun od horního okraje spanu */
      left: 42px;     /* Posun od levého okraje spanu */
      width: 60px;    /* Pevná šířka obrázku kamery */
      
      /* 4. Zajistíme, aby obrázek nepřekrýval text a nebyl klikatelný */
      z-index: -1;
    }

      .video-galery-vimeo {
        padding-bottom: 20px;
        gap: 15px;
        flex-direction: column;
        align-items: center;
      }

      .video-galery-youtube {
        margin: 0px auto;
        width: 90%;
      }
    
      .vimeo-container {
        width: 95%;
        max-width: none;
      }
    
      .vimeo-container iframe {
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      }

      /* fotogalery.html*/
      .fotogalery-main {
        height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        max-width: 320px;
      }
    
      .fotogalery-main-container {
        width: 100%;
       margin: 50px 0px;
      }
    
      .fotogalery-main-text {
        text-align: center;
        gap: 0px;
      }
      
      .fotogalery-main-text h2 {
        font-size: 24px;
        border-bottom: 2px solid orange;
        transform: none;
        text-align: center;
      }
      
      .ikona-sipka {
        width: 50px;
        margin: 0px;
      }
      
      .main-title-container {
        height: 120px;
        margin-top: 20px;
    }
    
    .main-title-container h1, 
    h1.galerie {
        font-size: 62px;
        line-height: 0.8;
        position: static;
        transform: none;
        text-align: center;
        margin: 0;
        line-height: 1.1;
    }
    
    h1.galerie {
        margin-top: -10px;
    }

    /*
    .smiley-r {
        display: none;
    }
    */

    .fotogalery-main-container > img {
      position: absolute;
      width: 100px;
      top: 66%;
      left: 52%;
      transform: translate(-50%, -50%);
      z-index: 2;
    }
    
    .fotogalery-container {
      width: 85%;
      padding-left: 20px;
      padding-right: 20px;
    }
    
    .fotogalery-single {
      width: 100%;
      border-radius: 30px;
    }
    
    .fotogalery-single img {
      height: 300px;
      border-radius: 30px;
    }
    
    .fotogalery-double-container {
      flex-direction: column; 
      gap: 20px;
      margin-top: 20px;
      margin-bottom: 20px;
    }
    
    .fotogalery-double-first,
    .fotogalery-double-second {
      width: 100%;
      margin: 0; 
      height: 250px;
      border-radius: 30px;
    }
    
    .fotogalery-double-first img,
    .fotogalery-double-second img {
      border-radius: 30px;
    }
    
    .fotogalery-triple-container {
      flex-direction: column;
      height: auto; 
      gap: 20px;
      margin-bottom: 20px;
    }
    
    .triple-double-column,
    .triple-single-column {
      width: 100%;
      margin: 0;
    }
    
    .triple-double-column {
      gap: 20px;
    }
    
    .triple-single-column {
     height: 350px;
    }
    
    .triple-item {
      border-radius: 30px;
    }
    
    .triple-item img {
      border-radius: 30px;
    }
    
    .triple-item-large {
      margin: 0;
      height: 100%;
    }

    /* programme.html */

    .programme-main-container {
      display: flex;
      justify-content: center;
      width: 100%;
    }

    .programme-main-container h1 {
      margin-top: 40px;
      font-size: 42px;
      
    }

    .scroll-navigation {
      position: fixed;
      left: 0;
      bottom: 0;
      top: auto;
      transform: none;
      width: 100%;
      height: 60px;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      gap: 0;
      z-index: 100;
      background-color: white;
      margin: 0;
    }
  
    .arrow-container {
      width: 50px;
      height: 50px;
      background-color: #009dfb;
      display: flex;
      justify-content: center;
      text-align: center;
    }
  
    .arrow-up, .arrow-down {
      width: 25px;
      height: auto;
      margin-bottom: 0px;
    }
  
    .arrow-up {
      transform: rotate(180deg);
    }
  
    .arrow-down {
      transform: rotate(0deg);
    }
  
    .scroll-bar-container {
      transform: rotate(-90deg);
      height: 200px;
    }

    .programme-main-text {
      gap: 5px;
    }
  
    .programme-main-text h2 {
      font-size: 18px;
      width: 85%;
    }
  
    .programme-buttons {
      display: flex;
      flex-direction: row;
      width: 100%;
    }
  
    .programme-but {
      width: 130px;
      font-size: 10px;
      display: flex;
      justify-content: center;
    }
  
    .floating-images-container {
      display: none;
    }
  
    #schedule-view {
      flex-direction: column;
      height: auto;
      padding: 20px 0;
    }
  
    #schedule-view-2 {
    height: auto;
  }
  
  #schedule-view-3 {
    height: auto;
  }
  
  #schedule-view-4 {
    height: auto;
  }
  
  #schedule-view-5 {
    height: auto;
  }
  
  #schedule-view-6 {
    height: auto;
  }
  
  #schedule-view-7 {
    height: auto;
  }
  
  #schedule-view-8 {
    height: auto;
  }
  
  #schedule-view-9 {
    height: auto;
  }
  
  #schedule-view-10 {
    height: auto;
  }
  
  #schedule-view-11 {
    height: auto;
  }
    
    .view {
      display: flex;
      flex-direction: column;
      height: auto;
      width: 100%;
      overflow: hidden;
    }
    
    .schedule-title,
    .schedule-title-2,
    .schedule-title-3,
    .schedule-title-4 {
      width: 100%;
      text-align: center;
      padding: 0 15px;
      margin-top: 50px;
    }
  
    .schedule-title h2,
    .schedule-title-2 h2,
    .schedule-title-3 h2,
    .schedule-title-4 h2 {
      font-size: 42px;
      margin: 0;
      text-align: left;
    }
    
    .schedule-icon {
      width: 15%;
      margin-left: 10px;
    }
  
    .schedule-orange {
      font-size: 48px;
      margin: 10px 0;
      top: 2em;
      left: 1em;
      }
  
    .schedule-title p,
    .schedule-title-2 p,
    .schedule-title-3 p,
    .schedule-title-4 p {
      font-size: 14px;
      width: 100%;
      margin: 15px 0;
    }
    
    .schedule-clocks {
      align-items: center;
      margin: 5px 0;
      text-align: center;
      font-size: 12px;
    }
    
    .schedule-clocks .clock,
    .schedule-clocks img {
      width: 25px;
      margin: 5px 5px;
    }
    
    .schedule-clocks p {
      font-size: 24px;
      width: auto;
      margin: 5px 5px;
    }
  
    .schedule-image-container {
      width: 100%;
      margin: 20px 0;
      padding: 0 15px;
    }
  
    .schedule-image-double {
      flex-direction: row;
      height: auto;
      gap: 10px;
    }
  
    .image-1, .image-2 {
      width: 100%;
      height: 150px;
    }
  
    .schedule-image-single {
      display: none;
    }


    /* contact.html */
    .main-contact {
      width: 100%;
      height: auto;
      flex-direction: column;
      align-items: flex-start;
      margin-top: -100px;
      height: 50vh;
    }

    .contact-title {
      width: 100%;
      height: 250px;
      position: relative;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      order: 3;
      margin-top: -50px;
    }
  
    .contact-challenge {
      position: absolute;
      top: 50px;
      left: 50%;
      transform: translateX(-50%) rotate(-5deg);
      font-size: 72px;
      text-align: center;
      width: 100%;
    }
  
    .contact-name {
      writing-mode: initial;
      transform: none;
      font-size: 96px;
      line-height: 1;
      text-align: left;
      margin: 0;
    }
  
    .contact-data {
      width: 100%;
      flex-direction: column;
      text-align: center;
      align-items: flex-start;
      padding-left: 5px;
      order: 1;
      margin-top: 50px;
    }
    
    .contact-data-text {
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
    }
  
    .contact-data-text a {
      text-align: left;
      margin: 10px 0;
      font-size: 24px;
      line-height: 1.1;
    }
    
    .contact-small {
      font-size: 16px;
    }
  
    .contact-data-image {
      width: 320px;
      height: 200px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin: 0px auto;
      order: 2;
    }

    /* aboutus.html */

    .aboutus-main {
      width: 100%;
      height: 51vh;
      display: flex;
      flex-direction: column;
    }

    .aboutus-main-container {
      width: 90%;
      margin: 150px auto;
      z-index: 1;
    }
  
    .aboutus-main-text {
      align-items: center;
      gap: 0px;
      z-index: 1;
    }
    
    .aboutus-main-text h2 {
      font-size: 36px;
      transform: none;
      text-align: center;
      border-bottom: 2px solid orange;
    }
    
    .ikona-sipka {
      width: 30px;
    }
    
    .aboutus-main-container h1 {
      margin-top: 10px;
      font-size: 72px;
      line-height: 1;
      text-align: center;
      z-index: 1;
    }
  
    .pan-kravata-img {
      position: relative;
      width: 90%;
      display: flex;
      margin: 20px auto 0;
      margin-top: -335px;
      bottom: 0px; 
      left: 0px; 
      z-index: 2;
    }
  
    .aboutus {
      width: 100%;
      display: flex;
      flex-direction: column;
    }
  
    .aboutus-info,
    .aboutus-info-2 {
      width: 95%;
      display: flex;
      padding: 0 10px;
      margin: 10px 0;
      justify-content: center;

    }
  
    .aboutus-info p,
    .aboutus-info-2 p {
      font-size: 18px;
      width: 100%;
      margin-left: 10px;
      padding: 0;
      line-height: 1.4;
      text-align: left;
      align-items: left;
    }

    .aboutus-container {
      flex-direction: column;
      width: 95%;
      margin: 0px 0px 30px 0px;
      padding: 0 10px;
    }

    .aboutus-container-2 {
      flex-direction: column;
      width: 95%;
      margin: 0px 0px 30px 0px;
      padding: 0 10px;
    }
  
    .aboutus-container-text {
      width: 90%;
      margin: 0;
    }

    .aboutus-container-text-2 {
      width: 90%;
      margin: 0;
      padding: 0px;
    }
  
    .aboutus-container-text p {
      font-size: 18px;
      width: 100%;
      padding: 10px;
      line-height: 1.4;
      margin: 15px 10px 15px 10px;
      letter-spacing: normal;
    }

    .aboutus-container-text-2 p {
      font-size: 18px;
      width: 100%;
      padding: 10px;
      line-height: 1.4;
      margin: 15px 10px 15px 10px;
      letter-spacing: normal;
    }
  
    .aboutus-container-text a {
      width: 175px;
      margin-top: 15px;
      margin-bottom: 20px;
      margin-left: 15px;
    }
  
    .aboutus-container-image {
      width: 90%;
      margin: 20px 0 0 0;
      padding: 0 10px;
    }

    .aboutus-container-image-2 {
      width: 90%;
      margin: 20px 0 0 0;
      padding: 0px;
    }
  
    .responsivni-br {
      display: none;
    }
  
    .aboutus-container-image img {
      width: 100%;
      height: 200px;
    }

    .aboutus-container-image-2 img {
      width: 100%;
      height: 200px;
      margin-left: 20px;
    }
  
    .aboutus-info-image {
      width: 95%;
      margin-top: 20px;
      padding: 0 10px;
      border-radius: 50px;
    }
  
    .aboutus-info-image img {
      width: 95%;
      border-radius: 50px;
      height: 200px;
    }
  
    .aboutus-info-2 p {
      padding: 0 10px;
    }

    /* footer */
    footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
      border-radius: 30px 30px 0px 0px;
    }
  
    .footer-info,
    .footer-identity,
    .footer-text {
      width: 100%;
      margin: 20px 0;
      margin-left: 0;
      margin-right: 0;
      align-items: center;
      text-align: center;
    }
  
    .footer-info img,
    .footer-identity img {
      max-width: 90%;
      height: auto;
      margin-top: 15px;
    }
  
    .footer-text button {
      margin-left: 0;
      margin-top: 10px;
    }
  
    .footer-email a {
      font-size: 22px;
    }
  
    .footer-email {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 6px;
      margin-top: 10px;
      text-align: center;
    }
  
    .text-blue,
    .text-orange {
      font-size: 38px;
    }
  
    .technical-text a {
      font-size: 14px;
    }

    .technical-text p {
      font-size: 14px;
    }
  
    .footer-social-icons i {
      font-size: 22px;
    }

    .footer-container {
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 40px 40px 0 0; 
  margin-top: 0; 
}

.footer-info {
  width: 100%;
  margin: 20px 0 0 0;
  align-items: center;
  text-align: center;
  order: 2;
}

.text-blue,
.text-orange {
  font-size: 48px;
  transform: rotate(0deg);
}

.text-blue {
    margin-bottom: 0;
}

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

.footer-identity {
  width: 100%;
  justify-content: center;
  align-items: center;
  order: 1;
}

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

.footer-text {
  width: 100%;
  margin-top: 0px;
  align-items: center;
  text-align: center;
  order: 3;
}

.footer-text a {
  margin: 0px auto;
}

.footer-email a {
  font-size: 22px;
  white-space: nowrap;
  width: 100%;
  line-height: 0.9;
  margin-top: 15px;
}

.footer-social-icons {
  margin-top: 15px;
}

.technical-text {
  margin-top: 5px;
  margin-bottom: 10px;
}

.technical-text a {
  font-size: 18px;
}

.footer-copyright {
  flex-direction: column; 
  align-items: center;
  margin: 10px;
  text-align: center;
}

.footer-copyright p {
  margin: 5px auto;
  font-size: 16px;
  order: 2;
  text-align: center;
}

.skybert-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  order: 1;
}

.skybert-logo img {
  width: 200px;
} 

}
    
    @media screen and (min-width: 321px) and (max-width: 375px) {
        /* index */

        body {
          padding: 0;
          max-width: 375px;
        }
        
        header {
            margin-top: 60px;
          }
        
          nav {
            justify-content: space-between;
            max-width: 375px;
            width: 100%;
            margin: 0px;
            padding: 0px;
          }
        
          .nav-icons {
            width: auto;
            justify-content: flex-start;
            padding-left: 0;
            margin: 0px 5px;
          }
        
          .nav-icons img {
            width: 20px;
          }
        
          .nav-icons h2 {
            font-size: 24px;
            margin-left: 3px;
          }
        
          .hamburger-menu {
            background-color: #009dfb;
            border-radius: 50%;
            width: 20px;
              height: 20px;
              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;
            }
        
          .identity {
            width: 20%;
          }
        
          .nav-identity {
            width: auto;
            margin: 0;
          }
          
          .nav-identity img {
            width: 100px;
            margin-bottom: 0px;
          }
        
          .nav-button {
            width: auto;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-right: 5px;
          }
          
          .nav-button .animated-button {
            width:85px;
            height: 26px;
            padding: 0px 5px;
            display: flex;
            justify-content: space-between;
            gap: -20px;
          }
          
          .nav-button .button-text {
            font-size: 10px;
            margin-left: 3px;
          }
      
          .button-sipka-modra {
            width: 40px;         
            margin-left: 3px;
            padding: 3px;
            border-radius: 50%;
            margin-right: 3px;
          }
        
          .sidebar {
            width: 0;
            top: 0;
            padding-top: 10px;
            text-align: center;
            margin-top: 100px;
          }

          #menu-toggle-btn {
            position: relative; 
            z-index: 101; 
          }
        
          .sidebar.open {
            width: 100%;
        }
        
          .sidebar a {
            padding: 0px;
            font-size: 20px;
            line-height: 1;
            padding: 1px 15px;
            margin-top: 10px;
          }
        
          .aside-container {
            width: 100%;
            display: flex;
            flex-direction: row;
            justify-content: center;
            text-align: center;
            align-items: center;
            margin-top: 80px;
            margin-bottom: 0px;
          }
        
          .aside-social-icons {
            width: 100%;
            justify-content: flex-start;
            margin-left: 0px;
            margin-bottom: 20px;
          }
          
          .aside-social-icons a {
            padding: 5px;
          }
        
          .aside-social-icons i {
            font-size: 24px;
          }
        
          .aside-info {
            width: 100%;
            text-align: center;
            margin-top: -50px;
          }
          
          .aside-info p {
            font-size: 24px;
            margin: 5px 0;
          }
      
          .sidebar {
            width: 0; 
            top: 0;
            padding-top: 10px;
            text-align: center;
            margin-top: 100px;
      }
      
      .sidebar.open {
      width: 100%;
      }
      
      .sidebar a {
        padding: 0px;
        font-size: 20px;
        line-height: 1;
        padding: 1px 15px;
        margin-top: 5px;
      }
      
      .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        transition: 0.3s;
        z-index: 99;
      }
      
      .aside-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin-top: 80px;
        margin-bottom: 0px;
      }
      
      .aside-info {
        width: 100%;
        text-align: center;
        margin-top: -50px;
      }
      
      .aside-info p {
        font-size: 22px;
        margin: 5px 0;
      }

      
    
      p {
          text-align: left;
      }
    
    
      main {
        max-width: 375px;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* TOTO PONECHÁME */
        min-height: 50vh;
        padding-top: 100px;
      }
      
      .main-text {
        width: 99%;
        line-height: 1;
        /* Zjednodušeno - flex zde není nutný */
        text-align: left;
        margin: 0 auto; /* ODSTRANĚNO: Pevný horní a dolní margin */
      }
      
      /* Zbytek kódu pro .main-text h1 a spany zůstává stejný... */
      .main-text h1 {
        font-size: 10px;
        width: 90%;
        margin-left: 0px;
      }
      .main-orange-text {
        font-size: 48px;
      }
      .main-white-text {
        font-size: 32px;
      }
      
      .main-image {
        width: 100%;
        /* Odstraníme zde margin-bottom: auto; pokud byl */
        display: flex; /* Důležité: Nyní se chová jako flex kontejner */
        justify-content: center; /* Vycentruje obrázek horizontálně */
        align-items: flex-end; /* Přilepí obrázek na spodek */
      }
    
      .main-image img {
        /* ÚPRAVY JSOU HLAVNĚ ZDE */
        width: 100%; /* Ponecháme 100% šířku kontejneru .main-image */
        height: auto; /* Důležité: Zachová proporce */
        display: block;
        
        /* KLÍČOVÉ: Přesah obrázku */
        transform: translateY(-11.4%); /* Posune obrázek o 15% vlastní výšky směrem dolů.
                                       Experimentujte s hodnotou, dokud nebude loket sedět. */
        object-fit: cover; /* Důležité: Zajistí, že obrázek vždy pokryje oblast a ořízne se */
        object-position: center bottom; /* Zajistí, že spodní část obrázku je vždy vidět */
      }
        
    

        
          .rabbit-container-left {
            display: none;
          }
    
          .rabbit-container-right {
            display: none;
          }
    
          .rabbit-container-bottom {
            display: none;
          }
    
          .photogalery-container {
            width: 100%;
          }
    
          .photogalery-container h1 {
            font-size: 42px;
            width: 90%;
          }

          .photogalery-text h2 {
            
            font-size: 24px;
            
          }
    
          .social-text {
            gap: 0px;
          }

          .social-text h2 {
            gap: 0px;
            font-size: 24px;
          }

          .social-container {
            display: flex;
            flex-direction: column;
            width: 100%;
          }

          .social-images img {
            width: 90%;
            gap: 0px;
          }
    
          .social-container h1 {
            font-size: 42px;
            width: 85%;
          }
    
          
    
          .index-aboutus-container h1 {
            font-size: 42px;
            margin: 30px 10px 50px 10px;
          }
    
          .index-aboutus-container h2 {
            font-size: 24px;
            margin: 10px;
          }
    
          .index-aboutus-text {
            gap: 0px;
          }

          .index-aboutus-banner {
            width: 80%;
          }
    
          .index-aboutus-banner-text a {
            margin-left: 10px;
          }


    
          .index-aboutus-banner-text p {
            align-items: flex-start;
            text-align: left;
            margin: 10px 20px;
            font-size: 27px;
            width: 100%;
          }
    
          .performance-container {
            width: 95%;
            margin: 0px auto;
          }
    
          .performance-container h1 {
            font-size: 42px;
          }
    
          .performance-text {
            gap: 0px;
          }
    
          .performance-text h2 {
            font-size: 24px;
          }
    
          .performance-blog {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 50px;
            margin: 20px;
          }
    
    
          .performance-blog-info img {
            width: 320px;
            margin-bottom: -38px;
          }
    
          .performance-blog-info,
        .performance-blog-info-container-second,
        .performance-blog-info-container-third {
            width: 100%;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
            align-items: center;
            margin: 0px auto;
            height: 400px;
        }
          
          .performance-blog-info-container {
            width: 100%;
            
          }
    
          .performance-blog-info-container p {
            width: 90%;
            font-size: 24px;
            margin-top: -20px;
            margin-bottom: 20px;
          }
    
          .hidden-on-mobile {
            display: none;
          }

      /* index */
    
      .image-collage {
        display: flex;
        flex-direction: column;
        width: 95%;
      }

      .image-collage .item-1 { order: 1; }
  .image-collage .item-2 { order: 2; }
  .image-collage .item-5 { order: 3; } /* <-- Zde posouváme video na 3. pozici */
  .image-collage .item-3 { order: 4; }
  .image-collage .item-4 { order: 5; }
  .image-collage .item-6 { order: 6; }
    
      .photogalery-links {
        width: 70%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: -50px auto;
        margin-bottom: 50px;
        gap: 10px;
      }

      .video-item {
        width: 92%;
        order: 1;
      }

      .item-1 {
        order: 2;
      }

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

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

    /* footer */
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 30px 30px 0px 0px;
      }
    
      .footer-info,
      .footer-identity,
      .footer-text {
        width: 100%;
        margin: 20px 0;
        margin-left: 0;
        margin-right: 0;
        align-items: center;
        text-align: center;
      }
    
      .footer-info img,
      .footer-identity img {
        max-width: 90%;
        height: auto;
        margin-top: 15px;
      }
    
      .footer-text button {
        margin-left: 0;
        margin-top: 10px;
      }
    
      .footer-email a {
        font-size: 22px;
      }
    
      .footer-email {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 10px;
        text-align: center;
      }
    
      .text-blue,
      .text-orange {
        font-size: 38px;
      }
    
      .technical-text a {
        font-size: 14px;
      }

      .technical-text p {
        font-size: 14px;
      }
    
      .footer-social-icons i {
        font-size: 22px;
      }

      .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 40px 40px 0 0; 
    margin-top: 0; 
  }

  .footer-info {
    width: 100%;
    margin: 20px 0 0 0;
    align-items: center;
    text-align: center;
    order: 2;
  }
  
  .text-blue,
  .text-orange {
    font-size: 48px;
    transform: rotate(0deg);
  }

  .text-blue {
      margin-bottom: 0;
  }

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

  .footer-identity {
    width: 100%;
    justify-content: center;
    align-items: center;
    order: 1;
  }

  .footer-identity img {
    max-height: 300px;
    margin-top: -60px;
  }
  
  .footer-text {
    width: 100%;
    margin-top: 0px;
    align-items: center;
    text-align: center;
    order: 3;
  }
  
  .footer-text a {
    margin: 0px auto;
  }

  .footer-email a {
    font-size: 22px;
    white-space: nowrap;
    width: 100%;
    line-height: 0.9;
    margin-top: 15px;
  }
  
  .footer-social-icons {
    margin-top: 15px;
  }

  .technical-text {
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .technical-text a {
    font-size: 18px;
  }

  .footer-copyright {
    flex-direction: column; 
    align-items: center;
    margin: 10px;
    text-align: center;
  }

  .footer-copyright p {
    margin: 5px auto;
    font-size: 16px;
    order: 2;
    text-align: center;
  }

  .skybert-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    order: 1;
  }

  .skybert-logo img {
    width: 200px;
  } 

  /* references.htmtl */
  .references-main {
    display: flex;
    justify-content: center;
    margin: 50px auto;
      height: 400px;
    }

    .references-main-container {
      width: 100%;
    }

    .references-main-container h1 {
      font-size: 48px;
    }

    .references-main-text {
      gap: 10px;
    }

    .references-container h1 {
        font-size: 42px;
      }

      .references-text {
        gap: 0px;
      }

      .references-text h2 {
        font-size: 24px;
      }

      .references {
        margin-bottom: 50px;
      }
    
      .references-logo {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        justify-content: flex-start;
        margin-bottom: 30px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
      }
    
      .references-logo img {
        flex: 0 0 calc(100% / 3.5);
        height: auto;
        padding: 5px;
        margin: 5px;
      }
    
      .references-users {
        flex-direction: column;
        align-items: center;
        width: 95%;
        margin: 0 auto;
        margin-bottom: 20px;
      }
    
      .corner-img {
        width: 20px;
      }
      
      .top-left {
        top: -5px;
        left: -5px;
      }
      
      .bottom-right {
        bottom: -5px;
        right: -5px;
      }
    
      .references-main-text h2 {
        font-size: 24px;
        border-bottom: 2px solid orange;
      }
    
      .headline-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 20px;
      }
    
      .headline-wrapper h1 {
        font-size: 48px;
        line-height: 1.2;
        margin: 10px 0;
      }
      
      .references-img {
        display: none;
      }
      
      .references-top-right {
        top: 0px;
        right: 35px;
        transform: rotate(180deg);
      }
      
      .references-bottom-left {
        left: 50px;
        bottom: -10px;
      }
    
    .references-users {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 95%;
      margin: 0 auto;
      margin-bottom: 20px;
    }
    
    .references-user-container {
      max-width: 375px;
      width: 80%;
      max-height: none;
      margin-bottom: 30px;
      padding: 30px 20px;
    }
    
    .references-user-container h2 {
      font-size: 14px;
      margin-bottom: 15px;
    }
    
    .references-user-container p {
      bottom: 10px;
      right: 20px;
      font-size: 12px;
    }


    /* footer */
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 30px 30px 0px 0px;
      }
    
      .footer-info,
      .footer-identity,
      .footer-text {
        width: 100%;
        margin: 20px 0;
        margin-left: 0;
        margin-right: 0;
        align-items: center;
        text-align: center;
      }
    
      .footer-info img,
      .footer-identity img {
        max-width: 90%;
        height: auto;
        margin-top: 15px;
      }
    
      .footer-text button {
        margin-left: 0;
        margin-top: 10px;
      }
    
      .text-blue,
      .text-orange {
        font-size: 38px;
      }
    
      .technical-text a {
        font-size: 14px;
      }
    
      .footer-social-icons i {
        font-size: 22px;
      }

      .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 40px 40px 0 0;
        margin-top: 0; 
      }
    
      .footer-info {
        width: 100%;
        margin: 20px 0 0 0; 
        align-items: center; 
        text-align: center;
        order: 2;
      }
      
      .text-blue,
      .text-orange {
        font-size: 48px;
        transform: rotate(0deg);
      }
    
      .text-blue {
          margin-bottom: 0;
      }
    
      .footer-info img {
        margin-top: 10px;
        max-width: 300px;
      }
    
      .footer-identity {
        width: 100%;
        justify-content: center;
        align-items: center;
        order: 1;
      }
    
      .footer-identity img {
        max-height: 300px;
        margin-top: -60px;
      }
      
      .footer-text {
        width: 100%;
        margin-top: 0px;
        align-items: center;
        text-align: center;
        order: 3;
      }
      
      .footer-text a {
        margin: 0px auto;
      }
    
      .footer-email {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0;
        width: 100%;
      }
    
      .footer-email a {
        font-size: 22px;
        white-space: nowrap;
        width: 100%;
        line-height: 0.9;
        margin-top: 15px;
      }
      
      .footer-social-icons {
        margin-top: 15px;
      }
    
      .technical-text {
        margin-top: 5px;
        margin-bottom: 10px;
      }
    
      .technical-text a {
        font-size: 18px;
      }

      .footer-copyright {
        flex-direction: column;
        align-items: center;
        margin: 15px 0;
        text-align: center;
      }

      .footer-copyright p {
        margin: 5px 0;
        font-size: 18px;
        order: 2;
      }

      .skybert-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
        order: 1;
      }
    
      .skybert-logo img {
        width: 200px; /* Zmenšení loga Skybert */
      } 

    /* videogalerie.html */
    .references-main {
        display: flex;
        justify-content: center;
        margin: 50px auto;
        height: auto;
        }
  
        .references-main-container {
          width: 100%;
          margin-top: 100px;
        }
  
        .references-main-text {
          gap: 10px;
        }

    .video-galery {
        width: 100%;
    }

    .video-galery-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 90%;
    }

    .video-galery-single {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .video-player-container {
        position: relative;
        width: 100%;
        padding-bottom: 75%;
        height: 0;
        overflow: hidden;
    }
          
    .video-player-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }


    .video-wrapper img {
      /* 2. Vyjmeme obrázek z normálního toku dokumentu */
      position: absolute; 
      
      /* 3. Vyladíme pozici obrázku vůči spanu (rodiči) */
      /* Toto jsou příklady hodnot - budete si je muset doladit! */
      top: 7px;      /* Posun od horního okraje spanu */
      left: 40px;     /* Posun od levého okraje spanu */
      width: 65px;    /* Pevná šířka obrázku kamery */
      
      /* 4. Zajistíme, aby obrázek nepřekrýval text a nebyl klikatelný */
      z-index: -1;
    }

    .video-galery-youtube {
      margin: 0px auto;
      width: 90%;
    }

      .video-galery-vimeo {
        padding-bottom: 20px;
        gap: 15px;
        flex-direction: column;
        align-items: center;
      }
    
      .vimeo-container {
        width: 95%;
        max-width: none;
      }
    
      .vimeo-container iframe {
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      }

      /* fotogalery.html*/
      .fotogalery-main {
        height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        max-width: 375px;
      }
    
      .fotogalery-main-container {
        width: 95%;
       margin: 50px 0px;
      }
    
      .fotogalery-main-text {
        text-align: center;
        gap: 0px;
      }
      
      .fotogalery-main-text h2 {
        font-size: 28px;
        border-bottom: 2px solid orange;
        transform: none;
        text-align: center;
      }
      
      .ikona-sipka {
        width: 50px;
        margin: 0px;
      }
      
      .main-title-container {
        height: 120px;
        margin-top: 20px;
    }
    
    .main-title-container h1, 
    h1.galerie {
        font-size: 70px;
        line-height: 0.8;
        position: static;
        transform: none;
        text-align: center;
        margin: 0;
        line-height: 1.1;
    }
    
    h1.galerie {
        margin-top: -10px;
    }
    
    /*
    .smiley-r {
        display: none;
    }
    */

    .fotogalery-main-container > img {
      position: absolute;
      width: 100px;
      top: 52%;
      left: 52%;
      transform: translate(-50%, -50%);
      z-index: 2;
    }
    
    .fotogalery-container {
      width: 90%;
      padding-left: 20px;
      padding-right: 20px;
    }
    
    .fotogalery-single {
      width: 100%;
      border-radius: 30px;
    }
    
    .fotogalery-single img {
      height: 300px;
      border-radius: 30px;
    }
    
    .fotogalery-double-container {
      flex-direction: column; 
      gap: 20px;
      margin-top: 20px;
      margin-bottom: 20px;
    }
    
    .fotogalery-double-first,
    .fotogalery-double-second {
      width: 100%;
      margin: 0;
      height: 250px;
      border-radius: 30px;
    }
    
    .fotogalery-double-first img,
    .fotogalery-double-second img {
      border-radius: 30px;
    }
    
    .fotogalery-triple-container {
      flex-direction: column;
      height: auto; 
      gap: 20px;
      margin-bottom: 20px;
    }
    
    .triple-double-column,
    .triple-single-column {
      width: 100%;
      margin: 0; 
    }
    
    .triple-double-column {
      gap: 20px;
    }
    
    .triple-single-column {
     height: 350px;
    }
    
    .triple-item {
      border-radius: 30px;
    }
    
    .triple-item img {
      border-radius: 30px;
    }
    
    .triple-item-large {
      margin: 0;
      height: 100%;
    }
    
      .main-title-container {
        height: 250px;
        margin-top: 30px;
      }
    
      .main-title-container h1,
      h1.galerie {
        font-size: 96px;
      }

      /* programme.html */
      .programme-main-container {
        display: flex;
        justify-content: center;
        width: 100%;
      }
  
      .programme-main-container h1 {
        margin-top: 40px;
        font-size: 42px;
        
      }
  
      button {
        max-width: 100%;
        font-size: 14px;
        padding: 10px 15px;
        justify-content: center;
      }
  
  .scroll-navigation {
    position: fixed;
    left: 0;
    bottom: 0;
    top: auto;
    transform: none;
    width: 100%;
    height: 60px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    z-index: 100;
    background-color: white;
    margin: 0;
  }
  
  .arrow-container {
    width: 50px;
    height: 50px;
    background-color: #009dfb;
    display: flex;
    justify-content: center;
    text-align: center;
  }
  
  .arrow-up, .arrow-down {
    width: 25px;
    height: auto;
    margin-bottom: 0px;
  }
  
  .arrow-up {
    transform: rotate(180deg);
  }
  
  .arrow-down {
    transform: rotate(0deg);
  }
  
  .scroll-bar-container {
    transform: rotate(-90deg);
    height: 225px;
  }
  
  .programme-main-text h2 {
    font-size: 24px;
  }
  
  .programme-buttons {
    display: flex;
    flex-direction: row;
    width: 100%;
  }
  
  .programme-but {
    width: 130px;
    font-size: 10px;
    display: flex;
    justify-content: center;
  }
  
  .floating-images-container {
    display: none;
  }
  
  #schedule-view {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
  }
  
  #schedule-view-2 {
  height: auto;
  }
  
  #schedule-view-3 {
  height: auto;
  }
  
  #schedule-view-4 {
  height: auto;
  }
  
  #schedule-view-5 {
  height: auto;
  }
  
  #schedule-view-6 {
  height: auto;
  }
  
  #schedule-view-7 {
  height: auto;
  }
  
  #schedule-view-8 {
  height: auto;
  }
  
  #schedule-view-9 {
  height: auto;
  }
  
  #schedule-view-10 {
  height: auto;
  }
  
  #schedule-view-11 {
  height: auto;
  }
  
  .view {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    overflow: hidden;
  }
  
  .schedule-title,
  .schedule-title-2,
  .schedule-title-3,
  .schedule-title-4 {
    width: 100%;
    text-align: center;
    padding: 0 15px;
    margin-top: 50px;
  }
  
  .schedule-title h2,
  .schedule-title-2 h2,
  .schedule-title-3 h2,
  .schedule-title-4 h2 {
    font-size: 42px;
    margin: 0;
    text-align: left;
  }
  
  .schedule-icon {
    width: 15%;
    margin-left: 10px;
  }
  
  .schedule-orange {
    font-size: 48px;
    margin: 10px 0;
    top: 2em;
    left: 1em;
    }
  
  .schedule-title p,
  .schedule-title-2 p,
  .schedule-title-3 p,
  .schedule-title-4 p {
    font-size: 14px;
    width: 100%;
    margin: 15px 0;
  }
  
  .schedule-clocks {
    align-items: center;
    margin: 5px 0;
    text-align: center;
    font-size: 12px;
  }
  
  .schedule-clocks .clock,
  .schedule-clocks img {
    width: 25px;
    margin: 5px 5px;
  }
  
  .schedule-clocks p {
    font-size: 24px;
    width: auto;
    margin: 5px 5px;
  }
  
  .schedule-image-container {
    width: 100%;
    margin: 20px 0;
    padding: 0 15px;
  }
  
  .schedule-image-double {
    flex-direction: row;
    height: auto;
    gap: 10px;
  }
  
  .image-1, .image-2 {
    width: 100%;
    height: 150px;
  }
  
  .schedule-image-single {
    display: none;
  }

  /* contact.html */

  .main-contact {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    margin-top: -50px;
  }

  .contact-title {
    width: 100%;
    height: 250px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    order: 3;
    margin-top: -50px;
  }

  .contact-challenge {
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    font-size: 72px;
    text-align: center;
    width: 100%;
  }

  .contact-name {
    writing-mode: initial;
    transform: none;
    font-size: 96px;
    line-height: 1;
    text-align: left;
    margin: 0;
  }

  .contact-data {
    width: 100%;
    flex-direction: column;
    text-align: center;
    align-items: flex-start;
    padding-left: 5px;
    order: 1;
    margin-top: 50px;
  }
  
  .contact-data-text {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .contact-data-text a {
    text-align: left;
    margin: 10px 0;
    font-size: 24px;
    line-height: 1.1;
  }
  
  .contact-small {
    font-size: 16px;
  }

  .contact-data-image {
    width: 375px;
    height: 200px;
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    margin: 0px auto;
    order: 2;
  }

  /* aboutus.html */
  .aboutus-main {
    width: 100%;
    height: 55vh;
    display: flex;
    flex-direction: column;
  }

  .aboutus-main-container {
    width: 90%;
    margin: 150px auto;
    z-index: 1;
  }

  .aboutus-main-text {
    align-items: center;
    gap: 0px;
    z-index: 1;
  }
  
  .aboutus-main-text h2 {
    font-size: 36px;
    transform: none;
    text-align: center;
    border-bottom: 2px solid orange;
  }
  
  .ikona-sipka {
    width: 30px;
  }
  
  .aboutus-main-container h1 {
    margin-top: 10px;
    font-size: 72px;
    line-height: 1;
    text-align: center;
    z-index: 1;
  }


  .aboutus-main-image {
    width: 90%;
  }

  .pan-kravata-img {
    position: relative;
      width: 90%;
      height: 380px;
      display: flex;
      min-width: 320px;
      margin: 20px auto 0;
      margin-top: -335px;
      bottom: 0px; 
      left: 0px; 
      z-index: 2;
  }

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

  .aboutus-info,
  .aboutus-info-2 {
    width: 95%;
    display: flex;
    padding: 0 10px;
    margin: 10px 0;
    justify-content: center;
    
  }

  .aboutus-info p,
  .aboutus-info-2 p {
    font-size: 18px;
    width: 100%;
    margin-left: 10px;
    padding: 0;
    line-height: 1.4;
    text-align: left;
    align-items: left;
  }

  .aboutus-container,
  .aboutus-container-2  {
    flex-direction: column;
    width: 95%;
    margin: 0px 0px 30px 0px;
    padding: 0 10px;
  }

  .aboutus-container-text,
  .aboutus-container-text-2 {
    width: 90%;
    margin: 0;
  }

  .aboutus-container-text-2 {
    padding: 0;
  }

  .aboutus-container-text p,
  .aboutus-container-text-2 p {
    font-size: 18px;
    width: 100%;
    padding: 10px;
    line-height: 1.4;
    margin: 15px 10px 15px 10px;
    letter-spacing: normal;
  }

  .aboutus-container-text a {
    width: 175px;
    margin-top: 15px;
    margin-bottom: 20px;
    margin-left: 15px;
  }

  .aboutus-container-image,
  .aboutus-container-image-2 {
    width: 90%;
    margin: 20px 0 0 0;
    padding: 0 10px;
  }

  .aboutus-container-image-2 {
    padding: 0px;
  }

  .responsivni-br {
    display: none;
  }

  .aboutus-container-image img,
  .aboutus-container-image-2 img {
    width: 100%;
    height: 200px;
  }

  .aboutus-container-image-2 img {
    margin-left: 25px;
    width: 100%;
  }

  .aboutus-info-image {
    width: 95%;
    margin-top: 20px;
    padding: 0 10px;
    border-radius: 50px;
  }

  .aboutus-info-image img {
    width: 95%;
    border-radius: 50px;
    height: 200px;
  }

  .aboutus-info-2 p {
    padding: 0 10px;
  }

  }

  

  /* Responsivita od 376px do 430px */

  @media screen and (min-width: 376px) and (max-width: 430px) {

    body {
      padding: 0;
      max-width: 430px;
    }
    
    header {
        margin-top: 60px;
      }
    
      nav {
        justify-content: space-between;
        max-width: 430px;
        width: 100%;
        margin: 0px;
        padding: 0px;
      }
    
      .nav-icons {
        width: auto;
        justify-content: flex-start;
        padding-left: 0;
        margin: 0px 5px;
      }
    
      .nav-icons img {
        width: 20px;
      }
    
      .nav-icons h2 {
        font-size: 24px;
        margin-left: 3px;
      }
    
      .hamburger-menu {
        background-color: #009dfb;
        border-radius: 50%;
        width: 20px;
          height: 20px;
          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;
        }
    
      .identity {
        width: 20%;
      }
    
      .nav-identity {
        width: auto;
        margin: 0;
      }
      
      .nav-identity img {
        width: 100px;
        margin-bottom: 0px;
      }
    
      .nav-button {
        width: auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-right: 5px;
      }
      
      .nav-button .animated-button {
        width:85px;
        height: 26px;
        padding: 0px 5px;
        display: flex;
        justify-content: space-between;
        gap: -20px;
      }
      
      .nav-button .button-text {
        font-size: 10px;
        margin-left: 3px;
      }
  
      .button-sipka-modra {
        width: 40px;         
        margin-left: 3px;
        padding: 3px;
        border-radius: 50%;
        margin-right: 3px;
      }
    
      .sidebar {
        width: 0;
        top: 0;
        padding-top: 10px;
        text-align: center;
        margin-top: 100px;
      }

      #menu-toggle-btn {
        position: relative; 
        z-index: 101; 
      }
    
      .sidebar.open {
        width: 100%;
    }
    
      .sidebar a {
        padding: 0px;
        font-size: 20px;
        line-height: 1;
        padding: 1px 15px;
        margin-top: 10px;
      }
    
      .aside-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin-top: 80px;
        margin-bottom: 0px;
      }
    
      .aside-social-icons {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0px;
        margin-bottom: 20px;
      }
      
      .aside-social-icons a {
        padding: 5px;
      }
    
      .aside-social-icons i {
        font-size: 24px;
      }
    
      .aside-info {
        width: 100%;
        text-align: center;
        margin-top: -50px;
      }
      
      .aside-info p {
        font-size: 24px;
        margin: 5px 0;
      }
  
      .sidebar {
        width: 0; 
        top: 0;
        padding-top: 10px;
        text-align: center;
        margin-top: 100px;
  }
  
  .sidebar.open {
  width: 100%;
  }
  
  .sidebar a {
    padding: 0px;
    font-size: 20px;
    line-height: 1;
    padding: 1px 15px;
    margin-top: 5px;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: 0.3s;
    z-index: 99;
  }
  
  .aside-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 0px;
  }
  
  .aside-info {
    width: 100%;
    text-align: center;
    margin-top: -50px;
  }
  
  .aside-info p {
    font-size: 22px;
    margin: 5px 0;
  }

  

  p {
      text-align: left;
  }


  main {
    max-width: 430px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* TOTO PONECHÁME */
    min-height: 50vh;
    padding-top: 100px;
  }
  
  .main-text {
    width: 99%;
    line-height: 1;
    /* Zjednodušeno - flex zde není nutný */
    text-align: left;
    margin: 0 auto; /* ODSTRANĚNO: Pevný horní a dolní margin */
  }
  
  /* Zbytek kódu pro .main-text h1 a spany zůstává stejný... */
  .main-text h1 {
    font-size: 10px;
    width: 90%;
    margin-left: 0px;
  }
  .main-orange-text {
    font-size: 48px;
  }
  .main-white-text {
    font-size: 32px;
  }
  
  .main-image {
    width: 100%;
    /* Odstraníme zde margin-bottom: auto; pokud byl */
    display: flex; /* Důležité: Nyní se chová jako flex kontejner */
    justify-content: center; /* Vycentruje obrázek horizontálně */
    align-items: flex-end; /* Přilepí obrázek na spodek */
  }

  .main-image img {
    /* ÚPRAVY JSOU HLAVNĚ ZDE */
    width: 100%; /* Ponecháme 100% šířku kontejneru .main-image */
    height: auto; /* Důležité: Zachová proporce */
    display: block;
    
    /* KLÍČOVÉ: Přesah obrázku */
    transform: translateY(-8.4%); /* Posune obrázek o 15% vlastní výšky směrem dolů.
                                   Experimentujte s hodnotou, dokud nebude loket sedět. */
    object-fit: cover; /* Důležité: Zajistí, že obrázek vždy pokryje oblast a ořízne se */
    object-position: center bottom; /* Zajistí, že spodní část obrázku je vždy vidět */
  }
    
    
      .rabbit-container-left {
        display: none;
      }

      .rabbit-container-right {
        display: none;
      }

      .rabbit-container-bottom {
        display: none;
      }

      .photogalery-container {
        width: 100%;
      }

      .photogalery-container h1 {
        font-size: 42px;
        width: 90%;
      }

      .photogalery-text h2 {
        
        font-size: 24px;
        
      }

      .social-text {
        gap: 0px;
      }

      .social-text h2 {
        gap: 0px;
        font-size: 24px;
      }

      .social-container {
        width: 100%;
        display: flex;
        flex-direction: column;
      }

      .social-images img {
        width: 90%;
        gap: 0px;
      }

      .social-container h1 {
        font-size: 42px;
        width: 85%;
      }

      

      .index-aboutus-container h1 {
        font-size: 42px;
        margin: 30px 10px 50px 10px;
      }

      .index-aboutus-container h2 {
        font-size: 24px;
        margin: 10px;
      }

      .index-aboutus-text {
        gap: 0px;
      }

      .index-aboutus-banner-text a {
        margin-left: 10px;
      }

      .index-aboutus-banner-text p {
        align-items: flex-start;
        text-align: left;
        margin: 10px 20px;
        font-size: 27px;
      }

      .performance-container {
        width: 95%;
        margin: 0px auto;
      }

      .performance-container h1 {
        font-size: 42px;
      }

      .performance-text {
        gap: 0px;
      }

      .performance-text h2 {
        font-size: 24px;
      }

      .performance-blog {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 50px;
        margin: 20px;
      }


      .performance-blog-info img {
        width: 320px;
        margin-bottom: -38px;
      }

      .performance-blog-info,
    .performance-blog-info-container-second,
    .performance-blog-info-container-third {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin: 0px auto;
        height: 400px;
    }
      
      .performance-blog-info-container {
        width: 100%;
        
      }

      .performance-blog-info-container p {
        width: 80%;
        font-size: 24px;
        margin-top: -20px;
        margin-bottom: 20px;
      }

      .performance-blog-links {
        display: grid; /* ZMĚNA: Použijeme Grid místo Flexboxu */
        grid-template-columns: 1fr 1fr; /* Vytvoří dvě stejně široké sloupce */
        gap: 20px; /* Mezera mezi tlačítky */
        
        /* Doporučení pro lepší vzhled na větších obrazovkách */
        width: 100%;
        max-width: 800px; /* Omezí maximální šířku, aby se tlačítka příliš neroztáhla */
        margin: 0 auto;   /* Vycentruje celý kontejner na stránce */
    }
    
    /* Pravidlo pro poslední liché tlačítko */
    /* Cílí na poslední odkaz, POUZE pokud je lichý (např. 3., 5., atd.) */
    .performance-blog-links a:last-child:nth-child(odd) {
        /* Roztáhne tento poslední prvek přes oba sloupce */
        grid-column: 1 / -1;
    }
    
    /* Vzhled jednotlivých tlačítek (odkazů) - ujistěte se, že máte toto */
    .performance-blog-links a {
        display: flex; /* Nebo inline-flex */
        align-items: center;
        justify-content: center; /* DŮLEŽITÉ pro vycentrování obsahu v roztaženém tlačítku */
        gap: 8px;
    
        /* Vaše další styly pro vzhled... */
        background-color: #ed8b3b; /* Oranžová barva z obrázku */
        color: white;
        padding: 15px 20px;
        border-radius: 30px;
        text-decoration: none;
        font-size: 24px;
        font-weight: bold;
        border: none;
        transition: background-color 0.3s;
    }

      .hidden-on-mobile {
        display: none;
      }

  /* index */

  .image-collage {
    display: flex;
    flex-direction: column;
    width: 95%;
  }

  .image-collage .item-1 { order: 1; }
.image-collage .item-2 { order: 2; }
.image-collage .item-5 { order: 3; } /* <-- Zde posouváme video na 3. pozici */
.image-collage .item-3 { order: 4; }
.image-collage .item-4 { order: 5; }
.image-collage .item-6 { order: 6; }

  .photogalery-links {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: -50px auto;
    margin-bottom: 50px;
    gap: 10px;
  }

  .video-item {
    width: 92%;
    order: 1;
  }

  .item-1 {
    order: 2;
  }

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

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

/* footer */
footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 30px 30px 0px 0px;
  }

  .footer-info,
  .footer-identity,
  .footer-text {
    width: 100%;
    margin: 20px 0;
    margin-left: 0;
    margin-right: 0;
    align-items: center;
    text-align: center;
  }

  .footer-info img,
  .footer-identity img {
    max-width: 90%;
    height: auto;
    margin-top: 15px;
  }

  .footer-text button {
    margin-left: 0;
    margin-top: 10px;
  }

  .footer-email a {
    font-size: 22px;
  }

  .footer-email {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    text-align: center;
  }

  .text-blue,
  .text-orange {
    font-size: 38px;
  }

  .technical-text a {
    font-size: 14px;
  }

  .technical-text p {
    font-size: 14px;
  }

  .footer-social-icons i {
    font-size: 22px;
  }

  .footer-container {
flex-direction: column;
align-items: center;
text-align: center;
border-radius: 40px 40px 0 0; 
margin-top: 0; 
}

.footer-info {
width: 100%;
margin: 20px 0 0 0;
align-items: center;
text-align: center;
order: 2;
}

.text-blue,
.text-orange {
font-size: 48px;
transform: rotate(0deg);
}

.text-blue {
  margin-bottom: 0;
}

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

.footer-identity {
width: 100%;
justify-content: center;
align-items: center;
order: 1;
}

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

.footer-text {
width: 100%;
margin-top: 0px;
align-items: center;
text-align: center;
order: 3;
}

.footer-text a {
margin: 0px auto;
}

.footer-email a {
font-size: 22px;
white-space: nowrap;
width: 100%;
line-height: 0.9;
margin-top: 15px;
}

.footer-social-icons {
margin-top: 15px;
}

.technical-text {
margin-top: 5px;
margin-bottom: 10px;
}

.technical-text a {
font-size: 18px;
}

.footer-copyright {
flex-direction: column; 
align-items: center;
margin: 10px;
text-align: center;
}

.footer-copyright p {
margin: 5px auto;
font-size: 16px;
order: 2;
text-align: center;
}

.skybert-logo {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 10px;
order: 1;
}

.skybert-logo img {
width: 200px;
} 

/* references.htmtl */
.references-main {
display: flex;
justify-content: center;
margin: 50px auto;
  height: 400px;
}

.references-main-container {
  width: 100%;
}

.references-main-container h1 {
  font-size: 48px;
}

.references-main-text {
  gap: 10px;
}

.references-container h1 {
    font-size: 42px;
  }

  .references-text {
    gap: 0px;
  }

  .references-text h2 {
    font-size: 24px;
  }

  .references {
    margin-bottom: 50px;
  }

  .references-logo {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    justify-content: flex-start;
    margin-bottom: 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
  }

  .references-logo img {
    flex: 0 0 calc(100% / 3.5);
    height: auto;
    padding: 5px;
    margin: 5px;
  }

  .references-users {
    flex-direction: column;
    align-items: center;
    width: 95%;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .corner-img {
    width: 20px;
  }
  
  .top-left {
    top: -5px;
    left: -5px;
  }
  
  .bottom-right {
    bottom: -5px;
    right: -5px;
  }

  .references-main-text h2 {
    font-size: 24px;
    border-bottom: 2px solid orange;
  }

  .headline-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
  }

  .headline-wrapper h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 10px 0;
  }
  
  .references-img {
    display: none;
  }
  
  .references-top-right {
    top: 0px;
    right: 35px;
    transform: rotate(180deg);
  }
  
  .references-bottom-left {
    left: 50px;
    bottom: -10px;
  }

.references-users {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 95%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.references-user-container {
  max-width: 430px;
  width: 80%;
  max-height: none;
  margin-bottom: 30px;
  padding: 30px 20px;
}

.references-user-container h2 {
  font-size: 14px;
  margin-bottom: 15px;
}

.references-user-container p {
  bottom: 10px;
  right: 20px;
  font-size: 12px;
}


/* footer */
footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 30px 30px 0px 0px;
  }

  .footer-info,
  .footer-identity,
  .footer-text {
    width: 100%;
    margin: 20px 0;
    margin-left: 0;
    margin-right: 0;
    align-items: center;
    text-align: center;
  }

  .footer-info img,
  .footer-identity img {
    max-width: 90%;
    height: auto;
    margin-top: 15px;
  }

  .footer-text button {
    margin-left: 0;
    margin-top: 10px;
  }

  .text-blue,
  .text-orange {
    font-size: 38px;
  }

  .technical-text a {
    font-size: 14px;
  }

  .footer-social-icons i {
    font-size: 22px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 40px 40px 0 0;
    margin-top: 0; 
  }

  .footer-info {
    width: 100%;
    margin: 20px 0 0 0; 
    align-items: center; 
    text-align: center;
    order: 2;
  }
  
  .text-blue,
  .text-orange {
    font-size: 48px;
    transform: rotate(0deg);
  }

  .text-blue {
      margin-bottom: 0;
  }

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

  .footer-identity {
    width: 100%;
    justify-content: center;
    align-items: center;
    order: 1;
  }

  .footer-identity img {
    max-height: 300px;
    margin-top: -60px;
  }
  
  .footer-text {
    width: 100%;
    margin-top: 0px;
    align-items: center;
    text-align: center;
    order: 3;
  }
  
  .footer-text a {
    margin: 0px auto;
  }

  .footer-email {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    width: 100%;
  }

  .footer-email a {
    font-size: 22px;
    white-space: nowrap;
    width: 100%;
    line-height: 0.9;
    margin-top: 15px;
  }
  
  .footer-social-icons {
    margin-top: 15px;
  }

  .technical-text {
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .technical-text a {
    font-size: 18px;
  }

  .footer-copyright {
    flex-direction: column;
    align-items: center;
    margin: 15px 0;
    text-align: center;
  }

  .footer-copyright p {
    margin: 5px 0;
    font-size: 18px;
    order: 2;
  }

  .skybert-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    order: 1;
  }

  .skybert-logo img {
    width: 200px; /* Zmenšení loga Skybert */
  } 

/* videogalerie.html */
.references-main {
    display: flex;
    justify-content: center;
    margin: 50px auto;
    height: auto;
    }

    .references-main-container {
      width: 100%;
      margin-top: 100px;
    }

    .references-main-text {
      gap: 10px;
    }

.video-galery {
    width: 100%;
}

.video-galery-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
}

.video-galery-single {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}
      
.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


.video-wrapper img {
  /* 2. Vyjmeme obrázek z normálního toku dokumentu */
  position: absolute; 
  
  /* 3. Vyladíme pozici obrázku vůči spanu (rodiči) */
  /* Toto jsou příklady hodnot - budete si je muset doladit! */
  top: 7px;      /* Posun od horního okraje spanu */
  left: 40px;     /* Posun od levého okraje spanu */
  width: 70px;    /* Pevná šířka obrázku kamery */
  
  /* 4. Zajistíme, aby obrázek nepřekrýval text a nebyl klikatelný */
  z-index: -1;
}

.video-galery-youtube {
  margin: 0px auto;
  width: 90%;
}

  .video-galery-vimeo {
    padding-bottom: 20px;
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }

  .vimeo-container {
    width: 95%;
    max-width: none;
  }

  .vimeo-container iframe {
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  /* fotogalery.html*/
  .fotogalery-main {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 430px;
  }

  .fotogalery-main-container {
    width: 95%;
   margin: 50px 0px;
  }

  .fotogalery-main-text {
    text-align: center;
    gap: 0px;
  }
  
  .fotogalery-main-text h2 {
    font-size: 28px;
    border-bottom: 2px solid orange;
    transform: none;
    text-align: center;
  }
  
  .ikona-sipka {
    width: 50px;
    margin: 0px;
  }
  
  .main-title-container {
    height: 120px;
    margin-top: 20px;
}

.main-title-container h1, 
h1.galerie {
    font-size: 72px;
    line-height: 0.8;
    position: static;
    transform: none;
    text-align: center;
    margin: 0;
    line-height: 1.1;
}

h1.galerie {
    margin-top: -10px;
}

/*
.smiley-r {
    display: none;
}
*/

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

.fotogalery-container {
  width: 90%;
  padding-left: 20px;
  padding-right: 20px;
}

.fotogalery-single {
  width: 100%;
  border-radius: 30px;
}

.fotogalery-single img {
  height: 300px;
  border-radius: 30px;
}

.fotogalery-double-container {
  flex-direction: column; 
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.fotogalery-double-first,
.fotogalery-double-second {
  width: 100%;
  margin: 0;
  height: 250px;
  border-radius: 30px;
}

.fotogalery-double-first img,
.fotogalery-double-second img {
  border-radius: 30px;
}

.fotogalery-triple-container {
  flex-direction: column;
  height: auto; 
  gap: 20px;
  margin-bottom: 20px;
}

.triple-double-column,
.triple-single-column {
  width: 100%;
  margin: 0; 
}

.triple-double-column {
  gap: 20px;
}

.triple-single-column {
 height: 350px;
}

.triple-item {
  border-radius: 30px;
}

.triple-item img {
  border-radius: 30px;
}

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

  .main-title-container {
    height: 250px;
    margin-top: 30px;
  }

  .main-title-container h1,
  h1.galerie {
    font-size: 96px;
  }

  /* programme.html */
  .programme-main-container {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .programme-main-container h1 {
    margin-top: 40px;
    font-size: 42px;
    
  }

  button {
    max-width: 100%;
    font-size: 14px;
    padding: 10px 15px;
    justify-content: center;
  }

.scroll-navigation {
position: fixed;
left: 0;
bottom: 0;
top: auto;
transform: none;
width: 100%;
height: 60px;
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 0;
z-index: 100;
background-color: white;
margin: 0;
}

.arrow-container {
width: 50px;
height: 50px;
background-color: #009dfb;
display: flex;
justify-content: center;
text-align: center;
}

.arrow-up, .arrow-down {
width: 25px;
height: auto;
margin-bottom: 0px;
}

.arrow-up {
transform: rotate(180deg);
}

.arrow-down {
transform: rotate(0deg);
}

.scroll-bar-container {
transform: rotate(-90deg);
height: 225px;
}

.programme-main-text h2 {
font-size: 24px;
}

.programme-buttons {
display: flex;
flex-direction: row;
width: 100%;
}

.programme-but {
width: 130px;
font-size: 10px;
display: flex;
justify-content: center;
}

.floating-images-container {
display: none;
}

#schedule-view {
flex-direction: column;
height: auto;
padding: 20px 0;
}

#schedule-view-2 {
height: auto;
}

#schedule-view-3 {
height: auto;
}

#schedule-view-4 {
height: auto;
}

#schedule-view-5 {
height: auto;
}

#schedule-view-6 {
height: auto;
}

#schedule-view-7 {
height: auto;
}

#schedule-view-8 {
height: auto;
}

#schedule-view-9 {
height: auto;
}

#schedule-view-10 {
height: auto;
}

#schedule-view-11 {
height: auto;
}

.view {
display: flex;
flex-direction: column;
height: auto;
width: 100%;
overflow: hidden;
}

.schedule-title,
.schedule-title-2,
.schedule-title-3,
.schedule-title-4 {
width: 100%;
text-align: center;
padding: 0 15px;
margin-top: 50px;
}

.schedule-title h2,
.schedule-title-2 h2,
.schedule-title-3 h2,
.schedule-title-4 h2 {
font-size: 42px;
margin: 0;
text-align: left;
}

.schedule-icon {
width: 15%;
margin-left: 10px;
}

.schedule-orange {
font-size: 48px;
margin: 10px 0;
top: 2em;
left: 1em;
}

.schedule-title p,
.schedule-title-2 p,
.schedule-title-3 p,
.schedule-title-4 p {
font-size: 14px;
width: 100%;
margin: 15px 0;
}

.schedule-clocks {
align-items: center;
margin: 5px 0;
text-align: center;
font-size: 12px;
}

.schedule-clocks .clock,
.schedule-clocks img {
width: 25px;
margin: 5px 5px;
}

.schedule-clocks p {
font-size: 24px;
width: auto;
margin: 5px 5px;
}

.schedule-image-container {
width: 100%;
margin: 20px 0;
padding: 0 15px;
}

.schedule-image-double {
flex-direction: row;
height: auto;
gap: 10px;
}

.image-1, .image-2 {
width: 100%;
height: 150px;
}

.schedule-image-single {
display: none;
}

/* contact.html */

.main-contact {
width: 100%;
height: auto;
flex-direction: column;
align-items: flex-start;
height: 50vh;
}

.contact-title {
width: 100%;
height: 250px;
position: relative;
display: flex;
justify-content: flex-start;
align-items: center;
order: 3;
margin-top: -50px;
}

.contact-challenge {
position: absolute;
top: 50px;
left: 50%;
transform: translateX(-50%) rotate(-5deg);
font-size: 72px;
text-align: center;
width: 100%;
}

.contact-name {
writing-mode: initial;
transform: none;
font-size: 96px;
line-height: 1;
text-align: left;
margin: 0;
}

.contact-data {
width: 100%;
flex-direction: column;
text-align: center;
align-items: flex-start;
padding-left: 5px;
order: 1;
margin-top: -50px;
}

.contact-data-text {
flex-direction: column;
align-items: flex-start;
width: 100%;
}

.contact-data-text a {
text-align: left;
margin: 10px 0;
font-size: 24px;
line-height: 1.1;
}

.contact-small {
font-size: 16px;
}

.contact-data-image {
width: 375px;
height: 200px;
display: flex;
justify-content: flex-start; 
align-items: center;
margin: 0px auto;
order: 2;
}

/* aboutus.html */
.aboutus-main {
width: 100%;
height: 55vh;
position: relative;
overflow: visible;
z-index: 1;
}

.aboutus-main-container {
width: 90%;
margin: 150px auto;
z-index: 1;
}

.aboutus-main-text {
align-items: center;
gap: 0px;
z-index: 1;
}

.aboutus-main-text h2 {
font-size: 36px;
transform: none;
text-align: center;
border-bottom: 2px solid orange;
}

.ikona-sipka {
width: 30px;
}

.aboutus-main-container h1 {
margin-top: 10px;
font-size: 72px;
line-height: 1;
text-align: center;
z-index: 1;
}

.aboutus-main-image {
  width: 90%;
}

.pan-kravata-img {
  position: relative;
    width: 90%;
    height: 375px;
    display: flex;
    min-width: 430px;
    margin: 20px auto 0;
    margin-top: -200px;
    bottom: 0px; 
    left: 0px; 
    z-index: 2;
}

.aboutus {
width: 100%;
display: flex;
flex-direction: column;
margin-top: 50px;
}

.aboutus-info,
.aboutus-info-2 {
width: 95%;
display: flex;
padding: 0 10px;
margin: 10px 0;
justify-content: center;

}

.aboutus-info p,
.aboutus-info-2 p {
font-size: 18px;
width: 100%;
margin-left: 10px;
padding: 0;
line-height: 1.4;
text-align: left;
align-items: left;
}

.aboutus-container,
.aboutus-container-2 {
flex-direction: column;
width: 95%;
margin: 0px 0px 30px 0px;
padding: 0 10px;
}

.aboutus-container-text,
.aboutus-container-text-2 {
width: 90%;
margin: 0;
}

.aboutus-container-text-2 {
  padding: 0px;
}

.aboutus-container-text p,
.aboutus-container-text-2 p {
  font-size: 18px;
  width: 100%;
  padding: 10px;
  line-height: 1.4;
  margin: 15px 10px 15px 10px;
  letter-spacing: normal;
}

.aboutus-container-text a {
width: 175px;
margin-top: 15px;
margin-bottom: 20px;
margin-left: 15px;
}

.aboutus-container-image,
.aboutus-container-image-2 {
width: 90%;
margin: 20px 0 0 0;
padding: 0 10px;
}

.aboutus-container-image-2 {
  padding: 0px;
}

.responsivni-br {
display: none;
}

.aboutus-container-image img,
.aboutus-container-image-2 img {
  width: 100%;
  height: 200px;
}

.aboutus-container-image-2 img {
  margin-left: 15px;
}

.aboutus-info-image {
  width: 95%;
  margin-top: 20px;
  padding: 0 10px;
  border-radius: 50px;
}

.aboutus-info-image img {
  width: 95%;
  border-radius: 50px;
  height: 200px;
}

.aboutus-info-2 p {
  padding: 0 10px;
}
}

  @media screen and (min-width: 431px) and (max-width: 768px) {

    /* navigační menu */
    header {
        margin-top: 60px;
      }
    
      nav {
        justify-content: space-between;
        max-width: 768px;
        width: 100%;
        margin: 0px;
        padding: 0px;
      }
    
      .nav-icons {
        width: auto;
        justify-content: flex-start;
        padding-left: 0;
        margin: 0px 5px;
      }
    
      .nav-icons img {
        width: 20px;
      }
    
      .nav-icons h2 {
        font-size: 24px;
        margin-left: 3px;
      }
    
      .hamburger-menu {
        background-color: #009dfb;
        border-radius: 50%;
        width: 20px;
          height: 20px;
          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;
        }
        
    
      .identity {
        width: 20%;
      }
    
      .nav-identity {
        width: auto;
        margin: 0;
      }
      
      .nav-identity img {
        width: 100px;
        margin-bottom: 0px;
      }
    
      .nav-button {
        width: auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-right: 5px;
      }
      
      .nav-button .animated-button {
        width:85px;
        height: 26px;
        padding: 0px 5px;
        display: flex;
        justify-content: space-between;
        gap: -20px;
      }
      
      .nav-button .button-text {
        font-size: 10px;
        margin-left: 3px;
      }
  
      .button-sipka-modra {
        width: 40px;         
        margin-left: 3px;
        padding: 3px;
        border-radius: 50%;
        margin-right: 3px;
      }
    
      .sidebar {
        width: 0;
        top: 0;
        padding-top: 10px;
        text-align: center;
        margin-top: 100px;
      }
    
      .sidebar.open {
        width: 100%;
    }
    
      .sidebar a {
        padding: 0px;
        font-size: 20px;
        line-height: 1;
        padding: 1px 15px;
        margin-top: 10px;
      }
    
      .aside-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin-top: 80px;
        margin-bottom: 0px;
      }
    
      .aside-social-icons {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-bottom: 20px;
      }
      
      .aside-social-icons a {
        padding: 5px;
      }
    
      .aside-social-icons i {
        font-size: 24px;
      }
    
      .aside-info {
        width: 100%;
        text-align: center;
        margin-top: -50px;
      }
      
      .aside-info p {
        font-size: 24px;
        margin: 5px 0;
      }
  
      #menu-toggle-btn {
        position: relative; 
        z-index: 101; 
      }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: 0.3s;
    z-index: 99;
  }
  
  .aside-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 0px;
  }
  
  .aside-social-icons {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-bottom: 20px;
  }
  
  .aside-social-icons a {
    padding: 5px;
  }
  
  .aside-social-icons i {
    font-size: 22px;
  }
  
  .aside-info {
    width: 100%;
    text-align: center;
    margin-top: -50px;
  }
  
  .aside-info p {
    font-size: 22px;
    margin: 5px 0;
  }

  body {
    padding: 0;
    max-width: 768px;
  }

  main {
    max-width: 768px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* TOTO PONECHÁME */
    min-height: 50vh;
    padding-top: 100px;
  }
  
  .main-text {
    width: 99%;
    line-height: 1;
    /* Zjednodušeno - flex zde není nutný */
    text-align: left;
    margin: 0 auto; /* ODSTRANĚNO: Pevný horní a dolní margin */
  }
  
  /* Zbytek kódu pro .main-text h1 a spany zůstává stejný... */
  .main-text h1 {
    font-size: 10px;
    width: 90%;
    margin-left: 0px;
  }
  .main-orange-text {
    font-size: 48px;
  }
  .main-white-text {
    font-size: 32px;
  }
  
  .main-image {
    width: 100%;
    /* Odstraníme zde margin-bottom: auto; pokud byl */
    display: flex; /* Důležité: Nyní se chová jako flex kontejner */
    justify-content: center; /* Vycentruje obrázek horizontálně */
    align-items: flex-end; /* Přilepí obrázek na spodek */
  }

  .main-image img {
    /* ÚPRAVY JSOU HLAVNĚ ZDE */
    width: 80%; /* Ponecháme 100% šířku kontejneru .main-image */
    height: auto; /* Důležité: Zachová proporce */
    display: block;
    
    /* KLÍČOVÉ: Přesah obrázku */
    transform: translateY(-5%); /* Posune obrázek o 15% vlastní výšky směrem dolů.
    object-fit: cover; /* Důležité: Zajistí, že obrázek vždy pokryje oblast a ořízne se */
    object-position: center bottom; /* Zajistí, že spodní část obrázku je vždy vidět */
  }

  .performance-container {
    width: 95%;
    margin: 0px auto;
  }

  .performance-container h1 {
    font-size: 58px;
  }

  .performance-text {
    gap: 0px;
  }

  .performance-text h2 {
    font-size: 36px;
  }

  .performance-blog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 50px;
    margin: 20px auto;
  }


  .performance-blog-info img {
    width: 400px;
    margin-bottom: -48px;
  }

  .performance-blog-info,
.performance-blog-info-container-second,
.performance-blog-info-container-third {
    width: 95%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    align-items: center;
    margin: 0px auto;
}
  
  .performance-blog-info-container {
    width: 100%;
    
  }

  .performance-blog-info-container p {
    width: 100%;
    font-size: 36px;
    padding: 0px;
    margin-left: 40px;
  }

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

  .performance-blog-links a {
    align-items: center;
    text-align: center;
    width: auto;
    font-size: 12px;
    margin: 0px auto;
  }

  .image-collage .item-1 { order: 1; }
  .image-collage .item-2 { order: 2; }
  .image-collage .item-5 { order: 3; } /* <-- Zde posouváme video na 3. pozici */
  .image-collage .item-3 { order: 4; }
  .image-collage .item-4 { order: 5; }
  .image-collage .item-6 { order: 6; }

  .contact-title {
    width: 100%;
    height: 300px;
    order: 3;
  }

  .contact-challenge {
    position: absolute;
    top: 50px;
    left: 40%;
    transform: translateX(-50%) rotate(-5deg);
    font-size: 72px;
    text-align: center;
    width: 100%;
    }

  .contact-name {
    font-size: 120px;
  }

  .contact-data {
    width: 90%;
    margin: 0 auto;
    padding: 0;
    order: 1;
  }

  .contact-data-text {
    align-items: flex-start;
    width: 100%;
  }

  .contact-data-text a {
    margin: 15px 0;
    font-size: 40px;
  }

  .contact-small {
    font-size: 20px;
  }
  
  /* Footer */
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 40px 40px 0 0;
  }

  .footer-info,
  .footer-identity,
  .footer-text {
    width: 100%;
    margin: 30px 0;
    align-items: center;
  }

  .footer-info img,
  .footer-identity img {
    max-width: 90%;
    margin-top: 20px;
  }

  .footer-text button {
    margin-top: 15px;
  }

  .footer-email a {
    font-size: 28px;
  }

  .footer-email {
    gap: 8px;
    margin-top: 15px;
  }

  .text-blue,
  .text-orange {
    font-size: 48px;
  }

  .technical-text a {
    font-size: 16px;
  }

  .footer-social-icons i {
    font-size: 28px;
  }
  
  


  .corner-img {
    width: 25px;
  }

  .headline-wrapper h1 {
    font-size: 56px;
    line-height: 1.3;
    margin: 15px 0;
  }

  .references-img {
    width: 30px;
  }

  .references-top-right {
    top: 5px;
    right: 90px;
  }

  .references-bottom-left {
    bottom: 15px;
    left: 80px;
  }

  /* Video galerie */
  .video-galery-container {
    width: 90%;
    margin: 0 auto;
  }

  .video-player-container {
    padding-bottom: 75%;
  }

  .video-wrapper img {
    /* 2. Vyjmeme obrázek z normálního toku dokumentu */
    position: absolute; 
    
    /* 3. Vyladíme pozici obrázku vůči spanu (rodiči) */
    /* Toto jsou příklady hodnot - budete si je muset doladit! */
    top: 0px;      /* Posun od horního okraje spanu */
    left: 40px;     /* Posun od levého okraje spanu */
    width: 100px;    /* Pevná šířka obrázku kamery */
    
    /* 4. Zajistíme, aby obrázek nepřekrýval text a nebyl klikatelný */
    z-index: -1;
  }

  .video-galery-youtube {
    margin: 0px auto;
    width: 90%;
  }

  .video-galery-vimeo {
    padding-bottom: 30px;
    gap: 20px;
  }

  .vimeo-container {
    width: 90%;
  }

  .video-player-container-short {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;
    height: 0;
    overflow: hidden;
  }

  .video-player-container-short iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* Program */
  .floating-images-container {
    display: none;
  }

  .programme-buttons {
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
  }

  .programme-but {
    width: 150px;
    font-size: 12px;
  }

  .scroll-navigation {
    height: 70px;
  }

  .arrow-container {
    width: 90px;
    height: 90px;
  }

  .arrow-up, .arrow-down {
    width: 45px;
  }

  .scroll-bar-container {
    height: 250px;
  }

  #schedule-view {
    padding: 30px 0;
  }

  .schedule-title h2,
  .schedule-title-2 h2,
  .schedule-title-3 h2,
  .schedule-title-4 h2 {
    font-size: 64px;
  }

  .schedule-icon {
    width: 25%;
    margin-left: 15px;
  }

  .schedule-orange {
    font-size: 72px;
  }

  .schedule-title p,
  .schedule-title-2 p,
  .schedule-title-3 p,
  .schedule-title-4 p {
    font-size: 20px;
  }

  .schedule-clocks .clock,
  .schedule-clocks img {
    width: 30px;
  }

  .schedule-clocks p {
    font-size: 28px;
  }

  .schedule-image-container {
    padding: 0 20px;
  }

  .image-1, .image-2 {
    height: 220px;
  }

  .schedule-image-single {
    height: 220px;
  }

  .main-orange-text {
    font-size: 64px;
  }

  .main-white-text {
    font-size: 64px;
  }

  .photogalery-container h1 {
    font-size: 72px;
  }

  .references-container h1 {
    font-size: 58px;
  }

  .social-container h1 {
    font-size: 58px;
  }

  .social-images img {
    width: 90%;
    gap: 0px;
  }

  .index-aboutus-container h1 {
    font-size: 58px;
    margin-bottom: 20px;
  }

  .index-aboutus-text {
    gap: 0px;
  }

  .index-aboutus-banner-text a {
    margin-left: 10px;
  }
  

  .index-aboutus-banner-text p {
    font-size: 32px;
    margin: 30px 20px;
  }

  .fotogalery-container {
    /* Vytvoří mezeru po stranách */
    padding-left: 20px;
    padding-right: 20px;
    width: 90%;
}

/* 2. Úprava kontejneru s jednou fotkou */
.fotogalery-single {
    width: 100%; /* Roztáhne se na plnou šířku (v rámci odsazeného rodiče) */
    border-radius: 30px; /* Mírně menší zaoblení na mobilu */
}

.fotogalery-single img {
    height: 300px; /* Snížení výšky pro lepší zobrazení na mobilu */
    border-radius: 30px;
}

/* 3. Úprava kontejneru se dvěma fotkami */
.fotogalery-double-container {
    /* Změna na svislé uspořádání (fotky pod sebou) */
    flex-direction: column; 
    gap: 20px; /* Mezera mezi fotkami pod sebou */
    margin-top: 20px;
    margin-bottom: 20px;
}

.fotogalery-double-first,
.fotogalery-double-second {
    width: 100%; /* Odebrání pevných šířek, aby se roztáhly */
    margin: 0;   /* Resetování postranních mezer */
    height: 250px; /* Sjednocení výšky */
    border-radius: 30px;
}

.fotogalery-double-first img,
.fotogalery-double-second img {
    border-radius: 30px;
}


/* 4. Úprava kontejneru se třemi fotkami (nejsložitější část) */
.fotogalery-triple-container {
    /* Hlavní kontejner také bude mít položky pod sebou */
    flex-direction: column;
    /* Klíčové: Umožní kontejneru růst podle obsahu, místo pevné výšky */
    height: auto; 
    gap: 20px; /* Mezera mezi horní a dolní částí */
    margin-bottom: 20px;
}

.triple-double-column,
.triple-single-column {
    width: 100%; /* Oba sloupce budou na 100% šířky */
    margin: 0;   /* Resetování mezer */
}

.triple-double-column {
    gap: 20px; /* Mezera mezi dvěma menšími fotkami */
    /* Výška se přizpůsobí, není třeba definovat */
}

.triple-single-column {
   height: 350px; /* Nastavení rozumné výšky pro velkou fotku */
}

.triple-item {
    border-radius: 30px;
}

.triple-item img {
    border-radius: 30px;
}

.triple-item-large {
    margin: 0; /* Resetování postranních mezer */
    height: 100%;
}

.responsivni-br {
  display: none;
}

.hidden-on-mobile {
    display: none;
  }
    
      .image-collage {
        display: flex;
        flex-direction: column;
        width: 95%;
      }
    
      .photogalery-links {
        margin: 0px auto;
        margin-bottom: 50px;
        gap: 10px;
      }

    /* footer */
    footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
      border-radius: 30px 30px 0px 0px;
    }
  
    .footer-info,
    .footer-identity,
    .footer-text {
      width: 100%;
      margin: 20px 0;
      margin-left: 0;
      margin-right: 0;
      align-items: center;
      text-align: center;
    }
  
    .footer-info img,
    .footer-identity img {
      width: 70%;
      height: auto;
      margin-top: 15px;
    }
  
    .footer-text button {
      margin-left: 0;
      margin-top: 10px;
    }
  
    .text-blue,
    .text-orange {
      font-size: 38px;
    }
  
    .technical-text a {
      font-size: 14px;
    }
  
    .footer-social-icons i {
      font-size: 22px;
    }

    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
      border-radius: 40px 40px 0 0;
      margin-top: 0; 
    }
  
    .footer-info {
      width: 100%;
      margin: 20px 0 0 0;
      align-items: center;
      text-align: center;
      order: 2;
    }
    
    .text-blue,
    .text-orange {
      font-size: 48px;
      transform: rotate(0deg);
    }
  
    .text-blue {
        margin-bottom: 0;
    }
  
    .footer-identity {
      width: 100%;
      justify-content: center;
      align-items: center;
      order: 1;
    }
  
    .footer-identity img {
      max-height: 300px;
      margin-top: -60px;
    }
    
    .footer-text {
      width: 100%;
      margin-top: 50px;
      align-items: center;
      text-align: center;
      order: 3;
    }
    
    .footer-text a {
      margin: 0px auto;
    }
  
    .footer-email {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin: 0;
      width: 100%;
    }
  
    .footer-email a {
      font-size: 28px;
      white-space: nowrap;
      width: 100%;
      line-height: 0.9;
      margin-top: 15px;
    }
    
    .footer-social-icons {
      margin-top: 15px;
    }
  
    .technical-text {
      margin-top: 5px;
      margin-bottom: 10px;
    }
  
    .technical-text a {
      font-size: 18px;
    }

    .footer-copyright {
      flex-direction: column;
      align-items: center;
      margin: 10px 0;
      text-align: center;
    }

    .footer-copyright p {
      margin: 5px 0;
      font-size: 28px;
      order: 2;
    }

    .skybert-logo {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 10px;
      order: 1;
    }
  
    .skybert-logo img {
      width: 200px;
    } 


    /* references.html */

    .references-main {
        display: flex;
        justify-content: center;
        margin: 50px auto;
          height: 400px;
        }
  
        .references-main-container {
          width: 100%;
        }
  
        .references-main-container h1 {
          font-size: 84px;
        }
  
        .references-main-text {
          gap: 10px;
        }
  
        .references-text {
            gap: 0px;
          }
    
          .references-text h2 {
            font-size: 32px;
          }
  
          .references {
            margin-bottom: 50px;
          }
        
          .references-logo {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: scroll;
            justify-content: flex-start;
            margin-bottom: 30px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
            width: 95%;
          }
        
          .references-logo img {
            flex: 0 0 calc(100% / 3.5);
            height: auto;
            padding: 5px;
            margin: 5px;
          }
        
          .references-users {
            flex-direction: column;
            align-items: center;
            width: 95%;
            margin: 0 auto;
            margin-bottom: 20px;
          }
        
          .corner-img {
            width: 20px;
          }
          
          .top-left {
            top: -5px;
            left: -5px;
          }
          
          .bottom-right {
            bottom: -5px;
            right: -5px;
          }
        
          .references-main-container h1 {
            font-size: 72px;
            margin-top: 20px;
          }
        
          .references-main-text h2 {
            font-size: 36px;
            border-bottom: 2px solid orange;
          }
        
          .headline-wrapper {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 90%;
            margin-top: 20px;
            padding: 0 20px;
          }
        
          .headline-wrapper h1 {
            font-size: 48px;
            line-height: 1.2;
            margin: 10px 0;
          }
          
          .references-img {
            display: none;
          }
          
          .references-top-right {
            top: 0px; 
            right: 65px;
            transform: rotate(180deg);
          }
          
          .references-bottom-left {
            left: 70px;
            bottom: -10px;
          }
        
        .references-users {
          flex-direction: column;
          align-items: center;
          width: 95%;
          margin: 0 auto;
          margin-bottom: 20px;
        }
        
        .references-user-container {
          width: 80%;
          margin-bottom: 40px;
          padding: 40px 30px;
        }
        
        .references-user-container h2 {
          font-size: 16px;
          margin-bottom: 20px;
        }
        
        .references-user-container p {
          bottom: 15px;
          right: 30px;
          font-size: 14px;
        }

        /* videogalerie.html*/
        .references-main {
            display: flex;
            justify-content: center;
            margin: 50px auto;
            height: auto;
            }
      
            .references-main-container {
              width: 100%;
              margin-top: 125px;
            }
      
            .references-main-container h1 {
              font-size: 84px;
            }
      
            .references-main-text {
              gap: 10px;
            }
    
        .video-galery {
            width: 100%;
        }
    
        .video-galery-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 90%;
        }
    
        .video-galery-single {
            display: flex;
            flex-direction: column;
            width: 100%;
        }
    
        .video-player-container {
            position: relative;
            width: 100%;
            padding-bottom: 75%;
            height: 0;
            overflow: hidden;
        }
              
        .video-player-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
    
          .video-galery-vimeo {
            padding-bottom: 20px;
            gap: 15px;
            flex-direction: column;
            align-items: center;
          }
        
          .vimeo-container {
            width: 95%;
            max-width: none;
          }
        
          .vimeo-container iframe {
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
          }


          /* fotogalerie.html*/
          .fotogalery-main {
            height: auto;
          }
        
          .fotogalery-main-container {
            width: 100%;
           margin: 50px 0px;
          }
        
          .fotogalery-main-text {
            text-align: center;
            gap: 0px;
          }
          
          .fotogalery-main-text h2 {
            font-size: 28px;
            border-bottom: 2px solid orange;
            transform: none;
            text-align: center;
          }
          
          .ikona-sipka {
            width: 50px;
            margin: 0px;
          }
          
          .main-title-container {
            height: 120px;
            margin-top: 20px;
        }
        
        .main-title-container h1, 
        h1.galerie {
            font-size: 72px;
            line-height: 0.8;
            position: static;
            transform: none;
            text-align: center;
            margin: 0;
            line-height: 1.1;
        }
        
        h1.galerie {
            margin-top: -10px;
        }
        
        /*
        .smiley-r {
            display: none;
        }
        */

        .fotogalery-main-container > img {
          position: absolute;
          width: 100px;
          top: 54%;
          left: 52%;
          transform: translate(-50%, -50%);
          z-index: 2;
        }
          
        .fotogalery-container {
          width: 90%;
          padding-left: 20px;
          padding-right: 20px;
          margin: 0px auto;
        }
      
        .fotogalery-single {
          width: 100%;
          border-radius: 30px;
        }
        
        .fotogalery-single img {
          height: 300px;
          border-radius: 30px;
        }
        
        .fotogalery-double-container {
          flex-direction: column; 
          gap: 20px;
          margin-top: 20px;
          margin-bottom: 20px;
        }
        
        .fotogalery-double-first,
        .fotogalery-double-second {
          width: 100%;
          margin: 0;
          height: 250px;
          border-radius: 30px;
        }
        
        .fotogalery-double-first img,
        .fotogalery-double-second img {
          border-radius: 30px;
        }
        
        .fotogalery-triple-container {
          flex-direction: column;
          height: auto; 
          gap: 20px;
          margin-bottom: 20px;
        }
        
        .triple-double-column,
        .triple-single-column {
          width: 100%;
          margin: 0;
        }
        
        .triple-double-column {
          gap: 20px;
        }
        
        .triple-single-column {
         height: 350px;
        }
        
        .triple-item {
          border-radius: 30px;
        }
        
        .triple-item img {
          border-radius: 30px;
        }
        
        .triple-item-large {
          margin: 0;
          height: 100%;
        }
        
          .main-title-container {
            height: 250px;
            margin-top: 30px;
          }
        
          .main-title-container h1,
          h1.galerie {
            font-size: 96px;
          }

          /* programme.html */

          button {
            max-width: 100%;
            font-size: 14px;
            padding: 10px 15px;
            justify-content: center;
          }
        
        .scroll-navigation {
        position: fixed;
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        z-index: 100;
        background-color: white;
        margin: 0;
        }
        
        .arrow-container {
        width: 50px;
        height: 50px;
        background-color: #009dfb;
        display: flex;
        justify-content: center;
        text-align: center;
        }
        
        .arrow-up, .arrow-down {
        width: 25px;
        height: auto;
        margin-bottom: 0px;
        }
        
        .arrow-up {
        transform: rotate(180deg);
        }
        
        .arrow-down {
        transform: rotate(0deg);
        }
        
        .scroll-bar-container {
        transform: rotate(-90deg);
        height: 225px;
        }
        
        .programme-main-text h2 {
        font-size: 24px;
        }
        
        .programme-buttons {
        display: flex;
        flex-direction: row;
        width: 100%;
        }
        
        .programme-but {
        width: 130px;
        font-size: 10px;
        display: flex;
        justify-content: center;
        }
        
        .floating-images-container {
        display: none;
        }
        
        #schedule-view {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        }
        
        #schedule-view-2 {
        height: auto;
        }
        
        #schedule-view-3 {
        height: auto;
        }
        
        #schedule-view-4 {
        height: auto;
        }
        
        #schedule-view-5 {
        height: auto;
        }
        
        #schedule-view-6 {
        height: auto;
        }
        
        #schedule-view-7 {
        height: auto;
        }
        
        #schedule-view-8 {
        height: auto;
        }
        
        #schedule-view-9 {
        height: auto;
        }
        
        #schedule-view-10 {
        height: auto;
        }
        
        #schedule-view-11 {
        height: auto;
        }
        
        .view {
        display: flex;
        flex-direction: column;
        height: auto;
        width: 100%;
        overflow: hidden;
        }
        
        .schedule-title,
        .schedule-title-2,
        .schedule-title-3,
        .schedule-title-4 {
        width: 100%;
        text-align: center;
        padding: 0 15px;
        margin-top: 50px;
        }
        
        .schedule-title h2,
        .schedule-title-2 h2,
        .schedule-title-3 h2,
        .schedule-title-4 h2 {
        font-size: 42px;
        margin: 0;
        text-align: left;
        }
        
        .schedule-icon {
        width: 15%;
        margin-left: 10px;
        }
        
        .schedule-orange {
        font-size: 48px;
        margin: 10px 0;
        top: 2em;
        left: 1em;
        }
        
        .schedule-title p,
        .schedule-title-2 p,
        .schedule-title-3 p,
        .schedule-title-4 p {
        font-size: 14px;
        width: 100%;
        margin: 15px 0;
        }
        
        .schedule-clocks {
        align-items: center;
        margin: 5px 0;
        text-align: center;
        font-size: 12px;
        }
        
        .schedule-clocks .clock,
        .schedule-clocks img {
        width: 25px;
        margin: 5px 5px;
        }
        
        .schedule-clocks p {
        font-size: 24px;
        width: auto;
        margin: 5px 5px;
        }
        
        .schedule-image-container {
        width: 100%;
        margin: 20px 0;
        padding: 0 15px;
        }
        
        .image-collage {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 15px;
        }
        
        .schedule-image-double {
        flex-direction: row;
        height: auto;
        gap: 10px;
        }
        
        .image-1, .image-2 {
        width: 100%;
        height: 150px;
        }
        
        .schedule-image-single {
        display: none;
        }

        /* contact.html */
        .main-contact {
          width: 100%;
          height: 60vh;
          flex-direction: column;
          align-items: flex-start;
          padding: 0px;
        }
      
        .contact-title {
          width: 100%;
          height: 250px;
          position: relative;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          order: 3;
        }
  
        .contact-name {
          writing-mode: initial;
          transform: none;
          font-size: 96px;
          line-height: 1;
          text-align: left;
          margin: 0;
        }
      
        .contact-data {
          width: 100%;
          flex-direction: column;
          text-align: center;
          align-items: flex-start;
          padding-left: 5px; 
          order: 1;
          margin-top: 50px;
        }
        
        .contact-data-text {
          flex-direction: column;
          align-items: flex-start;
          width: 100%;
        }
      
        .contact-data-text a {
          text-align: left;
          margin: 10px 0;
          font-size: 32px;
          line-height: 1.1;
        }
        
        .contact-small {
          font-size: 16px;
        }
      
        .contact-data-image {
          width: 90%;
          height: 200px;
          padding: 0 20px;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          order: 2;
        }
      
        .contact-data img {
          margin-top: 50px;
        }

        /* aboutus.html */
        .aboutus-main {
          width: 100%;
          height: 80vh;
          position: relative;
          overflow: visible; 
          z-index: 1;
        }
      
        .aboutus-main-container {
          width: 90%;
          margin: 10px auto;
          z-index: 1;
        }
      
        .aboutus-main-text {
          align-items: center;
          gap: 0px;
          z-index: 1;
        }
        
        .aboutus-main-text h2 {
          font-size: 36px;
          transform: none;
          text-align: center;
          border-bottom: 2px solid orange;
        }
        
        .ikona-sipka {
          width: 30px;
        }
        
        .aboutus-main-container h1 {
          margin-top: 10px;
          font-size: 72px;
          line-height: 1;
          text-align: center;
          z-index: 1;
        }
      
        .pan-kravata-img {
          position: relative;
            width: 50%;
            height: 375px;
            display: flex;
            min-width: 430px;
            margin: 20px auto 0;
            margin-top: -200px;
            bottom: 0px; 
            left: 0px; 
            z-index: 2;
        }
      
        .aboutus {
          width: 100%;
          display: flex;
          flex-direction: column;
        }
  
        .aboutus-info {
          width: 95%;
          display: flex;
          padding: 0 10px;
          margin: 10px auto;
          justify-content: center;
        }

        .aboutus-container-image-2 {
          padding: 0;
          width: 95%;
          display: flex;
          margin: 0px;
          justify-content: center;
        }
      
        .aboutus-info p,
        .aboutus-info-2 p {
          font-size: 18px;
          width: 100%;
          margin-left: 10px;
          padding: 0;
          line-height: 1.4;
          text-align: left;
          margin: 50px 25px;
        }
      
        .aboutus-container,
        .aboutus-container-2 {
          flex-direction: column;
          align-items: center;
          width: 100%;
          margin: 0px auto;
        }
      
        .aboutus-container-text,
        .aboutus-container-text-2 {
          width: 90%;
          margin: 0;
          padding: 0px;
        }
      
        .aboutus-container-text p,
        .aboutus-container-text-2 p {
          font-size: 18px;
          width: 100%;
          line-height: 1.4;
          margin: 15px 10px 0px 15px;
        }

        .aboutus-container-text-2 p {
          margin-bottom: 50px;
          margin-top: 25px;
        }
      
        .aboutus-container-text a {
          width: 175px;
          margin-top: 15px;
          margin-bottom: 20px;
          margin-left: 15px;
        }
  
        .aboutus-container-image {
          width: 90%;
          margin: 20px 0 0 0;
          padding: 0 10px;
        }
      
        .responsivni-br {
          display: none;
        }
      
        .aboutus-container-image img,
        .aboutus-container-image-2 img {
          width: 95%;
          height: 600px;
          display: flex;
          justify-content: center;
          margin: 0px auto;
        }
      
        .aboutus-info-image {
          width: 95%;
          margin: 10px auto;
          padding: 0 10px;
        }
      
        .aboutus-info-image img,
        .aboutus-info-image-2 img{
          width: 95%;
          height: 600px;
        }
  }

  @media screen and (min-width: 769px) and (max-width: 1024px) {

    nav {
      justify-content: space-between;
      max-width: 1024px;
      width: 100%;
      margin: 0px;
      padding: 0px;
    }

    .aside-container {
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: center;
      text-align: center;
      align-items: center;
      margin-top: 80px;
      margin-bottom: 0px;
    }
  
    .aside-social-icons {
      width: 100%;
      justify-content: center;
      margin-left: 0;
      margin-bottom: 20px;
    }
    
    .aside-social-icons a {
      padding: 5px;
    }
  
    .aside-social-icons i {
      font-size: 32px;
    }
  
    

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

    .social-images img {
      width: 45%;
    }

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

.aside-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-top: 80px;
  margin-bottom: 0px;
}

.aside-social-icons {
  width: 100%;
  justify-content: center;
  margin-left: 0;
  margin-bottom: 20px;
}

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

.aside-social-icons i {
  font-size: 24px;
}

.aside-info {
  width: 100%;
  text-align: center;
  margin-top: -50px;
}

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

    /* index */
    main {
      max-width: 1024px;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between; /* TOTO PONECHÁME */
      min-height: 50vh;
      padding-top: 100px;
    }
    
    .main-text {
      width: 99%;
      line-height: 1;
      /* Zjednodušeno - flex zde není nutný */
      text-align: left;
      margin: 0 auto; /* ODSTRANĚNO: Pevný horní a dolní margin */
    }
    
    /* Zbytek kódu pro .main-text h1 a spany zůstává stejný... */
    .main-text h1 {
      font-size: 10px;
      width: 90%;
      margin-left: 0px;
    }
    .main-orange-text {
      font-size: 72px;
    }
    .main-white-text {
      font-size: 62px;
    }
    
    .main-image {
      width: 100%;
      /* Odstraníme zde margin-bottom: auto; pokud byl */
      display: flex; /* Důležité: Nyní se chová jako flex kontejner */
      justify-content: center; /* Vycentruje obrázek horizontálně */
      align-items: flex-end; /* Přilepí obrázek na spodek */
    }
  
    .main-image img {
      /* ÚPRAVY JSOU HLAVNĚ ZDE */
      width: 80%; /* Ponecháme 100% šířku kontejneru .main-image */
      height: auto; /* Důležité: Zachová proporce */
      display: block;
      
      /* KLÍČOVÉ: Přesah obrázku */
      transform: translateY(-19%); /* Posune obrázek o 15% vlastní výšky směrem dolů.
      object-fit: cover; /* Důležité: Zajistí, že obrázek vždy pokryje oblast a ořízne se */
      object-position: center bottom; /* Zajistí, že spodní část obrázku je vždy vidět */
    }
    
      .image-collage {
        display: flex;
        flex-direction: column;
        width: 95%;
      }
    
      .photogalery-links {
        margin: 0px auto;
        margin-bottom: 50px;
        gap: 10px;
      }

    /* footer */
    .footer-container {
      margin-top: 20px;
    }

    .footer-info {
      margin-left: 50px;
    }

    .footer-info img {
      width: 80%;
    }

    .footer-identity img {
      height: 95%;
    }

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

  .footer-text {
    margin-right: 50px;
  }

.references-logo img {
display: flex ;
flex-wrap: nowrap;
overflow-x: scroll;
justify-content: flex-start;
margin-bottom: 30px;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
-ms-overflow-style: none;
width: 80%;
}

.references-logo {
margin-bottom: 0px;
}


.references-users {
display: flex;
flex-direction: row;
}

.references-user-container {
width: 25%;
gap: 20px;
}

.references-user-container h2 {
font-size: 500;
font-size: 14px;
}

.performance-container {
width: 95%;
margin: 0px auto;
}

.performance-container h1 {
font-size: 58px;
}

.performance-text {
gap: 0px;
}

.performance-text h2 {
font-size: 36px;
}

.performance-blog {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
gap: 50px;
margin: 20px auto;
}


.performance-blog-info img {
width: 400px;
margin-bottom: -48px;
}

.performance-blog-info,
.performance-blog-info-container-second,
.performance-blog-info-container-third {
width: 95%;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: flex-start;
text-align: center;
align-items: center;
margin: 0px auto;
}

.performance-blog-info-container {
width: 100%;

}

.performance-blog-info-container p {
width: 100%;
font-size: 36px;
padding: 0px;
margin-left: 40px;
margin-bottom: 20px;
}

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

.performance-blog-links a {
align-items: center;
text-align: center;
width: auto;
font-size: 12px;
margin: 0px auto;
}

  /* references.html*/

  .references-main {
    display: flex;
    justify-content: center;
    margin: 50px auto;
      height: 400px;
    }

    .references-main-container {
      width: 100%;
    }

    .references-main-container h1 {
      font-size: 92px;
    }

    .references-main-text {
      gap: 10px;
    }

    .references-text {
        gap: 0px;
      }

      .references-text h2 {
        font-size: 32px;
      }

      .references {
        margin-bottom: 50px;
      }
    
      .references-logo {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        justify-content: flex-start;
        margin-bottom: 30px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 80%;
      }
    
      .references-logo img {
        flex: 0 0 calc(100% / 3.5);
        height: auto;
        padding: 5px;
        margin: 5px;
      }
    
      .references-users {
        flex-direction: column;
        align-items: center;
        width: 95%;
        margin: 0 auto;
        margin-bottom: 20px;
      }
    
      .corner-img {
        width: 20px;
      }
      
      .top-left {
        top: -5px;
        left: -5px;
      }
      
      .bottom-right {
        bottom: -5px;
        right: -5px;
      }
    
      .references-main-container h1 {
        font-size: 72px;
        margin-top: 20px;
      }
    
      .references-main-text h2 {
        font-size: 36px;
        border-bottom: 2px solid orange;
      }
    
      .headline-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin-top: 20px;
        padding: 0 20px;
      }
    
      .headline-wrapper h1 {
        font-size: 48px;
        line-height: 1.2;
        margin: 10px 0;
      }
      
      .references-img {
        display: none;
      }
      
      .references-top-right {
        top: 0px; 
        right: 65px;
        transform: rotate(180deg);
      }
      
      .references-bottom-left {
        left: 70px;
        bottom: -10px;
      }
    
    .references-users {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 95%;
      margin: 0 auto;
      margin-bottom: 20px;
    }
    
    .references-user-container {
      width: 80%;
      margin-bottom: 40px;
      padding: 40px 30px;
    }
    
    .references-user-container h2 {
      font-size: 16px;
      margin-bottom: 20px;
    }
    
    .references-user-container p {
      bottom: 15px;
      right: 30px;
      font-size: 14px;
    }

    /* videogalerie.html*/
    .references-main {
        display: flex;
        justify-content: center;
        margin: 50px auto;
        height: auto;
        }
  
        .references-main-container {
          width: 100%;
          margin-top: 50px;
        }
  
        .references-main-container h2 {
          font-size: 42px;
        }
  
        .references-main-text {
          gap: 10px;
        }
  
    .video-galery {
        width: 100%;
    }
  
    .video-galery-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
  
        align-items: center;
        width: 90%;
    }
  
    .video-galery-single {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
  
    .video-player-container {
        position: relative;
        width: 100%;
        padding-bottom: 75%;
        height: 0;
        overflow: hidden;
    }
          
    .video-player-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .video-player-container-short {
      position: relative;
      width: 70.2%;
      padding-bottom: 177.78%;
      height: 0;
      overflow: hidden;
    }

    .video-player-container-short iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }
  
    .video-wrapper img {
      /* 2. Vyjmeme obrázek z normálního toku dokumentu */
      position: absolute; 
      
      /* 3. Vyladíme pozici obrázku vůči spanu (rodiči) */
      /* Toto jsou příklady hodnot - budete si je muset doladit! */
      top: 8px;      /* Posun od horního okraje spanu */
      left: 45px;     /* Posun od levého okraje spanu */
      width: 125px;    /* Pevná šířka obrázku kamery */
      
      /* 4. Zajistíme, aby obrázek nepřekrýval text a nebyl klikatelný */
      z-index: -1;
    }

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

    .video-galery-youtube {
      margin: 0px auto;
      width: 90%;
    }
  
      .video-galery-vimeo {
        padding-bottom: 20px;
        gap: 15px;
        flex-direction: column;
        align-items: center;
      }
    
      .vimeo-container {
        width: 95%;
        max-width: none;
      }
    
      .vimeo-container iframe {
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      }


      /* fotogalerie.html */
      .fotogalery-main {
        height: auto;
      }
    
      .fotogalery-main-container {
        width: 100%;
       margin: 50px 0px;
      }
    
      .fotogalery-main-text {
        text-align: center;
        gap: 0px;
      }
      
      .fotogalery-main-text h2 {
        font-size: 42px;
        border-bottom: 2px solid orange;
        transform: none;
        text-align: center;
      }
      
      .ikona-sipka {
        width: 50px;
        margin: 0px;
      }
      
      .main-title-container {
        height: 120px;
        margin-top: 20px;
    }
    
    .main-title-container h1, 
    h1.galerie {
        font-size: 72px;
        line-height: 0.8;
        position: static;
        transform: none;
        text-align: center;
        margin: 0;
        line-height: 1.1;
    }
    
    h1.galerie {
        margin-top: -10px;
    }
    
    /*
    .smiley-r {
        display: none;
    }
    */
    
    .fotogalery-main-container > img {
      position: absolute;
      width: 100px;
      top: 52%;
      left: 52%;
      transform: translate(-50%, -50%);
      z-index: 2;
    }
      
    .fotogalery-container {
      width: 90%;
      padding-left: 20px;
      padding-right: 20px;
      margin: 0px auto;
    }
  
    .fotogalery-single {
      width: 100%;
      border-radius: 30px;
    }
    
    .fotogalery-single img {
      height: 300px;
      border-radius: 30px;
    }
    
    .fotogalery-double-container {
      flex-direction: column; 
      gap: 20px;
      margin-top: 20px;
      margin-bottom: 20px;
    }
    
    .fotogalery-double-first,
    .fotogalery-double-second {
      width: 100%;
      margin: 0;
      height: 250px;
      border-radius: 30px;
    }
    
    .fotogalery-double-first img,
    .fotogalery-double-second img {
      border-radius: 30px;
    }
    
    .fotogalery-triple-container {
      flex-direction: column;
      height: auto; 
      gap: 20px;
      margin-bottom: 20px;
    }
    
    .triple-double-column,
    .triple-single-column {
      width: 100%;
      margin: 0;
    }
    
    .triple-double-column {
      gap: 20px;
    }
    
    .triple-single-column {
     height: 350px;
    }
    
    .triple-item {
      border-radius: 30px;
    }
    
    .triple-item img {
      border-radius: 30px;
    }
    
    .triple-item-large {
      margin: 0;
      height: 100%;
    }
    
      .main-title-container {
        height: 250px;
        margin-top: 30px;
      }
    
      .main-title-container h1,
      h1.galerie {
        font-size: 110px;
      }

      .main-contact {
        width: 100%;
        height: 55vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px;
      }
    
      .contact-title {
        width: 100%;
        height: 250px;
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        order: 3;
      }

      .contact-name {
        writing-mode: initial;
        transform: none;
        font-size: 96px;
        line-height: 1;
        text-align: left;
        margin: 0;
      }
    
      .contact-data {
        width: 100%;
        flex-direction: column;
        text-align: center;
        align-items: flex-start;
        padding-left: 5px; 
        order: 1;
        margin-top: 50px;
      }
      
      .contact-data-text {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
      }
    
      .contact-data-text a {
        text-align: left;
        margin: 10px 0;
        font-size: 32px;
        line-height: 1.1;
      }
      
      .contact-small {
        font-size: 16px;
      }
    
      .contact-data-image {
        width: 90%;
        height: 180px;
        padding: 0 20px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        order: 2;
      }
    
      .contact-data img {
        margin-top: 50px;
      }

      .aboutus-main {
        width: 100%;
        height: 85vh;
        position: relative;
        overflow: visible;
        padding-bottom: 20px;
        z-index: 1;
        }
        
        .aboutus-main-container {
        width: 90%;
        margin: 150px auto;
        z-index: 1;
        }
        
        .aboutus-main-text {
        align-items: center;
        gap: 0px;
        z-index: 1;
        }
        
        .aboutus-main-text h2 {
        font-size: 58px;
        transform: none;
        text-align: center;
        border-bottom: 2px solid orange;
        }
        
        .ikona-sipka {
        width: 30px;
        }
        
        .aboutus-main-container h1 {
        margin-top: 10px;
        font-size: 92px;
        line-height: 1;
        text-align: center;
        z-index: 1;
        }
        
        .pan-kravata-img {
          position: relative;
            width: 50%;
            height: 450px;
            display: flex;
            min-width: 430px;
            margin: 20px auto 0;
            margin-top: -200px;
            bottom: 0px; 
            left: 0px; 
            z-index: 2;
        }
        
        .aboutus {
          width: 100%;
          display: flex;
          flex-direction: column;
          margin-top: 50px;
        }
        
        .aboutus-info,
        .aboutus-info-2 {
        width: 95%;
        display: flex;
        padding: 0 10px;
        margin: 10px 0;
        justify-content: center;
        
        }
        
        .aboutus-info p,
        .aboutus-info-2 p {
        font-size: 18px;
        width: 100%;
        margin-left: 10px;
        padding: 0;
        line-height: 1.4;
        text-align: left;
        align-items: left;
        }
        
        .aboutus-container,
        .aboutus-container-2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0px auto;
        width: 100%;
        padding: 10px;
        }
        
        .aboutus-container-text,
        .aboutus-container-text-2 {
        width: 90%;
        margin: 0;
        }
        
        .aboutus-container-text-2 {
          padding: 0px;
        }
        
        .aboutus-container-text p,
        .aboutus-container-text-2 p {
          font-size: 18px;
          width: 100%;
          padding: 10px;
          line-height: 1.4;
          margin: 15px 10px 15px 10px;
          letter-spacing: normal;
        }
        
        .aboutus-container-text a {
        width: 175px;
        margin-top: 15px;
        margin-bottom: 20px;
        margin-left: 15px;
        }
        
        .aboutus-container-image,
        .aboutus-container-image-2 {
        width: 90%;
        margin: 20px 0 0 0;
        padding: 0 10px;
        }
        
        .aboutus-container-image-2 {
          padding: 0px;
        }
        
        .responsivni-br {
        display: none;
        }
        
        .aboutus-container-image img,
        .aboutus-container-image-2 img {
          width: 100%;
          height: 400px;
        }
        
        .aboutus-container-image-2 img {
          margin-left: 15px;
        }
        
        .aboutus-info-image {
          width: 95%;
          margin-top: 20px;
          padding: 0 10px;
          border-radius: 50px;
        }
        
        .aboutus-info-image img {
          width: 95%;
          border-radius: 50px;
          height: 400px;
        }
        
        .aboutus-info-2 p {
          padding: 0 10px;
        }
  }

  @media screen and (min-width: 1441px) and (max-width: 2560px) {
    header {
      width: 100%;
      margin-top: 100px;
    }
  
   nav {
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      text-align: center;
      height: 100px;
      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;
  }
  
  nav.hide {
      transform: translateY(-100%);
      overflow: hidden;
  }
  
  .nav-icons {
    position: relative;
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
    margin: 5px 50px;
    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: center;
      text-align: center;
      margin-top: 20px;
      width: 33%;
  }
  
    .nav-identity img {
      width: 20%;
      margin-bottom: -70px;
    }
  
  
    .nav-button {
      width: 33%;
      display: flex;
      justify-content: end;
      margin-right: 50px;
    } 
  
    .sidebar {
      height: 100%;
      width: 0; /* Nebo 40% podle tvého JS */
      position: fixed;
      top: 100px;
      left: 0;
      background-color: white;
      overflow-x: hidden;
      transition: 0.3s;
      padding-top: 60px;
      z-index: 100;
  }
  
  /* Otevřený stav menu pro desktop */
  .sidebar.open {
    width: 50.8%; /* Šířka otevřeného menu na desktopu */
  }
  
  .sidebar a {
      padding: 0px 50px;
      text-decoration: none;
      font-size: 42px;
      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;
  }
  
  .aside-social-icons a {
      padding: 20px;
  }
  
  .aside-social-icons i {
      font-size: 24px;
      color: #009dfb;
      padding: 5px;
  }
  
  .aside-info {
      width: 50%;
  }
  
  .aside-info p {
      font-size: 42px;
  }

  .text-blue,
  .text-orange {
        font-size: 50px;
      }


      main {
        width: 100%;
        background-image: url('../images/kresba_pozadi_homepage_kouzelnik_pan_kravata.webp');
        background-size: cover;
        background-repeat: no-repeat;
        height: 90vh;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
      }
    
      .main-text {
        display: flex;
        justify-content: center;
        margin-top: auto;
        width: 50%;
        margin-left: 0px;
        margin-bottom: 25px;
      }
    
      .main-text h1 {
        font-size: 150px;
        line-height: 0.5;
        margin-left: 0px;
        width: 100%;
        margin-left: 50px;
      }
    
      .main-image {
        display: flex;
        justify-content: center;
        width: 50%;
      }
    
      .main-image img {
        width: 100%;
        margin-top: -50px;
        margin-bottom: -113px;
        z-index: 10000;
      }
    
      .performance-blog {
        display: flex;
        justify-content: center;
        width: 100%;
        color: white;
        margin-top: 50px;
      }
    
      .performance-blog-info {
        display: flex;
        flex-direction: row;
        background-color: #009dfb;
        width: 45%;
        margin-left: 50px;
        border-radius: 25px;
      }
    
    
      .performance-blog-info img {
        margin-left: auto;
        width: 45%;
        margin-top: -25px;
        margin-bottom: -47px;
        transition: transform 0.5s ease;
      }
    
      .performance-blog-info img:hover {
        transform: scale(1.1) translateY(-12px);
        transition: 0.5s;
      }
    
    
      .performance-blog-info-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 45%;
        height: 100%;
      }
    
    .performance-blog-info-container-second {
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin-left: 50px;
      width: 40%;
      height: auto;
      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: 40%;
      height: auto;
      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/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-third::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url(../images/foto_vystoupeni_narozeninove_oslavy_kouzelnik_pan_kravata.webp);
      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.2);
    }
    
    .performance-blog-info-container-third:hover::before {
      transform: scale(1.2);
    }
    
      .performance-blog-info-container p {
        font-family: 'DM Sans';
        font-size: 36px;
        font-weight: 500;
        padding: 20px 35px;
        text-align: left;
        margin-top: auto;
      }
    
      .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);
    }
    
    .photogalery {
      width: 100%;
      margin-bottom: 100px;
    }
    
    .photogalery-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 100%;
      text-align: center;
      align-items: center;
    }
    
    
    .photogalery-container h1 {
      margin-top: 40px;
      color: #009dfb;
      font-size: 58px;
      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 h2 {
      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;
    width: 90%;
    max-width: 2560px;
    margin-top: 50px;
    }
    
    .collage-item {
    overflow: hidden;
    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;
    }
    
    .item-6 img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 25% 25%; /* KLÍČOVÉ: Zajistí, že bude vidět horní část obrázku */
    }
    
    .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 h1 {
      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 h2 {
      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;
    }
    
    .social-images a {
      text-decoration: none;
      list-style-type: none;
    }
    
    .social-images img {
      width: 20%;
      padding: 20px;
    }
    
    .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 h1 {
      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 h2 {
      color: #009dfb;
      font-family: 'Just Another Hand';
      font-size: 48px;
      font-weight: 400;
      transform: rotate(-1deg);
      border-bottom: 3px solid orange;
    }
    
    .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: 62px;
      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;
    }


/* 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 h1 {
        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: 100px;
        transform: rotate(180deg);
      }
      
      .references-bottom-left {
        bottom: 0;
        left: 100px;
        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 h2 {
        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 h1 {
        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 h2 {
        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: 15%;
        height: auto;
        padding: 10px 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: 27.5%;
        max-height: 400px;
        background-color: #F4F4F4;
        border-radius: 25px;
        padding: 40px 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;
      }
    
      .references-user-container p {
        position: absolute;
        bottom: 15px;
        right: 30px;
        font-family: 'DM Sans';
        text-align: right;  
      }
    
      .references-button {
        margin-top: 30px;
      }

      /* videogalerie.html */
      .references-main {
        width: 100%;
        background-image: none;
        height: 70vh;
      }
      
      .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;
      }
    
      .references-main-text {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 10px;
      }
      
      .references-main-text h2 {
        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 {
        /* 2. Vyjmeme obrázek z normálního toku dokumentu */
        position: absolute; 
        
        /* 3. Vyladíme pozici obrázku vůči spanu (rodiči) */
        /* Toto jsou příklady hodnot - budete si je muset doladit! */
        top: 0px;      /* Posun od horního okraje spanu */
        left: 55px;     /* Posun od levého okraje spanu */
        width: 150px;    /* Pevná šířka obrázku kamery */
        
        /* 4. Zajistíme, aby obrázek nepřekrýval text a nebyl klikatelný */
        z-index: -1;
      }
      
      
      .video-orange {
        color: #FB7600;
        position: relative;
        display: inline-block;
      }
      
      .video-galery {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
      }
      
      .video-galery-container {
        width: 85%;
        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: 560px;
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        
      
      }
      
      .video-galery-vimeo {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 150px;
        padding: 0px;
        width: 100%;
      }
      
      .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);
      }

      /* fotogalerie.html */
      .fotogalery-main {
        width: 100%;
        background-image: none;
        height: 450px;
        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 h2 {
        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;
      }
      
      /*
      .smiley-r {
        color: #009dfb;
        font-size: 120px;
        font-family: 'Luckiest Guy';
        font-weight: 400;
        line-height: 0.9;
        position: absolute;
        top: 110px;
        left: 43.5%;
        transform: translateX(110px); 
        z-index: 3;
      }
      */

      /* programme.html*/
      .schedule-main {
        background-image: none;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
      }
      
      .scroll-navigation {
        position: absolute;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        z-index: 50;
        height: 90vh; 
        box-sizing: border-box;
        margin-left: 50px;
      }
      
      .arrow-container {
        width: 100px;
        height: 100px;
        background-color: #009dfb;
        color: #fff;
        border: none;
        display: flex;
        justify-content: center;
        align-items: center; 
        cursor: pointer;
        border-radius: 0px;
        transition: background-color 0.3s ease, transform 0.2s ease;
      }
      
      .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-bar-container {
        width: 5px;
        height: 100%;
        max-height: 590px;
        background-color: #e0e0e0;
        border-radius: 4px;
        position: relative;
        overflow: hidden;
      }
      
      .scroll-bar {
        width: 100%;
        height: 100%;
        position: relative;
      }
      
      .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: 47%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        overflow: hidden;
        box-sizing: border-box;
        margin: 0px auto;
      }
      
      .schedule-title h2 {
        color: #009dfb;
        font-family: 'DM Sans';
        font-size: 110px;
        font-weight: 500;
        line-height: 1;
        margin: 0px 0px 0px 130px;
      }
      
      
      
      .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;
      }
      
      .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: 1.4em;
        left: 6.3em;
      }
      
      .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: center;
        margin: 50px;
      }
      
      .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 */
    .view {
      height: 89vh;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      overflow: hidden;
      padding: 0;
      margin: 0;
      
      /* Tyto vlastnosti jsou důležité pro plynulé přechody */
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    }
    
    /* Styl pro aktivní blok, který je viditelný */
    .view.active {
      opacity: 1;
      visibility: visible;
    }
      
      .programme-main {
        display: flex;
        flex-direction: row;
        justify-content: center;
        background-image: none;
        width: 100%;
        position: relative; 
        height: 90vh;
        overflow: hidden;
      }
      
      
      .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;
        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 {
        margin-top: 40px;
        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;
        gap: 10px;
      }
      
      .programme-main-text .ikona-sipka {
        width: 20px;
        fill:#FB7600;
      }
      
      .programme-main-text h2 {
        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; 
    }
      
      .programme-main {
        position: relative;
        overflow: hidden;
      }
      
      .view {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        margin: 0;
      }
      
      .view.active {
        opacity: 1;
        transform: translateY(0);
      }

      /* contact.html */
      .main-contact {
        width: 100%;
        height: 90vh;
        background-image: none;
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        position: relative;
      }
      
      .contact-title {
        position: relative;
        width: 30%;
        display: flex;
        justify-content: center;
      }
    
      .contact-name {
        writing-mode: vertical-rl;
        font-family: 'DM Sans';
        font-size: 220px;
        font-weight: 400;
        color: #009dfb;
        align-items: center;
        transform: rotate(180deg);
        line-height: 0.8;
        margin: 0;
        margin-bottom: 5px;
        position: relative;
        z-index: 1;
      }
      
      .contact-challenge {
        position: absolute;
        top: 200px;
        left: 100px;
        transform: rotate(-10deg);
        font-family: 'Just Another Hand', cursive;
        font-size: 120px;
        color: #FB7600;
        font-weight: 400;
        z-index: 2;
      }
      
      .contact-data {
        width: 70%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
      }
      
      .contact-data-image {
        width: 80%;
        height: 350px;
        margin: 50px 0px;
      }
    
      .contact-data-image img {
        width: 100%;
      }
      
      .contact-data-text {
        display: flex;
        flex-wrap: wrap; /* Toto je správně a zůstává */
        justify-content: center; /* 'center' zajistí lepší zarovnání, když se prvek zalomí */
        
        /* PŘIDÁNO: Moderní a lepší způsob pro vytvoření mezery mezi prvky */
        gap: 40px;
        
        width: 100%;
        margin-top: 175px;
    }
      
    .contact-data-text a {
      /* PŘIDÁNO: Klíčové pravidlo pro flexibilitu a zalomení */
      /* Růst (1), smrštění (1), ideální základní šířka (350px) */
      flex: 1 1 350px; 
      
      /* PŘIDÁNO: Pojistka, která dovolí zalomení velmi dlouhého textu (emailu) */

  
      /* ODSTRANĚNO: Pevný margin je nahrazen flexibilní vlastností 'gap' na rodiči */
      /* margin-right: 80px; */
  
      /* Doporučení: Nastavte maximální šířku, aby se neroztahovaly do nekonečna */
      max-width: 450px;
  
      /* Vaše původní styly pro písmo a vzhled zůstávají */
      text-align: left;
      margin-top: 0; /* Margin je lepší řešit pomocí 'gap' na rodiči */
      font-family: 'DM Sans';
      font-weight: 400;
      font-size: 42px;
      line-height: 1.1; 
  }
        
  .contact-small {
      font-size: 22px;
      font-weight: 300;
  }

      /* aboutus.html */

      .aboutus-main {
        width: 100%;
        background-image: none;
        height: 90vh;
        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;
        margin-top: 50px;
      }
      
      .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: 53px;
        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: 95%;
      }
      
      .aboutus-container {
        display: flex;
        flex-direction: row;
        width: 100%;
        margin: 100px 0px;
      }
      
      .aboutus-container-text {
        display: flex;
        flex-direction: column;
        width: 50%;
        text-align: left;
        margin: 0px 50px;
      }
      
      .aboutus-container-text p {
        font-family: 'DM Sans';
        font-weight: 300;
        font-size: 42px;
        width: 95%;
        line-height: 1.2;
        letter-spacing: 3px;
      }
      
      .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: 0;
      }
      
      .aboutus-container-image img {
        width: 100%;
        border-radius: 50px;
        height: 550px;
        object-fit: cover;
      }
    
      /* .aboutus */
    
    .aboutus-main {
        width: 100%;
        background-image: none;
        height: 90vh;
        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 h2 {
        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;
        text-align: center;
        gap: 10px;
      }
      
      .pan-kravata-img {
        position: absolute;
        bottom: -112px; 
        left: 60%;
        width: 45%;
        z-index: 9999; 
        margin: 0;
        padding: 0;
      }
  
      .ikona-sipka {
        width: 32px;
        height: 32px;
      }
    
      .ikona-sipka {
        fill: #FB7600;
      }
      
      .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;
        margin: 0px;
      }
  }