: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;
}


/*---------------------------------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 domozu------------------*/
  .scrollLink {
    position: fixed;
    top: 50%;
    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);
  }

  /*----------------------1-DEL-------------------------------*/
  .bgimg1{
    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;
}
.bgimg1::after{
    content: "";
    width: 100%;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-image: url('../img/galerija.jpg');
    background-size:cover;
    background-position: 50% 55%;
    z-index: -1;
    position: absolute;
}
#main-box{
  position: relative;
    margin: auto;
    padding: auto;
}
.main-container{
    max-width: 1000px;
    margin: 0; /*pazi*/
    margin:auto;
    text-align: center;
    letter-spacing: 1px; 
}
.main-container h1{
    color: var(--yellow);
    font-size: 4rem;
    letter-spacing: 1px;
    line-height: 95%;
    margin-bottom: 40px;
}
.main-container p{
    font-size: 1.25rem;
    font-weight: 550;
}
  .container{
    width: 100%;
    overflow: hidden;
    z-index: 1;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-color: var(--rj);
    background-repeat: repeat;
    background-position:left;
    background-image: url('../img/les_letnice.jpg');
    background-size:auto;
    min-height: 100vh;
    height: fit-content;
    position: relative;
}
.container::after{
    content: "";
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-repeat: repeat-y;
    background-position: center;
    background-image: linear-gradient(0deg, #2e292526 30%, #2E2925 100%), linear-gradient(180deg,#2e292526 30%, #2e2925 100%);
    background-size: cover;
    min-height: 100%;
    z-index: -1;
    position: absolute;
}
.naslov{
    margin-top: 15%;
    text-align: center;
    text-shadow: black 3px 3px;
}

.gallery{
  margin-top: 4%;
   min-height: 100vh; 
   padding-bottom: 100px;
}
.controls{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0;
    list-style-type: none;
}
.gumb{
    height: 40px;
    width: 170px;
    color: var(--rj);
    background: var(--siva);
    font-size: 1.3rem;
    line-height: 40px;
    cursor: pointer;
    margin: 20px;
    box-shadow: 0 3px 5px rgba(255, 255, 255, 0.3);
    text-align: center;
    border-radius: 10px;
}
 .active{
    background: var(--yellow);
}
.image-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.slika{
    height:300px;
    width:400px;
    overflow: hidden;
    border: solid var(--siva)15px;
    border-radius: 5px;
    margin: 20px;   
    transition: .3s ease-in-out all; 
}
.image-container img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .3s ease-in-out all;
}
.image-container .slika:hover img{
    transform: scale(1.2);

}
.slika:hover{
  border: solid var(--yellow) 15px;
  border-radius: 15px;
}
/*-----------------------------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:'Arial Narrow', Arial, 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:'Arial Narrow', Arial, 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 (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;
  }
  .main-container{
    max-width: 70%;
  }

  /*--------------------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;
}
}
@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;
   }
    }
    @media (max-width:640px) {
      .gumb{
        height: 35px;
        width: 140px;
        font-size: 1.1rem;
        line-height: 35px; 
        margin: 15px;  
    }
    }
    @media (max-width:450px)
    {
   /*------------------------------1-DEL-------------------------*/
   .main-container {
    margin-top: 20%;
  }
   .main-container h1{
      font-size: 2.5rem;
      margin-bottom: 5%;
    }
    .main-container p{
      font-size: .92rem;
    }
  }

   #nav img {
  max-width: 80%;
  height: auto;
}