body {
  background-color: #020202;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 0;
  padding-bottom: 100px;
}

.background-img {
  background-image: url(./img/proizvod1.jpg);
  background-repeat: no-repeat;
  background-position: bottom;
  position: fixed;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  filter: brightness(27%);
}

@media (max-width: 900px) {
  .background-img {
    filter: brightness(12%);
  }
}

header {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

header img {
  max-width: 200px;
}

@media (min-width: 900px) {
  header img {
    max-width: 320px;
  }
}

main {
  margin-top: 4px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  max-width: 100%;
}

main > p {
  padding: 0 10px;
}

@media (min-width: 900px) {
  main {
    margin-top: 100px;
    max-width: 950px;
  }
}

main p {
  text-align: center;
  line-height: 1.8;
  font-weight: 300;
}

main .slike {
  display: flex;
  gap: 16px;
}

main .slike .slika {
  flex-shrink: 0;
  height: 100px;
  width: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Desktop = normal layout */
@media (min-width: 901px) {
  main .slike {
    overflow: visible;
    animation: none;
  }
}

/* Mobile infinite scroll */
@media (max-width: 900px) {
  main .slike-wrapper {
    overflow: hidden;
    width: 100%;
  }

  main .slike {
    width: max-content;
    animation: infiniteScroll 50s linear infinite;
  }

  @keyframes infiniteScroll {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(calc(-50% - 8px));
    }
  }
}

.s1 {
  background-image: url(./img/slika1.jpg);
}

.s2 {
  background-image: url(./img/slika2.jpg);
}

.s3 {
  background-image: url(./img/slika3.jpg);
}

.s4 {
  background-image: url(./img/slika4.jpg);
}

.s5 {
  background-image: url(./img/slika5.jpg);
}

.s6 {
  background-image: url(./img/slika6.jpg);
}

.s7 {
  background-image: url(./img/slika7.jpg);
}

main span {
  color: #af9465;
  font-weight: 500;
}

.obavijest {
  font-size: 16px;
  color: #af9465;
  text-decoration: underline;
  font-weight: 500;
}

.kontakt-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 900px) {
  .kontakt-wrapper {
    flex-direction: row;
  }
}

.kontakt-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  color: #ffffff;
  text-decoration: none;
  transition: 0.2s all ease;
}

@media (min-width: 900px) {
  .kontakt-box:nth-child(2) {
    padding-left: 20px;
    border-left: 1px solid #af9465ad;
    border-right: 1px solid #af9465ad;
  }
}

.kontakt-box:hover {
  color: #dcab5c;
}

.kontakt-box p {
  text-align: left;
  margin: 0;
}

.kontakt-box img {
  max-width: 32px;
}

main .cta {
  padding: 12px 20px;
  border: 1px solid #af9465;
  /* color: #af9465; */
  color: #b08232;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s all ease;
  position: relative;
  margin-bottom: 40px;
  background: white;
}

main .cta::before {
  position: absolute;
  content: "";
  width: 107%;
  height: 125%;
  top: -6px;
  left: -8px;
  border: 1px solid #af9465;
  transition: 0.2s all ease;
}

main .cta:hover {
  color: #020202;
  background-color: #af9465ad;
}

main .cta:hover::before {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
