*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  scroll-behavior: smooth;
  font-family: system-ui, sans-serif;
  background-color: #eee;
  --naslov: #EB078A;
  --siva: #58595B;

  min-height: 100svh;

  display: flex;
  flex-direction: column;
}

/* Menu */

.navbar {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #bcbcbc;
  color: white;
}

.logo {
  width: 220px;
}

.navbarLinks {
  height: 100%;
}

.navbarLinks ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.navbarLinks li {
  list-style: none;
  text-transform: uppercase;
}

.navbarLinks li a {
  display: block;
  text-decoration: none;
  color: var(--siva);
  padding: 1rem;
}

.navbarLinks li:hover {
  background-color: #555;
  & a{
    color: white;
  }
}

.toggleButton {
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.toggleButton .bar {
  height: 3px;
  width: 100%;
  background-color: var(--siva);
  border-radius: 10px;
}

/* End of menu*/

h1 {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  padding: 1rem;
  background-color: rgba(121 121 121 / 0.5);
  color: white;
  position: absolute;
  bottom: 0;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 2rem;
  text-shadow: 3px 3px 3px var(--siva);
  backdrop-filter: blur(8px);
}

h2 {
  font-size: 1.6rem;
  margin-top: 1rem;
}

h3 {
  font-size: 1.2rem;
}

h2,
h3 {
  width: 100%;
  font-weight: 600;
  padding: 1rem 0;
  text-transform: uppercase;
}

h4 {
  text-align: center;
  font-size: 1.1rem;
  font-style: italic;
  margin: 0.5rem 0;
}

h2, h3, h4 {
  text-wrap: balance;
  color: var(--naslov);
}

p {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: var(--siva);
}

main li {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: var(--siva);
}

main ul {
  padding: 0 1rem 0 1rem;
  list-style: none;
}

main ol {
  padding: 0 1rem 0 1rem;
}

main ul li::before {
  content: "\2022";
  color: var(--naslov);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

img {
  max-width: 100%;
}

main {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

article {
  margin-bottom: 1rem;
  background-color: #fefefe;
  padding: 1rem;
  box-shadow: 0.5rem 0.5rem 0.5rem #ddd;
  border: 1px solid #bcbcbc;
}

.edenRemGore {
  margin-top: 1rem;
}

.dvaRemaDole {
  margin-bottom: 2rem;
}

article p + img {
  margin-top: 1rem;
}

.bezPaddingDole {
  padding: 0;
}

/* Hero section  */

.hero {
  width: 100%;
  height: 60vh;
}

.about {
  background-image: url("img/about/about-hero.webp");
  background-position: center;
}

.industries {
  background-image: url("img/industries/Industries.jpg");
  background-position: center;
}

.services {
  background-image: url("img/services/megafon.jpg");
  background-position: bottom center;
}

.career {
  background-image: url("img/career/meeting.jpg");
  background-position: center;
}

.contact {
  background-image: url("img/contact/assistant.jpg");
  background-position: center;
}

.about,
.industries,
.services,
.career,
.contact {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
}

.centar {
  text-align: center;
}

/*FUTER*/

footer {
  width: 100%;
  background-color: #bcbcbc;
  padding: 1rem;

  margin-top: auto;
}

footer p {
  padding: 1rem;
  text-align: center;
  margin: 0;
  padding: 0 0 0.5rem 0;
}

footer a {
  color: var(--siva);
  text-decoration: none;
}

footer a:hover {
  color: var(--naslov);
}

.bold {
  font-weight: 800;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.slikaDesno {
  order: 1;
}



/* MOBILE */

@media screen and (width < 1024px) {
  
  /* Menu*/
  
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .toggleButton {
    display: flex;
  }
  
  .navbarLinks {
    display: none;
    width: 100%;
  }
  
  .navbarLinks ul {
    margin-top: 1rem;
    width: 100%;
    flex-direction: column;
  }
  
  .navbarLinks ul li {
    text-align: center;
  }
  
  .navbarLinks ul li a {
    padding: 1rem;
  }
  
  .navbarLinks.active {
    display: flex;
  }

  .logo {
    width: 55%;
  }
  

  /* END of menu*/
  
  h2,
  h3 {
    width: 70%;
  }

    article p + img {
    margin-top: 0;
  }

  .bezPaddingDole {
    padding: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .slikaDesno {
    order: 0;
  }

  /* Hero section  */

  /* .hero {
    height: 93vh;
  } */
  
}
