*{
  margin: 0 auto;
  padding:0px;
  box-sizing: border-box;

}
html,
body {
scroll-behavior: smooth;
}
#container{
height: 3580px;
background-color: rgb(240, 240, 240);
width: 100%;
overflow: hidden;
position:relative; 
display: block; 
float: left;
transition: 1s ease;
}
#header{
width: 100%;
height: 120px;
display: flex;
position: fixed;
transition: background-color 1s ease-in-out;
float: left;
background: #ffffff;
z-index: 10000;
}
#sl-lev{
  height: 100%;
  width: 30%;
  /* background-color: rgb(29, 32, 151); */
  display: flex;
  justify-content: center;
  align-items: center;
}
#logo{
  height: 90px;
  width: 400px;
}
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 70%;
  height: 100%;
  /* background-color: blue; */
}
.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #101010;
}
.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 50px;
  width: 600px;
  /* background-color: red; */
}
.nav-item {
  display: block;
  padding: 12px 24px;
  width: 175px;
  transition-duration: .25s;
}
.nav-itemi {
display: block;
padding: 12px 24px;
width: 175px;
transition-duration: .25s;
}
.nav-link{
  position: relative;
  font-size: 27px;
  font-weight: 100;
  color: #000000;
  font-family: 'Caudex', serif;
  text-decoration: none;
  list-style:none;
}
.nav-link:hover{
  color: #686767;
}
#prj{
  width: 100%;
  height: 3px;
  top: 42px;
  position: absolute;
  background-color: #F4DC51;
  display: flex;
}
#pri{
  width: 100%;
  height: 3px;
  top: 42px;
  left: 0px;
  position: absolute;
  background-color: #F4DC51;
  display: flex;
}
.nav-link::after{
  content: '';
  position: absolute;
  left: 0px;
  bottom: -10px;
  height: 3px;
  width: 0px;
  border-radius: 2px;
  background-color: #F4DC51;
  transition: 0.4s ease;
}
.nav-link:hover::after{
  width: 100%;
}

@media only screen and (max-width: 1050px) {
  .nav-menu {
      position: fixed;
      left: -100%;
      top: 0;
      flex-direction: column;
      background-color: #fff;
      width: 100%;
      border-radius: 10px;
      text-align: center;
      transition: 0.3s;
      height:100%;
      box-shadow:
          0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
      left: 0;
  }

  .nav-item {
      margin: 2.5rem 0;
  }

  .hamburger {
      display: block;
      cursor: pointer;
      left: 100%;
      margin-right:50px;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

  .hamburger.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }
  #prj{
  left: 0px;
    }
  }


#pocetna{
    width: 100%;
    position: relative;
    height: 930px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #373F48;
    float: left;
  }
#nas1{
    position: absolute;
    color: white;
    text-shadow:  black 4px 4px;
    z-index: 20;
    font-size: 190px;
    font-family: 'Caudex', serif;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
#pctn-sl{
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 40%;
}


/* KRAJ POCETNE */


/* DRUGI */


#drug{
    width: 100%;
    height:1200px ;
    display: flex;
    background: #373F48;
    align-items: center;
    justify-content: center;
    position: relative;
    float: left;
    flex-direction: column;
}
#dol-pre{
    height: 600px;
    width: 1200px;
    background-color: #171b20;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border-radius:1em ;
    position: relative;  
    box-shadow:  7px 7px 14px #25303b,
    -7px -7px 14px #25303b;
}
#drug-levi{
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  float: left;
  justify-content: center;
  opacity: 100%;
  z-index: 1000;
}
#drug-desni{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    float: left;
    opacity: 100%;
    z-index: 1000;
  }
#dol-pre:hover >#sl-dd{
  opacity: 70%;
  transition: 0.3s;
}
#drug-desni:hover >#des-kntk{
    opacity: 100%;
    transition: 0.3s;
    background-color: rgb(44, 44, 44);
    text-shadow: 1px 1px 1px black;
    box-shadow:  7px 7px 14px #000000;
}
#drug-levi:hover >#lev-kntk{
    text-shadow: 1px 1px 1px black;
    transition: 0.3s;
    background-color: rgb(44, 44, 44);
    opacity: 100%;
    box-shadow:  7px 7px 14px #000000;
}
#sl-dd{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    border-radius:1em ;
    opacity: 40%
}
#lev-kntk{
    width: 400px;
    border-radius: 10%;
    height: 400px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    z-index: 10000 !important ;
    opacity: 100% !important ;
}
#des-kntk{
    width: 400px;
    border-radius: 10%;
    height: 400px;
    display: flex;
    align-items: center;
    opacity: 100%;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.tek-kntk{
  color: white;
  font-weight: 200;
  font-size: 33px;
  text-align: center;
  font-family: 'Caudex', serif;
  z-index: 100;
}
.sl-kntk{
    width: 100px;
    height: 100px;
    opacity: 100%;
}

