@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    line-height: 1.5;
}

main {
    display: flex;
    flex-direction: column;
    gap: calc(50px + 5vw);
    color: #111;
    font-size: 18px;
}

html::-webkit-scrollbar {
    display: none;
}
header {
    width: 100%;
    height: 150px;
    display: flex;
    position: fixed;
    padding-inline: 15vw;
    gap: 35px;
    z-index: 10;
    position: sticky;
    top: 0;
    transition: .2s;
    background-color: #fff;
}

header img {
    height: 25px;
    align-self: center;
    margin-bottom: 5px;
}

header nav {
    margin-left: auto;
    align-self: center;
    display: flex;
    gap: 20px;
}

header nav a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    align-self: center;
}

header nav a:hover {
    text-decoration: underline 2px;
    text-underline-offset: 5px;
}

.gumb {
    align-self: center;
    color: #fff;
    background-color: #111111;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    color: #fff;
}

#ponudaBTN {
    align-self: center;
    color: #fff;
    background-color: #111111 !important;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    color: #fff;
    margin-left: 30px;
}

#hamburger {
    height: 30px;
    cursor: pointer;
    z-index: 15;
    display: none;
    margin-left: auto;
}


#mobileNavP {
    width: 0;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    font-size: 24px;
    gap:100px;
    padding: 50px;
    display: flex;
    overflow: hidden;
    display: none;
    text-align: center;
    
}

#mobileNav {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 50%;
    right: 0;
    transform: translateY(-25%);
    text-align: left !important;
    overflow: hidden;
    align-items: center;
    width: 100%;
    height: 100%;
    gap:50px;
    margin: auto;
    z-index: 5000;
}

#ponudaBTNm {
    align-self: center;
    color: #fff;
    background-color: #111111 !important;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    color: #fff;

}

#naslovna {
    width: 100%;
    height: 33vw;
    min-height: 500px;
    display: grid;
    place-content: center;
    position: relative;
    text-align: center;
}

#pozadina {
    width: 100%;
    height: 100%;
    background-image: url(../slike/slika-mrkoci.jpg);
    background-position: center ;
    background-size: cover;
    background-repeat: no-repeat;
    filter: contrast(0.55) saturate(5) sepia(.1) grayscale(.95);
    position: absolute;
    z-index: -1;
}

#naslovna hgroup {
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 5px rgb(56, 56, 56);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-inline: 10vw;

}

#naslovna hgroup h1 {
    font-size: calc(24px + 2vw);
    font-weight: 1000;
}

#naslovna hgroup h2 {
    font-size: calc(14px + .5vw);
}

#naslovnaBTN {
    width: 145px;
    justify-self: center;
    margin-top: 45px;
}


#about {
    width: 70vw;
    margin: auto;
    display: grid;
    grid-template: auto auto / auto auto;
    gap: 75px;
}

#about div:first-of-type {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
    grid-area: 1/1/2/3;
}

#about h1 {
    font-size: calc(14px + 1.6vw);
    font-weight: 500;
}

#about h2 {
    font-size: calc(18px + .6vw);
    margin-bottom: 15px;
    font-weight: 500;
}

#about p {
    width: 60%;
    align-self: center;
}

#about li {
    list-style: none;
    background-image: url(../slike/check.jpg);
    background-repeat: no-repeat;
	background-position: left center;
	background-size:30px;
    padding-inline-start: 35px;
    line-height: 1.8;
    width: 90%;
}

#about div:nth-child(2) {
    display: grid;
    place-content: center left;
}

#about div:nth-child(3) {
    min-height: 300px;
    width: 100%;
    min-width: 350px;
    background-image: url(../slike/slika-niko-mrkoci.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    filter: grayscale(1);
}


#usluge {
 
    width: 70vw;
    margin: auto;
    text-align: center;
}

#usluge h1 {
    font-size: calc(14px + 1.6vw);
    font-weight: 500;
    margin-bottom: 20px;
}

#usluge p {
    margin-bottom: 70px;
}

#usluge section {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    gap: 1vw 3vw;

}

#usluge section div {
    min-width: 300px;
    width: 30%;
    flex-grow: 1;
}


