@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap');

/* GENERALNE POSTAVKE */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}

h1 {
    font-size: 40px;
    font-weight: 200;
    line-height: 50px;
}

h2 {
    font-size: 30px;
    line-height: 40px;
    margin-top: 0;
}

h3 {
    font-size: 20px;
    font-weight: bold;
    line-height: 32px;
}

h4 {
    color: #505050;
    font-size: 18px;
    line-height: 28px;
}

p {
    color: #757575;
    font-size: 16px;
    font-weight: 300;
    line-height: 29px;
    letter-spacing: 0.5px;
}

/* NAVBAR */

.navbar .navbar-nav .nav-link {
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.5px;
    padding: 0;
    text-transform: uppercase;
    transition: ease-in-out 0.3s;
    color: white;
}

.navbar-brand>img {
    z-index: 10;
}

.navbar-toggler>i {
    font-size: 40px;
}

/* NAVBAR - EFEKAT ZA PROMENU BOJE I LINIJA ISPOD */

.navbar .navbar-nav .nav-link:hover {
    background: transparent;
    color:#b2b2b2;
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: transparent;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after {
    width: 100%;
    background:#b2b2b2;
    color:#b2b2b2;
}

.cus-nav {
    background-color: black;
    transition: ease-in-out 0.3s;
    opacity: 0.8;
}


/* SLAJDER */

#sliders .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0,0.3);
}

#slider {
    height: 100vh;
}

#mobilni {
    display: none;
}

.carousel-caption {
    top: 50%;
    left: 50%;
}

.carousel-caption>h3 {
    color: white;
    font-weight: 300;
    font-size: 5vw;
}

.carousel-caption>h5 {
    color: white;
    font-weight: 200;
    font-size: 2vw;
}   

.navbar-toggler {
    color: white;
}

.navbar-toggler:focus {
    outline: none;
}

#dugme1 {
    height: 150px;
    width: 300px;
    padding-top: 10px;
    text-align: center;
    border: 2px solid white;
    color: white;
    transition: ease-in-out 0.3s;
    margin: 0 auto;
}

#dugme1:hover {
    outline: none;
    background-color: black;
    color: #b2b2b2 ;
    border: 2px #b2b2b2 solid;
    text-decoration: none;
}

#top-btn {
    position: fixed;
    bottom:40px;
    right: 40px;
    font-size: 40px;
    width: 50px;
    height: 50px;
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    outline: none;
    z-index: 100;
 }

/* O NAMA */

#about {
    position: relative;
    background-color: #b2b2b2;
}

.about-text>h1 {
    color: white;
}

.about-text>p {
    font-size: 20px;
    font-weight: 400;
    color: white;
}

#dugme {
    height: 50px;
    width: 200px;
    padding-top: 10px;
    text-align: center;
    border: 2px solid white;
    color: white;
    transition: ease-in-out 0.3s;
    margin: 0 auto;
}

#dugme:hover {
    outline: none;
    background-color: black;
    color: #b2b2b2 ;
    border: 2px #b2b2b2 solid;
    text-decoration: none;
}

/* PROIZVODI */

section {
    background-color: #b2b2b2 ;
}

#project>div>h1 {
    color: white;
}

#project .project-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    padding: 0;
    vertical-align: middle;
    text-align: center;
}

#project .project-item .project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all ease-in-out 0.4s;
}

#project .project-item:hover .project-overlay {
    opacity: 1;
}

#project .project-item .project-overlay .project-info {
    padding: 6em 0;
}

.project-info h1 {
    color: white;
    margin:0;
    font-weight: 300;
}

.project-info h3 {
    color: white;
    margin-top: 20px;
    font-size: 14px;
    letter-spacing: 0.2px;
    font-weight: 200;
}

.project-item img {
    transition: all ease-in-out 0.4s;
}

.project-item:hover img {
    transform:scale(1.1);
}  




/* USLUGE */

.usluge>h1 {
    color:white;
}

.usluge>p {
    font-size: 20px;
    font-weight: 400;
    color: white;
}

.usluge>.row>div>h4 {
    color: white;
    margin-top: 50px;
}

.usluge>.row>div>i {
    font-size: 75px;
    color: white;
}

.usluge>.row>p {
    font-size: 20px;
    font-weight: 400;
    color: white;
}

/* GALERIJA */

#team>div>h1 {
    color: white;
}

/* KONTAKT */

#footer {
    color: white;
    background-color:black;
}

#info>p {
    color: white;
}

#info>p>a {
    color: white;
}

#info>p>a:hover {
    text-decoration: none;
}

#info>i {
    font-size: 40px;
    font-weight: 400;
    cursor: pointer;
    transition: ease-in-out 0.3s;
    margin-bottom: 15px;
}

#info>i:hover {
    color: #b2b2b2;
}

#info>p {
    color: white;
    font-weight: 400;
}


@media (max-width:500px) {

    .navbar-brand>img {
        width:120px;
        height: 30px;
    }

    #info>img {
        margin-top: 25px;
    }
    
    #carouselExampleIndicators {
        display: none;
    }

    #mobilni {
        display: block;
        height: 100vh;
    }
}
