

/*****TOP_BAR*****/
.top-bar {
    background-color: rgb(22, 68, 128);
    height: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 14px;
    color: white;
    padding-right: 20px;
    padding-left: 50px;
  }
  
  .contact-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  
  .contact-info p {
    margin: 10px;
  }
  
  
  
  /*****NAVBAR*****/
  .container-fluid{
    margin: 0;
  }

  #tekst{
    padding-top: 300px;
    padding-bottom: auto;
  }

  #nav-link {
    color: rgb(22, 68, 128) ;
    font-family: "Sora",Sans-serif;
    font-size: 17px;
    font-weight: 400;
    display: inline-block;
    position: relative;
  }

  #nav-link::before {
    content: '';
    position: absolute;
    width: 100%;    
    height: 4px;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background-color: rgb(22, 68, 128);
    color: rgb(22, 68, 128);
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
    
    
  }
  
  #nav-link:hover::before {
    opacity: 1;
    
  }

  #upitnik-nav{
    /*color: white;
    background-color: #25066e;
    border-radius: 10px;*/
    
  }



  .navbar-toggler{
    margin-right: 20px;
    position: center;
  }

  @media (min-width: 768px) {
    .navbar-nav .nav-item:first-child {
      margin-right: 100px;
    }
  }

  .navbar-nav .nav-item:not(:first-child) {
    margin-right: px;
  }

  .navbar-nav li {
    margin-left: 10px; /* add margin to the left of each navbar item */
    margin-right: 10px;
  }

  .navbar-nav{
    margin-right: px;
  }
  
  .desktop-logo {
    display: block;
    margin-left: 100px;
  }
  
  .mobile-logo {
    display: none;
    padding-left: 20px;
  }
  
  @media only screen and (max-width: 768px) {
    .desktop-logo {
      display: none;
    }
    
    .mobile-logo {
      display: block;
      
    }
  }

  .navbar-brand img {
    max-width: 150px; /* change the value to the maximum width you want */
  }

  /* for mobile devices with screen width less than 576px */
@media (max-width: 575.98px) {
    .navbar-brand img {
      max-width: 120px; /* change the value to the maximum width you want for mobile */
    }
}

/*****HERO*****/


#hero {
    background-image: url("pictures/bg3_edit_dimm.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    /*height: 600px;*/
    height: 85vh;
    background-attachment: fixed;
    background-position: center;
    animation: zoom-in 15s forwards;
    animation-timing-function: ease-in-out;
  }

  #bd-placeholder-img{
    background-image: url("pictures/bg3_edit_dimm.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }

  @keyframes zoom-in {
    from {
      background-size: 100%; /* Starting size */
    }
    to {
      background-size: 120%; /* Ending size */
    }
  }
  
  .content {
    /* Styles for the content container */
  }

  @media only screen and (max-width: 768px) {
    #hero{
      background-attachment: scroll;
    }
  }
  
.extra-space{
  margin-bottom: 100px;
} 

#saznajte_vise{
  margin-top: 70px;
  padding-top: 70px;
  color: white;
  font-size: 35px;
  
}

#saznajte_vise_text:hover{
  border: 5px solid rgb(250, 195, 16);
  border-radius: 15px;
}

#saznajte_vise_text{
  color: rgb(250, 195, 16);/*#fe8400;*/
  text-decoration: none;
  padding: 6px;
  transition: border-color 0.3s ease; /* Add transition property for border color */
  border: 2px solid transparent;
}


#hero_text{
  position: relative;
  font-weight: 700;
  font-size: 50px;
  padding-top: 250px;

  opacity: 0;
  animation: fade-in 1s ease-in-out forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
    top: -20px;
  }
  to {
    opacity: 1;
    top: 0;
  }
}

@media only screen and (max-width: 768px){
  #hero_text{
    font-weight: 550;
    font-size: 40px;
    padding-top: 200px;
  }
}

/*****CAROUSEL*****/

#carousel-img{
  height: 70vh; /* Adjust the desired height here */
  object-fit: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  filter: brightness(80%);
}

/*****3_CARDS*****/

/*izbacit za 3 kartice*/
#nase_usluge{
  width: 800px;
  
}
.card {
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

#three_cards_img{
  height: 150px;
}


/*****TEXT*****/

.purple-container {
  background-color: #45547c;/*#6c757d*/ /*#45547c*/
  color: white;
  padding: 50px;
}

.black-container {
  background-color: #45547c;
  color: white;
  padding: 50px;
}

#text-link{
  text-decoration: none;
  color: rgb(255, 196, 0);
  
}




/*****CARDS*****/

#card{
  
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#card:hover{
  transform: scale(1.05);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  z-index: 1;
  
}

/*****FOOTER_IMAGE*****/

#footer_image{
  background-image: url('pictures/man-worker-firld-by-solar-panels.jpg'); 
  background-size: cover; 
  height: 300px; 
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed; 
  box-shadow: 0 5px 5px rgba(0,0,0,0.3);
}


@media only screen and (max-width: 768px) {
  #footer_image{
    background-attachment: inherit;
  }
}


#formular{
  width: 1000px;
}

#tipka_formular{
  margin-top: 11px;
  width: 200px;
  background-color: rgb(22, 68, 128);
  color:white;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#tipka_formular:hover{
  transform: scale(1.05);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  z-index: 1;
}


/*****KONTAKT-FOMRUAL*****/

#submit-btn{
  width: 200px;
  background-color: rgb(22, 68, 128);
  color:white;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#submit-btn:hover{
  transform: scale(1.05);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  z-index: 1;


}

/*****KARTA*****/

.map-container {
  
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Adjust the aspect ratio based on your iframe height/width ratio */
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .map-container {
    padding-bottom: 75%; /* Adjust the aspect ratio for mobile devices */
  }
}


/*****FOOTER*****/

.bottom-text {
  position: absolute;
  bottom: 0;
}
  