.content-box {
    text-align: center;
}

.prvniCast {
    height: 100vh;
    background: url('./obrazky/pozadiUvod.jpeg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.nadpis {
    font-size: 1300%;
    font-weight: bold;
    color: white;
    font-family: bangers;
    letter-spacing: 5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.podNadpis {
    font-size: 500%;
    color: white;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-family: bangers;
}

.content-section {
    background: url('./obrazky/pozadi.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 170%;
    padding: 20px;
}

.nadpisInfo {
    text-align: center;
    font-size: 3rem;
    font-family: 'Bangers', cursive;
    color: white;
    margin-bottom: 10px;
}

.popisInfo {
    text-align: center;
    font-size: 70%;
    color: white;
    margin: 0 auto 30px; 
}


.nadpisProdukty{
    font-family: bangers;
    font-size: 170%;
    margin-bottom: 5%;
}

.card {
    overflow: hidden; 
    position: relative;
    margin-top: 0;
    margin-right: 10%;
    border: none; 
    background: none;
}

.card-img-top {
    transition: all 0.3s ease;
    background: none;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); 
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-align: center;
    border-radius: 20px;
}

.card:hover .card-img-top {
    filter: brightness(50%); 

}

.card:hover .card-overlay {
    opacity: 1;
    visibility: visible;
    border-radius: 20px;
}

.kartaTitulek {
    font-size: 120%;
    margin-bottom: 10px;
    font-family: bangers;
}

.kartaPopis {
    font-size: 50%;
    margin-bottom: 20px;
    font-family: bangers;
    letter-spacing: 1px;
    
}

.card-btn {
    font-size: 40%;
    padding: 10px 20px;
    font-family: bangers;
}

.cara{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%; 
    border-top: 3px solid white;
}

.nadpisGalerie{
    font-family: bangers;
    font-size: 170%;
    margin-bottom: 5%; 
    padding-top: 5%;
}

.fotka {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; 
}

.fotka {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; 
}

.fotka img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fotka:hover img {
    transform: scale(1.10);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.kontakt{
    padding-top:2% ;
}


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

.nadpis{
    font-size: 500%;
}

.podNadpis{
    font-size: 300%;
}

.card{
    margin-bottom: 5%;
    margin-left: 10%;
}

.nadpisGalerie{
    padding-top: 10%;
}

.kontakt{
    padding-top: 5%;
}


}
