* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Oswald", sans-serif;;
    text-transform: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body{
    background-color: #fff;
}


/* Hlavička*/
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background-color: #e97936;
}


header .logo {
    z-index: 1;
    width: 15%;
    height: 15%;
    padding-bottom: 10px;
    padding-top: 10px;
}



header .navbar ul {
    list-style: none;
}

header .navbar ul li {
    position: relative;
    float: left;
}

header .navbar ul li a {
    font-size: 200%;
    padding: 20px;
    color: #fff;
    display: block;
    font-weight: bolder;
}

header .navbar ul li a:hover {
    color: gray;
    transition-duration: 1s;
}

#menu-bar{
    display: none;
}

header label{
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    display: none;
    padding: 15px;
}

header label:hover{
    color: gray;
    transition-duration: 1s;
    
}

@media(max-width:740px){
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Poppins", sans-serif;
        text-transform: none;
        text-decoration: none;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    header{
        padding: 20px;
    }

    header label{
        display: flex;
        color: #fff;
    }

    header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background:  #e97936;
        border-top: 1px solid rgba(0, 0, 0,.1);
        display: none;
    }

    header .navbar ul li{
        width: 100%;
    }

    header .navbar ul li ul{
        position: relative;
        width: 100%;
    }

    header .navbar ul li ul li{
        background: #eee;
    }

    header .navbar ul li ul li ul{
        width: 100%;
        left: 0;
    }

    #menu-bar:checked ~ .navbar{
        display: flex;
    }

    h1{
        padding-top: 40%;
        font-size: 10%;
    }

    h2{
        text-align: center;
    }

    .logo{
        display: none;
    }

}
  
/* hlavní stránka */
.wrapper {
    position: relative;
    height: 100vh;
    margin: 0;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 
.slide.active {
    display: block;
}


.prev, .next {
    position: absolute;
    top: 50%;
    padding: 16px;
    color: rgba(255, 255, 255, 0.503);
    font-weight: bold;
    font-size: 24px;
    cursor: pointer;
    z-index: 2; 
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 100%;
  }
  
  .slide {
    display: none;
    position: relative;
  }
  
  .slide.active {
    display: block;
  }
  
  img {
    width: 100%;
    height: auto;
  }
  

  .slide-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.808);
    font-size: 10rem;
    font-weight: bold;
    z-index: 2; 
    text-align: center;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  @media (max-width: 991px) {
    
    .wrapper {
        height: 100%; 
    }

    .slideshow-container {
        height: 70vh; 
    }

    .slide img {
        width: 100%;
        height: 100%; 
    }

    
    .slide-text {
        font-size: 6rem; 
        top: 50%;
    }

   
    .prev, .next {
        padding: 14px; 
        font-size: 22px; 
    }

   
    .slide {
        height: auto; 
    }
}

  @media (max-width: 771px) {
   
    .wrapper {
        height: auto; 
    }

    .slideshow-container {
        height: 300%; 
    }

    .slide img {
        width: 100%;
        height: auto; 
    }

    
    .slide-text {
        font-size: 3rem; 
        top: 30%; 
    }

    
    .prev, .next {
        padding: 12px; 
        font-size: 18px; 
    }
    
   
    .slide {
        height: auto; 
    }

    
    .prev, .next {
        font-size: 20px;
    }
}

@media (max-width: 390px){
    .slide-text {
        font-size: 2rem; 
        top: 35%; 
    }
}


.info2 {
    display: flex;
    margin-left: 5%;
    align-items: stretch;
    gap: 10px;
    padding: 20px;
    max-width: 90%;
}

.infoh2{
    color: #e97936;
    font-size: 200%;
}

.infop{
    color: black;
}

