*{margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header img {
    width: 100%;
    
    }
    



footer a {
    color: #79a93b;
}

article a {
    color: #79a93b;
}

nav a {
    font-weight: bolder;
    color: #3b79a9;
    font-size: 20px;
    text-decoration: none;
}


nav {
    padding-top: 20px;
padding-bottom: 20px;
}
nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
}



footer
{
    text-align: center;
    background-color: #275070;
   grid-area: pod;
   color: white;
}

aside {
    background-color: #3b79a9;
    grid-area: sastrane;
    
}

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

aside ul {
    margin-left: 22px;
    font-weight: bold;
}
article {
    background-color: #d1e2ef ;
    grid-area: glavni;
    padding-bottom:300px ;
    padding-right: 20px;
}


article h1 {
    color:   #275070 ;
    font-size: 20px;
    margin-left: 30px;
}

article h2 {
    color: #275070;
    margin-left: 30px;

}

article p {
    margin-left: 30px;

}


.ah {
       
   display: flex;
   flex-direction: row;
    
}
article img {
    
    width:20% ;
    grid-area: img;
    

}

.aw {
    grid-area: aw;
    background-color: #d1e2ef ;
    padding-right: 20px;
}

.aw h1 {
    color:   #275070 ;
    font-size: 20px;
    margin-left: 30px;

}

.aw h2 {
    margin-left: 30px;
    color: #275070;

}

.aw img {
    width: 15%;
  padding-top: 20px;
margin-left: 30px;
}

.area {
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.aq {
    grid-area: aq;
    background-color: #3b79a9;
height: 60vh;


}

.aq h2 {
    color: white;
    text-align: center;
}

 .aq ul {
    margin-left: 22px;
    font-weight: bold;
}

.mreza {
    display: grid;
  
grid-template-columns: 5fr 6fr 2fr;
    grid-template-areas:
        "glavni glavni sastrane"
        "glavni glavni sastrane"
        "pod pod pod";
   
	

}

.mre {
    display: grid;
    grid-template-columns: 1fr 1fr 8fr;

    grid-template-areas:
        "aq aq aw"
        "aq aq aw"
        "pod pod pod";
   
	;

}

* {box-sizing:border-box}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
 
}


.mySlides {
  display: none;
}


.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}


.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}


.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}


.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}


.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}





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

    .mreza {
        grid-template-columns: 1fr;
        grid-template-areas:
            "glavni"
            "sastrane"
            "pod";
    }

    .mre {
        grid-template-columns: 1fr;
        grid-template-areas:
        "aq"
        "aw"
        "pod ";
    }
}


@media (max-width: 480px) {
    nav a {
        font-size: 16px;
    }

    article h1, article h2, article p {
        margin-left: 15px;
        font-size: 14px;
    }

    article img {
        width: 100%;
    }

    aside ul {
        margin-left: 10px;
    }
}