*{
    margin: 0 auto;
    padding:0px;
}
html,
body {
  scroll-behavior: smooth;
}
#container{
  height: 2490px;
  background-color: rgb(0, 0, 0);
  width: 100%;
  overflow: hidden;
  position:relative; 
  display: block; 
  float: left;
  transition: 1s ease;
}
#header{
  width: 100%;
  height: 150px;
  display: flex;
    position: fixed;
  transition: background-color 1s ease-in-out;
  float: left;
  z-index: 10000;
  backdrop-filter: blur(50px);
}
#levi{
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#sl-lev{
  height: 150px;
  width: 150px;
}
#logo{
  height: 140px;
  width: 180px;
  margin: 5px;
}
#srednji{
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  right: 0 !important;
}
.menu__btn {
  position: fixed;
  top: 75px;
  right: 50px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fcfcfc;
  transition-duration: .25s;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}
.menu__box {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 1200px;
  margin: 0;
  list-style: none;
  background-color: #232525;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
  transition-duration: .25s;
}
.menu__item {
  top: 0;
  display: block;
  padding: 12px 24px;
  color: #ffffff;
  font-size: 20px;
  font-family:'Dosis', sans-serif;
  font-weight: 300;  
  text-decoration: none;
  transition-duration: .25s;
}
.menu__item:hover {
  background-color: #CFD8DC;
}
#ham-logo{
  width: 180px;
  height: 140px;
  margin-left: 20px;
  margin-top: 20px;
}
#desni{
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;

}
#srb{
  color:#ffffff;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 21px;
  text-decoration: none;
  list-style: none;
}
#eng{
  color:#ffffff;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 20px;
  margin-top: 10px;
  text-decoration: none;
  list-style: none;

}
#srb:hover{
  color: rgb(201, 0, 0);
  font-size:23px;

}
#eng:hover{
  background:-webkit-linear-gradient(#3842ab, #232f9e, #101b7d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size:21px;
}
#pocetna{
  width: 100%;
  position: relative;
  height: 930px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: black;
  float: left;
}
#nas1{
  position: absolute;
  color: white;
  z-index: 20;
  font-size: 190px;
  -webkit-text-stroke: 4px rgb(0, 0, 0);
  text-shadow: 4px 4px #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  justify-content: center;
  align-items: center;
}
#pctn-sl{
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 50%;
}
#pc-stre{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 100;
  position: absolute;
  bottom: 20px;
}
#pc-st2{
  height: 150px;
  width: 150px;
}
#pc-stre:hover{
  filter:brightness(0.5);
  cursor: pointer;
}
#glavni{
  width: 100%;
  height:930px ;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  float: left;
  flex-direction: column;
  background-color: #000000b6;
}
#dagme{
  width: 100%;
  /* background-color: rgb(206, 192, 192); */
  height: 70%;
  z-index: 800;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
#men-nas{
  text-align: center;
  font-size: 85px;
  color: white;
  font-family: 'Arvo', serif;
  z-index: 100;
  height: 20%;
  margin-top: 50px;
}
.rodi{
  width: 300px;
  height: 300px;
  /* background-color: #232f9e; */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.slik{
  height: 60%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.nas{
  height: 40%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  /* background-color: red; */
}
.tek-rod{
  color: white;
  text-align: center;
  font-family: 'Arvo', serif;
  display: flex;
  flex-wrap: wrap;
}
.tek-rod:hover{
  color: rgb(175, 172, 172);
  transition:0.2s;
  cursor: pointer;
}
.dugmenci{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  height: 130px;
  width: 130px;
  background-color: #262626;
}
.dugmenci:hover{
  background-color: #3f3f3f;
  cursor: pointer;
}
.kafa-ikon{
  height: 80px;
  width: 80px;
}

#ee{
    width: 100%;
    height: 100%;
    object-fit:cover;
    opacity: 100%;
    position: absolute;
  }
#footer{
  width: 100%;
  float: left;
  height: 600px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #262626;
  float: left;
}
#vreem{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 33.3%;
  /* background-color: aqua; */
  height: 100%;
  gap: 100px;
}
#nas-vrem{
  text-align: center;
  color: white;
  font-size:39px ;
  align-self:flex-start ;
  font-family: 'Arvo', serif;
}
#teks-vrem{
  text-align: center;
  color: white;
  font-size:30px ;
  align-self:flex-start ;
  font-family: 'Arvo', serif;
}
#slii{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* background-color: red; */
  width: 33.3%;
  height: 100%;
  
}
#foot-logo{
  opacity: 40%;
  width: 350px;
  width: 350px;
}
#mapa{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* background-color: blue; */
  width: 33.3%;
  height: 100%;
}

