@font-face {
  src: url(fontovi/franklin_gothic_demi_cond_regular.ttf);
  font-family: Franklin Gothic Demi Cond Regular;
}

@font-face {
  src: url(fontovi/franklin_gothic_heavy_regular.ttf);
  font-family: Franklin Gothic Heavy Regular;
}

@font-face {
  src: url(fontovi/myriad_pro_regular.ttf);
  font-family: Myriad Pro Regular;
}

body {
  margin: 0;
  background-color: rgba(0, 0, 0, 0.596);
}

ul {
  list-style-type: none;
  margin: 0;
  margin-top: 3.2rem;
  padding-left: 8.8rem;
  overflow: hidden;
  background-color: transparent;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

li {
  float: left;
  padding-right: 60px;
}

li a {
  font-family: Franklin Gothic Demi Cond Regular;
  display: block;
  color: #eeeeee;
  text-align: center;
  text-decoration: none;
}

li a:hover:not(.active) {
  color: #bbbbbb;
}

.active {
  color: #e89a1c;
}

.body-pocetna {
  background-image: url(slike/hero_image.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #464646;
}

.aside-pocetna {
  position: absolute;
  top: 16rem;
  left: 8.8rem;
  max-width: min(80vw, 30rem);
}

.aside-pocetna > h1,
.aside-pocetna > h3 {
  font-size: 2.3rem;
  font-family: Franklin Gothic Heavy Regular;
  letter-spacing: 1.8px;
  color: #f8f8f8;
}

.aside-pocetna > h3 {
  text-transform: uppercase;
  font-size: 1.5rem;
  color: #e89a1c;
}

.kratki-opis {
  font-family: Myriad Pro Regular;
  font-size: 1rem;
  line-height: 1.6;
  color: #eee;
}

.button {
  background-color: #e89a1c;
  color: #f8f8f8;
  border: none;
  font-family: Myriad Pro Regular;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 2rem;
  padding: 0.4rem 1.5rem;
  border-radius: 50rem;
  box-shadow: 2 1.75rem 3.5rem rgba(0, 0, 0, 0.596);

  transition-duration: 0.4s;
}

.saznaj-vise:hover {
  background-color: #c57b03;
}

.zatvori-modal {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 3.5rem;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}

.modal-naslov {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-family: Franklin Gothic Heavy Regular;
}

.modal-sadrzaj {
  font-size: 1.1rem;
  font-family: Myriad Pro Regular;
  line-height: 1.6;
}

/* FUNKCIONIRANJE MODALA */
.skriveno {
  display: none;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;

  background-color: #f7f7f7;
  padding: 6rem;
  border-radius: 30px;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 5;
}

.lijeva-kutija {
  position: absolute;
  top: 0;
  width: 5rem;
  height: 100%;
  background-color: transparent;
  border-right: 2px solid rgba(104, 104, 104, 0.39);
}

.desna-kutija {
  position: absolute;
  top: 0;
  right: 0;
  width: 18rem;
  height: 100%;
  background-color: transparent;
  border-left: 2px solid rgba(104, 104, 104, 0.39);
}

video {
  width: 18rem;
  height: 12.5rem;
  position: absolute;
  top: 63%;
}

.premjera {
  font-family: Franklin Gothic Demi Cond Regular;
  color: #eeeeee;
  line-height: 1.7rem;
  font-size: 1.15rem;
  position: absolute;
  left: 2rem;
  top: 5rem;
}

.direktori {
  font-family: Franklin Gothic Demi Cond Regular;
  color: #eeeeee;
  line-height: 1.7rem;
  font-size: 1.15rem;
  position: absolute;
  left: 2rem;
  top: 10rem;
}

.zvuk {
  font-family: Franklin Gothic Demi Cond Regular;
  color: #eeeeee;
  line-height: 1.7rem;
  font-size: 1.15rem;
  position: absolute;
  left: 2rem;
  top: 16.5rem;
}

.zanr {
  font-family: Franklin Gothic Demi Cond Regular;
  color: #eeeeee;
  line-height: 1.7rem;
  font-size: 1.15rem;
  position: absolute;
  left: 2rem;
  top: 21rem;
}

.galerija-likovi {
  position: absolute;
  width: min(40rem, 80vw);
  height: min(16rem, 36vw);
  left: 50vw;
  top: 60vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translate(-50%, 0);
}

.galerija-likovi > img {
  font-weight: 900;
  color: white;
  cursor: pointer;
  user-select: none;
  width: 12%;
}

.galerija-likovi > div {
  width: 90%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.galerija-likovi > div img {
  position: absolute;
  object-fit: contain;
  height: 100%;
  transition: margin 1s, filter 1s, transform 1s;
}

#natrag {
  transform: rotate(180deg);
}

.prosla,
.sljedeca {
  filter: opacity(0.6);
  transform: scale(0.75);
  cursor: pointer;
  z-index: 1;
}

.aktivna {
  z-index: 2;
}

.prosla {
  margin-right: 65%;
}

.sljedeca {
  margin-left: 65%;
}

.skrivena {
  filter: opacity(0);
  transform: scale(0.4);
  z-index: 0;
}

.body-likovi,
.kuce-body {
  background-image: none;
  background-color: #222;
}

#likovi-bg,
#kuce-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: -1;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #222;
  transition: background-image 1s ease-in-out;
}

.aside-likovi {
  position: absolute;
  top: 10.5rem;
  left: 8.8rem;
  max-width: min(80vw, 33rem);
}

.aside-likovi > h1 {
  margin-bottom: 1.1rem;
  font-size: 2.3rem;
  font-family: Franklin Gothic Heavy Regular;
  letter-spacing: 1.5px;
  color: #f8f8f8;
}

.aside-likovi > h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  font-size: 1.5rem;
  color: #e89a1c;
  font-family: Franklin Gothic Heavy Regular;
  letter-spacing: 1.5px;
}

