
html {
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  color:  #333;
}

body {
  background: #ccc;
  margin: 30px 50px;
  line-height: 1.4;
  font-family: 'Montserrat', sans-serif;
}

.btn {
  background:  #202020;
  color: #fff;
  margin: 0 auto;
  margin-top: 20%;
  padding: 0.6rem 1.3rem;
  text-decoration: none;
  border: 0;
}

.btn:hover{
  background-color: #fff;
  color:#202020;
}

img {
  max-width: 100%;
}

.wrapper {
  display: grid;
  grid-gap: 20px;
}

/* Navigacija */

.main-nav ul {
  display: grid;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(4, 1fr);


}

.main-nav a {
  background: #333;
  display: block;
  text-decoration: none;
  padding: 1.2rem;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.1rem;
  box-shadow:  0 1px 5px rgba(104, 104, 104, 0.8);
}

.main-nav a:hover{
  background: #ddd;
  color: #333;
  transition: 0.6s ease;
}

/*dropdown*/


.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  overflow: auto;
  z-index: 1;
  width: 100%;

}

.dropdown-content a{
  background-color: #000000;
  color: #fff;
}

.dropdown-content a:hover{
  background: #333;
  color: #ddd;
  transition: 0.6s ease;
}


.show {display: block;}




.top-container {
  display: grid;
  grid-gap: 20px;
  grid-template-areas:
    'showcase showcase showcase showcase'
    'showcase showcase showcase showcase';
}


.pocetna {
  grid-area: showcase;
  min-height: 400px;
  background-image:url(slike/bursty_back.jpg);
  background-size: cover;
  background-position: center;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  box-shadow:  0 1px 5px rgba(104, 104, 104, 0.8);
}

.pocetna h1 {
  font-size: 4rem;
  margin-bottom: 0;
  color: #fff;
}

.pocetna p {
  font-size: 1.3rem;
  margin-top: 0;
  color: #fff;
}





.kvadrati {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.kvadrat {
  background:#ddd;
  text-align: center;
  padding: 1.5rem 2rem;
  box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
}

#info {
  background: #ddd;
  box-shadow:  0 1px 5px rgba(104, 104, 104, 0.8);
  display: grid;
  grid-gap: 30px;
  grid-template-columns: repeat(2, 1fr);
  padding: 5rem;
}

.slike {
  display: grid;
  grid-gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.slike img {
  width: 100%;
  box-shadow:  0 1px 5px rgba(104, 104, 104, 0.8);
}

/* Footer */
footer {
  margin-top: 2rem;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;

}

/* Media Queries */
@media (max-width: 600px) {
  .top-container {
    grid-template-areas:
      'showcase showcase showcase showcase ';
  }

  .showcase h1 {
    font-size: 2.5rem;
  }
  .main-nav ul {
    grid-template-columns: 1fr;
  }

  .info {
    grid-template-columns: 1fr;
  }

  .info .btn {
    display: block;
    text-align: center;
    margin: auto;
  }
}





.kontakt{
  text-align: center;
  padding-top: 10%;
  font-size: 15pt;
  text-decoration: none;
}
.kont{
    text-decoration: none;
    color: #333;
}

.kont:hover{
  text-decoration: underline;
}
/*Ikone*/
.fa {
  padding: 10px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 3px 1px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #333;
  color: white;
}

.fa-twitter {
  background: #333;
  color: white;
}
.fa-instagram {
  background: #333;
  color: white;
}



/*galerija*/
* {box-sizing: border-box}

.mySlides {display: none}
img {vertical-align: middle;}

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

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #000;
  font-weight: bold;
  font-size: 30px;
  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);
  color: white;
}

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

/* Number text (1/3 etc) */
.numbertext {
  color: #000;
  font-size: 22px;
  padding: 38px 25px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 10 2px;
  background-color: #717171;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

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

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

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

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

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

/*okviri*/

.okvir{
  background-color: #ccc;
  width: 70%;
  height: 700px;
  margin: 0 auto;
  border: 5px solid;

}

.lijevo{
  max-width: 50%;
  float: left;
  margin-top: 10%;
}

.desno{
  float: right;
  width: 30%;
  margin-top: 15%;
  margin-right: 5%;
}

.text{
  color: #fff;

}

.x{
  float: left;
  margin-left: 2%;
  margin-top: 2%;
  text-decoration: none;
  border: 2px solid;
  padding:2px 5px;
  color: #333;
  font-weight: bolder;
}

.x:hover{
  color: #fff;
  text-decoration: none;

}

.btn2 {
  background:  #202020;
  color: #fff;
  padding: 0.6rem 5.3rem;
  text-decoration: none;
  border: 0;
}

.btn2:hover{
  background-color: #fff;
  color:#202020;
  text-decoration: none;
}

@media only screen and (max-width: 1121px) {

  .okvir{

    width: 100%;
    margin: 0 auto;
    border: 0;

  }



  .lijevo{

    padding-top: 40%;
    float: none;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
  }

  .desno{
    float: none;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
  }

  .x{
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    text-decoration: none;

  }

  .btn2 {
    background:  #202020;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: 0;
  }

}

@media only screen and (max-width: 700px) {
.pocetna{
  background-image:url(slike/mali.png);
  background-size: cover;
  background-position: center;
}
}