#usluge section div h2 {
    font-size: 18px;
}

#ponuda {
    width: 70vw;
    margin: auto;
    display: grid;
    place-content: center;
    text-align: center;
}

#ponuda h1 {
    font-size: calc(14px + 1.6vw);
    font-weight: 500;
    margin-bottom: 20px;
}

#ponuda p {
    width: 50%;
    text-align: center;
    margin: 0 auto 25px auto;
}

form {
    width: 50%;
    margin: auto;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111;
    text-align: left;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

form textarea {
    resize: vertical;
    height: 100px;
}

a:hover {
    color: #111 !important;
}


.gumb:hover {
    background-color: #1d1d1d;  
    color: #fff !important;
}

#input {
    font-size: 16px !important;
    cursor: pointer;
}


@media screen and (max-width: 1280px) {
    #ponuda p {
        width: 90%;
        text-align: center;
        margin: 0 auto 25px auto;
    }
    form {
        width: 100%;
        margin: auto;
    }
}

@media screen and (max-width: 1000px) {

    #about {
        width: 95vw;
        margin: auto;
        display: grid;
        grid-template: auto auto auto / auto;
        gap: 75px;

    }
    
    #about div:first-of-type {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 25px;
        grid-area: 1;
    }
    
    #about h1 {
        font-size: calc(14px + 1.6vw);
        font-weight: 500;
    }
    
    #about h2 {
        font-size: calc(18px + .6vw);
        margin-bottom: 15px;
        font-weight: 500;
    }
    
    #about p {
        width: 100%;
        align-self: center;
    }
    
    #about li {
        list-style: none;
        background-image: url(../slike/check.jpg);
        background-repeat: no-repeat;
        background-position: left center;
        background-size:30px;
        padding-inline-start: 35px;
        line-height: 1.8;
        width: 90%;
    }
    
    #about div:nth-child(2) {
        display: grid;
        place-content: center left;
    }
    
    #about div:nth-child(3) {
        min-height: 300px;
        width: 100%;
        min-width: 350px;
        background-image: url(../slike/slika-niko-mrkoci.jpg);
        background-size: cover;
        background-position: center;
        border-radius: 25px;
        filter: grayscale(1);
    }
    
}





@media screen and (max-width: 500px) {

    
#about {
    width: 90vw;
    margin: auto;
    display: grid;
    text-align: left !important;
    gap: 75px;
}


#about h1 {
    font-size: calc(14px + 1.6vw);
    font-weight: 500;
    text-align: left;
}

#about h2 {
    font-size: calc(18px + .6vw);
    margin-bottom: 15px;
    font-weight: 500;
    text-align: left;
}

#about p {
    width: 90%;
    align-self: flex-start;
    text-align: left;
}

#about ul {
    padding-left: 0 !important;
}


#about li {
    list-style: none;
    background-image: url(../slike/check.jpg);
    background-repeat: no-repeat;
	background-position: left center;
	background-size:30px;
    padding-inline-start: 35px;
    line-height: 1.8;
    width: 90vw;
}


#about div:nth-child(3) {
    min-height: 300px;
    width: 90vw;
    min-width: 300px;
    background-image: url(../slike/slika-niko-mrkoci.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    filter: grayscale(1);
    margin: auto;
}


#usluge {
 
    width: 90vw;
    margin: none;
    text-align: left !important;
}

#usluge h1 {
    font-size: calc(14px + 1.6vw);
    font-weight: 500;
    margin-bottom: 20px;
}

#usluge p {
    margin-bottom: 70px;
}

#usluge section {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    gap: 1vw 3vw;

}

#usluge section div {
    min-width: 300px;
    width: 30%;
    flex-grow: 1;
}


#usluge section div h2 {
    font-size: 18px;
}

#ponuda {
    width: 90vw;
    margin: auto;
    display: grid;
    place-content: center left;
    text-align: left;
}

#ponuda h1 {
    font-size: calc(14px + 1.6vw);
    font-weight: 500;
    margin-bottom: 20px;
}

#ponuda p {
    width: 85vw;
    text-align: left;
    margin: none;
    
}

}