@font-face{
    src: url(Roboto/Roboto-Light.ttf);
    font-family: Robo;
}
body {
  margin: auto;
  padding: 0;
  font-family: Robo;
  font-variant: small-caps;
  font-weight: 500;
  text-align: left;

}

html,body {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* navigation */

header {
  position: fixed;
  top: 0px;
  left: 0;
  padding: 25px 45px 15px 70px;
  width: 100%;
  box-sizing: border-box;
  background: white;
  z-index: 15;
}

header .logo {
  color: black;
  height: 40px;
  line-height: 40px;
  font-size: 24px;
  float: left;
  font-weight: bold;
}

header nav {
  float: right;
}

header nav ul {
  margin: 0;
  padding: 0;
  display: flex;
}

header nav ul li {
  list-style: none;
  position: relative;
}

header nav ul li.sub-menu:before {
  content: '\f0d7';
  font-family: fontAwesome;
  position: absolute;
  line-height: 40px;
  color: gray;
  right: 14px;
}

header nav ul li.active.sub-menu:before {
  content: '\f0d8';
}

header nav ul li ul {
  position: absolute;
  left: 0;
  background: white;
  opacity: .85;
  display: none
}

header nav ul li.active ul {
  /* use li: hover instead */
  display: block;
}

header nav ul li ul li {
  display: block;
  width: 200px;
}

header nav ul li a {
  height: 25px;
  line-height: 25px;   /* height */
  padding: 7px 35px;
  color: black;
  text-decoration: none;
  display: block;
}

header nav ul li a:hover {
  color: white;
  background: #c2d6d6;
}

header nav ul li a.active {
  color: black;
  background: #c2d6d6;
}

.menu-toggle {
  color: black;
  float: right;
  line-height: 50px;
  font-size: 21px;

  display: none
}


@media (max-width: 991px) {

  header {
    padding: 0 21px;
  }
  .menu-toggle {
    display: block;
  }
  header nav {
    /* use display none or left:-100% to hide the nav  */
    /* display: none; */
    position: absolute;
    top: 48px;
    left: -100%;
    width: 100%;
    height: calc(120vh - 50px);
    background: white;
    transition: 0.5s;
  }
  header nav.active {
    left: 0;
  }
  header nav ul {
    display: block;
    text-align: center;
  }
  header nav ul li a {
    border-bottom: 0.9px solid rgba(0, 0, 0, .2);
  }
  header nav ul li.active ul {
    position: relative;
    background: #94b8b8;
  }
  header nav ul li ul li {
    width: 100%;
  }
}  

    
    
/* slide */

#slider  {
  overflow: hidden;
  margin: 15px;
  margin-top: -25px;
}

#slider figure{
    position: relative;
    width: 500%;
    margin: 0;
    margin-top: 155px;
    left: 0;
    animation: 20s slider infinite;
}

#slider figure img{
    float: left;
    width: 20%;
}
@keyframes slider{

            0%{
                left: 0;
            }
            22.5%{
                left: 0;
            }
            /*0 to 2.5 second (which is 22.5 in percentage) we want to stop the animation to see image1*/

            25%{
                left: -100%;
            }

            /*then, we add the transition speed here, which is 0.25 second (which is 2.5%) so we should add 22.5% + 2.5% = 25%*/
            /*NOTE: Same explanation Apply to the rest of the animation here for the total of 0% - 100% */

            47.5%{
                left: -100%;
            }
            50%{
                left: -200%;
            }
            72.5%{
                left: -200%;
            }
            75%{
                left: -300%;
            }
            97.5%{
                left: -300%;
            }
            100%{
                left: -400%;
            }
        
        }
        
        
#sliders {
    overflow: hidden;
    width: 90%;
    

}
.besedilo{
  max-width: 2420px;
  display: flex;
  margin: 30px;
  flex-wrap: wrap;
  justify-content: space-around;
  font-variant: normal;
  text-align: justify;
}

.bb {
  position: relative;
  width: 500px;
  line-height: 22px;
  margin: 15px;
  text-align: justify;
  word-spacing: 2px;
}

.bb .imgBx {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bb .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}



.drawings{
  max-width: 2420px;
  display: flex;
  margin: 15px;
  flex-wrap: wrap;
  justify-content: space-around;
}

.cc {
  position: relative;
  width: 830px;
  height: 400px;
  margin: 15px;
}

.cc .imgBx {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cc .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

@media (max-width: 991px) {
    .cc {
  position: relative;
  width: 300px;
  height: 150px;
  margin: 15px;
  line-height: 70px
}

}
/* tekst */



.gallery {
  max-width: 2420px;
  display: flex;
  margin: 120px 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.box {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 15px;
}

.box .imgBx {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.box .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.box:hover .imgBx img {
  opacity: 1;
}

.box .content {
  position: absolute;
  top: 40%;
  left: 2%;
  margin-right: 12px;
  text-align: center;
  color: white;
}

.box:hover .content {
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
}

.box .content h3 {
  margin: 20px;
  padding: 0;
  font-size: 23px;
  font-family: 'Caveat', cursive;
  font-variant: normal;

}

.box .content p {
  margin:  10px 10px 10px 10px;
  padding: 0;
  opacity: 0;
  line-height: 1.2em;
  transition: 0.5s;
  text-align: justify;
  font-family: 'Caveat', cursive;
  font-variant: normal;
}

.box:hover .content p {
  opacity: 1;
  transition-delay: 0.5s;
}




/* social */

.social{
   background-color: white;
   width: 100%;
}

.wrapper {
  
  position: relative;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.wrapper ul {
  margin: 0;
  padding: 0;
  display: flex;
  position: sticky;
  text-align: center;
  z-index: 15;
  justify-content: center;
}

.wrapper ul li {
  
  list-style: none;
  
  
}

.wrapper ul li a{
  width: 40px;
  height: 40px;
  background: #fff;
  text-align: center;
  line-height: 40px;
  font-size: 21px;
  margin: auto 11px;
  display: block;
  border-radius: 50%;
  position: sticky;
  overflow: hidden;
  border: 2px solid #fff;
  transition: .2s;
}

.wrapper ul li a .fa{
   position: relative;
   color: black;
   transition: .5s;
}

.wrapper ul li a:hover .fa{
   transform: rotateZ(360deg);
}


/* bottom */

.sekcija{
   background-color: white;
   width: 100%;
}

.bottom {
   margin: 0px;
   padding: 0;
   display: flex;
   justify-content: center;
}

.bottom-text {

  font-family: Robo; 
  font-variant: normal;
  margin: auto;
  color: black;
  box-sizing: border-box;
  letter-spacing: 1.5px;
  text-align: center;
    justify-content: center;
}

