/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(pozadiii.jpg);
    background-size: cover;
    color: white;
}

header {
    background-color: black;
    padding: 15px;
    text-align: center;
}

header nav ul {
    list-style-type: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}


.hero {
    height: 80vh; 
    color: black;
    text-align: center;
    padding-top: 100px;
    margin: 0; 
    background-image: url(pozadí1.webp);
    
}

.hero h1 {
    font-size: 50px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero p {
    font-size: 20px;
    margin-top: 0px;
}
#about{
    background-color:black;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 5%;
    margin-top: 5%;
    
}
#facts{
    background-color: black;
    margin-left: 5%;
    margin-right: 5%;
}

#about, #facts, #contact {
    padding: 50px;
    text-align: center;
}

#about h2, #facts h2, #gallery h2, #contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}


.gallery-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 5%;
}

.gallery-container img {
   
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
footer {
    background-color: black ;
    color: #fff;
    text-align: center;
    padding: 20px;
    bottom: 0;
    width: 100%;
}
 .obrezek1{
    width: 60%;
    margin-left: 0%;
 }
.lamas:hover {
    transform: scale(1.2) rotate(10deg); 
}
.lamas.exploded {
    transform: scale(1.5); 
    opacity: 0; 
}
.lamas {
    height: auto;
    transition: transform 0.5s ease, opacity 0.5s ease; 
}
.lamas.explodingEffect {
    transform: scale(1.5) rotate(15deg); 
    opacity: 0.5;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
#explosionImages img {
    width: 10%;
    margin: 10px;
    transition: transform 0.5s ease; 
}
.lamas :hover {
    transform: scale(1.1); 
}
.o1{
    width: 390px;
    height: auto; 
}
.o2{
    width: 300px;
    height: auto;
}
.o3{
    width: 300px;
    height: auto;
}

@media (max-width: 600px){
    .gallery-container{
    width: 60%;
    display:block;
    
 }
    .lamaImage{
        width: 40%;
        height: auto;
    }
    #explosionImages img {
        width: 40%; 
        margin: 10px;
        transition: transform 0.5s ease; 
    }
}
