* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}
body{
  background-color: rgb(255, 255, 255);
 
}
/* LINKOVI */
header {
    min-height: 10vh;
    width: 100%;
    background-color: rgb(18, 14, 36);
    background-position: center;
    background-size: cover;
    position: relative;
}
.linkovi {
    position: absolute;
    top: 30px;
    right: 80px;
    list-style: none;
    padding: 10px;  
}
ul li {
    display: inline-block;
    margin-right: 10px;
}
a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 8px;
    position: relative;
    overflow: hidden;
}
.link1::after,
.link2::after,
.link3::after,
.link4::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgb(186, 189, 46);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.link1:hover::after,
.link2:hover::after,
.link3:hover::after,
.link4:hover::after {
    transform: scaleX(1);
}
.linksl{
    width: 6%;
    position: relative;
    margin-left: 20px;
    margin-top: 15px;
}


  /* SLIDER */
  .container {
    max-width: 1200px;
    width: 95%;
    margin-top: 50px;  
  }
  
  .slider-wrapper {
    position: relative;
  }
  
  .slider-wrapper .slide-button {
    position: absolute;
    top: 50%;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    z-index: 5;
    color: #fff;
    display: flex;
    cursor: pointer;
    font-size: 2.2rem;
    background: #000;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(-50%);
  }
  
  .slider-wrapper .slide-button:hover {
    background: #404040;
  }
  
  .slider-wrapper .slide-button#prev-slide {
    left: -25px;
    display: none;
  }
  
  .slider-wrapper .slide-button#next-slide {
    right: -25px;
  }
  
  .slider-wrapper .image-list {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 18px;
    font-size: 0;
    list-style: none;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  
  .slider-wrapper .image-list::-webkit-scrollbar {
    display: none;
  }
  
  .slider-wrapper .image-list .image-item {
    width: 325px;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
  }
  
  .container .slider-scrollbar {
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
  }
  
  .slider-scrollbar .scrollbar-track {
    background: #ccc;
    width: 100%;
    height: 2px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    position: relative;
  }
  
  .slider-scrollbar:hover .scrollbar-track {
    height: 4px;
  }
  
  .slider-scrollbar .scrollbar-thumb {
    position: absolute;
    background: #000;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    cursor: grab;
    border-radius: inherit;
  }
  
  .slider-scrollbar .scrollbar-thumb:active {
    cursor: grabbing;
    height: 8px;
    top: -2px;
  }
  
  .slider-scrollbar .scrollbar-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
  }
  

.slajder{
  display: flex;
  justify-content: center;
}

.full-img {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.full-img img{
  width: 60%;
}
.full-img span {
  position: absolute;
  top: 5%;
  right: 5%;
  font-size: 30px;
  color: #fff;
  cursor: pointer;


}


/* PODNASLOV */
h2{
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  margin: 40px;
}
p{
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;

}



/* BORDER TEKST I SLIDER */
#slideshow {
  text-align: center;
  overflow: hidden;
  height: 370px;
  width: 528px;
  margin: 0 auto;
  float: left;
}

.slide-wrapper {
  width: 2912px;
 animation: slide 16s ease infinite;
}

.slide {
  float: left;
  height: 370px;
  width: 528px;
}

.slide:nth-child(1) {
  background-image:  url(slike/1\ \(24\).jpg);
}

.slide:nth-child(2) {
  background-image:  url(slike/1\ \(4\).jpg);
}

.slide:nth-child(3) {
  background-image:  url(slike/1\ \(25\).jpg);
}

.slide:nth-child(4) {
  background-image:  url(slike/1\ \(39\).jpg);
}

.slide-number {
  color: #000;
  text-align: center;
  font-size: 10em;
}

@keyframes slide {
  20% {margin-left: 0px;}
  30% {margin-left: -528px;}
  50% {margin-left: -528px;}
  60% {margin-left: -1056px;}
  70% {margin-left: -1056px;}
  80% {margin-left: -1584px;}
  90% {margin-left: -1584px;}
}
.border{
  margin-top: 50px;
  border: solid;
  block-size: 450px;
  background:  rgb(18, 14, 36);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  justify-content: space-evenly;
  
}

