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

    /*** SEKCE KAPELA - ÚPRAVA FOTEK, NAD 1520px - 5 FOTEK VEDLE SEBE ***/

    /*** 4 FOTKY VEDLE SEBE ***/

    .images-band li {
        flex: 1 1 22%;
        max-width: 22%;
    }

    .images-band img {
        margin-top: 12%;
    }

    .images-band h1 {
        margin-top: 15%;
    }

    /*** SEKCE KAPELA - ODSAZENÍ VIDEO ODKAZU ***/

    .band-description {
        margin-top: 2%;
    }

    /*** SEKCE MERCH - ÚPRAVA FOTEK, NAD 1520px - 4 FOTKY VEDLE SEBE ***/

    .merch-items li {
        flex: 1 1 22%;
        max-width: 22%;
    }
}

/******************************************************************/

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

    /*** SEKCE GALERIE - NASTAVENÍ ODSAZENÍ LOGA ***/

    .image-download {
        margin-left: 11%;
    }

    /*** SEKCE GALERIE - ZMĚNA VELIKOSTI LOGA PROTI SMĚRU V POZADÍ ***/

    .image-download img {
        display: block;
        max-width: 85%;
        height: auto;
    }

    /*** SEKCE GALERIE - ZAROVNÁNÍ TLAČÍTKA KE STAŽENÍ LOGA ***/

    .button-download {
        display: block;
        margin-right: 13%;
        margin-top: 5%;
        margin-bottom: 9%;
    }
}

/******************************************************************/

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

    /*** MOBILNÍ MENU - VYNUCENÍ SKRYTÍ ***/

    .row nav {
        display: inline-block;
    }

    /*** NAVIGAČNÍ MENU - POZADÍ NAVIGAČNÍ LIŠTY ***/

    .navigation-background {
        display: none !important;
    }

    /*** ODSTRANĚNÍ POZADÍ NAVIGACE PŘI MOBILNÍM ZOBRAZENÍ ***/

    .navigation-background {
        background: transparent;
        border: none;
    }

    /*** SEKCE KONCERTY - ODSAZENÍ ***/

    .event-description-line {
        margin-left: 13px;
        margin-right: 13px;
    }

    .event-description-main {
        margin-left: 13px;
        margin-right: 13px;
    }

    .venue-date {
        margin-top: 2%;
    }

    .venue-description {
        margin-bottom: 2%;
    }

    .venue-event-icon {
        padding-left: 13.2%;
        margin-bottom: 3%;
    }

    /*** MOBILNÍ NAVIGAČNÍ MENU ***/

    #logo img {
        display: none;
        z-index: 102;
    }
    .mobile-menu {
        display: flex !important;        
        gap: 2rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;  
        font-size: 2.5rem;
        top: 20%;
        right: 0;
        bottom: 0;
        left: 0;
        padding-top: 2rem;
        list-style: none;
        text-align: center;
        z-index: 102;
    }
    .mobile-navigation-media { 
        display:flex !important;        
        flex-direction: row;
        align-items: center;
        justify-content: center;
        column-gap: 2.5rem;        
        margin: 0;
        padding: 0;
        top: 20%;
        right: 0;
        bottom: 0;
        left: 0;
        list-style: none;
        text-align: center;
        z-index: 102;
        padding-top:2rem;
    }

    .mobile-logo {
        display: block;
        text-align: center;
        margin-top: 12px;        
    }

    .mobile-logo img, 
    .mobile-logo a img {
        width: 17.5rem;
    }
    
    .mobile-navigation-icon {
        display: inline-block;
        position: fixed;
        right: 2%;
        z-index: 102;
    }

    .mobile-navigation-background {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding-bottom:2rem;        
        z-index: 100;
        height: fit-content;
        position: fixed;
        width: 100%;
        background: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95));
        border-bottom: 3px solid #fff;
        display: none;
    }

    /*** MOBILNÉ NAVIGAČNÍ MENU - SEŘAZENÍ POLOŽEK POD SEBE ***/

    nav ul li {
        width: auto;
        margin: 0;
    }

    nav ul li a {
        border-bottom: none;
    }

    nav ul li a:hover,
    nav ul li a:active {
        border-bottom: none;
    }

    nav ul li:has(a):not(:has(img.icon)) {
        display: block;
        text-align: center;
        margin-bottom: 1.5%;
    }

    /*** MOBILNÍ NAVIGAČNÍ MENU - SEŘAZENÍ IKON VEDLE SEBE ***/

    nav ul li:has(img.icon) {
        display: inline-block;
        width: auto;
        margin-right: 3%;
        margin-left: 3%;
        margin-top: 1.9%;
    }

    nav ul li:has(img.icon):first-of-type {
        margin-top: 3%;
    }
}

/******************************************************************/

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

    /*** SEKCE KAPELA - NASTAVENÍ ODSAZENÍ A ROZLOŽENÍ OBRÁZKŮ ***/

    .gallery-segment img {
        flex: 1 1 100%;
        max-width: 90%;
        margin-left: 5%;
        margin-right: 6%;
    }
}

/******************************************************************/

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


    /*** SEKCE MERCH - ÚPRAVA FOTEK POD SEBE ***/

    .merch-items li {
        width: 100%;
    }

    .merch-items li img {
        margin-top: 12%;
    }

    .merch-items h1 {
        margin-top: 5%;
    }

    /*** SEKCE MERCH - ODSAZENÍ POPISKU ZVRCHU ***/

    .merch-items-note {
        margin-top: 3%;
    }
}

/******************************************************************/

