@import url('https://fonts.googleapis.com/css2?family=Kufam:ital,wght@0,400..900;1,400..900&display=swap');
*{
    font-family: "Kufam", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    scroll-behavior: smooth;
    
}
html:focus-within {
  scroll-behavior: smooth !important;
}
body{
    height:300vh;
    overflow-x: hidden;
    background-color: black !important;
}
nav.navbar.navbar-expand-lg{
    background-color: black;
}

nav.navbar.navbar-expand-lg.navbar-dark a{
    color:white;
    
}
.spacer{
    width:105px;
    height:20px;

}
.navbar-nav.mr-auto{

    margin:auto !important;
}
@media(max-width:991px){
    .spacer{
        display: none;
    }
}
.navbar-toggler{
    border:1px solid rgb(127, 126, 126) !important;
}
nav ul li{
    padding-left:15px;
    padding-right:15px;
    font-size: 20px;
}
main .left{
    width:60%;
    min-height: 100vh;

}
main .right{
    width: 40%;
    min-height: 100vh;
    display: flex;
    justify-content: flex-end;
  
    
}
main .right img{
    object-fit: cover;

}
.main{
    padding-top:50px;
    display:flex;
    background-color: black;
    flex-wrap: wrap;
    justify-content: center;
    margin:auto;
    max-width:1920px;

}
.main .text{
    color:white;
    max-width: 600px;


}
.main p{
    color:rgb(228, 228, 228);
    padding-bottom:20px;
    
}
.textWrapper{

   
    min-height:100vh;

    height:500px;
    display: flex;
    justify-content: center;
    align-items: center;

}
main h1 {
    font-size: 80px;
    font-weight: 900;
}
main .btn{
    
    padding:5px 40px;
    border: 2px solid white;
    background-color: white;

    border-radius: 10px;
    font-size: 24px;
    font-weight: 600;
    color:rgb(53, 53, 53) !important;
}
.zaCountDown{
    width:100%;
    
    height:200px;
    position: absolute;

}
#demo{
    padding-top:100px;
    text-align: center;
    max-width: 1920px;
    font-size: 72px;
    font-weight: 600;
}
@media (max-width:1449px){
    .main{
        flex-wrap: wrap;
    }
    main .right{
        width:100%;
        justify-content: center;
    }
    main .left{
        width:100%;
        height:auto;
        min-height: auto;


    }
    .textWrapper{
        height:auto;
        padding:100px 20px 0px 20px;
        text-align: center;

        
    }
    .text{

        margin:auto;
        padding:0;
    }

}
@media (max-width:760px){
    main .right{
        min-height: auto;
        
        height:600px;
    }
}

:root {
    --card-width: 300px;
    --card-height: calc(var(--card-width) / 1);
  }
  * {
    box-sizing: border-box;
  }
  
  .card {
    width: var(--card-width);
    height: var(--card-height);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    
    perspective: 2500px;
    
 
  }

  
  .cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .wrapper {
    transition: all 0.5s;
    position: absolute;
    width: 100%;
    z-index: -1;
  }
  
  .card:hover .wrapper {
    transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
    box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
  }
  
  .wrapper::before,
  .wrapper::after {
    content: "";
    opacity: 0;
    width: 100%;
    height: 80px;
    transition: all 0.5s;
    
    left: 0;
  }
  .wrapper::before {
    top: 0;
    height: 100%;
    background-image: linear-gradient(
      to top,
      transparent 46%,
      rgba(12, 13, 19, 0.5) 68%,
      rgba(12, 13, 19) 97%
    );
  }
  .wrapper::after {
    bottom: 0;
    opacity: 1;
    background-image: linear-gradient(
      to bottom,
      transparent 46%,
      rgba(12, 13, 19, 0.5) 68%,
      rgba(12, 13, 19) 97%
    );
  }
  
  .card:hover .wrapper::before,
  .wrapper::after {
    opacity: 1;
  }
  
  .card:hover .wrapper::after {
    height: 120px;
  }
  .title {
    width: 100%;
    transition: transform 0.5s;
  }
  .card:hover .title {
    transform: translate3d(0%, -50px, 100px);
  }
  
  .character {
    width: 100%;
    opacity: 0;
    transition: all 0.5s;

    z-index: -1;
  }
  
  .card:hover .character {
    opacity: 1;
    transform: translate3d(0%, -30%, 100px);
    
  }
  .section2{
    display: flex;
    justify-content: center;
    gap:50px;
    flex-wrap: wrap;
    margin-top:100px;
    margin-bottom: 100px;

  }
  div.card{
    background-color: transparent;
  }
  @media(max-width:400px){
    .card{
        width:250px;
    }
  }

  .section3{
    padding:100px 20px;
    display: flex;
    /*background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('img/kdajBG.jpg');*/
    background-size:cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color:white;
    text-align: center;
    gap:20px;
    
  }
  .section3 h2{
    font-size: 72px;
    font-weight: 600;
    margin-bottom:50px;
  }
  .section3 h3{
    font-size: 60px;
    margin-top:30px;
    font-weight: 400;
  }
  .section3 p{
    font-size: 24px;
  }
  .section3 .kontakt{
    font-size: 18px;
  }


