/*
Theme Name: Sklep Muzikant
Theme URI: https://example.com/
Author: Sklep Muzikant
Description: WordPress šablona převedená z původního webu Sklep Muzikant. Zachovává původní vzhled a responzivní úpravy.
Version: 1.0.0
Text Domain: sklep-muzikant
*/
.nadpis {
    position: fixed;
    top: -50px;
    width: 1300px;
    height: 150px;
    fborder: 2px solid black;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    background-image: url(images/pozadinadpisu.png);
}

html {
    scroll-behavior: smooth;
}
    


h1 {
    font-family: "Cinzel Decorative", cursive;
    font-size: 30px;
    color: black;
    text-align: left;
    position: absolute;
    top: 50px;
    left: 50;
    z-index: 2;
}

h2 {
    font-family: "Cinzel Decorative", cursive;
    font-size: 30px;
    color: black;
    text-align: center;
    position: relative;
    z-index: 2;
    scroll-margin-top: 100px;
}

body {
    background-image: url("images/Background.png");
    background-position: center -230px;
    background-size: 2300px;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


.podtrhnutinadpisu {
    width: 270px;
    height: 30px;
    position: absolute;
    top: 110px;
    left: 5px;
    }

.podtrhnutinadpisu2 {
    width: 200px;
    height: auto;
    margin-top: -20px;
    margin-bottom: 20px;
    margin-left: 5px;
    margin-right: -5px;
}


.tlacitko {
    font-size: 25px;
    display: inline-block;
    padding: 15px 30px;
    background-color: none;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    position: absolute;
    font-family: "Cinzel Decorative", cursive;
    top: 0px;
}

.osklepu{
    fborder: 2px solid black;
    position: absolute;
    left: 300px;
    top: 70px;
    height: 50px;
    width: 200px;
    }


.fotky{
    fborder: 2px solid black;
    position: absolute;
    left: 470px;
    top: 70px;
    height: 50px;
    width: 170px;
    }


.ubytovani{
    fborder: 2px solid black;
    position: absolute;
    left: 600px;
    top: 70px;
    height: 50px;
    width: 170px;
    }

 .kontakt{
    fborder: 2px solid black;
    position: absolute;
    left: 790px;
    top: 70px;
    height: 50px;
    width: 170px;
    }

.turista{
    fborder: 2px solid black;
    position: absolute;
    left: 980px;
    top: 70px;
    height: 50px;
    width: 200px;
    }


.sekce{

        position: relative;
        margin: 100px auto;
        text-align: center;
        height: auto;
        min-height: 0;

    }

    .text1 {

        
        width: 80%;
        max-width: 800px;
        margin: 0 auto;
        padding: 30px;
        box-sizing: border-box;


        fborder: 2px solid black;
        text-align: center;

        overflow: hiden;
        overflow-wrap: break-word;
    }

    p{
        font-size: 20px;
    }

    .text1 img {
    max-width: 100%;
    height: auto;
}



/* Responzivní úpravy – původní desktopový vzhled zůstává zachován */
@media (max-width: 1350px) {
    .nadpis {
        width: calc(100% - 32px);
        max-width: 1300px;
    }
}

@media (max-width: 900px) {
    .nadpis {
        top: 0;
        width: 100%;
        height: auto;
        min-height: 145px;
        padding: 12px 16px 14px;
        box-sizing: border-box;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        column-gap: 8px;
        row-gap: 2px;
        background-size: auto 100%;
        background-position: center;
    }

    h1 {
        position: static;
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: clamp(22px, 4vw, 30px);
        line-height: 1.3;
        text-align: center;
    }

    .podtrhnutinadpisu {
        position: static;
        display: block;
        width: min(270px, 70%);
        height: auto;
        margin: -2px auto 2px;
    }

    .osklepu,
    .fotky,
    .ubytovani,
    .kontakt,
    .turista {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
    }

    .tlacitko {
        position: static;
        display: inline-block;
        padding: 8px 10px;
        font-size: clamp(14px, 2.2vw, 19px);
        line-height: 1.25;
        white-space: nowrap;
    }

    .sekce {
        margin: 185px auto 70px;
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .sekce + .sekce {
        margin-top: 70px;
    }

    h2 {
        font-size: clamp(22px, 4vw, 30px);
        scroll-margin-top: 165px;
    }

    .podtrhnutinadpisu2 {
        display: block;
        width: min(200px, 55%);
        height: auto;
        margin: -12px auto 20px;
    }

    .text1 {
        width: 100%;
        max-width: 800px;
        padding: 20px;
    }

    .text1 img {
        max-width: 100%;
        height: auto;
    }

    body {
        background-position: center top;
        background-size: cover;
        background-attachment: scroll;
    }
}

@media (max-width: 600px) {
    .nadpis {
        min-height: 0;
        padding: 10px 8px 12px;
        column-gap: 2px;
        row-gap: 1px;
    }

    h1 {
        font-size: 23px;
    }

    .podtrhnutinadpisu {
        width: min(220px, 65%);
    }

    .tlacitko {
        padding: 7px 6px;
        font-size: 13px;
    }

    .sekce {
        margin-top: 155px;
        margin-bottom: 55px;
        padding: 0 10px;
    }

    .sekce + .sekce {
        margin-top: 55px;
    }

    h2 {
        font-size: 22px;
        scroll-margin-top: 145px;
    }

    .text1 {
        padding: 12px;
    }

    p {
        font-size: 17px;
    }
}

@media (max-width: 360px) {
    .tlacitko {
        padding: 6px 4px;
        font-size: 12px;
    }

    h1 {
        font-size: 21px;
    }
}
