:root {
  --primary-color: darkgoldenrod;
  --primary-color-light: rgb(210, 156, 20);
  --secondary-color: rgb(255, 255, 255);
  color-scheme: only light;
}

* {
  font-family: 'Ubuntu', sans-serif;
  /* font-family: 'Work Sans', sans-serif; */
  
}

html {
    scroll-behavior: smooth;
}

body{
  background-color: var(--bs-light);
}

a, .btn-outline-light:hover{
  color: var(--primary-color);
}

.btn-custom{
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.btn-custom:hover{
  background-color: var(--primary-color-light);
  color: var(--secondary-color);
}

.border-custom{
  border: 1px solid var(--primary-color) !important;
}

.bg-custom-light{
  background-color: var(--primary-color-light) !important;
}

  /* NAVBAR */

.nav-item{
    font-size: medium;
    text-align: center !important;
    font-weight: bold; 
}

nav .active{
  border-bottom: 3px solid var(--primary-color-light);
  
}

#kategorije-ostali{
  z-index: 1 !important;
}

.dropdown-item{
  text-transform: uppercase !important;
}

#jezikDropdownMenu{
  right: -15px !important;
  min-width: 10px !important;
}

@media (min-width: 992px) {
  .navbar .nav-item{
    margin-right: 20px;
  }
}

@media (prefers-color-scheme: light){
  .ikonicePocetna{
    filter: invert(1) !important;
  }
}
  /* ***** */

  /* SLIDER */

  #sliderPocetna .carousel-item img {  
    object-fit: cover;
    object-position: center;
    background-size: 150px !important;
    overflow: hidden;
    height: 92vh;
    opacity: 0.7;
  }

  .carousel-item{
    position: relative;
  }

  .slider-text{
    text-shadow: 2px 2px 10px darkgoldenrod !important;
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .slider-text > h1{
    text-transform: uppercase;
  }

  .slider-text > p{
    font-size: larger;
  }

/* KARTICE */
.sadrzajKartice{
  border-color: var(--primary-color) !important;
}

/* SPINNER */
#spinner-custom{
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100vh; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(2, 2, 2, 0.5); /* Black background with opacity */
  z-index: 99; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

/*Animacije pojavljivanja */
.appear2 {
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
  opacity: 0;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
}

.appear2.inview2 {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
}

.appear2.inview2:nth-child(1) {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}

.appear2.inview2:nth-child(2) {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}

.appear2.inview2:nth-child(3) {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}

.appear2.inview2:nth-child(4) {
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}

.appear2.inview2:nth-child(5) {
  -webkit-transition-delay: 0.5s;
          transition-delay: 0.5s;
}

.appear2.inview2:nth-child(6) {
  -webkit-transition-delay: 0.6s;
          transition-delay: 0.6s;
}

/* Footer */
.footer-custom{
  background-color:#3f3f3f;;
}

#footer-logo{
  filter: invert(1);
}

.footer-custom p, .footer-custom .nav-item{
  font-size: smaller;
}