.column {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.separator {
    width: 2px;
    background-color: black;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .info2 {
        flex-direction: column;
    }
    .separator {
        display: none;
    }
}



/* Info text */
.projekty {
    width: 100%;
    background-color: #b4b4b4;
    height: 100%;
}

.container {
    display: flex;
    background-color: #b4b4b4;
}

p {
    font-family: 'Rubik', sans-serif;
    margin-right: 30px;
    margin-top: 10px;
    color: #eee;
    font-size: larger;
}

.section1 {
    box-shadow: 5px 5px 20px black;
    display: flex;
    justify-content: space-between;
    padding: 40px;
    width: 70%;
    margin-top: 5%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    background-color: #e97936;
    border-radius: 50px;
}

.vznik {
    font-size: 30px;
    margin-top: 2%;
    color: #fff;
}

.best1 {
    padding-top: 5%;
    color: #fff;
    text-align: center;
}



.harmonogram {
    font-family: 'Rubik', sans-serif;
    margin-right: 30px;
    margin-top: 10px;
    font-size: 30px;
}

.kapela {
    padding-top: 10%;
}

.best2 {
    padding-top: 5%;
    color: #fff;
    text-align: center;
    padding-bottom: 3%;
    background-color: gray;
}




@media (max-width: 390px) {
    .best2 {
        font-size: 150%;
    }

    .section1 {
        width: 100%; 
        padding: 10px;
    }

    .section1 img {
        width: 12em;
        height: 8em;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .karta {
        height: 300px;
        margin: 10px;
    }

    img {
        width: 100%;
        height: auto;
    }

    .intro {
        width: 100%;
        height: 40px;
        bottom: 80px;
    }

    .nadpis {
        font-size: 24px; 
    }

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




/* karty na kapelu */

.karta{
    height: 430px;
    margin: 50px;
    box-shadow: 5px 5px 20px black;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}


img{
    height: 500px;
    width: 350px;
    border-radius: 3px;
}

.intro{
    height: 70px;
    width: 350px;
    padding: 6px;
    box-sizing: border-box;
    position: relative;
    background: rgb(27, 27, 27, .5);
    color: white;
    bottom: 145px;
}

.nadpis{
    margin: 10px;
    font-size: 40px;
    
}

.text{
    font-size: 20px;
    margin: 20px;
    visibility: hidden;
    opacity: 0;
}



.karta:hover{
    cursor: pointer;
}

.karta:hover .intro{
    height: 220px;
    bottom: 250px;
    background: black;
    transition: 1s;
}

.karta:hover .text{
    opacity: 1;
    visibility: visible;
    transition: 1s;
}

.infokontakt{
    padding-top: 5%;
    color: #fff;
    text-align: center;
}


@media(max-width:740px){
    .infokontakt{
        font-size: 250%;
    }
}

/* Kontaktní info */
.contact-info{
    width: 100%;
    align-items: center;
    padding: 0 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
}



.card{
    background:gray;
    padding: 0 20px;
    margin: 0 10px;
    width: calc(33% - 20px);
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    cursor: pointer;
    border-radius: 15%;
    margin-bottom: 3%;
}


.card-icon{
    size: 40px;
    background-color: white;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px !important;
    border-radius: 50%;
    transform: 0.3s linear;
    color: black;
}

.card.card:hover{
    background: gray;
    color: gray;
    transform: scale(1.1);
    transition: 1s;
    
}

.card-icon:hover{
    background: white;
}

.card p{
    margin-top: 20px;
    font-weight: 100;
    letter-spacing: 2px;
    max-height: 0;
    opacity: 0;
    transition: 0.3s linear;
    text-align: center;
}

.card:hover p{
    max-height: 40px;
    opacity: 1;
    transition: 1s;
    text-align: center;
}

@media(max-width:1400px){
    .contact-info {
        padding: 0 20px; 
        flex-direction: column;
    }

    .card {
        width: 80%; 
        margin: 10px 0; 
    }
 }


 /* Mapa */
.mapa{
    text-align: center;
}

iframe{
    box-shadow: 5px 5px 20px black;
    background-color: #fff;
    margin-top: 1%;
}

@media (max-width: 870px){
    .mapa{
        display: none;
    }
}

/* Style pro sekci PARTNEŘI */
.partners {
    text-align: center;
    margin-top: 30px;
}

.best1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}


.partner-logos {
    display: flex;
    justify-content: center; 
    gap: 50px; 
    margin-top: 20px;
}

/* Každý obrázek partnera */
.partner img {
    width: 250px; 
    height: 250px;
    object-fit: contain; 
    border: none; 
}

@media (max-width: 991px) {
    .best1 {
        font-size: 2rem; 
    }

    .partner-logos {
        gap: 30px;
    }

    .partner img {
        width: 200px;
        height: 200px; 
    }
}


@media (max-width: 771px) {
    .best1 {
        font-size: 1.8rem;
    }

    .partner-logos {
        gap: 20px; 
    }

    .partner img {
        width: 180px; 
        height: 180px; 
        display: none;
    }
}


@media (max-width: 390px) {
    .best1 {
        font-size: 1.5rem; 
    }

    .partner-logos {
        flex-direction: column; 
        gap: 15px; 
    }

    .partner img {
        width: 150px; 
        height: 150px; 
    }
}


/* Patička */
footer {
    background-color: gray;
}

.footerContainer {
    width: 100%;
    padding: 25px 30px 20px;
    box-shadow: 0 10px 20px gray;
}



.footerBottom {
    background-color: gray;
    padding: 20px;
    text-align: center;
}

.footerBottom p {
    color: black;
}