body{
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

nav{
    background-color: rgb(10, 49, 82);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: white;
    height: 100px;
}

.nav-logo{
    margin-left: 50px;
    text-shadow: 5px 5px 20px black;
    font-size: 22px;
    color: rgb(127, 197, 255);
}

ul{
    list-style-type: none;
    display: flex;
    gap: 20px;
    margin-right: 50px;
}

li a{
    text-decoration: none;
    color: white;
}

li{
    background-color: rgb(47, 96, 136);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 5px 5px 20px black;
}

h1{
    margin: 0;
}

.hero{
    background-color: rgb(4, 29, 49);
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    height: 500px;
    text-shadow: 2px 2px 15px black;
}

.hero-sadrzaj{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero a{
    margin-top: 10px;
    text-decoration: none;
    color: white;
    background-color: rgb(47, 96, 136);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 2px 2px 15px black;
    transition-duration: 0.3s;
}


.hero a:hover{
    transform: scale(1.05);
}


.nav a{
    transition-duration: 0.2s;
}

.nav a:hover{
    color: rgb(127, 197, 255);
}

.hero-slika{
    display: flex;
    justify-content: center;
    margin-right: 50px;
    align-items: center;
}

.hero-slika img{
    max-height: 80%;
    border-radius: 5px;
    box-shadow: 2px 2px 15px black;
    transition-duration: 0.5s;
}

.hero-slika img:hover{
    transform: rotate(3deg);   
}

.hero p{
    color: gray;
    margin-top: 10px;
    margin-bottom: 10px;
}

.usluge-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    width: 100%;
}

.usluge{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    color: rgb(20, 20, 20);
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.486);
}

.kartica1{
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 1/2;
    text-align: center;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.486);
}

.kartica2{
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 2/3;
    text-align: center;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.486);
}

.kartica3{
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 3/4;
    text-align: center;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.486);
}

.kartica1 img{
    width: 90%;
    border-radius: 5px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.479);
    transition-duration: 0.3s;
}

.kartica1 img:hover{
    transform: scale(1.05);
    box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.479);
}

.kartica2 img{
    width: 90%;
    border-radius: 5px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.479);
    transition-duration: 0.3s;
}

.kartica2 img:hover{
    transform: scale(1.05);
    box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.479);
}

.kartica3 img{
    width: 90%;
    border-radius: 5px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.479);
    transition-duration: 0.3s;
}

.kartica3 img:hover{
    transform: scale(1.05);
    box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.479);
}



h3{
    margin-top: 50px;
}

p{
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 5px;
    text-align: center;
}

h2{
    margin: 50px;
    font-size: 26px;
}

footer{
    background-color: rgb(4, 29, 49);
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(25, 75, 116);
    height: 100px;
}

@media only screen and (max-width: 768px) {
    .usluge-grid{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}

.kartica1{
    grid-row: 1/2;
    grid-column: 1/2;
    margin-bottom: 50px;
}

.kartica2{
    grid-row: 2/3;
    grid-column: 1/2;
    margin-bottom: 50px;
}

.kartica3{
    grid-row: 3/4;
    grid-column: 1/2;
    margin-bottom: 50px;
}

.hero{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 75px;
    height: 650px;
    align-items: center;
}

.hero-sadrzaj{
    grid-column: 1/2;
    grid-row: 1/2;
}

.hero-slika{
    grid-column: 1/2;
    grid-row: 2/3;
    display: flex;
    width: 100%;
}

.hero-slika img{
    width: 80%;
}

nav{
    flex-direction: column;
}

.nav-logo{
    margin-left: 0;
}

}