#medju{
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
    background-color: #ffffff;
    height: 750px;
  }
#gmap_canvas{
    width: 80%;
    height: 500px;
    box-shadow:  4px 4px 14px #000000
}




/* FOOTER  */




#footer{
  width: 100%;
  float: left;
  height: 600px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #373F48;
  float: left;
}

#slii{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 600px;
  height: 100%;
  gap: 10px;
}
#gor-fut{
  width: 100%;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#foot-logo{
  width: 600px;
  height: 150px;
}

#dol-fut{
  width: 100%;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
#fut-nas{
  color: white;
  font-size: 42px;
  text-align: center;
  font-weight: 200;
  font-family: 'Caudex', serif;
}
#sre-fut{
  width: 100%;
  height: 100px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.sl-sre{
    width: 80px;
    height: 80px;
}



.gag {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    /* background-color: blue; */
    width: 100%;
    height: 100px;
  }
.nav-deni {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: red; */
  }
.nav-item {
    display: block;
    padding: 12px 24px;
    transition-duration: .25s;
}
.nav-fut{
    position: relative;
    font-size: 27px;
    font-weight: 100;
    color: #ffffff;
    font-family: 'Caudex', serif;
    text-decoration: none;
    list-style:none;
}
.nav-fut:hover{
    color: #686767;
}
#prj{
    width: 100%;
    height: 3px;
    top: 38px;
    position: absolute;
    background-color: #F4DC51;
    display: flex;
}

.nav-fut::after{
    content: '';
    position: absolute;
    left: 0px;
    bottom: -10px;
    height: 3px;
    width: 0px;
    border-radius: 2px;
    background-color: #F4DC51;
    transition: 0.4s ease;
}
.nav-fut:hover::after{
    width: 100%;
}


#kopirajt{
  width: 100%;
  height: 100px;
  background-color: #2B2E32;
  display: flex;
  justify-content: center;
  align-items: center;
}
#lekop{
  width: 100%;
  height: 100%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
 }
 #nas-kopi{
  color: white;
  font-size: 20px;
  text-align: center;
  font-family:'Dosis', sans-serif;
  font-weight: 300;
  padding: 20px;
}
#loader-wrapper{
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 100000;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  transition:  1s ease-in-out;
}
#asd{
  object-fit: cover;
  width: 500px;
  height: 130px;
}