#kopirajt{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #181515;
  height: 30px;
}
#nas7{
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  text-align: center;
}

#loader-wrapper{
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 100000;
  background-color:#0D0D0D;  
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  transition:  1s ease-in-out;
}
#asd{
  object-fit: cover;
  width: 250px;
  height: 250px;
}


/* scroll */

  ::-webkit-scrollbar-track
    {
        box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        border-radius: 10px;
        background-color: #272727;
    }
    
    ::-webkit-scrollbar{
    
        width: 17px;
        background-color: #27262e;
    }
    
    ::-webkit-scrollbar-thumb{
    
        border-radius: 10px;
        box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: #181515;
    }

    



    *, *::after, *::before {
      box-sizing: border-box;
    }
    
    .modal {
      position: fixed;
      top: 56%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      transition: 200ms ease-in-out;
      border: 1px solid black;
      border-radius: 10px;
      background-color: white;
      width: 500px;
      height: 700px;
    }
    .modal.active {
      transform: translate(-50%, -50%) scale(1);
    }
    .modal1.active {
      transform: translate(-50%, -50%) scale(1);
    }
 .close-button {
      cursor: pointer;
      border: none;
      outline: none;
      background: none;
      font-size: 45px;
      font-weight: bold;
      top: 0;
      right: 0;
      margin-right: 20px;
      margin-top: 10px;
      position: absolute;
    }
    #overlay {
      position: fixed;
      opacity: 0;
      transition: 200ms ease-in-out;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, .5);
      pointer-events: none;

    }
    
    #overlay.active {
      opacity: 0;
      pointer-events: all;

    }
    .sl-modal{
      object-fit: cover;
      width: 100%;
      height: 100%;

    }









    /* optimizacija */
    @media (max-width:1815px){
        #container{
          height: 2810px;
        }
        #glavni{
          height: 1250px;
        }
    }
    @media (max-width:1785px){

    .modal {
      width: 430px;
      height: 500px;
    }
  }
    @media (max-width:1770px){
      #container{
        height: 2780px;
      }
      #gmap_canvas{
       width:500px;
       height: 400px;
  }
  #pocetna{
    height: 900px;
  }
}
@media (max-width:1685px){
  .modal {
    width: 400px;
  }
}
@media (max-width:1580px){
  #gmap_canvas{
   width:450px;
   height: 350px;
}
.modal {
  width: 400px;
}
}
@media (max-width:1400px){
  #gmap_canvas{
   width:400px;
   height: 300px;
 }

}
    @media (max-width:1350px){
      #nas1{
        font-size: 160px;
      }
      .modal {
        width: 400px;
      }
  }
  @media (max-width:1210px){
    #container{
      height: 3130px;
    }
    #glavni{
      height: 1600px;
    }
    #dagme{
      height:1300px;
      width: 700px;
      flex-wrap: wrap;
      flex-direction: column;
    }
    .rodi{
      width: 200px;
      height: 300px;
    }
    #gmap_canvas{
      width:350px;
      height: 250px;
    }
    #teks-vrem{
      font-size: 27px;
    }
}
@media (max-width:1193px){
  #container{
    height: 3140px;
  }
  #kopirajt{
      height: 40px;
  }
  #nas7{
    font-size: 15px;
  }
  .modal {
    width: 370px;
  }
}
@media (max-width:1080px){
  #nas1{
    font-size: 120px;
    -webkit-text-stroke: 2px rgb(0, 0, 0);
  }
  #slii{
    width: 250px;
  }
  #gmap_canvas{
    margin-right: 20px;
  }
  .modal {
    width: 350px;
  }
}
@media (max-width:1000px){
  #slii{
    width: 10px;
  }
  #foot-logo{
    visibility: hidden;
  }
  #slii a{
    width: 10px;
  }
  #gmap_canvas{
    margin-right: 20px;
  }
}
@media (max-width:955px){
  #container{
    height: 3340px;
}
  #slii{
    width: 10px;
    height: 10px;
  }
  #slii a{
    width: 10px;
  }
  #gmap_canvas{
    margin-right: 20px;
  }
  #footer{
    height: 800px;
    flex-direction: column;
  }
  #mapa{
    height: 250px;
    width: 350px;
  }
  #vreem{
    height: 500px;
    width: 100%;
  }
  #teks-vrem{
    font-size: 24px;
  }
}
@media (max-width:750px){
  #nas1{
    font-size: 100px;
    -webkit-text-stroke: 2px rgb(0, 0, 0);
  }
  .modal {
    width: 300px;
    height: 400px;
  }
  .menu__btn{
    right: 30px;
  }
}
@media (max-width:710px){
  #dagme{
    width: 600px;
  }
  #men-nas{
    margin-top: 100px;
    height: 150px;
  }
}
@media (max-width: 625px){
  #menu a{
    padding: 10px;
  }
}
@media (max-width: 605px){
  #kopirajt{
      height: 50px;
  }
  #nas7{
    font-size: 13px;
  }
}
@media (max-width: 600px){
  #container{
    height: 3950px;
  }
  #glavni{
    height: 2200px;
  }
