

@font-face {
    font-family: 'Archivo-black';
    src: url('/static/fonts/Archivo-Black.otf') format("opentype");
}


.hamburger svg {
  width: 50px;
  height: 50px;
  color: #333; /* ako svg koristi fill="currentColor" */
  cursor: pointer;
  transition: transform 0.3s ease;
}


.burger-line {
  transition: transform 0.3s ease, opacity 0.3s ease, fill 0.3s ease;
  transform-origin: center;
  fill: currentColor;
}

/* početne boje */
.burger-line.top { fill: #41C9E2;transition: 0.2s ease; }
.burger-line.middle { fill: #39a6b9;transition: 0.2s ease; }
.burger-line.bottom { fill: #287a89;transition: 0.2s ease; }


/* animacija na aktivno stanje (klik) */
.hamburger.active .burger-line.top {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .burger-line.middle {
  opacity: 0;
}

.hamburger.active .burger-line.bottom {
  transform: translateY(-3.5px) rotate(-45deg);
}





@keyframes slideDown {
  from {
    transform: translateY(-60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}




.nav-mobile {
    width: 100%;
    display: none;
    padding: 10 0px 10px 0px;
    border-bottom: 1px solid #287a89;
    margin-bottom: 20px;
    background: linear-gradient(180deg,rgb(23, 72, 80) 0%, rgb(12, 35, 39) 100%);
    position: fixed;
    z-index: 1000; /* Manje od .nav-mobile-main */
    box-sizing: border-box;
}   

.nav-mobile-main {
    position: absolute;
    top: 70px;
    left: 0;
    background: linear-gradient(180deg,rgb(23, 72, 80) 0%, rgb(12, 35, 39) 100%);
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    animation: slideDown 0.5s ease forwards;
    z-index: 9999; /* Veće da bude iznad .nav-mobile */
}

.nav-links-mobile{
display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;

}

.nav-link-mobile{
    text-decoration: none;
    color: white;
    font-size: 28px;
    font-family: Archivo-black, sans-serif;
}

.nav-mobile-footer{
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  padding-top: 40px;

}

.appearance-mobile{
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.appearance-img-mobile{
  width: 35px;
}

.userpanel-mobile{
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.userpanel-mobile a{
    color: white;
    text-decoration: none;
    font-size: 23px;
}

.logout-mobile a{
    text-decoration: none;
    color: white;
}



.sign-in-mobile a {
    text-decoration: none;
    color: white;
}


.sign-up-mobile a{
    text-decoration: none;
    color: white;
}



@media (max-width: 1200px) {
  .nav {
    display: none;
  }

  .nav-mobile {
    display: flex;
  }

  html, body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }

  main {
    margin-top: 90px;
  }
}
