* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: rgb(171, 171, 123);
}
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.header {
  display: flex;
  justify-content: center;
  gap: 100px;
  height: 25vh;
  text-align: center;
  align-items: center;
}
h1 {
  font-size: 70px;
}
hr {
  width: 700px;
  margin: 0 auto;
  border-bottom: 3px solid black;
}

nav ul {
  list-style-type: none;
}

nav a {
  color: black;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.section h2 {
  font-size: 28px;
}
.container1 {
  display: flex;

  justify-content: center;
  gap: 100px;
  height: 70vh;
  padding-top: 25px;
}

.container2 {
  display: flex;

  justify-content: center;
  gap: 100px;
  height: 70vh;
  padding-top: 25px;
}

.box {
  display: flex;
  flex-direction: column;
  height: 450px;
  width: 450px;
  border: 2px solid #080707;
  box-shadow: 10px 6px 3px gray;
  padding: 15px;
  text-align: center;
}
.box1 {
  display: flex;
  flex-direction: column;
  height: 450px;
  width: 450px;
  border: 2px solid #080707;
  box-shadow: 10px 6px 3px gray;
  padding: 15px;
  text-align: center;
}
.box a {
  list-style: none;
  text-decoration: none;
  color: black;
  font-size: 30px;
  cursor: pointer;
}
a:hover {
  color: gray;
}

h1 {
  font-family: "Monsieur La Doulaise", cursive;
  font-size: 120px;
  font-weight: lighter;
}
p {
  font-size: 20px;
}

.box h3 {
  margin-bottom: 10px;
  font-size: 22px;
  text-align: center;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ddd;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;

  height: 350px;

  object-fit: content;
}

.slider-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.slider-buttons button {
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}
.slider-buttons button:hover {
  background: #515050;
}

footer {
  height: 10vh;
  padding: 10px;
  text-align: center;
}
footer img {
  width: 25px;
}
@media (max-width: 768px) {
  .header {
    max-width: 100%;
    height: auto;
    min-height: 200px;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 20px;
  }

  .header h1 {
    font-size: 60px;
  }

  .header img {
    width: 120px;
  }

  .between {
    height: auto;
  }

  .between hr {
    width: 90%;
  }

  .container {
    height: auto;
  }

  .container1 {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
  }

  .box {
    width: 90%;
    max-width: 450px;
    height: auto;
    min-height: 400px;
  }
  .container2 {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
  }

  .box1 {
    width: 90%;
    max-width: 450px;
    height: auto;
    min-height: 400px;
  }

  .slider {
    width: 100%;
    height: 350px;
  }

  .slide img {
    width: 100%;
    height: 350px;
    object-fit: contain;
  }

  footer {
    height: auto;
    padding: 15px;
  }
}
/* Sakrij sve slajdove po zadanim postavkama */
.slider .slide {
  display: none;
}

/* Prikaži samo onaj slajd koji ima klasu 'active' */
.slider .slide.active {
  display: block; /* ili flex, ovisno o dizajnu */
}
.slider .slide img {
  width: 100%;
  max-width: 335px;
  height: auto;
  display: block;
}
.modal {
  display: none; /* Početno skriveno */
  position: fixed;
  z-index: 9999; /* Iskače iznad svih ostalih elemenata */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Crna prozirna pozadina */
  justify-content: center;
  align-items: center;
}

.modal-sadrzaj {
  max-width: 85%;
  max-height: 85%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}
