@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    background-image: url(mpf_background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    overflow: hidden;
}

#obrazek {
  position: absolute;
  top: 50%;                 
  left: 50%;
  transform: translate(-50%, -50%) scale(0.65); 
  transform-origin: center center;
  z-index: 15;
}

.infotabulka {
    position: absolute; 
    top: 45%;
    left: 50%;     
    transform: translate(-50%, 0); 
    font-family: "Quicksand", sans-serif;
    
    background-color: white;      
    color: #333;                  
    padding: 30px 40px;          
    border-radius: 15px;          
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    text-align: center;          
    width: 60%;                    
    max-width: 500px;             

    display: none;                 
    z-index: 100;                  
}

/* tlacitko*/
#zavrit {
  margin-top: 10px;
  background-color: #00bcd4;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  color: white;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#zavrit:hover {
  background-color: #0098af;
}

.bubliny {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  opacity: 45%;
}

.bubliny span {
  position: absolute;
  bottom: -50px; 
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2); 
  border-radius: 50%;
  animation: bubliny 15s infinite;
}

.bubliny span:nth-child(1) {
  left: 10%;
  width: 25px;
  height: 25px;
  animation-duration: 12s;
  animation-delay: 0s;
}

.bubliny span:nth-child(2) {
  left: 25%;
  width: 40px;
  height: 40px;
  animation-duration: 18s;
  animation-delay: 3s;
}

.bubliny span:nth-child(3) {
  left: 40%;
  width: 15px;
  height: 15px;
  animation-duration: 10s;
  animation-delay: 1s;
}

.bubliny span:nth-child(4) {
  left: 55%;
  width: 35px;
  height: 35px;
  animation-duration: 20s;
  animation-delay: 2s;
}

.bubliny span:nth-child(5) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-duration: 14s;
  animation-delay: 4s;
}

.bubliny span:nth-child(6) {
  left: 85%;
  width: 50px;
  height: 50px;
  animation-duration: 25s;
  animation-delay: 6s;
}

.bubliny span:nth-child(7) {
  left: 90%;
  width: 30px;
  height: 30px;
  animation-duration: 17s;
  animation-delay: 8s;
}

/* ✨ animace pohybu nahoru */
@keyframes bubliny {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) scale(1.2);
    opacity: 0;
  }
}