
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

/* NASLOVNA SLIKA */
body {

    background-color: rgb(18, 14, 36);

}


/* NASLOV */
h1 {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    font-size: 80pt;
    transform: translate(-50%, -50%);
}


/* LINKOVI */
ul {
    position: absolute;
    top: 20px; 
    right: 20px; 
    list-style: none;
}

ul li {
    display: inline-block;
    margin-right: 10px;
}

a {
    color: white;
    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: 10%; 
    position: relative;
    margin-left: 10px; 
    margin-top: 10px; 
}




/* ANIMACIJA */
.hidden{
    opacity: 0;
    filter: blur(5px);
    transform: translateY(100%);
    transition:all 2.5s ;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    font-size: 80pt;
    transform: translate(-50%, -50%); 
}
.hidden:nth-child(1) {
    transition-delay: 200ms;
}
.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}




/* MOBITEL*/
@media screen and (max-width: 768px) { 
    ul {
        top: 10px;
        right: 10px; 
    }
    
    .linksl {
        width: 15%; 
        margin-left: 5px; 
        margin-top: 5px; 
    }
    .linksl {
        width: 10%; 
        position: relative;
        margin-left: 10px; 
        margin-top: 10px; 
    }
    
    .linksl img {
        width: 100%; 
        height: auto; 
    }
    h1 img {
        max-width: 300px; 
        height: auto;
        display: block; 
        margin: 0 auto; 
    }
}