@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@1,653&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing:border-box;
}

body {
    background-color: rgb(128, 164, 186);
    color: rgb(243, 241, 232);
}

nav{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: rgb(176, 204, 230);
    position: relative;
}

nav ul {
    list-style: none;
}

nav li {
    display: inline-block;
    padding: 1em;
   
}

nav a {
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: aliceblue;
    font-size: 1.6em;
    padding: auto;
}

nav a:hover {
    background-color: rgb(153, 187, 217);
}

section{
    width: 100%;
    height: 85vh;
}


h1 {
    font-size: 6em;
    float: right;
    margin-top: 4em;
    margin-right: 5em;
    color: rgb(207, 224, 238);
    font-family: "Nunito", sans-serif;

}

h2 {
    font-size: 1.7em;
    color: rgb(188, 216, 240);
    margin-left: 2em;
    margin-bottom: 1em;
    font-family: "Nunito", sans-serif;
    
}

.naslovna {
    border: 0.5em solid rgb(223, 230, 243);
    float: left;
    width: 30%;
    margin-left: 6em;
    margin-top: 8em;
}

#strB {
    margin-top: 2em;
    margin-left: 1em;
}

#strC {
    margin-top: -15em;
    margin-left: 1em;
}

#strD {
    margin-top: -15em;
    margin-left: 1em;
}

#strE {
    margin-top: -13em;
    margin-left: 1em;
}

#strF {
    
    margin-top: -15em;
    margin-left: 1em;
    min-height: 40vh;
}

.tradicija {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1em;
    flex-wrap: wrap;

    margin-top: 2em;
    min-height: 20vh;
}

.brodogradnja {
    border-radius: 15px;
    box-shadow: 5px 2px 2px #6590b3;
    background-color:rgb(154, 183, 210);
    padding: 1em;
    
    width: 30%;
    min-width: 200px;
    
    flex-grow: 2;

}

p {
    color: #e4eff8;
    font-family: Verdana, sans-serif;
    margin-top: 1em;
    line-height: 1.1em;
    font-size: 1.1em;
}

.slika1 {
    width: 25%;
    border-radius: 3.5em;
}

.slika2 {
    width: 17%;
    border-radius: 3em;
}


.slika3 {
    width: 25%;
    border-radius: 3em;
}

.slika4 {
    width: 28%;
    border-radius: 3em;
}

.tekst {
    margin-top: 2em;
}


footer {
    background-color: #6b8aa3;
    width: 100vw;
    font-size: 1.5em;
    text-align: center;
    
}

.oblik {
    width: 88%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;

}

.boja {
    border-radius: 15px;
    box-shadow: 5px 2px 2px #6590b3;
    background-color:rgb(154, 183, 210);
    padding: 1em;
    
    width: 58%;
    max-height: 750px;
    
    
    flex-grow: 0;
}

.a {
    width: 88%;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
    height: auto;
}

.b {
    width: 88%;
    height: min-content;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
}

label {
    margin: 0 1.6em 0 0;
    font-size: 1.5em;
    width: 1.5em;
    line-height: 2em;
    float: left;
    display: none;
}

#prekidac {
    display: none;
}

.naslovna2 {
    display: none;
}

.naslov_galerija {
    margin-top: 15px;
}

.slideshow {
    width: 35%;
    padding: 10px;
    
}

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

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.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;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

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

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.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;
}

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

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


@media only screen and (max-width: 728px) {
   
    .meni {
        text-align: center;
        width: 100%;
        display: none;
        
    }

    label {
        display: block;
        cursor: pointer;
        color: rgb(255, 255, 255);
        float: left;
    }

    #prekidac:checked+.meni {
        display: block;
    }

    nav{
        width: 30vw;
        height: auto;
        position: relative;
        
    }

    nav li {
        text-align: center;
    }

    nav a {
        font-size: 0.8em;
        padding: 1em;
    }

    h1 {
        font-size: 3em;
        float: none;
        text-align: center;
        margin-top: 1.2em;
    
    }

    .naslovna {
        display: none;
    }

    .naslovna2 {
        display: block;
        width: 75vw;
        margin-left:2.5em;
        margin-top: 1em;
    }

    .oblik {
        width: 100%;
        height: 20vw;
        display: flex;
        flex-direction: row-reverse;
    
    }

    .boja {
        border-radius: 15px;
        box-shadow: 5px 2px 2px #6590b3;
        background-color:rgb(154, 183, 210);
        padding: 1em;
        
        width: 90%;
        max-height: 450px;
        
        
        flex-grow: 0;
    }

    footer {
        background-color: #6b8aa3;
        width: 100vw;
        font-size: 1.5em;
        text-align: center;
        margin-bottom: 1em;
        
    }

    .video {
        display: none;
      
    }

    p {
        margin-top: 1em;
        line-height: 1.1em;
        font-size: 1em;
    }

    .brodogradnja {
        padding: 1em;
    }

    .a {
        justify-content: center;
        
    }

    .b {
        justify-content: center;
    }

    #strB {
        
        margin-left: 1em;
    }

    #strC {
        
        margin-top: 5em;
        margin-left: 1em;
    }

    #strD {
        
        margin-top: 2em;
        margin-left: 1em;
    }

    #strE {
        
        margin-top: 5em;
        margin-left: 1em;
    }

    #strF {
        margin-top: 1em;
        max-height: 70vh;
    }



    .slika1 {
        min-width: 60%;
    }

    .slika2 {
        min-width: 40%;
    }

    .slika3 {
        min-width: 60%;
    }

    .slika4 {
        min-width: 60%;
    }


}