#dagme{
  width: 400px;
  height: 1800px;
}
#men-nas{
  margin-top: 100px;
  height: 150px;
  }
}
@media (max-width: 580px){
  .menu__btn{
        right: 10px;
      }
}
    @media (max-width:520px){
      #container{
        height: 3950px;
      }
      #logo{
        margin-left:10px;
        margin-top:20px;
        width:100px;
        height:80px;
      }
        #nas1{
          font-size: 80px;
          -webkit-text-stroke: 2px rgb(0, 0, 0);
        }
        #pc-st2{
          width: 130px;
          height: 130px;
        }
        .rodi{
          width: 150px;
          height: 300px;
        }
        #dagme{
          width: 400px;
        }
    }
 
    @media (max-width:400px){
      #nas1{
        font-size: 60px;
        -webkit-text-stroke: 1px rgb(0, 0, 0);
      }
      #container{
        height: 3950px;
      }
      #glavni{
        height: 2200px;
      }
      #dagme{
        height: 2000px;
        width: 300px;
      }
      #men-nas{
        margin-top: 100px;
      }
      .rodi{
        width: 150px;
      }
      .slik{
        width: 130px;
        height: 120px;
      }
      .tek-rod{
        font-size: 29px;
      }
      .modal {
        width: 280px;
        height: 350px;
      }
      #srednji{
        width: 0px;
      }
    }
    @media (max-width: 370px){
      #mapa{
        width: 250px;
      }
      #gmap_canvas{
        width: 250px;

      }
    }
    @media (max-width: 345px){
      #menu a{
        padding: 10px;
        font-size: 17px;
      }
      #desni{
        width: 40px;
      }
      #sl-lev{
        width: 100px;
      }
    }
    @media (max-width: 340px){
      #kopirajt{
          height: 60px;
      }
      #nas7{
        font-size: 11px;
      }
      .modal {
        width: 250px;
        height: 350px;
      }
    }
      @media (max-width:300px){
        #nas1{
          font-size: 50px;
          -webkit-text-stroke: 1px rgb(0, 0, 0);
          text-shadow: 2px 2px #ffffff;
        }
        #pc-st2{
          width: 110px;
          height: 110px;
        }
        #teks-vrem{
          font-size:22px;
        }
        #container{
          height: 5660px;
        }
        #glavni{
          height: 3900px;
        }
        #dagme{
          width: 190px;
          height: 3600px;
        }
        .menu__btn{
          right: 5px;
        }
    .menu__box{
          width: 200px;
        }
       #desni{
          width: 70px;
        }
        #men-nas{
          margin-top: 0px;
        }
  }

  @media (max-width:260px){
    #container{
      height: 5560px;
    }
    #teks-vrem{
      font-size:18px;
    }
    #nas-vrem{
      font-size: 32px;
    }
    #vreem{
      width: 220px;
      height: 450px;
    }
    #mapa{
      width: 220px;
    }
    #gmap_canvas{
      width: 220px;
    }
    #pocetna{
      height: 800px;
    }
    #pc-stre{
      bottom: 60px;
    }
    .modal {
      width: 200px;
      height: 250px;
    }
  }
  @media (max-width: 240px){
    #nas1{
      font-size: 40px;
      -webkit-text-stroke: 1px rgb(0, 0, 0);
      text-shadow: 2px 2px #ffffff;
    }
    #logo{
      width: 120px;
      height: 100px;
    }
    #sl-lev{
      width: 100px;
      height: 150px;
      margin: 0 auto;
    }
}