

header {
  width: 100%;
  background-color: #77cdb4;
  text-align: center;
}

h1 {
  font-family: 'Roboto Condensed', sans-serif;
  color: #FFF;
  font-size: 2.3em;
}

em {
  color: #232027;
}

.wrapper {
  width: 40%;
  margin: 40px auto;
}

div.gallery {
  margin-top: 30px;
}

div.gallery ul {
  list-style-type: none;
  margin-left: 35px;
}

/* animation */
div.gallery ul li, div.gallery li img {
  -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

div.gallery ul li {
  position: relative;
  float: left;
  width: 130px;
  height: 130px;
  margin: 5px;
  padding: 5px;
  z-index: 0;
}

/* Make sure z-index is higher on hover */
/* Ensure that hover image overlapped the others */
div.gallery ul li:hover {
  z-index: 5;
}

/* Image is position nicely under li */
div.gallery ul li img {
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid #dddddd;
  padding: 5px;
  width: 130px;
  height: 130px;
  background: #f0f0f0;
}

div.gallery ul li img:hover {
  width: 200px;
  height: 200px;
  margin-top: -130px;
  margin-left: -130px;
  top: 65%;
  left: 65%;
}

p.attribution {
  font-family: 'Consolas';
  color: #000;
  clear: both;
  text-align: center;
  line-height: 25px;
  padding-top: 30px;
}

p.attribution a {
  color: #4c8d7c;
}

/* Responsive hack */
@media only screen and (min-width: 499px) and (max-width: 1212px) {
  .wrapper {
    width: 500px;
  }
}

@media only screen and (max-width: 498px) {
  .wrapper {
    width: 300px;
  }

  div.gallery ul {
    list-style-type: none;
    margin: 0;
  }
}






/* CSS ZA LUKINU SLIKU*/

  body{background-color: white;}
  #section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
#img {
  width: 100%;
}
#article {
  position: absolute;
  top: 0;
  width: 100%;
  background: white;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 15px;
  mix-blend-mode: lighten;
}
.d0 {
  background: black;
  height: 25vw;
}
.d0:nth-of-type(1) {
  grid-column: 1 / 3;
}

/* dodato od mene */
#divdata{position: absolute; top:10px; right:10px; border:2px solid red; width: 40%; text-align: center; border-radius: 10px;
  font-family: Arial, Helvetica, sans-serif; color: red;}

