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

body {
  font-family: "Lato", sans-serif;
  font-size: 1.3rem;
  background: #f9f9f9;
}

a {
  color: #333;
  text-decoration: none;
}

.container {
  max-width: 1280px;
  margin: auto;
  overflow: auto;
  padding: 0 2rem;
  /* margin-top: 1rem; */
}

.main-header {
  height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.main-header p {
  font-size: 17px;
  font-style: italic;
  padding-top: 0.2rem;
}
/* 
.main-header {
	height: 50vh; 
	margin-bottom: 10rem; 
	object-fit: cover;
} */

/* #okvir {
	outline: 2px solid rgb(226, 196, 156);
	outline-offset: -10px;
	z-index: -33;
} */

#video {
  position: fixed;
  /* height: 400px; */
  height: 70vh;
  width: 100%;
  z-index: -5;
}

#video .centered {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#video #centered-logo {
  outline: 2px solid rgb(226, 196, 156);
  outline-offset: -10px;
}

#video #video-clip,
#video #video-clip2 {
  /* z-index: 2; */
  position: relative;
  min-width: 960px;
  top: -108px;
}

#video #img-2 {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 80px;
  height: 80px;
  opacity: 1;
  z-index: 3;
}

.main-header h1 span {
  color: #d6be76;
}

.main-header h1 {
  font-size: 4rem;
  margin-bottom: 0.7rem;
  line-height: 1.1;
}

/* 
.main-header h1 {
	font-size: 4rem;
	margin-bottom: 2rem;
	line-height: 1.2;
}

.main-header h1 span {
	color: #b50d10;
}

.main-header p {
	font-size: 2rem;
} */

img {
  width: 100%; /* spam svog kontejnera ce biti slika */
}

.card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* ili */
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 2rem;
  background: #f1f1f1;
  margin-bottom: 2rem;
}

.card #img-container {
  position: relative;
  height: 400px;
}

.card #img-container-h {
  position: relative;
  height: 550px;
}

.card #img-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  /* z-index: 1; */
  /* object-fit: cover;
	overflow: hidden; */
  height: 400px;
}

.card #img-1-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  /* z-index: 1; */
  /* object-fit: cover;
	overflow: hidden; */
  height: 550px;
}

.card #img-2 {
  position: absolute;
  top: 304px;
  left: 18px;
  width: 80px;
  height: 80px;
  opacity: 1;
  /* z-index: 2; */
}

.card #img-3 {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 80px;
  height: 80px;
  opacity: 1;
  /* z-index: 2; */
}

.card #img-4 {
  position: absolute;
  top: 304px;
  left: 490px;
  width: 80px;
  height: 80px;
  opacity: 1;
  /* z-index: 2; */
}

.card #img-5 {
  position: absolute;
  top: 450px;
  left: 490px;
  width: 80px;
  height: 80px;
  opacity: 1;
  /* z-index: 2; */
}

.card #img-6 {
  position: absolute;
  top: 18px;
  left: 490px;
  width: 80px;
  height: 80px;
  opacity: 1;
  /* z-index: 2; */
}

.card h4 {
  margin-bottom: 0.7rem;
  color: #d6be76;
  text-decoration: underline;
}

/* .card h4 span {
	color: #D6BE76;
} */

.card h3 {
  margin-bottom: 2rem;
}

.card .inner-border {
  outline: 2px solid rgb(226, 196, 156);
  outline-offset: -10px;
}

.card #article {
  /* direktni prvi child div u klasi card */
  padding: 2rem;
}

/* slika u svakoj parnoj klasi card bice druga frakcija u gridu tj. u kontejneru card a prva frakcija ce biti div sa h3 naslovom, paragrafom i linkom */
.card:nth-child(even) #img-container {
  order: 2;
}

.card:nth-child(even) img {
  order: 2;
}

.btn {
  display: inline-block;
  background: black;
  /* color: #fff; */
  color: #d6be76;
  /* color:  rgb(226, 196, 156); */
  padding: 0.3rem 1rem;
  margin-top: 2rem;
  /* cursor: pointer; */
  cursor: auto;
}
/* 
.btn:hover {
	opacity: 0.8;
	color:  rgb(226, 196, 156);
} */

@media (max-width: 750px) {
  .card {
    display: block;
  }
}

@media (max-width: 800px) {
  /* .main-header {
		margin-top: -120px;
	}

	.container {
		margin-top: -120px;
	} */

  .main-header h1 {
    font-size: 3rem;
  }

  .card {
    gap: 2rem;
    /* margin-bottom: 10px; */
    /* padding-bottom: -10px; */
    /* height: 75%; */
  }

  .card #img-2 {
    top: 294px;
  }

  .card #img-3 {
    top: 48px;
  }

  .card #img-5 {
    left: 234px;
  }

  .card #article p {
    font-size: 80%;
  }

  .card #article h3,
  .card #article h4 {
    font-size: 90%;
  }

  .card #img-container #img-1 {
    position: relative;
    height: 90%;
    margin-top: 30px;
    /* margin-left: 20px; */
    /* padding: 10px; */
  }

  .card #img-container .right-side-img {
    margin-right: 20px;
  }

  .card #img-container-h {
    position: relative;
    height: 550px;
  }
}

#btn-back-container {
  text-align: center;
  margin: 3rem;
}

a {
  text-decoration: none;
  color: #333;
}

.btn-back {
  display: inline-block;
  padding: 0.8rem 6rem;
  transition: all 0.5s;
  border: none;
  cursor: pointer;
  color: #333;
  background-color: #d6be76;
}

.btn-back:hover {
  background-color: #333;
  color: #d6be76;
}