.aside-kuce {
  position: absolute;
  top: 11.5rem;
  left: 8.8rem;
  max-width: min(80vw, 33rem);
}

.aside-kuce > h1 {
  margin-bottom: 0.8rem;
  font-size: 2.3rem;
  font-family: Franklin Gothic Heavy Regular;
  letter-spacing: 1.5px;
  color: #f8f8f8;
}

.aside-kuce > h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  font-size: 1.3rem;
  color: #e89a1c;
  font-family: Franklin Gothic Heavy Regular;
  letter-spacing: 1.4px;
}

.body-povijest {
  margin: 0;
  background: rgb(3, 27, 37);
  background: linear-gradient(
    90deg,
    rgba(3, 27, 37, 1) 0%,
    rgba(2, 9, 11, 1) 100%
  );
}

main {
  position: absolute;
  top: 15rem;
  left: 8.8rem;
  max-width: min(80vw, 60rem);
  transition: div;
}

main > div > h1 {
  font-size: 2.3rem;
  font-family: Franklin Gothic Heavy Regular;
  letter-spacing: 1.8px;
  color: #f8f8f8;
}

main > div > img {
  position: relative;
  top: 2.5rem;
  left: 0.3rem;
  height: 9rem;
  margin-right: 1rem;
}

main > div > p {
  font-family: Myriad Pro Regular;
  font-size: 1rem;
  line-height: 1.6;
  color: #eee;
  width: 40rem;
  text-decoration: none;
}

main > div {
  display: none;
}

.active {
  display: block;
}

.desna-kutija-povijest {
  position: absolute;
  top: 0;
  right: 0;
  width: 18rem;
  height: 100%;
  background-color: transparent;
  border-left: 2px solid rgba(104, 104, 104, 0.39);
}

nav {
  width: 14vw;
  background-color: transparent;
  position: relative;
  text-align: left;
  top: 14rem;
  left: 3rem;
  display: flex;
  flex-direction: column;
  cursor: default;
}

nav a {
  font-size: 1.5rem;
  font-family: Franklin Gothic Demi Cond Regular;
  color: #f8f8f8;
  margin-bottom: 2rem;
}
nav a:hover {
  color: #bbbbbb;
}

nav .active {
  color: #bbbbbb;
}

.galerija-kuce {
  position: absolute;
  width: min(40rem, 80vw);
  height: min(16rem, 36vw);
  left: 50vw;
  top: 60vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translate(-50%, 0);
}

.galerija-kuce > img {
  font-weight: 900;
  color: white;
  cursor: pointer;
  user-select: none;
  width: 12%;
}

.galerija-kuce > div {
  width: 90%;
  height: 68%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.galerija-kuce > div img {
  position: absolute;
  object-fit: contain;
  height: 100%;
  transition: margin 1s, filter 1s, transform 1s;
}
