/*OD TUD NA DALE SE ODNOSI NA SLIKE I NJIHOV PRIKAZ*/

.pictures {
		margin-top: 70px;
		background: #202020;
		display: grid;
    grid-template-columns: 65% 35%;
    grid-template-rows: 50% 50%;
    height: auto;
	  border-radius: 5px;
}

.main_pic {
    grid-row-start: 1;
    grid-row-end: span 2;
		overflow: hidden;
    width: 100%;
    height: auto;
}

.main_pic img {
		width: 100%;
	  border-top-left-radius: 5px;
	  border-bottom-left-radius: 5px;
    object-fit: cover;
    height: 100%;
}

.other {
		padding-left: 2%;
		float: right;
		overflow: hidden;
}

.other img {
		width: 100%;
		border-top-right-radius: 5px;
    height: 100%;
    object-fit: cover;
    align-content: center;
}

.plus {
  
    margin-left: 2%;
		font-size: 150%;
		color: white;
		width: 98%;
		text-align: center;
		background-color: #101010;
	  border-bottom-right-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 95%;
    margin-top: 2.5%;
}

.pictures:hover {
		cursor: pointer;
		background-color: #151515;
	  transition: 0.6s ease;
}

.pictures:hover img {
	filter: brightness(70%);
  transition: 0.6s ease;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  padding-bottom: 50px;
  left: 0;
  top: 0;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #303030;
	border: none;
  margin: auto;
  padding: 0;
	display: flex;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
	height: 650px;
}
.slide {
	height: 100%;
	width: auto;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0px;
  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);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
	background-color: #1B1B1B;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.flex_contain {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 30px;
  gap: 20px 50px;

}

.flex_contain div {
  display: flex;
  width: auto;
}

@media screen and (max-width: 800px) {
  .slide {
    max-width: 800px;
    width: 100%;
    height: auto;
  }

  .modal{
    width: 100%;
    height: auto;
  }

  .mySlides {
    height: auto;
  }

  .other {
    display: none;
  }

  .main_pic {
    width: 100%;
    height: auto;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 5px;
  }

  .main_pic img {
    border-bottom-left-radius: 0px;
  }

  .pictures {
    height: auto;
    display: block;
  }

  .plus {
    height: 3em;
    width: 100%;
    margin-left: 0%;
    border-bottom-left-radius: 5px;
  }
}