/*
  font-family: "Freckle Face", system-ui;
  font-family: "Fredoka", sans-serif;
  žuta: #FC0;
  crvena: #D2232A;
  zelena: #005924;
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Fredoka", sans-serif;
}

.hero {
  width: 90%;
  max-width: 1685px;
  margin: 4rem auto 0 auto;
  border-radius: 88px;
  background: #005924;
  display: flex;
}

.grillwrap {
  width: 40%;
  transform: translateY(3rem);
}

.grill {
  width: 100%;
  max-width: 639px;
}

.herowrap {
  width: 60%;
  padding: 54px;
}

.title {
  color: #fff;
  font-family: "Freckle Face", system-ui;
  font-size: 150px;
  font-style: normal;
  font-weight: 400;
  line-height: 150px; /* 100% */
}

.acct {
  color: #fc0;
  font-family: "Freckle Face", system-ui;
  font-size: 96px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1; /* 156.25% */
  text-align: center;
  display: block;
}

.herotxt {
  width: 100%;
  max-width: 772px;
}

.lead {
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 29px; /* 120.833% */
  padding-top: 1.5rem;
}

#status {
  color: #000 !important;
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.btn {
  border-radius: 27px;
  background: #fc0;
  color: #005924;
  font-family: "Fredoka", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 29px; /* 90.625% */
  outline: none;
  border: none;
  padding: 12px 34px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 6px 0 #d6a800;
}

.herobtn {
  display: block;
  margin-top: 3rem;
  margin-right: 0;
  margin-left: auto;
}

.products {
  width: 90%;
  max-width: 1685px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: -4rem;
}

.genbg {
  position: relative;
  width: 100%;
  max-width: 1660px;
  margin: 0 auto;
}

.tikvice {
  position: absolute;
  left: 5%;
  top: 20%;
  z-index: 999;
  pointer-events: none;
  width: 20%;
  max-width: 450px;
}

.g1,
.g2,
.g3,
.g4,
.g5,
.g6,
.g7 {
  position: absolute;
  pointer-events: none;
  z-index: 999;
  max-width: 153px;
}

.g1 {
  bottom: 0%;
  left: 0%;
}

.g4 {
  top: 60%;
  right: -25%;
  max-width: 153px;
}

.g3 {
  top: 70%;
  left: 15%;
}

.g2 {
  top: 75%;
  right: -18%;
}

.g5 {
  right: 15%;
  top: 40%;
  max-width: 182px;
}
.g6 {
  right: 16%;
  top: 88%;
  max-width: 402px;
}
.g7 {
  right: 10%;
  top: 70%;
  max-width: 307px;
}

.generator {
  width: 90%;
  max-width: 1198px;
  margin: 0 auto;
  padding: 3rem 0;
  overflow-x: hidden;
}

.genblock {
  border-radius: 90px;
  background: #d2232a;
  position: relative;
  margin-top: 2rem;
  transition: height 0.4s ease;
  height: 870px;
}

.genslide {
  margin: 2rem auto;
  position: absolute;
  left: 0;
  top: 40px;
  width: 100%;
  height: 100%;
  display: none;
  transition: all 0.3s ease-in-out;
  width: 100%;
  margin: 0 auto;
  z-index: 999;
}

.is-showing {
  z-index: 999;
  display: block;
}

.minititle {
  color: #fc0;
  text-align: center;
  font-family: "Freckle Face", system-ui;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

.slidebtns {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 495px;
  margin: 0 auto;
  gap: 20px;
  padding-top: 3.4rem;
}

.rowbtns {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.slidebtn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 27px;
  background: #fc0;
  padding: 12px 0;
  font-family: "Fredoka", sans-serif;
  outline: none;
  border: none;
  color: #d2232a;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.1; /* 90.625% */
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.slidebtn:hover {
  color: #fc0;
  background: #76102a;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 6px 0 #d6a800;
}

/* .rowbtns .slidebtn {
  width: 40% !important;
} */

.slide-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  margin: 0 4px;
  background-color: transparent;
  transition: background-color 0.3s;
}

.indicator.active {
  background-color: white;
}

.forma {
  padding-top: 6rem;
  max-width: 994px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: none;
}

.subtitle {
  color: #005924;
  text-align: center;
  font-family: "Freckle Face", system-ui;
  font-size: 128px;
  font-style: normal;
  font-weight: 400;
  line-height: 150px; /* 117.188% */
}

.sublead {
  color: #d2232a;
  text-align: center;
  font-family: "Freckle Face", system-ui;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 78px; /* 121.875% */
}

.frmwrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  width: 80%;
  margin: 0 auto;
}