@media only screen and (max-width: 1200px) {
   
    /*** NAVIGAČNÍ MENU - ODSAZENÍ NADPISŮ ZVRCHU ABY SE NEKRYLI ***/

    h1 {
        margin-top: 11%;
    }

    /*** SEKCE KAPELA - ÚPRAVA FOTEK, NAD 1200px - 4 FOTKY VEDLE SEBE ***/

    /*** 3 FOTKY VEDLE SEBE ***/

    .images-band li {
        flex: 1 1 30%;
        max-width: 30%;
    }

    /*** SEKCE MERCH - ÚPRAVA FOTEK, NAD 1200px - 4 FOTKY VEDLE SEBE ***/

    /*** 3 FOTKY VEDLE SEBE ***/

    .merch-items li {
        flex: 1 1 30%;
        max-width: 30%;
    }

    .merch-items h1 {
        margin-top: 15%;
    }
}

/******************************************************************/

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

    /*** NAVIGAČNÍ MENU - ODSAZENÍ NADPISŮ ZVRCHU ABY SE NEKRYLI ***/

    h1 {
        margin-top: 12%;
    }

    /*** SEKCE MERCH - VELIKOST PÍSMA V POZNÁMCE ***/

    .merch-items-note {
        font-size: 20px;
    }
}

/******************************************************************/

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

    /*** NAVIGAČNÍ MENU - ODSAZENÍ NADPISŮ ZVRCHU ABY SE NEKRYLI ***/

    h1 {
        margin-top: 13%;
    }

    /*** SEKCE KONCERTY - VELIKOST PÍSMA ***/

    .event-description-main {
        font-size: 18px;
    }
}

/******************************************************************/

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

    /*** NAVIGAČNÍ MENU - ODSAZENÍ NADPISŮ ZVRCHU ABY SE NEKRYLI ***/

    h1 {
        margin-top: 15%;
    }

    /*** SEKCE KAPELA - ÚPRAVA FOTEK, NAD 768px - 3 FOTKY VEDLE SEBE ***/

    /*** 2 FOTKY VEDLE SEBE ***/

    .images-band li {
        flex: 1 1 45%;
        max-width: 45%;
    }

    /*** SEKCE MERCH - ÚPRAVA FOTEK, NAD 768px - 3 FOTKY VEDLE SEBE ***/

    /*** 2 FOTKY VEDLE SEBE ***/

    .merch-items li {
        flex: 1 1 45%;
        max-width: 45%;
    }

    /*** PATIČKA - ZMENŠENÍ LOGA ***/

    .footer-image img {
        width: 65%;
    }
}

/******************************************************************/

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

    /*** NAVIGAČNÍ MENU - ODSAZENÍ NADPISŮ ZVRCHU ABY SE NEKRYLI ***/

    h1 {
        margin-top: 20%;
    }

    /*** SEKCE KONTAKT - VELIKOST PÍSMA ***/

    .contact-email {
        font-size: 2rem;
    }

    .contact-phone {
        font-size: 2rem;
    }
}

/******************************************************************/

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

    /*** SEKCE MERCH - ODSAZENÍ ODSTAVCE S POZNÁMKOU K OBJEDNÁVCE ***/

    .merch-items-note p {
        margin-left: 1.5%;
        margin-right: 1.5%;
    }
}

/******************************************************************/

@media only screen and (max-width: 500px) {              
    
    /*** NAVIGAČNÍ MENU - ODSAZENÍ NADPISŮ ZVRCHU ABY SE NEKRYLI ***/

    h1 {
        margin-top: 12%;
    }

    /*** ODSTRANĚNÍ LOGA Z NAVIGAČNÍ LIŠTY PRI MOBILNÍM ZOBRAZENÍ ***/

    #logo img {
        display: none;
    }

    /*** ZOBRAZENÍ LOGA V MOBILNÍ NAVIGACI ***/

    .mobile-logo {
        display: block;
        text-align: center;
        margin-top: 14px;
    }

    /*** ODSTRANĚNÍ POZADÍ NAVIGACE PŘI MOBILNÍM ZOBRAZENÍ ***/

    .navigation-background {
        background: transparent;
        border: none;
    }

    /*** ODSAZENÍ NAVIGAČNÍHO MENU PŘI MOBILNÍM ZOBRAZENÍ ***/

    nav ul {
        top: 16.75%;
    }   
}

/******************************************************************/

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

    /*** SEKCE KAPELA - ÚPRAVA FOTEK, NAD 480px - 2 FOTKY VEDLE SEBE ***/

    /*** FOTKY POD SEBOU - 1 FOTKA V ŘÁDKU ***/

    .images-band li {
        flex: 1 1 50%;
        max-width: 50%;
    }

    /*** SEKCE MERCH - ÚPRAVA FOTEK, NAD 480px - 2 FOTKY VEDLE SEBE ***/

    /*** FOTKY POD SEBOU - 1 FOTKA V ŘÁDKU ***/

    .merch-items li {
        flex: 1 1 85%;
        max-width: 85%;
    }
}

/******************************************************************/

/*** PRAVIDLA PRO NASTAVENÍ VÝŠEK MOBILNÍ NAVIGACE ***/ 

/******************************************************************/

@media only screen and (max-height: 600px) {
    
    /*** PŘIZPŮSOBENÍ VÝŠKY POZADÍ MOBILNÍ NAVIGACE ***/
    
    .mobile-navigation-background {
        max-height: fit-content;
        max-height: 500px;
        height: unset;
        overflow-y: auto;        
    }
}

/******************************************************************/
