*{
    margin: 0px;
    padding: 0px;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav a{
    height: 2em;
    padding: 1em;
    text-align: center;
    border-bottom: 2px solid #3b79a9;
    font-weight: bold;
}

 nav ul{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 55px;
    background-color: white;
}

nav li{
    display: inline;
}

nav a{
    text-decoration: none;
    color: #3b79a9;
    font-size: 1.4rem;
}

section{
    display: grid;
    grid-template-columns: 5fr 1fr;
}

article{
    background-color: #d1e2ef;
    padding-top: 1em;
    padding-left: 5em;
    padding-right: 2em;
    display: grid;
    grid-template-columns: 1fr 2fr 4fr 2fr;
    grid-template-rows: 1fr 1fr 1fr 3fr 5fr;
}

h1{
    grid-column: 1/2;
    grid-row: 1/2;
    color: #275070;
}

h2{
    grid-column: 1/3;
    grid-row: 2/3;
    color: #275070;
}

 .slika{
    width: 35vh;
    grid-column: 4/5;
    grid-row: 2/5;
}

p{
    grid-column: 1/4;
    grid-row: 3/4;
    width: 98%;
}

a{
    color: #79a93b;
    text-decoration: none;
}

aside{
    background-color: #3b79a9;
}

aside h2{
    color: white;
    text-align: center;
}

aside ul{
    margin-left: 2em;
}


footer{
    text-align: center;
    background-color: #275070;
    color: rgb(255, 255, 255);
}

footer a {
    color: #79a93b;
}

.s1 .s2 .s3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    section {
        grid-template-columns: 1fr;
    }

   .slika {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
   }

   p {
    text-align: center;
    width: 100%;
    font-size: 18pt;
   }

   h1 {
    display: flex;
    justify-content: center;
    align-items: center;
   }

   h2 {
    display: flex;
    justify-content: center;
    align-items: center;
   }


}