/* width */
::-webkit-scrollbar {
    width: 12px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: transparent;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.205); 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

  @media (max-width:650px){
    .left .textWrapper h1,.zaCountDown p#demo{
      font-size: 62px;
    }
    .section3 .text h2{
      font-size: 62px;
    }


  }
  @media (max-width:550px){
    .zaCountDown p#demo{
      font-size: 42px;
    }
  }
  @media (max-width:460px){
    .left .textWrapper h1 ,.section3 .text h2, .section3 .text h3{
      font-size: 42px ;
    }
    .section3 .text p{
      font-size: 18px !important;
    }
  }
  @media (max-width:370px){
    .zaCountDown p#demo{
      font-size: 32px;
    }
  }
  .slideshow {
    height: 100vh;
    width: 100%;
}

ul.slideshow, .slideshow li {
    padding: 0;
    margin: 0;
}

.slideshow li {
    list-style-type: none;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    position: absolute;
}

.slideshow li > div {
    width: 100vw;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; /* Sprememba za prilagajanje slike */
}

  .slideshow li:nth-child(1) div{
    background-image: url("img/komponentko.jpg");
    background-color: white;
  }
  .slideshow li:nth-child(2) div {  
 background-color: f2f2f2;
    background-image: url("img/soliver.jpg");
    background-color: #f2f2f2;
    animation-delay: 5s;
  }
  .slideshow li:nth-child(3) div {

    background-image: url("img/balix.jpg");
    background-color: black;
    animation-delay: 10s;
  }
  .slideshow li:nth-child(4) div {
    background-image: url("img/herkul.jpg");
    background-color: black;
    animation-delay: 15s;
  }
  .slideshow li:nth-child(5) div {
    background-image: url("img/bitfit.png");
    background-color: rgba(28,23,21,255);
    animation-delay: 20s;
  }
  .slideshow li:nth-child(6) div {
    background-image: url("img/whiteshark.jpg");
    background-color: white;
    animation-delay: 25s;
  }

  .slideshow li:nth-child(7) div {
    background-image: url("img/sestavisi.png");
    background-color: #fbfbfb;
    animation-delay: 30s;
  }
  .slideshow li:nth-child(8) div {
    background-image: url("img/insert.png");
    background-color: white;
    animation-delay: 35s;
  }
  .slideshow li:nth-child(9) div {
    background-image: url("img/interdiskont.png");
    background-color: white;
    animation-delay: 40s;
  }

  .slideshow li:nth-child(10) div {
    background-image: url("img/cablex.png");
    background-color: black;
    animation-delay: 45s;
  }
  .slideshow li:nth-child(11) div {
    background-image: url("img/delalut.jpg");
    background-color: white;

    animation-delay: 50s;
  }

  .slideshow li:nth-child(12) div {
    background-image: url("img/fastfoodcabi.png");
    background-color: white;
    animation-delay: 55s;
  }
  .slideshow li:nth-child(13) div {
    background-image: url("img/nufira.png");
    background-color: white;
    animation-delay: 60s;
  }
  .slideshow li:nth-child(14) div {
    background-image: url("img/ssravneSponzorji.jpg");
    background-color: white;
    animation-delay: 60s;
  }
  

  .slideshow div h3{

    text-align: center;
    position: relative;
    z-index: 100;
    font-size: 48px;
    font-weight: 700;
    color:black; 
  

  }
  
  .slideshow li > div {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height:600px;
    top: 0px;
    left: 0px;  
    color: transparent;
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 65s linear infinite 0s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  @keyframes imageAnimation {
    0% {
      opacity: 0;
      animation-timing-function: ease-in;
    }
    3% {
      opacity: 1;
      animation-timing-function: ease-out;
    }
    8% {
      opacity: 1;
    }
    9% {
      opacity: 0;
    }

    100% {
      opacity: 0;
    }
  }

  @keyframes titleAnimation {
    0% {
      opacity: 0;
    }
    3% {
      opacity: 1;
    }
    7% {
      opacity: 1;
    }
    8% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }

  @media(max-width:520px){
    .slideshow div h3{
      font-size: 32px;
      
    }
    
  }
  .forTextSponzors{
    
    background-color: rgba(159, 159, 159, 0.8);
    text-align: center;
    padding:30px 10px;
    margin:20px;
    
  }
  .forTextSponzors p{
    
    max-width: 60ch;
    position: relative;
    z-index: 100;
    color:black;
    font-size: 24px;
  }
  @media (max-width:1000px){
    .forTextSponzors p{
      font-size: 14px;
    }
  }
