
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111;
    color: #fff;
    overflow-x: hidden;
    box-sizing: border-box;
}
header {
    position: fixed;
    width: 100%;
    background-color: rgb(12, 12, 12);
    padding: 30px 0;
    text-align: center;

}
section {
    min-height: 100vh;
    padding-top: 2em;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin: 0 40px;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: #4a47e0;
}

a {text-decoration: none;
color: #4a47e0;
text-shadow: 2px 2px 10px #302de8;}

section {
    padding: 80px 20px;
    text-align: center;
}
#pocetna {
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
#pocetna video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

h1, h2 {
    font-weight: bold;
    text-transform: uppercase;
    font-family: Poppins;
    padding-top: 2em;
}
h1 {
    font-size: 3rem;
    color:#4a47e0;
}
footer {
    text-align: center;
    padding: 20px;
    background: rgb(12, 12, 12);;
    font-size: 0.9rem;
}
#izvodaci img {
    width: 100%; 
    max-width: 300px; 
    height: auto; 
    display: block; 
    margin: 10px auto;  
   box-shadow: 1px 1px 7px #4a47e0;
}

#izvodaci {
    text-align: center; 
}

#izvodaci p {
    font-size: 25px;
    line-height: 1.6; 
    margin-bottom: 20px; 
}

#izvodaci h2 {
  
    color: #4a47e0;
    margin-bottom: 15px; 
} 

h2  {  font-size: 2em; 
    color: #4a47e0;
}
h3 {
    font-size: 30px;
    padding-top: 2em;
}

.kvadrat {
    position: relative;  
    display: inline-block;  
    padding: 35px;
    background-color: rgba(0, 0, 0, 0.8); 
    border-radius: 10px; 
    margin-top: 20px;
    margin-bottom: 20px; 
}

.kvadrat h1, .kvadrat p {
    color: white;  
    text-shadow: 2px 2px 10px #302de8;
}

.kvadrat h1 {
    font-size: 2.5rem; 
    margin: 0; 
}

.kvadrat p {
    font-size: 1.2rem;  
}

p {
    font-size: 25px;
}

#raspored img {
    width: 100%; 
    max-width: 600px; 
    height: auto; 
    display: block; 
    margin: 10px auto;  
   box-shadow: 1px 1px 7px #4a47e0;
}

#raspored p {
    padding-bottom: 1em;
}

@media only screen and (max-width: 360px) {
    header {
        padding: 20px 0;
    }

    nav ul {
        flex-direction: column; /* Stack links vertically */
        align-items: center; /* Center links */
        margin-top: 60px; /* Add some space at the top */
    }

    nav ul li {
        margin: 10px 0; /* Reduce space between links */
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 25px;
    }

    .kvadrat {
        padding: 20px;
    }

    .kvadrat h1 {
        font-size: 2rem;
    }

    .kvadrat p {
        font-size: 1rem;
    }

    #izvodaci p {
        font-size: 18px;
    }

    #izvodaci h2 {
        font-size: 1.8rem;
    }

    #raspored img {
        max-width: 100%;
    }
}

/* Tablet (768x1024) */
@media only screen and (max-width: 768px) {
    header {
        padding: 25px 0;
    }

    nav ul {
        flex-wrap: wrap; 
    }

    nav ul li { padding-bottom: 1em;
        margin: 0 20px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 28px;
    }

    .kvadrat {
        padding: 30px;
    }

    .kvadrat h1 {
        font-size: 2.2rem;
    }

    .kvadrat p {
        font-size: 1.1rem;
    }

    #izvodaci p {
        font-size: 20px;
    }

    #izvodaci h2 {
        font-size: 2rem;
    }

    #raspored img {
        max-width: 100%;
    }
}


@media only screen and (min-width: 1920px) {
    nav ul {
        justify-content: space-around;
    }

    nav ul li {
        margin: 0 50px;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 35px;
    }

    .kvadrat {
        padding: 40px;
    }

    .kvadrat h1 {
        font-size: 3rem;
    }

    .kvadrat p {
        font-size: 1.3rem;
    }

    #izvodaci p {
        font-size: 28px;
    }

    #izvodaci h2 {
        font-size: 2.2rem;
    }

    #raspored img {
        max-width: 100%;
    }
}