@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Alkatra&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.page-title-container span {
  color: #6ea820;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
  grid-column: span 2;
}
.proizvod-container {
  max-width: 1200px;
  margin: 5rem auto;
}
@media screen and (max-width: 768px) {
  .proizvod-container {
    margin: 2rem 0.5rem;
  }
}
.proizvod-slike {
  width: 100%;
  height: fit-content;
  /* background-color: antiquewhite; */
  overflow: hidden;
}
/* .proizvod-slike img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
} */
.wrapper {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.image-gallery {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.image-gallery.preorder {
  position: relative;
}
.image-gallery.preorder .primary:not(:hover)::after {
    content: "PREORDER";
    position: absolute;
    left: 0;
    top: 0;
    width: 400px;
    height: 240px;
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    padding-top: 160px;
    background: rgba(231, 237, 200, 0.4);
}


.image-gallery .thumbnails {
  flex-direction: row;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px auto;
}

.image-gallery .primary {
  width: 400px;
  height: 400px;
  position: relative;
  overflow: hidden;
}
.image-gallery .primary .img {
  width: 400px;
  height: 400px;
  position: absolute;
  background-color: #ffffff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.image-gallery .primary .img.current {
  opacity: 0;
}
.image-gallery .primary .img.current.visible {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.image-gallery .thumbnail:hover .thumbnail-image,
.image-gallery .selected .thumbnail-image {
  border-bottom: 4px solid #6ea820;
}

.image-gallery .thumbnail-image {
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 4px solid #ffffff;
  transition: border-bottom 0.3s ease-in-out;
  cursor: pointer;
}
.proizvod-opis {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1rem;
}
.proizvod-opis > .opis > p:first-of-type {
  color: #6ea820;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
}
.proizvod-title {
  font-family: "Alkatra", cursive;
  font-size: 2.8rem;
  letter-spacing: 2px;
  font-weight: 300;
  margin-bottom: 5rem;
}
.cena {
  font-size: 1.4rem;
}
.cena p {
  color: #6ea820;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
}
.cena .discounted {
  color: #f26262;
  text-decoration: line-through;
}
.cena.preorder {
  position: relative;
} 
.cena.preorder::after {
    content: "PREORDER";
    top: 24px;
    right: 0;
    color: #fff;
    background: #e7edc8;
    color: #1f4127;
    padding: 2px 10px;
}
.cena.sale {
  position: relative;
} 
.cena.sale::after {
    content: "AKCIJA -40%";
    top: 24px;
    right: 0;
    color: #fff;
    background: #e7edc8;
    color: #1f4127;
    padding: 2px 10px;
}
.kolicina {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.korpa-btn {
  display: flex;
  justify-content: start;
  align-items: start;
  margin-bottom: 1rem;
}
.cart-control {
  display: flex;
  justify-content: start;
  flex-direction: column;
  gap: 1rem;
}
@media screen and (max-width: 768px) {
  .korpa-btn {
    flex-direction: column;
    margin-bottom: 0;
  }
  .page-title-container span {
    font-size: 0.9rem;
  }
  .proizvod-title {
    line-height: 2.8rem;
    margin: 1rem 0;
  }
  .cart-control {
    justify-content: space-between;
    align-items: center;
  }
}

.add-to-cart {
  width: fit-content;
  text-align: center;
  bottom: 10px;
  left: 120px;
  cursor: pointer;
  color: #e2e5d8;
  background-color: #1f4127;
  padding: 0.7rem 1.5rem;
  font-size: 1.2rem;
  border: none;
  z-index: 3;
}
.add-to-cart:hover {
  background-color: #326d40;
}
.opis p,
.opis-2 p {
  font-size: 1rem;
  line-height: 1.4rem;
  letter-spacing: 1px;
  color: #7d7d7d;
}
.opis ul,
.opis-2 ul {
  padding-left: 20px;
}
.opis ul li,
.opis-2 ul li {
  font-size: 1rem;
  line-height: 1.4rem;
  letter-spacing: 1px;
  color: #7d7d7d;
}

.opis-2 p {
  margin-bottom: 5px;
}

.opis-2 h3 {
  color: #7d7d7d;
  margin-top: 15px;
  margin-bottom: 10px;
}

.opis-2 ul {
  padding-left: 20px;
}
.opis-2 ul li {
  font-size: 1rem;
  line-height: 1.4rem;
  letter-spacing: 1px;
  color: #7d7d7d;
}

.btn.icon-btn {
  margin: 10px 0;
}

.proizvod-ng {
  position: relative;
}
.proizvod-ng .radio-input p,
.proizvod-ng .cena p,
.proizvod-ng .proizvod-opis > .opis > p:first-of-type {
  color: #f26262;
}

body {
  height: 100%;
}
#snow-canvas {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0px 6px 6px rgba(50, 0, 0, 0.5));
}