/* 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;
    }

    


    /* OPTIMIZACIJA */


    @media(max-width:1400px) {
      #nas1{
        font-size: 130px;
      }
      #logo{
        width: 300px;
        height: 70px;
      }
      #dol-pre{
        width: 1000px;
      }
    }
    @media(max-width:1100px) {
      #nas1{
        font-size:110px;
      }
      #dol-pre{
        width: 800px;
        height: 500px;
      }
      #lev-kntk{
        width: 300px;
        height: 400px;
      }
      #des-kntk{
        width: 300px;
        height: 400px;
      }
    }
    @media(max-width:1050px) {
      .navbar{
        width: 10%;
        margin-right:0px;
      }
      .nav-itemi{
        margin-top: 50px;
      }
      #sl-lev{
        margin-left:50px;
      }
    }
    @media(max-width:850px) {
      #dol-pre{
        flex-direction: column;
        height: 800px;
        width: 500px;
      }
      #drug-levi{
        width: 100%;
        height: 50%;
      }
      #drug-desni{
        width: 100%;
        height: 50%;
      }
      #lev-kntk{
        height: 300px;
      }
      #des-kntk{
        height: 300px;
      }
    }
    @media(max-width:800px) {

      #foot-logo{
                  width: 400px ;
                  height: 100px;
                }
                #fut-nas{
                  font-size: 35px;
                }
                #sre-fut{
                  width:400px;
                }
                .sl-sre{
                  width: 70px;
                  height: 70px;
                }
                .nav-deni{
                  width: 600px;
                }
                .nav-fut{
                  font-size: 24px;
                }
                #prj{
                  top: 34px;
                }
      }
    @media(max-width:760px) {
      #nas1{
        font-size: 90px;
      }
      #sl-lev{
        margin-left:70px;
      }
    }
    @media(max-width:630px) {
      #dol-pre{
        flex-direction: column;
        height: 800px;
        width: 350px;
      }
      #lev-kntk{
        height: 200px;
      }
      #des-kntk{
        height: 200px;
      }
      .tek-kntk{
        font-size: 25px;
      }
      .sl-kntk{
        width: 80px;
        height: 80px;
      }
    }
    @media(max-width:600px) {
      #nas-kopi{
        font-size: 17px;
      }
      #sl-lev{
        margin-left:100px;
      }
      .nav-item{
        padding: 12px 12px;
      }
      .nav-deni{
        width: 400px;
      }
      .nav-fut{
        font-size: 20px;
      }
      #prj{
        top: 30px;
      }
  }
  @media(max-width:540px) {
    #asd{
      width: 400px;
      height: 100px;
    }
  }
  @media(max-width:490px) {
    #foot-logo{
      width: 300px ;
      height: 75px;
    }
    #fut-nas{
      font-size: 30px;
    }
    #sre-fut{
      width:300px;
    }
    .sl-sre{
      width: 60px;
      height: 60px;
    }
    .nav-deni{
      width: 400px;
    }
}
    @media(max-width:480px) {
      #nas1{
        font-size: 70px;
      }
    }
    @media(max-width:420px) {
      #asd{
        width: 300px;
        height: 75px;
      }
    }
    @media(max-width:400px) {
      #container{
        height: 3380px;
      }
      #nas1{
        font-size: 60px;
      }
      .nav-item{
        padding: 10px 10px;
        margin: 0px;
      }
      .nav-deni{
        width: 100%;
      }
      .gag{
        width: 300px;
      }
      .nav-fut{
        font-size: 14px;
      }
      #prj{
        top: 23px;
      }
      #drug{
        height: 1100px;
      }
        #dol-pre{
          flex-direction: column;
          height: 700px;
          width: 300px;
        }
        #lev-kntk{
          height: 200px;
          width: 200px;
        }
        #des-kntk{
          height: 200px;
          width: 200px;
        }
        .tek-kntk{
          font-size: 20px;
        }
        .sl-kntk{
          width: 80px;
          height: 80px;
        }
        #gmap_canvas{
          width: 80%;
          height: 400px;
          box-shadow:  4px 4px 14px #000000
      }
      #medju{
        height: 650px;
      }
    }
    @media(max-width:385px) {
      #header{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 140px;
      }
      #sl-lev{
        width: 100%;
        margin-left: 0px;
      }
      .navbar{
        width: 100%;
      }
      .hamburger{
        margin-right: 0px;
        margin-left: 0px;
      }
  }
    @media(max-width:360px) {
      #nas-kopi{
        font-size: 17px;
      }
  }
    @media(max-width:350px) {
      #container{
        height: 2980px;
      }
      #nas1{
        font-size: 50px;
      }
      #foot-logo{
        width: 250px ;
        height: 60px;
      }
      #fut-nas{
        font-size: 20px;
      }
      #sre-fut{
        width:200px;
      }
      .sl-sre{
        width: 50px;
        height: 50px;
      }
      #slii{
        height: 300px;
      }
      #footer{
        height: 400px;
      }
      #drug{
        height: 1000px;
      }
        #dol-pre{
          flex-direction: column;
          height: 600px;
          width: 200px;
        }
        #lev-kntk{
          width: 180px;
        }
        #des-kntk{
          width: 180px;
        }
        .tek-kntk{
          font-size: 16px;
        }
        .sl-kntk{
          width: 60px;
          height: 60px;
        }
        #gmap_canvas{
          width: 80%;
          height: 300px;
          box-shadow:  4px 4px 14px #000000
      }
      #medju{
        height: 550px;
      }
    }
    @media(max-width:315px) {
      #nas-kopi{
        font-size: 13px;
      }
        #asd{
          width: 200px;
          height: 50px;
  }
  }
    @media(max-width:300px) {
      #nas1{
        font-size: 40px;
        text-shadow: 2px 2px black;
      }
      #logo{
        width: 200px;
        height: 50px;
      }
      .gag{
        width: 250px;
      }
      .nav-fut{
        font-size: 10px;
      }
      #prj{
        top: 18px;
      }
    }
    @media(max-width:260px) {
      .gag{
        width: 200px;
      }
      #foot-logo{
        width: 200px ;
        height: 50px;
      }
      #fut-nas{
        font-size: 15px;
      }
      .sl-sre{
        width: 40px;
        height: 40px;
      }
      .nav-fut{
        font-size: 7.5px;
      }
      #prj{
        top: 16px;
      }
    }
    @media(max-width:250px) {
    #nas-kopi{
      font-size: 11px;
    }
  }
    @media(max-width:225px) {
      #container{
        height: 2720px;
      }
     #nas1{
      font-size: 35px;
     }
     #drug{
      height: 800px;
    }
      #dol-pre{
        flex-direction: column;
        height: 500px;
        width: 180px;
      }
      #lev-kntk{
        width: 160px;
        height: 160px;
      }
      #des-kntk{
        width: 160px;
        height: 160px;
      }
      .tek-kntk{
        font-size: 14px;
      }
      .sl-kntk{
        width: 60px;
        height: 60px;
      }
      #gmap_canvas{
        width: 80%;
        height: 250px;
        box-shadow:  4px 4px 14px #000000
    }
    #medju{
      height: 500px;
    }
    }
    @media(max-width:205px) {
      #logo{
        width: 180px;
        height: 45px;
      }
      #header{
        height: 120px;
      }
      #foot-logo{
        width: 180px ;
        height: 45px;
      }
}