html {
  scroll-behavior: smooth;
  font-family: 'Raleway', sans-serif;
}

body {
  padding: 0;
  margin: 0;
}

.gallery img {
  width: 100%;
}

.proizvod1-img {
  background-color: #000000;
  opacity: 1;
  background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #000000 40px ), repeating-linear-gradient( #f6323255, #f63232 );
}

  .proizvod1-img:hover {
    background-color: #000000;
    opacity: 0.9;
    background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #000000 40px ), repeating-linear-gradient( #f6323255, #f63232 );
  }

.proizvod2-img {
  background-color: #000000;
  opacity: 1;
  background-image:  repeating-radial-gradient( circle at 100% 0, transparent 0, #000000 40px ), repeating-linear-gradient( #f6323255, #f63232 );
}

  .proizvod2-img:hover {
    background-color: #000000;
    opacity: 0.9;
    background-image:  repeating-radial-gradient( circle at 100% 0, transparent 0, #000000 40px ), repeating-linear-gradient( #f6323255, #f63232 );
  }

.proizvod3-img {
  background-color: #000000;
  opacity: 1;
  background-image:  repeating-radial-gradient( circle at 0 100%, transparent 0, #000000 40px ), repeating-linear-gradient( #f6323255, #f63232 );
}

  .proizvod3-img:hover {
    background-color: #000000;
    opacity: 0.9;
    background-image:  repeating-radial-gradient( circle at 0 100%, transparent 0, #000000 40px ), repeating-linear-gradient( #f6323255, #f63232 );
  }

.proizvod4-img {
  background-color: #000000;
  opacity: 1;
  background-image:  repeating-radial-gradient( circle at 100% 100%, transparent 0, #000000 40px ), repeating-linear-gradient( #f6323255, #f63232 );
}

  .proizvod4-img:hover {
    background-color: #000000;
    opacity: 0.9;
    background-image:  repeating-radial-gradient( circle at 100% 100%, transparent 0, #000000 40px ), repeating-linear-gradient( #f6323255, #f63232 );
  }

.pattern {
  background: url(images/socials_pattern.svg);
  background-size: cover;
}

.navbar {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10;
  transition: 0.3s ease;
}

.nav-elements {
    max-width: 1240px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    color: white;
}

#logoimg {
    width: 270px;
    padding: 8px;
    background-color: white;
}

.nav-elements > a {
  color: white;
}

.nav-elements > a > img {
    width: 250px;
}

.nav-elements > ul {
    display: flex;
}

.nav-elements > ul > li {
    padding: 16px;
    list-style-type: none;
}

.nav-elements > ul > li > a {
    color: white;
    text-decoration: none;
}

.nav-elements > ul > li > a:hover {
    --tw-text-opacity: 1;
    color: rgb(100 116 139 / var(--tw-text-opacity));
}

.iconice {
    color: white;
    display: none;
    cursor: pointer;
}

#fa-x {
    display: none;
    color: white;
    position: absolute;
    top: 50px;
    right: 15px;
    cursor: pointer;
}

#nav-mini {
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    justify-items: center;
    width: 100%;
    height: 100vh;
    background: black;
    transition: ease-in;
    transition-duration: 0.3s;
}

#nav-mini > ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#nav-mini > ul > li {
  list-style-type: none;
  margin: 10px 0;
}

#nav-mini > ul > li > a {
  text-align: left;
  text-decoration: none;
  background: black;
  margin: 10px 0;
  color: white;
  font-size: 50px;
}

#nav-mini > ul > li > a:hover {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

#about {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-image: url(images/hero.jpg);
}

.hero-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0 0 0 / 0.7);
  z-index: 2;
}

.hero-elements {
  padding: 20px;
  color: white;
  z-index: 2;
  margin-left: -224px;
}

.hero-elements > h1 {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
}

.hero-elements > p {
  padding: 16px;
  border: 1px solid white;
  border-radius: 0.25rem;
  width: 60vw;
}

#usluge {
  max-width: 1240px;
  margin: auto;
  margin-top: 16px;
}

#usluge > h1 {
  font-size: 1.5rem;
  line-height: 2rem;
  text-align: center;
  padding: 16px;
  padding-bottom: 16px;
}

.sve-usluge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.usluga {
  padding: 16px;
  margin-bottom: 8px;
  width: 80%;
  height: auto;
  border-radius: 4px;
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
  --tw-gradient-from: rgb(0 0 0 / 0.5);
  --tw-gradient-to: rgb(0 0 0 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: #ef4444;
  margin: auto;
}

.usluga:nth-child(1) {
  margin-bottom: 8px;
}

.usluga:nth-child(2) {
  margin-top: 8px;
  margin-bottom: 8px;
}

.usluga:nth-child(3) {
  margin-top: 8px;
  margin-bottom: 8px;
}

.usluga:nth-child(4) {
  margin-top: 8px;
  margin-bottom: 8px;
}

.usluga:nth-child(5) {
  margin-top: 8px;
}

.usluga p {
  padding: 4px 32px;
  text-align: center;
}

.naslov-usluge {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;
}

.naslov-usluge p {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  padding: 0 8px;
}

#proizvodi {
  padding: 8px;
  max-width: 1240px;
  margin: auto;
}

#proizvodi h1 {
  text-align: center;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  padding: 32px;
}

.svi-proizvodi {
  display: flex;
}

