:root{
    --yellow:#FCB31C;
    --siva:#cccccc;
    --rj:#2e2925;
    --rob_card: 0px;
}
html {
	scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
}
ul{
    list-style-type: none;
}
h1{
    font-size: 2.5rem;
    font-family: 'Urbanist', sans-serif; 
    color: var(--yellow);
}
h2{
    font-size: 1.5rem;
    font-family: 'Urbanist', sans-serif;
    color: var(--yellow);
}
a{
    font-size: 19px;
}
p{
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

a[href] {
    text-decoration: none !important;   
}
.gumb-baumaster {
    background-color: #FCB31C; /* Tvoja rumena */
    color: #2e2925;            /* Temno rjava za besedilo */
    padding: 12px 28px;
    border: 2px solid #FCB31C;
    border-radius: 0px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.gumb-baumaster:hover {
    background-color: var(--siva);
    color: var(--rj);           /* Rumeno besedilo ob lebdenju */
    border-color: #cccccc;    /* Siva obroba ob lebdenju */
}

/*---------------------------------nav bar-----------------------*/

header{
  margin: 0;
  width: 100%;
  top: 0;
  left: 0;
  padding-top: 0;
  background-color: var(--rj);
  border-end-end-radius: 200%;
  border-end-start-radius: 200%;
  height: 110px;
  z-index: 2; 
  position: fixed;
  transition:all 0.5s linear;
}

.nav-pages {
  width: 1400px;
 padding-top: 0%;
  margin-top: 8px;
  transition: all 0.5s linear;
}
#povezave{
  padding-top: 5px;
  margin-right:auto;
  margin-left:auto;
  justify-content: center;
  transition: all 0.5s linear;  
 
}
#povezave li{
  text-align: center;
  height: 100%;
   width: 100%;
  margin-top: 15px;
 position: relative;
  transition: all 0.5s linear; 
}

.link {
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-left: 10px;
  margin-right: 10px;
  padding: 10px 16px;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  border-radius: 0;
  border: none;
  position: relative;
  transition: color 0.3s;
}

#povezave li:nth-child(4), #povezave li:nth-child(5), #povezave li:nth-child(6)
{
  float:right;
 
}

#povezave li:nth-child(1), #povezave li:nth-child(2), #povezave li:nth-child(3)
{
  float:left;
 
}
#povezave li:nth-child(3)
{
 margin-right: 10%; 
}
#povezave li:nth-child(4)
{
 margin-left: 10%; 
}
#nav{
display: flex;
height: 100px;
padding-top: 20px;
margin-left: auto;
margin-right: auto;
justify-content: center;
}
#logo{
  width: 190px;
  margin-top: -40px;
  margin-bottom: 5px;
 transition: all 0.5s linear;
 position: absolute;
}
#logo img{
  width: 100%;
margin-left: 10px;
  /*margin-left: -68%;*/
 
}

.link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #FCB31C;
  border-radius: 2px;
  transition: width 0.3s, left 0.3s;
}

.link:hover {
  color: #FCB31C;
  border: none;
  background: none;
}

.link:hover::after {
  width: 80%;
  left: 10%;
}

.selected {
  color: #FCB31C;
  background: none;
}

.selected::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #FCB31C;
  border-radius: 2px;
}

.selected:hover {
  color: #FCB31C;
}
/*----------------- vrni domou------------------*/
.scrollLink {
  position: fixed;
  top: 90%;
  right: 50px;
  display: none; /*v js imaš inline-flex če nedela spremeni nazaj*/
  align-items: center;
  justify-content: center;
  background-color: var(--yellow);
  border-radius: 2rem;
  padding: 0.5rem;
  text-decoration: none;
  transition: 0.2s ease-out;
  z-index: 3;
  

}
.scrollLink span {
  color: black;
  font-size: 2.5rem;
  transition: 0.2s ease-out;
}

