body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
   overflow: hidden; /* sakriva i vertikalni i horizontalni scroll */
}


.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('pozadina.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;        /* vertikalno */
  justify-content: flex-start; /* pomera levo */
  padding-left: 5%;           /* razmak od leve ivice */

}

.overlay-text h1 {
  color: white;
  font-size: 5em;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  animation: fadeInZoom 2s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInZoom {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .overlay-text h1 {
    font-size: 2em;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .overlay-text h1 {
    font-size: 1.5em;
  }
}

.tiktok-icon {
  display: block;
  margin-top: 20px;
  width: 80px;
  animation: float 3s ease-in-out infinite;
  margin: 103px; /*izbaciti ovo, privremeno resenje*/
}

.tiktok-icon img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
   animation: fadeInZoom 6s ease-out forwards;
}

.tiktok-icon:hover img {
  transform: scale(1.2) rotate(10deg);
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.tiktok-icon span {
    position: absolute;
    top: 22px;
    color: cornsilk;
    /* size: 10px; */
    font-size: 19px;
margin: -7px;
  animation: fadeInZoom 6s ease-out forwards;
}
	