.textbox {
  border-radius: 43px;
  border: 4px solid #d2232a;
  background: #fff;
  color: #d2232a;
  font-family: "Fredoka", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 300;
  line-height: 29px; /* 90.625% */
  padding: 1rem;
  padding-left: 2rem;
}

.textboxbig {
  grid-column: 1 / 3;
  grid-row: 3 / 4;
  min-height: 346px;
}

::placeholder {
  color: #d2232a;
}

.btncreate {
  background: #fc0;
  color: #d2232a;
}

.submit-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 28px;
  width: 80%;
  margin: 3rem auto 0 auto;
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;

  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 29px; /* 120.833% */
  cursor: pointer;
  user-select: none;
}
.checkbox input {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 3px solid #fc0;
  border-radius: 9999px;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex: 0 0 22px;
}
.checkbox input:checked {
  background: #d2232a;
}
.checkbox input:checked::after {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.awards {
  width: 100%;
  background: #005924;
  margin-top: 58px;
  padding: 33px 0;
  position: relative;
}

.ruka {
  position: absolute;
  right: 0;
  bottom: 0;
}

.wrap {
  max-width: 994px;
  margin: 0 auto;
}

.minisub {
  color: #fff;
  text-align: center;
  font-family: "Freckle Face", system-ui;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 78px; /* 121.875% */
  text-align: left;
  margin-bottom: 8px;
}

.num {
  color: #fc0;
  text-align: center;
  font-family: "Freckle Face", system-ui;
  font-size: 128px;
  font-style: normal;
  font-weight: 400;
  line-height: 78px; /* 60.938% */
}

.flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 520px;
}

.mw3 {
  max-width: 320px;
}

.prodimg {
  max-width: 625px;
}

.icon {
  max-width: 174px;
}

.arts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7rem;
  width: 90%;
  max-width: 970px;
  margin: 0 auto;
  padding-top: 4rem;
}

.article {
  text-decoration: none;
}

.artt {
  color: #d2232a;

  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px; /* 125% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.artlead {
  color: #8f8f8f;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 29px; /* 120.833% */
  padding: 11px 0;
  text-decoration: none;
}

.artimg {
  width: 100%;
}

.artmore {
  color: #d2232a;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 40px; /* 125% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.arrowr {
  margin-bottom: -4px;
}

.progrid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1480px;
  margin: 0 auto;
  padding-top: 5rem;
  padding-bottom: 10rem;
}

.proimggr {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: contain;
}

.footer {
  background: #d2232a;
  padding: 3rem 0 10rem 0;
}

