@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap"); /* Uvozim google font zvan Roboto Slab */

html {
    overflow: scroll;
  overflow-x: hidden;  
}
body {
  width: 100%;
}


::-webkit-scrollbar {
   width: 0; /* Remove scrollbar space */
   background: transparent;  /* Optional: just make scrollbar invisible */
}

.header {
  position: relative;
  text-align: center;
  color: white;
}


.headertekst {
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: 30%;
  transform: translate(-50%, -50%);
  user-select: none; /* Korisnik ne može selektirati tekst */
  font-size: 4vw;
  font-family: "Roboto Slab", serif;
  text-shadow: rgb(31, 30, 29) 5px 0 10px;
}

.headerpodtekst {
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  font-size: 2vw;
  font-family: "Roboto Slab", serif;
  text-shadow: rgb(31, 30, 29) 5px 0 10px;
}

 .card {
  width: 45rem;
    margin-left: auto;
  margin-right: auto;   
  display: block;
    /*  margin-left: 47%;    */
  margin-bottom: 1vw;

}
 
@media only screen and (min-device-width: 1024px) and (max-device-width: 1920px) {
  .card {
    width: 45rem;
      margin-left: auto;
    margin-right: auto;  
    /*  margin-right: 47%;   */ 
    display: block; 
  }
  .main{
    margin-top: 2vw;
  }


}

@media only screen and (min-device-width: 1561px) and (max-device-width: 1920px) {
  .reklama1{
    float: left;
    padding-left: 5vw;
    margin-top: 2vw;
  }
  .reklama2{
    float: right;
    padding-right: 5vw;
    margin-top: 2vw;
  }
  form {
    width: 70%;
    margin: 10px auto;
    padding: 10px 20px;
    background: #f4f7f8;
    border-radius: 8px;
  }
} 

@media screen and (max-width: 1130px) {
  .reklama1{
    display: none;
  }
  .reklama2{
    display: none;
  }
}

@media only screen and (min-device-width: 1372px) and (max-device-width: 1556px) {
  .reklama1 {
  float: left;

  }
  .reklama2{
 float:right;
  }
}

@media only screen and (min-device-width: 601px) and (max-device-width: 1280px) {
  .card {
    width: 30rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media only screen and (min-device-width: 733px) and (max-device-width: 1051px) {
  .card {
    width: 25rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media only screen and (min-device-width: 480px) and (max-device-width: 732px) {
  .card {
    width: 20rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

}

@media only screen and (min-device-width: 360px) and (max-device-width: 479px) {
  .card {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .reklama1{
    display: none;
  }
  .reklama2{
    display: none;
  }
  
}

@media only screen and (min-device-width: 300px) and (max-device-width: 359px) {
  .card {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 2vw;
  }


  .reklama1{
    display: none;
  }
  .reklama2{
    display: none;
  }

}

@media only screen and (min-device-width: 1210px) and (max-width: 1560px) {
  .reklama1{
    padding: 0;
 margin-top: 2vw;


  }
  .reklama2{
padding: 0;
margin-top: 2vw;

  }
}


.naslovliste {
  text-align: center;
  padding: 1vw;
  font-family: "Roboto Slab", serif;
}

#navbar {
  background-color: rgb(22, 22, 22);
  position: fixed;
  top: -50px;
  width: 100%;
  display: block;
  transition: top 0.3s;
  z-index: 1000;
}

#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  font-size: 17px;
}

#navbar a:hover {
  background-color: #ddd;
  color: black;
}

/*base code*/
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.animated.hinge {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}
/*the animation definition*/
@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}


.reklama1{
  float: left;
  
  margin-top: 2vw;
}

.reklama2{
  float: right;

  margin-top: 2vw;
}

.gumbpretrazi{
  padding-top: 0.5vw;
}

.nisinasao{
  text-align: center;
  user-select: none;
  color: #f2f2f2;
  font-size: 2vw;
}
hr{
  color: #f2f2f2;
}

/*  label {
  display: flex;
  align-items: center;
  width: 40px;
} */
.holder{
  width: 150px;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

form {
  min-width: 37.1%;
  margin: 10px auto;
  padding: 10px 20px;
  background: #f4f7f8;
  border-radius: 8px;
}

h1 {
  margin: 0 0 30px 0;
  text-align: center;
}

input[type="text"],
textarea,
select {
  background: rgba(255,255,255,0.1);
  border: none;
  font-size: 16px;
  height: auto;
  margin: 0;
  outline: 0;
  padding: 15px;
  width: 100%;
  background-color: #e8eeef;
  color: #8a97a0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
  margin-bottom: 5px;
}

input[type="radio"],
input[type="checkbox"] {
  margin: 0 4px 8px 0;
}

select {
  padding: 6px;
  height: 32px;
  border-radius: 2px;
}

button {
  padding: 19px 39px 18px 39px;
  color: #FFF;
  background-color: #0d6efd;
  font-size: 18px;
  text-align: center;
  font-style: normal;
  border-radius: 5px;
  width: 100%;
  border: 1px solid #0f5bcc;
  border-width: 1px 1px 3px;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.1) inset;
  margin-bottom: 10px;
}

fieldset {
  margin-bottom: 30px;
  border: none;
}

legend {
  font-size: 1.4em;
  margin-bottom: 10px;
  text-align: center;
}

label {
  display: block;
  margin-bottom: 8px;
}

label.light {
  font-weight: 300;
  display: inline;
}

.number {
  background-color: #5fcf80;
  color: #fff;
  height: 30px;
  width: 30px;
  display: inline-block;
  font-size: 0.8em;
  margin-right: 4px;
  line-height: 30px;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,0.2);
  border-radius: 100%;
}

@media screen and (min-width: 480px) {

  form {
    max-width: 480px;
  }

}
