:root {
  --hud-bg: rgba(0, 0, 0, 0.45);
  --hud-fg: #fff;
  --accent: #38bdf8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  background: url(img/kut1.svg), url(img/kut2.svg), url(img/kut1.svg),
    url(img/kut2.svg) #db5727;
  background-size: 40%, 20%;
  background-position: left top, right 25%;
  background-repeat: no-repeat;
  color: #f0d8b4;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}
.btn {
  appearance: none;
  border: 0;
  border-radius: 0.65081rem;
  background: #5c463e;
  color: #fff;
  text-align: center;
  font-size: 2.08269rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  padding: 1rem 3rem;
}
.btn:active {
  transform: scale(0.98);
}

.input {
  width: 100%;
  color: var(--Gray-1, #333);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-radius: 10px;
  background: #f3e9df;
  padding: 24px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
  border: none;
  margin: 0.6rem 0;
}

.frmgrid {
  margin-top: 2rem;
}

.frmgrid label {
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 1rem;
}

.input::placeholder {
  font-family: "Montserrat", sans-serif;
  color: var(--Gray-1, #333);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-radius: 10px;
  background: #f3e9df;
  font-size: 16px;
  box-sizing: border-box;
}

textarea.input {
  font-family: "Montserrat", sans-serif;
}

.submit {
  cursor: pointer;
  margin: 1rem auto;
  display: block;
}
.small {
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 1.5rem auto;
}

.subtitle {
  color: var(--boja_02, #f0d8b4);
  text-align: center;
  font-family: DoUbLeBaSs;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 2rem;
}

.bigtitle {
  color: #f0d8b4;
  text-align: center;
  font-family: DoUbLeBaSs;
  font-size: 96px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.small a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.orange {
  width: 100%;
  height: 15vh;
  background: #b3461e;
  position: absolute;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.orangetxt {
  color: var(--boja_01, #db5727);
}

.broki {
  width: 116px;
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%) rotate(-16deg);
}

.ukras {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.ukras1 {
  right: 5%;
  top: 5%;
}

.ukras2 {
  left: 5%;
  bottom: 0;
}

.ukras3 {
  left: 20%;
  top: 20%;
}

.ukras4 {
  right: 15%;
  bottom: 10%;
}

.ukras5 {
  right: 20%;
  top: 10%;
  transform: rotate(16deg);
  z-index: 9999;
}

.pravila {
  color: var(--boja_02, #f0d8b4);
  text-align: right;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  position: absolute;
  right: 10%;
  bottom: 3%;
  z-index: 150;
}

.pravila a {
  color: var(--boja_02, #f0d8b4);
  text-decoration: none;
}

.ikona {
  width: 46px;
  padding: 0 0.5rem;
}

.bestek {
  width: 38px;
  padding-right: 2rem;
}

.navlist {
  display: flex;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  list-style: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-evenly;
  padding: 2rem 0;
}

.navitem {
  color: #f0d8b4;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
}

.btnitem {
  border-radius: 4.182px;
  background: #5c463e;
  padding: 1rem;
  color: #fff;
  outline: none;
  border: none;
  text-transform: uppercase;
}

.btnitem a {
  text-decoration: none;
  color: #f0d8b4;
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 1rem;
  gap: 5px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.hamburger span {
  position: absolute;
  width: 30px;
  height: 4px;
  background: #f0d8b4;
  transition: all 0.3s ease;
  border-radius: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger span:nth-child(1) {
  top: 10px;
}

.hamburger span:nth-child(2) {
  top: 18px;
}

.hamburger span:nth-child(3) {
  top: 26px;
}

.hamburger.active span:nth-child(1) {
  top: 18px;
  transform: translateX(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: 18px;
  transform: translateX(-50%) rotate(-45deg);
}
.logo {
  display: block;
  margin: 0 auto;
  width: 90%;
  max-width: 620px;
  padding-top: 2rem;
}

.minititle {
  color: #f0d8b4;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 3rem;
}

.hero {
  position: relative;
}

.herogrid {
  display: flex;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  justify-content: space-between;
  background-position: 50% 70%;
  background-repeat: no-repeat;
  position: relative;
}

.ruka {
  position: absolute;
  right: 0;
  top: 40%;
}

.hero1,
.hero2 {
  border-radius: 50px;
  background: #f0d8b4;
}

.hero1 {
  width: 384px;
  padding: 1rem;
  height: 311px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero2 {
  width: 473px;
  padding: 1rem;
  height: 340px;
  margin-top: 61px;
}

.herolead {
  color: var(--boja_01, #db5727);
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  max-width: 316px;
  margin: 0 auto;
}

.boxes {
  display: flex;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  gap: 1.2rem;
  padding-top: 6rem;
}

.box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 20px;
  background: none;
  border: 6px solid #f0d8b4;
  padding: 1.1rem;
}

.fx13 {
  flex: 1.3;
}

.boxtxt {
  color: var(--boja_02, #f0d8b4);
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.dark {
  color: #5c463e;
  font-family: DoUbLeBaSs;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
}

.boximg {
  max-width: 112px;
}

.legal {
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
}

.savjeti {
  background: var(--boja_02, #f0d8b4);
  width: 100%;
  padding: 5rem 0;
}

.content {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.lead {
  color: #5c463e;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.num {
  color: var(--boja_01, #db5727);
  text-align: center;
  font-family: DoUbLeBaSs;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 0.5;
}

.gridtitle {
  color: var(--boja_01, #db5727);
  text-align: center;
  font-family: DoUbLeBaSs;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.grid {
  padding-top: 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolone */
  gap: 2rem;
}

.griditem {
  position: relative;
}

.bgpot {
  background: url(img/lonac.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 4rem;
}

.g1 {
  position: absolute;
  bottom: -46px;
  left: 50%;
  transform: translateX(-50%) rotate(-30deg);
  width: 100px;
}

.g2 {
  position: absolute;
  top: 46px;
  left: 0;
  width: 180px;
}

.g3 {
  position: absolute;
  bottom: -126px;
  right: 0;
  width: 200px;
}

.g4 {
  position: absolute;
  top: -126px;
  left: 0;
  width: auto;
}

.g5 {
  position: absolute;
  top: 50%;
  right: 0;
  width: auto;
}

.g6 {
  position: absolute;
  top: 30%;
  right: 0;
  width: auto;
}

.g7 {
  position: absolute;
  top: 70%;
  left: 0;
  width: auto;
}

.g8 {
  position: absolute;
  top: -40px;
  left: -30px;
  width: auto;
  width: 90px;
  transform: rotate(-30deg);
}

.g10 {
  position: absolute;
  top: 40px;
  left: 30px;
  width: auto;
  width: 160px;
  opacity: 0.8;
}

.natjecaj {
  padding: 6rem 0;
  position: relative;
}

.frmlead {
  color: var(--boja_02, #f0d8b4);
  text-align: center;
  max-width: 664px;
  margin: 0 auto;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.card {
  max-width: 664px;
  margin: 0 auto;
}

.grid .full {
  grid-column: 1 / -1;
}

footer {
  background: var(--boja_02, #f0d8b4);
  text-align: center;
  padding: 6rem 0;
}

.sponrow {
  display: flex;
  max-width: 892px;
  margin: 0 auto;
  width: 90%;
  padding-top: 3rem;
  align-items: center;
  justify-content: space-between;
}

.ctamob {
  display: none;
}

#pravila {
  color: var(--boja_01, #db5727);
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  margin-top: 2rem;
  display: block;
}

.error-message,
.success-message {
  text-align: center;
  padding: 1rem 0;
  font-size: 2rem;
  font-weight: 700;
}

@media (max-width: 1680px) {
  html {
    font-size: 90%;
  }
  .title {
    font-size: 8rem;
  }
}

@media (max-width: 1441px) {
  html {
    font-size: 90%;
  }
  .title {
    font-size: 8rem;
  }
}

@media (max-width: 840px) {
  html {
    font-size: 85%;
  }
  .title {
    font-size: 4rem;
  }
  .ukras,
  .broki,
  .pravila {
    display: none;
  }
  .logo-sub {
    max-width: 90%;
    font-size: 1rem;
  }
  .logo {
    padding-top: 5rem;
  }

  .ikona {
    width: 24px;
  }

  .subtitle {
    font-size: 2rem;
    padding-top: 0;
  }
  label {
    font-size: 1rem;
  }
  .input {
    padding: 10px;
  }
  .pravila {
    width: 100%;
    right: 50%;
    transform: translateX(50%);
    bottom: 6px;
    text-align: center;
    font-size: 1rem;
  }
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .boxes {
    flex-direction: column;
  }
  .sponrow {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .g5 {
    display: none;
  }
  .ctamob {
    display: block;
    width: 100%;
    margin: 0 auto;
  }

  .cta {
    display: none;
  }
  .bigtitle {
    font-size: 48px;
  }
  .g4 {
    width: 90px;
  }
  .g3 {
    width: 100px;
  }
  .gridimg {
    width: 160px;
  }
  .lead {
    font-size: 18px;
  }
  .g1,
  .g2,
  .g7 {
    display: none;
  }
  .sponrow {
    justify-content: center;
    gap: 2rem;
  }
  #pravila {
    font-size: 16px;
  }
  .frmlead {
    font-size: 18px;
  }
  .frmgrid label {
    font-size: 18px;
  }
  /*nav*/
  .navwrap {
    position: relative;
    margin-top: 3rem;
  }

  .hamburger {
    display: flex;
    position: fixed;
    right: 1rem;
    top: 3rem;
    background: #5a4640;
    border-radius: 8px;
    width: 46px;
    height: 38px;
  }

  .navlist {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    flex-direction: column;
    background: #3a2a24;
    padding: 80px 20px 20px;
    gap: 2rem;
    justify-content: flex-start;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  }

  .navlist.active {
    right: 0;
    z-index: 50;
  }

  .navitem {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
  }

  .btnitem {
    margin-top: auto;
  }
  .box {
    height: 50vh;
    flex: auto;
  }

  .grid .mt2,
  .grid .mt6,
  .grid .mt5 {
    margin-top: 1rem;
  }
  .g10 {
    width: 60px;
    left: 0;
    top: 0;
  }
}

@media (max-width: 480px) {
  .food {
    font-size: 24px;
    width: 34px;
    height: 34px;
  }
}

h3 {
  text-align: center;
  font-size: 2rem;
}

[inert] {
  pointer-events: none;
}
[inert] * {
  pointer-events: none !important;
}

.mt2 {
  margin-top: 2rem;
}

.mt3 {
  margin-top: 3rem;
}

.mt4 {
  margin-top: 4rem;
}

.mt5 {
  margin-top: 5rem;
}

.mt6 {
  margin-top: 6rem;
}
