*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  scroll-behavior: smooth;
  font-family: "Raleway", sans-serif;
  background-color: #eee;
}

h1 {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  position: absolute;
  bottom: 0;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1rem;
}

h2 {
  font-size: 1.6rem;
  margin-top: 1rem;
}

h3 {
  font-size: 1.2rem;
}

h2,
h3 {
  width: 100%;
  font-weight: 600;
  color: red;
  padding: 1rem 0;
  text-transform: uppercase;
  text-wrap: pretty;
}

h4 {
  color: red;
  text-align: center;
  font-size: 1.1rem;
  font-style: italic;
  margin: 0.5rem 0;
}

p {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: #333;
}

main li {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: #333;
}

main ul {
  padding: 0 1rem 0 1rem;
  list-style: none;
}

main ol {
  padding: 0 1rem 0 1rem;
}

main ul li::before {
  content: "\2022";
  color: red;
  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;
}

article h2{
  margin-top: 0;
}

.partner{
  position: relative;
}

.partner > h2{
  padding-right: 20vw;
}

.partner > img{
  width: 20vw;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.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.jpg");
  background-position: center;
}

.industries {
  background-image: url("img/industries/Industries.jpg");
  background-position: center;
}

.services {
  background-image: url("img/services/megafon.jpg");
  background-position: top right;
}

.career {
  background-image: url("img/career/meeting.jpg");
  background-position: center;
}

.contact {
  background-image: url("img/contact/assistant.jpg");
  background-position: center;
}
.partnership {
  background-image: url("img/partnership/partenrship.webp");
  background-position: center;
}

.about,
.industries,
.services,
.career,
.partnership,
.contact {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
}

.centar {
  text-align: center;
}

footer {
  position: relative;
  width: 100%;
  background-color: #333;
  padding: 1rem;
}

footer p {
  color: #ddd;
  padding: 1rem;
  text-align: center;
  margin: 0;
  padding: 0 0 0.5rem 0;
}

footer a {
  color: #ddd;
  text-decoration: none;
}

footer a:hover {
  color: red;
}

.bold {
  font-weight: 800;
}

@media screen and (min-width: 1025px) {
  h2,
  h3 {
    width: 70%;
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .slikaDesno {
    order: 1;
  }

  article p + img {
    margin-top: 0;
  }

  .bezPaddingDole {
    padding: 1rem;
  }

  /* Hero section  */

  .hero {
    height: 93vh;
  }
  .services {
    background-position: center;
  }
  
  .partner > img{
    width: 7vw;  
  }
}
