body{
    margin: 0;
    background-color: black;
}

.bg_pocetna{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    position: absolute;
   
}

.pocetna_div{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: black;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  z-index: 1;
  opacity: 1;
  transition: opacity 4s ease-out;
}

.loop-holder {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  margin-top: 2%;
  color: white;
  position: relative;
  z-index: 3;
}


.loop-holder__text {
    animation: textLoop 20s linear infinite;
    font-size: 6vw;
    font-family: 'Overpass', sans-serif;
    display: flex;
    position: relative;
    z-index: 3;
}

.stop-animation {
  animation: textLoop 20s linear infinite;
  font-size: 6vw;
  font-family: 'Overpass', sans-serif;
  display: flex;
  position: relative;
  z-index: 3;
  animation-play-state: paused;
}

@keyframes textLoop {
  0% {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0)
  }
  100% {
      -webkit-transform: translate3d(-100%, 0, 0);
      transform: translate3d(-100%, 0, 0)
  }
}

.music_btn:hover, .lies_btn:hover, .breathe_btn:hover{
  color: red;
}

a{
  text-decoration: none; 
  color: white;
}

/* optimizacija */
@media only screen and (max-width: 768px) {
  .loop-holder{
    display:none;
  }
  .bg_pocetna{
    background-position: center center!important;
  }

}

@media only screen and (max-width: 768px) {
  .fon-meni{
    display: block;
  }
}

@media only screen and (min-width: 769px) {
  #meny, #burger {
    display: none!important;
  }
}



/* fon meni */
.burger-wrapper {
  cursor: pointer;
}
#meny {
    background: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    right: 0;
    transition-timing-function: cubic-bezier(10,2,3,1);
    transform: translateX(50rem);
    top: 0;
    z-index: 5;
    transition: 0.5s;
}
#menyAvPaa {
    display: none;
}

#menyAvPaa:checked ~ #meny {
    transform: translateX(0rem);
}

#burger {
    position: absolute;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    right: 1rem;
    top: 1rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

#burger > div {
    height: 3px;
    background-color: white;
    transition: 0.5s;
    z-index: 999;
}

#menyAvPaa:checked ~ #burger > div {
  background-color: #fff;
}

#menyAvPaa:checked ~ #burger > div:nth-child(1) {
  transform: translateY(14px) rotate(65deg);
  margin-right: 9px;
  background-color:white;
}
#menyAvPaa:checked ~ #burger > div:nth-child(2) {
  opacity: 0;
}
#menyAvPaa:checked ~ #burger > div:nth-child(3) {
  transform: translateY(-15px) rotate(-65deg);
  margin-left: 9px;
}


ul {
  list-style-type: none;
  font-size: 3em;
  font-family: 'Overpass', sans-serif;
  text-align: center;
  padding-left: 0;
  padding-top: 15%;
}

li{
  margin-bottom: 3%;
}
