*{
  margin: 0 auto;
  padding:0px;
  box-sizing: border-box;

}
html,
body {
scroll-behavior: smooth;
}
#container{
height: 4080px;
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 */


/* TRECI */




#trec{
  width: 100%;
  height:2450px ;
  display: flex;
  /* background: #723434; */
  align-items: center;
  justify-content: center;
  position: relative;
  float: left;
  flex-direction: column;
  gap: 100px;
}
#trec-gornji{
width: 100%;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
}
#tre-nas{
text-align: center;
font-size: 99px;
color: #000000;
font-family: 'Caudex', serif;
z-index: 1000;
float: left;
}
#trec-donji{
width: 1500px;
height: 1700px;
display: flex;
align-items: center;
flex-direction: row;
flex-wrap: wrap;
gap: 30px;

}
.tre-card{
width: 350px;
height: 300px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
flex-wrap: wrap;
position: relative;
border-radius: 1em;
z-index: 100;
background-color: black;
box-shadow:  3px 3px 6px #000000;  
transition: 0.3s;
}
.tre-card:hover {
transform: translateY(-20px);
}
.sl-tre{
width: 100%;
height: 100%;
object-fit: cover;
z-index: 10;
border-radius: 1em;
opacity: 80%;
}
.sl-tre:hover{
opacity:40% ;
}
.deme{
  padding: 25px 50px;
  color: white;
  font-size: 35px;
  background-color: #373F48;
  box-shadow: 0 8px 8px -6px black;
  border-radius: 5px;
  font-family: 'Caudex', serif;
  border: 0px;
}
.deme:hover{
  background-color: #F4DC51;
  cursor: pointer;
  text-shadow: 2px 1px black;
  transition: 0.5s;
}

/* 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;
    text-decoration: none;
    font-family: 'Caudex', serif;
    list-style:none;
}
.nav-fut:hover{
    color: #686767;
}
#prj{
    width: 100%;
    height: 3px;
    top: 42px;
    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: 'Caudex', 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:1500px) {
        #container{
          height: 5080px;
        }
        #trec{
          height: 3450px;
        }
        #trec-donji{
          height: 2700px;
          flex-wrap: wrap;
          width: 1200px;
        }
    }
    @media(max-width:1400px) {
      #nas1{
        font-size: 130px;
      }
      #logo{
        width: 300px;
        height: 70px;
      }
    }
    @media(max-width:1200px) {
      #tre-nas{
        font-size: 80px;
      }
      #container{
        height: 6080px;
      }
      #trec{
        height: 4450px;
      }
      #trec-donji{
        height: 3700px;
        flex-wrap: wrap;
        width: 750px;
      }
    }
    @media(max-width:1050px) {
      .navbar{
        width: 10%;
        margin-right:0px;
      }
      .nav-itemi{
        margin-top: 50px;
      }
      #sl-lev{
        margin-left:50px;
      }
}
    @media(max-width:950px) {
      #nas1{
        font-size: 110px;
      }
      #tre-nas{
        font-size: 60px;
      }
    }
    @media(max-width:800px) {
      #trec{
        height: 4450px;
      }
      #trec-donji{
        height: 3700px;
        flex-wrap: wrap;
        width: 700px;
      }
      .tre-card{
        width: 300px;
      }
      #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: 38px;
                }
      }
    @media(max-width:760px) {
      #nas1{
        font-size: 90px;
      }
      #sl-lev{
        margin-left:70px;
      }
    }
    @media(max-width:730px) {
      #tre{
        flex-wrap: wrap;
        height: 1100px;
        flex-direction: column-reverse;
      }
      #tre-levo{
        height: 250px;
        width: 100%;
      }
      #tre-desno{
    
        width: 100%;
        height: 700px;
      }
      #tre-nas{
        font-size: 50px;
      }
    }
    @media(max-width:700px) {
    #trec{
      height: 4450px;
    }
    #trec-donji{
      height: 3700px;
      flex-wrap: wrap;
      width: 550px;
    }
    .tre-card{
      width: 250px;
      height: 250px;
    }
  }
    @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: 33px;
      }
  }
  @media(max-width:560px) {
    #container{
      height: 7830px;
    }
    #trec{
      height: 6200px;
    }
    #trec-donji{
      height: 5600px;
      flex-wrap: wrap;
      flex-direction: column;
      width: 260px;
    }
    .tre-card{
      width: 250px;
      height: 250px;
    }
  }
  @media(max-width:540px) {
    #asd{
      width: 400px;
      height: 100px;
    }
    #tre-nas{
      font-size: 40px;
    }
  }
  @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;
    }
    .deme{
      padding: 20px 30px;
      font-size: 30px ;
    }
}
    @media(max-width:480px) {
      #nas1{
        font-size: 70px;
      }
    }
    @media(max-width:420px) {
      #asd{
        width: 300px;
        height: 75px;
      }
      #tre-nas{
        font-size: 30px;
      }
    }
    @media(max-width:400px) {
      #nas1{
        font-size: 60px;
      }
      .nav-item{
        padding: 10px 10px;
        margin: 0px;
      }
      .nav-deni{
        width: 100%;
      }
      .gag{
        width: 300px;
      }
      .nav-fut{
        font-size: 15px;
      }
      #prj{
        top: 26px;
      }
    }
    @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;
      }
      #fut-nas{
        font-size: 33px;
      }
  }
    @media(max-width:350px) {
      #nas1{
        font-size: 50px;
        text-shadow: 2px 2px black;
      }
      #tre-nas{
        font-size: 25px;
      }
      #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;
      }
      #container{
        height: 6530px;
      }
      #trec{
        height: 5100px;
        gap: 50px;
      }
      #trec-donji{
        height: 4600px;
        flex-wrap: wrap;
        flex-direction: column;
        width: 200px;
      }
      .tre-card{
        width: 200px;
        height: 200px;
      }
      .deme{
        padding: 15px 20px;
        font-size: 25px ;
      }
    }
    @media(max-width:315px) {
      #nas-kopi{
        font-size: 13px;
      }
      #asd{
        width: 200px;
        height: 50px;
      }
  }
    @media(max-width:300px) {
      #nas1{
        font-size: 40px;
      }
      #logo{
        width: 200px;
        height: 50px;
      }
      .gag{
        width: 250px;
      }
      .nav-fut{
        font-size: 11px;
      }
      #prj{
        top: 21px;
      }
      #tre-nas{
        font-size: 20px;
      }
    }
    @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: 8px;
      }
      #prj{
        top: 17px;
      }
    }
    @media(max-width:250px) {
      #nas-kopi{
        font-size: 11px;
      }
      .deme{
        padding: 12px 15px;
        font-size: 18px ;
      }
    }
    @media(max-width:225px) {
     #nas1{
      font-size: 35px;
     }
     #tre-nas{
      font-size: 18px;
    }
    #container{
      height: 6130px;
    }
    #trec{
      height: 4700px;
      gap: 50px;
    }
    #trec-donji{
      height: 4200px;
      flex-wrap: wrap;
      flex-direction: column;
      width: 180px;
    }
    .tre-card{
      width: 180px;
      height: 180px;
    }
    }
  @media(max-width:205px) {
      #logo{
        width: 180px;
        height: 45px;
      }
      #header{
        height: 120px;
      }
      #foot-logo{
        width: 180px ;
        height: 45px;
      }
}