/* TEKST */
.tekst2{
  color: white;
  margin: 0 auto;
  float: right;
  width: 40%;
  text-align: start;
  font-size: 20px;

}
.tekst3{
  color: white;
  display: flex;
  float: right;
  width: 40%;
  margin-top: 10px;
  text-align: start;
  margin-right: 270px;
  font-size: 18px;

}
.tekst4{
  display: flex;
  float: right;
  width: 60%;
  text-align: start;
  margin: 20px;
  font-size: 20px;
  margin-bottom: 100px;
}


/* DOMACIN */
.domacin{
border-radius: 100%;
height: 150px;
margin: 20px;
}
.section3{
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.domacin1{
  font-weight: 600;
}



/* SLIKE */
.slika{
  margin-top: 20px;
  width: 50%;
}

.image3{
  border-radius: 70%;
  width: 20%;
 
}
.column-container3 {
  display: flex;
  align-items: center;
  margin: 20px; 
  box-sizing: border-box;
  box-sizing: border-box;
    justify-content: space-evenly;
}
.p2 {
  width: 100%; 
  text-align: center;
  margin: 0; 
  color: rgb(255, 255, 255);
}

h3{
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  margin: 20px;
}


/* FOOTER */
footer{
  background-color: rgb(18, 14, 36);
  height: auto;
  width: auto;
  font-family: "Open Sans";

  color: #fff;

}
.footer-content{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;

}
.footer-content h3{
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: capitalize;
  line-height: 3rem;

}
.socials{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 3rem 0;

}
.socials li{
  margin: 0 10px;

}
.socials a{
  text-decoration: none;
  color: #fff;
}
.socials a i{
  font-size: 1.1rem;
  transition: color .4s ease;

}
.socials a:hover i{
  color: aqua;
}

.footer-bottom{
  background-color: rgb(18, 14, 36);
  width: auto;
  padding-bottom: 20px ;
  text-align: center;

}
.footer-bottom p{
  font-size: 14px;
  word-spacing: 2px;
  text-transform: capitalize;
}
.footer-bottom span{
  text-transform: uppercase;
  opacity: 0.4;
  font-weight: 200;
}



/* MOBITEL */

@media only screen and (max-width: 1050px) {
  /* LINKOVI I HEADER */
  header {
    min-height: auto;
    padding: 10px;
    text-align: center;
  }
  .linkovi {
    position: static;
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-right: 0;
  }
  ul li {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .linksl {
    margin: 0 auto;
    display: block;
    width: 20%;
  }
/* SLIDE WRAPPER */
  .slider-wrapper .slide-button {
    display: none;
  }
  .slider-wrapper .image-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
  }
  .slider-wrapper .image-list .image-item {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
  }
  .slider-scrollbar {
    display: none;
  }
/* SLIDER  */
  @keyframes slide {
    20% {margin-left: 0px;}
    30% {margin-left: -400px;}
    50% {margin-left: -400px;}
    60% {margin-left: -800px;}
    70% {margin-left: -800px;}
    80% {margin-left: -1200px;}
    90% {margin-left: -1200px;}
  }



  #slideshow {
    width: 400px;
    height: 250px;
  }

  .slide-wrapper {
    width: 1600px;
    animation: slide 16s ease infinite;
  }

  .slide {
    width: 400px;
    height: 250px;

  }

  .slide:nth-child(1) {
    background-image:  url(slike/1\ \(24\).jpg);
    background-size: cover;
  }
  
  .slide:nth-child(2) {
    background-image: url(slike/1\ \(4\).jpg);
    background-size: cover;
  }
  
  .slide:nth-child(3) {
    background-image:  url(slike/1\ \(25\).jpg);
    background-size: cover;
  }
  
  .slide:nth-child(4) {
    background-image:  url(slike/1\ \(39\).jpg);
    background-size: cover;
  }

  .border{
    flex-wrap: wrap
  }
/* TEKST I NASLOV */
  .tekst2,
  .tekst3,
  .tekst4 {
    width: 100%;
    margin-right: 0;
    margin-top: 5px;
    margin-left: 0;
    font-size: 10px;
    padding: 10px;
    text-align: start;
  }

  h2 {
    margin: 20px;
    font-size: 24px;
  }
  p {
    margin-bottom: 20px;
  }

/* DOMACIN */
  .domacin {
    width: 50px;
    height: 50px;
 
  }
  /* FOOTER */
  .footer-content {
    padding: 20px;
  }
  .socials li {
    margin: 0 5px;
  }

  .full-img img{
    width: 90%;
  }

  .domacin1{
    font-weight: 600;
    font-size: 10px;
    
  }

};