.proizvod {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid;
  --tw-border-opacity: 1;
  border-color: rgb(100 116 139 / var(--tw-border-opacity));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  text-align: center;
  margin: auto;
  width: 90vw;
  height: 320px;
  margin: 8px 0;
  color: white;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.proizvod:nth-child(1) {
  margin-right: 8px;
}

.proizvod:nth-child(3) {
  margin-right: 8px;
}

#gallery {
  max-width: 1240px;
  margin: auto;
  padding: 8px 0;
}

#gallery h1 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  text-align: center;
  padding: 32px;
}

.my-slider img {
  margin: auto;
  display: flex;
  justify-content: center;
  width: 400px;
}

#gallery a {
  text-decoration: none;
  color: white;
  width: 200px;
  padding: 20px;
}

.pattern1 {
  color: white;
  margin: auto;
  display: flex;
  border-radius: 4px;
  transition-duration: 300ms;
  margin-top: 10px;
  font-size: larger;
  border: none;
}

#gallery button:hover {
  color: rgb(255 255 255 / 0.5);
}

#kontakt {
  max-width: 1240px;
  margin: auto;
  padding: 16px;
}

#kontakt h1 {
  min-width: 250px;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  text-align: center;
  padding: 24px;
}

#kontakt p {
  color: rgb(0 0 0 / 0.3);
}

#kontakt span {
  font-size: 1.875rem;
  line-height: 2.25rem;
  color: rgb(239 68 68 / 0.6);
}

form {
  width: 100%;
  margin: auto;
}

.form-flex {
  display: flex;
}

.form-div2 {
  border: none;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  padding: 12px;
  margin: 4px 0;
  width: 100%;
  min-width: 300px;
}

.form-div1 {
  border: none;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  padding: 12px;
  margin: 4px 0;
  width: 50%;
  min-width: 150px;
}

.inline {
  display: inline;
}

.inline input {
  margin-right: 8px;
}

#form-submit {
  margin: auto;
  display: flex;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  padding: 12px;
  min-width: 300px;
  margin-top: 12px;
  text-align: justify;
  border: none;
  cursor: pointer;
  background: rgb(255, 245, 245);
}

#maps h1 {
  max-width: 1240px;
  margin: auto;
  padding: 16px;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

iframe {
  margin: auto;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 40em;
  border: none;
}

#socials {
  max-width: 1240px;
  padding: 16px;
  display: flex;
  margin: auto;
  justify-content: space-around;
  color: white;
}

.socials1 {
  padding: 16px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  align-items: center;
}

.socials2 {
  padding: 16px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  align-items: center;
}

.fa-facebook {
  margin-top: 10px;
  margin-bottom: 20px;
}

.fa-phone, .fa-envelope {
  margin-top: 20px;
  margin-bottom: 10px;
}

#socials a {
  text-decoration: none;
  color: white;
}

footer {
  width: 100%;
  background-color: black;
  padding: 16px 0;
  text-align: center;
  color: white;
}

footer a {
  color: #66CC66;
  text-decoration: none;
}

#cookies {
  display: flex;
  justify-content: space-between;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #2B373B;
  padding: 10px 0;
  z-index: 2;
  align-items: center;
}

#cookies p {
  margin-left: 50px;
  color: white;
}

#cookies button {
  margin-right: 50px;
  right: 15px;
  background-color: rgb(255, 212, 45);
  padding: 10px;
  border: none;
  color: #000;
  font-size: 15px;
  cursor: pointer;
}

@media (max-width: 820px) {
    .nav-elements > ul {
        display: none;
    }

    .iconice {
        display: flex;
    }

    .hero-elements {
      margin-left: 0;
    }

    .hero-elements > p {
      width: 80vw;
    }

    .usluga {
      width: 80vw;
    }

    .usluga p {
      text-align: justify;
    }

    #proizvodi {
      max-width: auto;
    }

    .svi-proizvodi {
      display: grid;
    }

    .proizvod {
      margin-left: 12px;
    }

    .my-slider img {
      width: 300px;
    }

    #socials {
      flex-direction: column;
    }

    .socials1, .socials2 {
      flex-direction: row;
    }

    .socials2 {
      margin: 16px 0;
    }

    .fa-facebook, .fa-phone, .fa-envelope {
      margin-top: 0;
      margin-bottom: 0;
      margin-right: 15px;
    }
}

.inverted {
  background-color: #fff;
  box-shadow: 0 3px 5px 0.3px rgba(0,0,0,0.1);
  border-bottom: 2px solid black;
}

.inverted #fa-bars {
  color: black;
}

.inverted > .nav-elements > ul > li > a {
  color: black;
}

.tns-outer {
  display: block;
}

.tns-controls {
  display: none;
}

  .tns-controls button {
      display: none;
  }

.tns-nav {
  text-align: center;
  padding-bottom: 10px;
  display: block;
}

.tns-nav > [aria-controls] {
  width: 9px;
  height: 9px;
  padding: 0;
  margin: 0 5px;
  border-radius: 50%;
  background: #ddd;
  border: 0;
}

.tns-nav > .tns-nav-active {
  background: #999;
}

[data-action] {
  display: none;
}

#eu > div {
  display: flex; 
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  gap: 20px;
}

#eu > div > img {
  width: 250px;
}

@media (min-width: 820px) {
  #eu > div {
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    align-items: center; 
    gap: 20px;
  }

  #eu > div > img {
    width: 350px;
  }
}