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

@font-face {
    font-family: 'ProximaNova';
    src: url(../fonts/ProximaNova.ttf);
}

@font-face {
    font-family: 'Metropolis-Regular';
    src: url(../fonts/Metropolis-Regular.ttf);
}

nav {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 100;
}

nav a {
    color: black;
}

nav li {
    padding: 5px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    height: 70px;
    margin: 0 auto;
}

li {
    list-style: none;
}

.navbar-links {
    display: flex;
    justify-content: space-between;
    font-family: 'Metropolis-Regular', sans-serif;
    font-size: 1.2rem;
    width: 450px;
}

.menu-button {
    display: none;
}

.menu-icon::before {
    transform: translateY(-5px);
}

.menu-icon::after {
    transform: translateY(5px);
}

.logo a {
    font-size: 2em;
    font-family: 'Poppins';
    font-weight: bold;
}

a {
    color: inherit;
}

footer {
    text-align: center;
    padding: 20px 0;
}

footer h2 {
    font-family: 'Poppins';
    letter-spacing: 1px;
    font-size: 24px;
    margin-bottom: 20px;
}

footer p {
    font-family: 'Metropolis-Regular', sans-serif;
    font-size: 30px;
}

.copyright {
    margin-top: 80px;
    font-size: 16px;
}

.arrow-left {
    width: 20px;
}

.arrow-right {
    width: 20px;
}

/*
------------------------------------------------------------------
Index.html
------------------------------------------------------------------
*/
.welcome-image {
    display: flex;
    justify-content: center;
}

.welcome-image img {
    width: 800px;
    max-width: 90%;
    margin: 0 auto;
}

.home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
}

.home-about-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.home-about-title hr {
    width: 200px;
    background: black;
    height: 1px;
    border: none;
}

.home-about-title h1 {
    font-family: 'Poppins';
    font-weight: lighter;
    font-size: 24px;
    margin-bottom: 10px;
}

.home-about-text {
    font-family: 'ProximaNova';
    /*font-family: 'Metropolis-Regular';
    ođe ovo malo
    */
    margin: 0 auto;
    margin-bottom: 20px;
    max-width: 615px;
    padding: 0 15px;
}

