/* General Reset*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

div {
    z-index: 1;
    background-size: cover;
    box-sizing: border-box;
}

#allira1 {
        position: absolute;
        left: 0px;
        top: 0px;
        z-index: -1;

            
        }

#title {
    color: aliceblue;
    margin: 0;
    padding: 10px;
    font-family: 'Helvetica', sans-serif;
    z-index: 1;
    text-align: center;
    font-size: 150px;
    background-size: cover;
}

html, body {
    min-height: 100vh;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent scrolling */
}

.mapa-body {
    overflow-y: scroll !important;
}

.opening-image {
    background-image: url("images/Uvodní\ obrazek.png");
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
   /* object-fit: cover; /* Ensure it fills the screen without distortion*/
    z-index: -2;
    display: block; /* Initially visible */
    background-size: cover;
    box-sizing: border-box;
}

/* Text Bubble*/
.text-bubble {
    margin: 0;
    padding: 0;
    bottom: 60%;
    border-radius: 10px;
    font-size: 20px;
    font-family: 'Helvetica', sans-serif;
    width: 90%;
    height: 10%;
    background-color: aliceblue;
    z-index: 5; /* Above GIF*/
}

        p {
            word-wrap: break-word;
            word-break: normal;
            text-wrap:inherit;
        }

/* Buttons */
.button {
    position: absolute;
    width: 200px;
    height: 60px;
    bottom: 10%;
    left: 42%;
    padding: 10px 20px;
    font-size: 30px;
    font-family: 'Helvetica', 'sans-serif';
    color: aliceblue;
    background-color:lightseagreen;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    animation: pulse 1.5s infinite;
    transition-duration: 0.3s;
}

.button:hover {
    background-color: rgb(8, 98, 112);
}

#images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure it fills the screen without distortion*/
    z-index: -2;
    display: block; /* Initially visible */
}

#menu {
    width: 110px;
    height: 40px;
    bottom: 2%;
    left: 5%;
    padding: 10px 20px;
    font-size: 20px;
    font-family: 'Helvetica', 'sans-serif';
    color: aliceblue;
    background-color:lightseagreen;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#menu:hover {
    background-color: rgb(8, 98, 112);
}

#mapa {
    width: 110px;
    height: 40px;
    bottom: 2%;
    left: 14%;
    padding: 10px 20px;
    font-size: 20px;
    font-family: 'Helvetica', 'sans-serif';
    color: aliceblue;
    background-color:lightseagreen;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#mapa:hover {
    background-color: rgb(8, 98, 112);
}

#next {
    width: 110px;
    height: 40px;
    bottom: 2%;
    left: 90%;
    padding: 10px 20px;
    font-size: 20px;
    font-family: 'Helvetica', 'sans-serif';
    color: aliceblue;
    background-color:lightseagreen;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#next:hover {
    background-color: rgb(8, 98, 112);
}

#text1 {
            font-weight: 500;
            font-family: 'Helvetica', 'sans-serif';
            cursor: default;
            animation: ease-in-out 2s;
            bottom: 50%;
            left: 50%;
            align-items: center;
            border: 10px black;
            box-sizing: border-box;
        }

        #info {
            text-align: center;
            display: none;
            position:absolute;
            top: 0;
            font-size: 3vw;
            font-family: 'Helvetica', 'sans-serif';
            font-weight: 600;
            font-style: normal;
            color:aliceblue;
            border: none;
            background-color:lightseagreen;
            padding: 7vw;
            z-index: 10;
                }

  .hidden {
        display:none;
 }