.scrollLink:hover {
  background-color:#d3910e;
  
}
.scrollLink:hover span {
  transform: translateY(-4px);
  color: var(--siva);
}
/*-----------------prva slika---------------------*/
.bgimg2{
    margin: 0;
    width: 100%;
    height: 70vh; 
    background-color: #2e292565; 
    background-image: linear-gradient(180deg, #2E292540 4%, #2E2925 100%);
    padding-top: .1px;
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.bgimg2::after{
    content: "";
    width: 100%;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-image: url('../img/montazne/Mateja/hf_20260123_191124_fc6ad0ab-8cb1-4fa1-9f0e-508f43d0a8b3.jpg');
    background-size: cover;
    background-position: center center;
    z-index: -1;
    position: absolute;
}
#main-box{
  position: relative;
    margin: auto;
    padding: auto;
    
}


  /*----------------------1-DEL-------------------------------*/
.bgimg1{
  margin: 0;
  width: 100%;
  min-height: 85vh;
  background-color: #2e292565; 
  background-image: linear-gradient(0deg, #2e292526 30%, #2E2925 100%), linear-gradient(180deg,#2e292526 30%, #2e2925 100%);
  padding-top: .1px;
  position: relative; 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.bgimg1::after{
content: "";
width: 100%;
top: 0px;
left: 0px;
bottom: 0px;
right: 0px;
background-repeat: no-repeat;
background-image: url('../img/les_letnice.jpg');
background-size:cover;
background-position: 50% 55%;
z-index: -1;
position: absolute;
}

.naslov{
    width: 60%;
    text-align: center;
    text-shadow: black 3px 3px;
    z-index: 1;
    padding-bottom: 50px;
    margin-top: 10%;
    margin:  0 auto;
}

.naslov p{
  margin: 0 auto;
  text-align: center;
 margin-top: 5%;
 width: 60%;
}
video {
  display: block;
  margin: auto;
  margin-top: 5%;
} 
iframe{
  
  margin: auto;
  margin-top: 5%;
  margin-bottom: 5%;
  width:85%; 
  height:1000px; 
  background-color: #2e2925; 
  border-radius: 40px;
}

/*---------------------------------------galerija----------------------------------*/
.postavitev-galerije{
        min-height: 18vh;
        background: var(--rj);
        padding-top: 1%;
        padding-bottom: 8%;
        z-index: 1;
        position: relative;
}

  .gallery{
    width: 90%;
    display: flex;
    overflow-x: scroll;
    
}
.gallery div{
    width: fit-content;
    height: fit-content;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap:20px;
    padding: 10px ;
    flex: none;
   
}
.gallery div img{
    width: auto;
    height: 700px;
    transition: transform 0.5s;

}
.gallery::-webkit-scrollbar{
    display: none;
    scroll-behavior: smooth;
}
.gallery-wrap{
    display: flex;
align-items: center;
justify-content: center;
margin: 10% auto;
}
#backbtn, #nextbtn{
width: 50px;
cursor: pointer;
margin: 40px;
z-index: 4;
}
.gallery div img:hover{
    filter: grayscale(0);
    cursor: pointer;
    transform: scale(1.1);
}

  video{
    width: 60%;
    margin-top: 10%;
    margin-bottom: 15%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

  }
  .video {
    position: relative;
    width: 60%;
    overflow: hidden;
    margin: auto;
    margin-top: 15%;
    margin-bottom: 15%;
    padding-top: 36.25%; /* 16:9 Aspect Ratio */
  }
  .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
 
/*-------------------------------------3d-mode---------------------------------------*/
.container-ozadje{
    width: 100%;
    min-height: 40vh;
    overflow: hidden;
    z-index: 1;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('../img/les_letnice.jpg');
    background-size: cover;
    height: fit-content;
    position: relative;
}
.container-ozadje::after{
    content: "";
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: linear-gradient(0deg, #2e292526 30%, #2E2925 100%), linear-gradient(180deg,#2e292526 30%, #2e2925 100%);
    background-size: cover;
    height: 100%;
    z-index: -1;
      display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.model{
  display: flex;
  justify-content: center;
  align-items: center;
}
.model iframe{
    height: 70vh;
    width: 70vw;
    margin: auto;
}
#Sistemi-box{
    width: 80%;
    margin: auto;
    text-align: center;
    margin-top: 5%;
}
#Sistemi-box a{
   margin-top: 5%;
}
/*--------------------noga----------------------------*/
li p a {
    text-decoration: none;
    color: var(--siva);
    transition: color 0.2s;
    color: var(--siva);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
li p a:hover {
    color: var(--yellow);
}
.container3{
  margin: 0;
 padding-top:6% ;
  width: 100%;
  background-color: var(--rj);
  height:auto;
}
.noga{
  display: flex;
  width: 100%;
  flex-direction: row;
  background-color: var(--rj);
}

.box1{
  width: 32.5%;
  padding: 3% 0 0 0;
  display: flex;
  justify-content: center;
  text-align: left;
  border-right: #ffffff20 solid 0.1px;
}
.box2{
  margin: 0;
  width: 35%;
  padding: 1% 2%;
  text-align: center;
  border-right: #ffffff20 solid 0.1px;
}
.box3{
  width: 32.5%;
  padding: 3% 0 ;
  display: flex;
  justify-content: center;
  text-align: left;
}
.box2 img{
  width: 210px;
  margin-bottom: 20px;
}

.box2 a img{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem; 
  margin-left: 3%;
  scale: 1;
  opacity: 1;
  transition: 0.3s ease-in-out;
}
.box2 a img:hover{
  opacity: 0.5;
  scale: 1.2;
}

.box1 ul li,
.box3 ul li
{
  text-align: left;
  list-style-type: none;
  margin-top: 4%;
}
.box1 ul li a,
.box3 ul li a{
  text-decoration: none;
  list-style-type: none;
}
.box1 ul li a p,
.box3 ul li a p{
  font-family:'Poppins', sans-serif;
  font-weight: 500;
  color:var(--siva);
  font-size: 90%;
  transition: linear 0.2s;
}
.box1 ul li a p:hover,
.box3 ul li a p:hover{
  color: var(--yellow);
}
.kontakt-noga h2{
  color: white;
  text-shadow: 1px 1px black;
  margin-bottom: 15px;
}
.kontakt-noga ul li{
  text-decoration: none;
  list-style-type: none;
}
.kontakt-noga ul li p,
.kontakt-noga ul li a p{
  font-family:'Poppins', sans-serif;
  font-weight: 500;
  color:var(--siva);
  font-size: 1rem;
}
footer{
  color: var(--siva);
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  padding-bottom: 10px;
  background-color: var(--rj);
}
/*---------------------------------------------------------------*/
.nav-mobile {
  display: none;
  height: 70px;
  width: 70px;
  top: 0;
  right: 0;
  background-color: var(--rj);
  z-index: 3;
  position: absolute;
}
@media only screen and (max-width: 1000.5px) {
  .nav-mobile {
    display: block;
    margin-top: 25px;
  }
  .nav-pages {
    width: 100%;
    padding: 0 ; 
  }  
  .nav-pages ul {
    display: none;
    left: 0;
    padding-left: 25%;
  }
   .nav-pages ul li a {
    padding: 15px;
    line-height: 20px; 
  }
  .link{
    display: block;
    width: 50%;
  }
  #ozadje {
    background-color: var(--rj);
    position: absolute;
    width: 100%;
    overflow: hidden;
    transition: .5s linear;
    box-shadow: 0 17px 0 0 var(--rj); 
}
}
@media screen and (max-width: 1300.5px) {
  .naslov{
            margin-top: 15%;
        }
   
  }
@media screen and (min-width: 1000.5px) {
  #povezave {
    display: flex !important;
  }  
  }
  
#nav-toggle {
  position: absolute;
  left: 18px;
  top: 22px;
  cursor: pointer;
  padding: 10px 35px 16px 0; }
  #nav-toggle span,
  #nav-toggle span:before,
  #nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 4px;
    width: 30px;
    background: white;
    position: absolute;
    display: block;
    content: '';
    transition: all 300ms ease-in-out; }
  #nav-toggle span:before {
    top: -10px; }
  #nav-toggle span:after {
    bottom: -10px; }
  #nav-toggle.active span {
    background-color: transparent; }
    #nav-toggle.active span:before, #nav-toggle.active span:after {
      top: 0; }
    #nav-toggle.active span:before {
      transform: rotate(45deg); }
    #nav-toggle.active span:after {
      transform: rotate(-45deg); 
    }

  @media (max-width:1100px) {
     header{
        border-end-end-radius: 0%;
        border-end-start-radius: 0%;
      }
      #nav{
        height: 100px;
      }
      #povezave li{
        margin-top: 16px;
      }
      #logo{
        width: 220px;
        padding-top: 5px;
        margin-bottom: 5px;
      }
      #logo img{
        width: 70%;
      margin-left: 30px;
      padding-top: 5%;
      }
      .link{
        font-size: 16px;
        font-weight: 700;
        margin-left: 10px;
        margin-right: 10px;
        padding: 13px;
      }
      .naslov{
        width: 80%;
        margin-top: 25%;
      }  
      video{
        width: 80%;
      }
      .video {
        width: 80%;
        margin-top: 20%;
        margin-bottom: 15%;
        padding-top: 46.25%; /* 16:9 Aspect Ratio */
      }
      /*--------------------NOGA---------------------------*/
    .box2 img{
      width: 160px;
      }
      .box2 a img{
        width: 2.2rem; 
      }
      .kontakt-noga h2{
      font-size: 1.2rem;
      }
      .kontakt-noga ul li p,
      .kontakt-noga ul li a p{
        font-weight: 200;
        font-size: 0.85rem;
      }
      footer{
        font-size: 0.75rem;
      }
         /*------------veličina skok na vrh puščica--------------*/
   .scrollLink span {
    font-size: 2rem;
  }
  }
  @media (max-width:860px) {
    .gallery{
        width: 95%;
    }
    #backbtn, #nextbtn{
        width: 35px;
        cursor: pointer;
        margin: 10px;
        }
        .gallery div img{
            height: 500px;  
        }

    iframe{
      
      width:90%; 
      height:800px; 
    }
}
  @media (max-width:838px)
    {
   /*------------------------------1-DEL-------------------------*/
   .main-container{
    max-width: 90%;
  }
   .main-container h1{
      font-size: 2.7rem;
    }
    .main-container p{
      font-size: 1rem;
    }

    
    /*--------------------noga!!!!----------------------------*/
   .container3{
   padding-top:6% ;
    width: 100%;
    height:auto;
   }
   .noga{
    display: flex;
    width: 100%;
    flex-direction: column;
   }
   .box1{
    order: 2;
    margin: auto;
    width: 70%;
    border: none;
   }
   .box2{
    margin: auto;
    width: 70%;
    text-align: center;
    border: none;
   }
   .box3{
    margin: auto;
    padding: 3% 0 ;
    width: 70%;
   }
   .box2 img{
    width: 180px;
    margin-bottom: -10px;
    margin-top: 20px;
   }
   
   .box2 a img{
    width: 2.4rem; 
    margin: 4%;
   }
   
   .box1 ul li,
   .box3 ul li
   {
    text-align: center;
    margin-top: 5%;
   }
   .box1 ul li a p,
    .box3 ul li  p{
      font-size: 0.95rem;
    }
   .kontakt-noga h2
   {
    font-size: 1.6rem;
    text-align: center;
   }
   footer{
    margin-top: 40px;
    font-size: 0.75rem;
    padding-bottom: 15px;
   }
    
   
      .naslov{
        width: 85%;
        margin-top: 37%;
    }
    .naslov h1{
      font-size: 2.5rem;
    }
    .naslov p{
      font-size: 0.9rem;
    }
    .video {
      width: 90%;
      margin-top: 30%;
      margin-bottom: 20%;
      padding-top: 56.25%; /* 16:9 Aspect Ratio */
    }}
    
    @media (max-width:650px) {
        .gallery{
            width: 95%;
        }
        #backbtn{
            position: absolute;
            width: 35px;
            cursor: pointer;
            left: 10px;
            z-index: 2;
            }
            #nextbtn{
            position: absolute;
            width: 35px;
            cursor: pointer;
            right: 10px;
            z-index: 2;
            }
           .naslov p{
             font-size: 0.9rem;
             width: 85%;
            }
    }
    @media (max-width:460px) {
      .naslov{
        width: 90%;
        margin-top: 40;
    }
    .naslov h1{
      font-size: 2rem;
    }
    .naslov p{
      font-size: .9rem;
    
    }
    .gallery div img{
        width: auto;
        height: 360px;
    }
    #backbtn{
        width: 30px;
        left: 5px;
        }
        #nextbtn{
        width: 30px;
        right: 5px;
        }
      #Sistemi-box{
    width: 80%;
    margin: auto;
    text-align: center;
    margin-top: 25%;
    }
     iframe{
      
      width:94%; 
      height:800px; 
    }
    }
    @media (max-width:340px) {
        .gallery div img{
            width: auto;
            height: 280px;
        }
    }
    
    #nav img {
  max-width: 80%;
  height: auto;
}