.home-works-title {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.home-works-title hr {
    width: 200px;
    background: black;
    height: 1px;
    border: none;
}

.home-works-title h1 {
    font-family: 'Poppins';
    font-weight: lighter;
    font-size: 24px;
    margin-bottom: 10px;
}

.home-button{
    font-family: 'Poppins';
    color: #000;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.4s;
}

.home-button a {
    padding: 2.5px 25px;
    border: 1px solid black;
}

.home-button a:hover {
    color: #fff;
    background: #000;
    transition: 0.05s ease-in-out;
}

.home-works-button {
    margin: 60px 0 80px 0;
}

.carousel {
    position: relative;
    height: 600px;
    width: 60%;
    margin: 0 auto;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.carousel-image {
    max-width: 100%;
    height: 100%;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.button-left {
    left: -50px;
    z-index: 2;
}

.button-right {
    right: -50px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.carousel-indicator {
    border: 1px solid #000;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background-color: #fff;
    margin: 0 12px;
    cursor: pointer;
}

.carousel-indicator.current-slide {
    background-color: #000;
}

.is-hidden {
    display: none;
}

.contact {
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.contact hr {
    width: 200px;
    background: black;
    height: 1px;
    border: none;
}

.contact h1 {
    font-family: 'Poppins';
    font-weight: lighter;
    font-size: 24px;    
    margin-bottom: 10px;
}

.contact-info {    
    font-family: 'Metropolis-Regular', sans-serif;
    font-size: 30px;
}

.home {
    margin-bottom: 100px;
}


/*
------------------------------------------------------------------
Biografija.html
------------------------------------------------------------------
*/
.biografija {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
}

.biografija-img {
    max-width: 100%;
    width: 955px;
}

.biografija-img img {
    max-height: 100%;
    width: 100%;
}

.biografija-img-small {
    display: none;
}

.biografija-text {
    font-family: 'ProximaNova';
    /*font-family: 'Metropolis-Regular';
    ođe ovo malo
    */
    margin: 0 auto;
    max-width: 615px;
    padding: 0 15px;
}

.biografija-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.biografija-title hr {
    width: 200px;
    background: black;
    height: 1px;
    border: none;
}

.biografija-title h1 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Poppins';
    font-weight: lighter;
}

/*
------------------------------------------------------------------
Radovi
------------------------------------------------------------------
*/
.radovi {
    display: flex;
    min-height: 100vh;
}

.gallery {
    width: 70%;
    margin: 0 auto;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gallery img:first-child {
    margin-top: 0;
}

.gallery img {
    max-width: 65%;
    margin-top: 50px;
}

.gallery img:last-child {
    margin-bottom: 50px;
}

.gallery img.large {
    max-width: 50%;
}

.gallery p {
    font-family: 'ProximaNova';
    color: #999;
}

.sidebar {
    font-size: 1.2rem;
    font-family: 'Metropolis-Regular';
    line-height: 2.5rem;
    text-align: left;
    position: fixed;
    right: 0;
    width: 30%;
    height: 100vh;
    overflow: auto;
    display: grid;
    place-items: center left;
    z-index: 20;
}

.sidebar a {
    color: #000;
    padding: 0.5rem;
}

.sidebar a:hover {
    transition: 0.1s ease-in-out;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
    text-decoration-thickness: 0.12rem;    
}

.radovi-active {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
    text-decoration-thickness: 0.12rem;
}

/*
------------------------------------------------------------------
Izlozbe.html
------------------------------------------------------------------
*/
.izlozbe {
    margin: 0 auto;
    margin-top: 80px;
    font-family: "Metropolis-Regular";
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: 1px;
}

.izlozbe-box img {
    max-width: 70%;
}

.izlozbe-box {
    margin-bottom: 150px;
    margin-top: 50px;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.izlozbe h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
    font-family: 'Poppins';
    font-weight: lighter;
}

.izlozbe h2 {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    font-family: 'Poppins';
    font-weight: lighter;
}

.izlozbe hr {
    width: 200px;
    background: black;
    height: 1px;
    border: none;
}

/*
------------------------------------------------------------------
Media Query
------------------------------------------------------------------
*/
@media only screen and (max-width: 1400px) {

    .carousel {
        width: 90%;
    }
}

@media only screen and (max-width: 900px) {
    
    html,
    body,
    .container {
        overflow-x: hidden;
    }

    .carousel {
        max-height: 400px;
    }

    .button-right {
        right: 0;
    }

    .button-left {
        left: 0;
    }

    .navbar {
        width: 90%;
    }
    
    .navbar-links {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #fff;
        right: 0;
        top: 70px;
        min-height: 100vh;
        width: 100%;
        transform: translateX(100%);
        transition: opacity 0.25s ease-in-out;
        opacity: 0;
    }

    .nav-active {
        transform: translateX(0%);
        opacity: 1;
    }

    .menu-button {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        height: 30px;
        width: 30px;
    }

    .menu-icon {
        width: 20px;
        height: 1px;
        background: #000;
    }
    
    .menu-icon::before,
    .menu-icon::after {
        content: '';    
        width: 20px;
        height: 1px;
        background: #000;
        position: absolute;
    }


                /*------------------------------------------------------------
                Index.html
                ------------------------------------------------------------*/
    


    .grid {
        grid-template-columns: minmax(300px, 1fr);
        row-gap: 80px;
    }

                /*------------------------------------------------------------
                Radovi
                ------------------------------------------------------------*/
    .radovi {
        flex-direction: column-reverse;
    }

    .sidebar {
        text-align: center;
        position: initial;
        right: initial;
        width: initial;
        height: initial;
        place-items: center;
        margin: 10px 0;
    }

    .gallery img.large {
        max-width: 100%;
        margin: 0 auto;
        margin-top: 20px;
    }

    .gallery {
        width: 90%;
        margin: 0 auto;
    }

    .gallery img {  
        max-width: 100%;
        margin-top: 20px;
    }
    
    .gallery img.large:first-child {
        margin-top: 0;
    }

    .gallery img:last-child {
        margin-bottom: 20px;
    }

    .grid {
        max-width: 90%;
    }

                /*------------------------------------------------------------
                Izlozbe.html
                ------------------------------------------------------------*/
    .izlozbe-box {
        max-width: 90%;
        margin-bottom: 80px;
    }

    .izlozbe-box img {
        max-width: 100%;
    }

}

@media only screen and (max-width: 700px) {

    .carousel {
        max-height: 325px;
    }

    .button-right {
        right: -10px;
    }

    .biografija-img {
        width: 60%;
    }

    .biografija-img img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .biografija-img-large {
        display: none;
    }

    .biografija-img-small {
        display: inline;
    }
    
}