.footerwrap {
  max-width: 1198px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rules {
  color: #fff;

  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px; /* 125% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.rules a {
  color: #fff;
}

.logos {
  display: flex;
  gap: 30px;
}

.pozrez {
  max-width: 760px;
  margin: 0 auto;
}

.porukegrid {
  width: 90%;
  max-width: 1685px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 4rem 0;
}

.porukaimg {
  width: 100%;
}

.imgsingle {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 600px;
}

.porukasingle {
  width: 90%;
  max-width: 1146px;
  margin: 2rem auto;
  text-align: center;
  margin-bottom: 4rem;
}
.titlesingle {
  max-width: 600px;
  margin: 3rem auto;
}

.nodec {
  display: none;
}

.porukatxt,
.porukaime,
.poruka-link {
  text-decoration: none !important;
  color: #000;
}

.porukatxt {
  padding-top: 1rem;
}

.poruka {
  margin-bottom: 1rem;
}

.poruke {
  padding: 3rem 0;
}

/*utils*/

.txc {
  text-align: center;
}

.dark {
  color: #000;
}

.w70 {
  max-width: 718px;
  margin: 0 auto;
}

.btnholder {
  margin: 0 auto;
  text-align: center;
}

.loadmore {
  background: none;
  color: #d2232a;
}

.loadmore:hover {
  background: none;
  box-shadow: none;
}

.arrow {
  display: block;
  margin: 1rem auto;
}

.pl {
  padding-left: 1rem;
}
.pr {
  padding-right: 1rem;
}

/*animations*/

.animate-out {
  transform: translateX(-100%);
  opacity: 0;
}

.animate-in {
  animation: in 300ms ease-in-out forwards;
  display: block;
}

.flameico {
  display: none;
}

@keyframes in {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@media screen and (max-width: 1919px) {
  .title {
    font-size: 130px;
    line-height: 100px;
  }
}

@media screen and (max-width: 1649px) {
  .title {
    font-size: 110px;
    line-height: 100px;
  }
}

@media screen and (max-width: 1460px) {
  .title {
    font-size: 70px;
    line-height: 100px;
    text-align: center;
  }
  .acct {
    font-size: 50px;
  }
  .g5 {
    max-width: 140px;
  }
  .g6 {
    max-width: 260px;
  }
  .g7 {
    max-width: 200px;
  }
  .ruka {
    max-width: 700px;
  }
}

@media screen and (max-width: 970px) {
  .hero {
    flex-direction: column-reverse;
    border-radius: 40px;
  }
  .herowrap {
    padding: 26px;
  }
  .grillwrap,
  .herowrap {
    width: 100%;
  }
  .frmwrap {
    display: flex;
    flex-direction: column;
  }
  .title {
    color: #fff;

    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 71px; /* 110.938% */
  }
  .flameicobig {
    display: none;
  }
  .flameico {
    width: 84px;
    margin-left: 3rem;
  }
  .acct {
    color: #fc0;

    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 1; /* 312.5% */
    display: inline-block;
  }
  .lead {
    color: #fff;

    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px; /* 125% */
  }
  .btn {
    color: #76102a;

    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 29px; /* 120.833% */
  }
  .grill {
    width: 110%;
    margin-left: -1rem;
  }
  .prodimg {
    max-width: 77px;
  }
  .genblock {
    border-radius: 40px;
  }
  .minititle {
    font-size: 40px;
    line-height: 1.1;
  }
  .genslide {
    padding: 1.5rem;
  }
  .slidebtn {
    color: #d2232a;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 29px; /* 120.833% */
  }
  .subtitle {
    color: #76102a;
    text-align: center;

    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1; /* 234.375% */
  }
  .sublead {
    color: #d2232a;
    text-align: center;

    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px; /* 125% */
  }
  .frmwrap {
    width: 100%;
    margin: 2rem auto;
    gap: 0.5rem;
  }
  .textbox,
  .textboxbig,
  ::placeholder {
    color: #d2232a;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 29px; /* 120.833% */
    border-radius: 20px;
  }
  .submit-row {
    width: 90%;
    margin: 0 auto;
  }
  .checkbox {
    width: 1000%;
    margin: 0 auto;
    color: #fff;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 25px; /* 125% */
    font-size: 15px;
  }
  .ruka {
    width: 100%;
    bottom: 60%;
    right: -15%;
  }
  .wrap {
    width: 90%;
    margin: 0 auto;
    padding-top: 20vh;
  }
  .minisub {
    color: #fff;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 78px; /* 162.5% */
    text-align: left;
  }
  .prodimg {
    width: 100%;
    max-width: 100%;
    margin-top: 30px;
  }
  .icon {
    max-width: 74px;
    padding: 0 !important;
  }
  .ml {
    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 90%;
    margin: 0 auto;
  }
  .arts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .artt {
    color: #d2232a;

    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px; /* 128.571% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }
  .artlead {
    color: #8f8f8f;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 29px; /* 145% */
  }
  .artmore {
    color: #d2232a;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px; /* 142.857% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }
  .progrid {
    grid-template-columns: repeat(4, 1fr);
    align-content: center;

    text-align: center;
    width: 90%;
    margin: 0 auto;
  }
  .footerwrap {
    width: 90%;
    margin: 0 auto;
    flex-direction: column;
    text-align: center;
  }
  .rules {
    color: #fff;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1; /* 166.667% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }
  .nodec {
    text-decoration: none;
    margin-top: 2rem;
  }
  .zvijezdalogo {
    width: 155px;
  }
  .logos {
    width: 100%;
    margin-top: 2rem;
    align-items: center;
    justify-content: space-between;
  }
  .vllogo {
    width: 130px;
  }
  .footer {
    padding-bottom: 3rem;
  }
  .herobtn {
    margin: 3rem auto 0 auto;
  }
  .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
  }
  .p1 {
    transform: rotate(13deg) translateX(2rem);
    width: 70px;
    max-width: unset;
  }
  .p2 {
    max-width: unset;
    transform: translateY(4rem) translateX(1rem);
    width: 90px;
  }
  .p3 {
    max-width: unset;
    transform: translateX(1rem);
    width: 90px;
  }
  .p4 {
    max-width: unset;
    transform: translateY(4rem);
    width: 90px;
  }
  .dark {
    color: #000;
    padding: 4rem 0;
  }

  .tikvice {
    display: none;
  }

  .g1,
  .g2,
  .g3,
  .g4,
  .g5,
  .g6,
  .g7 {
    position: absolute;
    pointer-events: none;
    z-index: 9;
    max-width: 153px;
  }

  .g1 {
    display: none;
  }

  .g4 {
    top: -10%;
    right: 75%;
    max-width: 153px;
  }

  .g3 {
    display: none;
  }

  .g2 {
    top: 75%;
    right: -18%;
    display: none;
  }

  .g4 {
    display: none;
  }

  .g5 {
    right: 5%;
    top: 90%;
    max-width: 82px;
  }
  .g6 {
    right: 62%;
    top: 93%;
    max-width: 132px;
  }
  .g7 {
    right: 30%;
    top: 93%;
    max-width: 107px;
  }
  .nodec {
    display: block;
  }
  .genblock {
  }
  .porukegrid {
    grid-template-columns: repeat(1, 1fr);
  }
  .textbox {
    padding: 0.5rem;
    padding-left: 2rem;
    font-size: 15px;
  }
  .textboxbig {
    min-height: 170px;
  }
}

.loader {
  display: none;
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
}
.loader.is-active {
  display: block;
}

.loader-skeleton {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.loader-text {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.loader-sub {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #fff;
}

.flame {
  display: inline-block;
  animation: flicker 0.7s ease-in-out infinite alternate;
  transform-origin: bottom center;
}

@keyframes flicker {
  from {
    transform: scale(1) rotate(-3deg);
    opacity: 0.85;
  }
  to {
    transform: scale(1.18) rotate(3deg);
    opacity: 1;
  }
}

.dots span {
  display: inline-block;
  opacity: 0;
  animation: dotBlink 1.4s infinite;
}
.dots span:nth-child(1) {
  animation-delay: 0s;
}
.dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotBlink {
  0%,
  60%,
  100% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
}

.genblock {
  transition: height 0.4s ease;
}

/* error poruka (i u formi i pri slici) */
#status,
.error-msg {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: #fee5e5;
  color: #c41e3a;
  border-left: 4px solid #c41e3a;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: left;
}

#status:empty,
.error-msg:empty {
  display: none;
}

/* polja koja nedostaju */
.textbox.has-error {
  border-color: #fc0 !important;
  background: #fff5f5;
  outline: none;
}
.textbox.has-error:focus {
  border-color: #c41e3a !important;
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
}

/* checkbox koji nedostaje */
.checkbox.has-error span {
  color: #c41e3a;
}
.checkbox.has-error input {
  outline: 2px solid #c41e3a;
  outline-offset: 2px;
}

/* shake animacija – signal "hej, tu nešto fali" */
@keyframes errorShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-6px);
  }
  40%,
  80% {
    transform: translateX(6px);
  }
}
.shake {
  animation: errorShake 0.4s ease;
}

.poruka-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px; /* ako želiš da prati rounded image */
}

.porukaimg {
  display: block;
  width: 100%;
  height: auto;
}

.card-logo {
  position: absolute;
  bottom: 12px;
  right: 12px;

  width: 120px; /* prilagodi */
  height: auto;

  z-index: 2;

  /* opcionalno */

  padding: 6px;
}

.imgsingle-wrap {
  position: relative;
  display: inline-block;
}

.imgsingle {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.single-logo {
  position: absolute;
  bottom: 16px;
  right: 16px;

  width: 120px;
  height: auto;

  z-index: 2;
}
