@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

@font-face {
    font-family: minecraft_font;
    src: url("fontovi/MinecraftTen-VGORe.ttf");
}

* {
    scroll-behavior: smooth;
}

body, .header, .navbar a, section, footer, .footer-col h4, .footer-col ul li a, .social-links a, h1, h2, h3 {
    font-family: 'Kanit', sans-serif;
}

.kanit-thin {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .kanit-thin-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .kanit-extralight {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .kanit-extralight-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: italic;
  }
  
  .kanit-light {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .kanit-light-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .kanit-regular {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .kanit-regular-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .kanit-medium {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .kanit-medium-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .kanit-semibold {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .kanit-semibold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .kanit-bold {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .kanit-bold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .kanit-extrabold {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .kanit-extrabold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: italic;
  }
  
  .kanit-black {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .kanit-black-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: italic;
  }

  .merriweather-regular {
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
  }
  

















.min_font{
    font-family: minecraft_font;
}





*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{ 
    min-height: 100vh;
    background-color:rgb(53, 52, 52) ;
    background-image: url("slike/dirt.svg");
}
 


.header_slika {
    opacity: 70%;
    background-image: url("slike/header.jpg");
    height: 62.2vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.header_slika2 {
    opacity: 70%;
    background-image: url("slike/header2.jpg");
    height: 62.2vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.header_slika3 {
    opacity: 70%;
    background-image: url("slike/header3.png");
    height: 62.2vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.header_slika4 {
    opacity: 70%;
    background-image: url("slike/header4.jpg");
    height: 62.2vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.header_slika5 {
    opacity: 70%;
    background-image: url("slike/header5.jpg");
    height: 62.2vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    background: rgb(29, 28, 28);
    font-family: minecraft_font;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.logo{
    font-size: 32px;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.navbar a {
    position: relative;
    font-size: 18px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    margin-left: 40px;
    z-index: 2;
}

.navbar a::before{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition-duration: 0.2s;
}

.navbar a:hover::before{
    width: 100%;
}



section{
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 60%;
    background-color: #242426;
    color: aliceblue;
    padding: 1%;
    font-size: 20px;
}

section p{
    font-size: 22px;
    font-weight: 300;
    font-style: normal;
}


section h1, h2, h3{
    font-family: "Merriweather", serif;
}

section ul li{
    font-family: "Kanit", sans-serif;
        list-style-type: circle;
}





.text-cilj{
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 85%;
    background-color: #242426;
    color: aliceblue;
    padding: 1%;
    font-size: 20px;
}

.text-cilj p{
    font-size: 22px;
    font-weight: 300;
    font-style: normal;
}


.text-cilj h1, h2, h3{
    font-family: "Merriweather", serif;
}

.text-cilj ul li{
    font-family: "Kanit", sans-serif;
        list-style-type: circle;

}

.text-cilj ul, ol{
    padding-left: 0.5em;
}













.container{
	max-width: 65%;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
    margin-right: -10px;
}
ul{
	list-style: none;
}
.footer{
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("slike/bedrock.png");
    background-size: 100px 100px;
    padding: 70px 0;
    font-family: 'Pixelify Sans', sans-serif;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 20px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 20px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: white;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 2px;
}
.footer-col ul li a{
	font-size: 17px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #ffffff;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}


@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}



.text-container {
    width: calc(60% - 10px);
    margin-right: 10px; 
    background-color: #242426;
    color: aliceblue;
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}



.image-container {
    width: calc(40% - 10px);
    position: relative;
    margin-bottom: 20px;
    background-color: #242426;
    
}

.image-container img {
    width: calc(100% - 20px);
    height: auto;
    margin: 10px;
    padding: 20px;
    
}



.container-1 .image-container,
.container-2 .image-container, 
.container-3 .image-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
}

.container-1 .image-container img,
.container-2 .image-container img, 
.container-3 .image-container img{
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}


.centriranje-slika{
    text-align: center;
}


.center{
    display: flex;
  align-items: center;
  justify-content: center;
}


.button {
    display: inline-block;
    border-radius: 5px;

}

.button img {
    margin-top: 10px;
    width: 100px;
    height: auto;
    transition: transform 0.3s;
}

.button:hover img {
    transform: scale(1.1);
}


.naslov{
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 90%;
    background-color: rgb(37, 38, 39);
    color: aliceblue;
    padding: 2%;
    font-size: 20px;
}

.uvod-blokovi {
    width: 90%;
    padding: 20px;
}

.uvod-blokovi a {
    color: white;
}

.kategorija{
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 90%;
    background-color: rgb(48, 50, 50);
    color: aliceblue;
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
    padding: 2%;
    font-size: 20px;
}


.kategorija h1{
    padding-bottom: 30px;
}

h1{
    padding-bottom: 20px;
}




.uvod.image-on-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap-reverse;
    text-align: center;
}

.uvod .content {
    flex: 1;
    max-width: 600px;
    padding: 20px;
    text-align: left;
}

.uvodi .content {
    flex: 1;
    max-width: 800px;
    text-align: left;
}

.uvod .image-container {
    flex: 1;
    text-align: center;
}

.uvod img {
    max-width: 64px;
    height: auto;
}

.thumbnailContainer img {
    max-width: 64px;
    height: auto;
}

@media (max-width: 767px) {
    .uvod.image-on-right {
        flex-direction: column;
        align-items: center;
    }

    .uvod .content,
    .uvod .image-container {
        width: 100%;
        text-align: center;
    }

    .uvod2.image-on-right {
        flex-direction: column;
        align-items: center;
    }

    .uvod2 .content,
    .uvod2 .image-container {
        width: 100%;
        text-align: center;
    }

    
    
}

.uvod2.image-on-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap-reverse;
    text-align: center;
}

.uvod2 .content {
    flex: 1;
    max-width: 600px;
    padding: 20px;
    text-align: left;
}

.uvod2 .image-container {
    flex: 1;
    text-align: center;
}

.mainImageBox {
    overflow: hidden;
    display: flex; 
    justify-content: center;
    width: 100%;
} 
 
.mainImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.thumbnailContainer {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 10px;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;



}

    @media (max-width: 767px) {
        .thumbnailContainer{
        grid-template-columns: repeat(4, 1fr);
        padding-left: 10px;
        justify-content: center;
        text-align: center;
    }
    }

    @media (min-width: 768px) {
        .thumbnailContainer{
        justify-content: center;
        text-align: center;
    }
}


.thumbnail {
    width: 50px;
    height: 50px;
    margin: 5px 0;
    cursor: pointer;
    background-color: #616161;
    transition: transform 0.3s, outline 0.3s;
    
}

.thumbnail:hover {
    transform: scale(1.2);
}

.thumbnail:active,
.thumbnail.active {
    outline: 2px solid white; 
}



@keyframes shaking {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
  }

.tres{
    animation: shaking 0.6s infinite;
}


.image-container img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.image-container img:hover {
    transform: scale(1.7);
}











@media (max-width: 767px) {
    .header {
        padding: 20px;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .navbar a {
        position: relative;
        font-size: 18px;
        color: white;
        font-weight: 500;
        text-decoration: none;
        margin-left: 20px;
        z-index: 2;
    }

    .header_slika {
        height: 40vh;
    }

    .header_slika2{
        height: 40vh;
    }

    .header_slika3{
        height: 40vh;
    }

    .header_slika4{
        height: 40vh;
    }

    .header_slika5{
        height: 40vh;
    }

    section {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .text-cilj{
        width: 90%;
    }

    .footer-col {
        width: 100%;
        margin-bottom: 30px;
    }

    .uvod.image-on-right,
    .uvod2.image-on-right {
        flex-direction: column;
        align-items: center;
    }

    .uvod .content,
    .uvod2 .content {
        width: 100%;
        text-align: center;
    }

    .thumbnailContainer {
        padding-left: 20px;
    }
}


@media (max-width: 480px) {
    .header {
        padding: 10px;
    }

    .logo {
        font-size: 24px;
    }

    .navbar a {
        font-size: 16px;
    }

    .footer-col h4 {
        font-size: 18px;
    }

    .footer-col ul li a {
        font-size: 14px;
    }
}











body {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    background-color: #333;
    overflow: hidden;
}

.header a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
}



.header .logo {
    font-size: 25px;
    font-weight: bold;
}

.navbar {
    float: right;
}

.navbar a {
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px;
}




.uvod {
    padding: 20px;
    
}


.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

.footer-col {
    width: 25%;
    float: left;
    padding: 0 20px;
    box-sizing: border-box;
}
.footer-col
.footer-col h4 {
    margin-bottom: 30px;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.footer-col ul {
    list-style-type: none;
    padding: 0;
}

.footer-col ul li {
    line-height: 2;
}

.social-links i {
    font-size: 30px;
    margin-right: 10px;
    color: white;
    margin: 0 auto;
    margin-top: 5px;
}


@media screen and (max-width: 768px) {
    .navbar {
        float: none;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .navbar a {
        padding: 1px;
    }

    .footer-col {
        width: 100%;
        margin-bottom: 20px;
    }
}












body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
}




.custom-width {
    width: 65%;
}

.text-container h3{
    padding-bottom: 15px;
}

@media (max-width: 767px) {
    .container {
        max-width: 90%;
    }

    .container .row {
        flex-direction: column;
    }

    .text-container, .image-container {
        width: 100%;
        margin-right: 0;
    }

    section, .text-cilj {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .image-container {
        width: 100%; /* Make image container full-width */
        margin-bottom: 10px; /* Add some margin between image and text */
    }

    .text-container h3 {
        padding-bottom: 10px; /* Reduce heading padding */
    }

    .uvod.image-on-right, .uvod2.image-on-right {
        flex-direction: column; /* Stack content on small devices */
        align-items: center; /* Center content */
    }

    .uvod .content, .uvod2 .content {
        width: 100%; /* Make content full-width */
        text-align: center; /* Center text */
    }

    .thumbnailContainer {
        grid-template-columns: repeat(3, 1fr); /* Adjust thumbnail grid for smaller devices */
    }

    .custom-width{
        width: 100%;
    }
}







.image-containerd {
    width: calc(40% - 10px);
    position: relative;
    margin-bottom: 10px;
    background-color: #242426;
}

.image-containerd img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.image-containerd img:hover {
    transform: scale(1.7);
}


.image-containere {
    width: calc(40% - 10px);
    position: relative;
    margin-bottom: 10px;
    background-color: #242426;
}

.image-containere img {
    max-width: 100%;
    width: 64px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.image-containere img:hover {
    transform: scale(1.7);
}







::-webkit-scrollbar {
    width: 20px;
  }
  

  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(58, 57, 57); 
    border-radius: 10px;
  }
   

  ::-webkit-scrollbar-thumb {
    background: rgb(35, 35, 35); 
    border-radius: 10px;
  }
  

  ::-webkit-scrollbar-thumb:hover {
    background: #212121; 
  }








