

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Book Antiqua", Palatino, serif;
  background-color: rgb(42, 57, 73);
  color: white;
  line-height: 1.6;
}

/* SEKCIJA O KOMPANIJI */
.o-kompaniji {
  height: 100vh;
  background-image: url("slikazaonama.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
}

.overlay-text {
  color: white; 
  font-size: 1.6rem;
  max-width: 700px;
  font-style: italic;
}

.overlay-text .just {
  color: rgba(230, 230, 60, 0.995); 
  font-weight: bold;
}

/* SEKCIJA O NAMA */
#o-nama {
  background: linear-gradient(to top left, rgb(42, 57, 73) 50%, grey 50%);
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
}

.o-nama-p {
  margin: 20px auto;
  max-width: 800px;
  background-color: rgb(177, 172, 172);
  border-radius: 15px;
  padding: 40px;
  font-size: 1.6rem;
  color: black;
  font-weight: 300;
}

/* TIM */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 150px; 
  justify-content: center;
  margin: 40px 0;
}

.item {
  text-align: center;
  max-width: 200px;
}

.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;         
  background-color: rgb(42, 57, 73); 
  color: rgba(230, 230, 60, 0.995); 
  border: 2px solid rgba(230, 230, 60, 0.995); 
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 15px auto;
}

.item p {
  font-size: 14px;
  color: white;
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .overlay-text {
    font-size: 1.2rem;
  }
  .circle {
    width: 80px;
    height: 80px;
    font-size: 1.1rem;
  }
  .o-nama-p {
    font-size: 1.3rem;
    padding: 25px;
  }
  .container {
    gap: 60px; 
  }
}

@media (max-width: 600px) {
  .overlay-text {
    font-size: 1rem;
    text-align: center;
  }
  .container {
    flex-direction: column;
    gap: 20px; 
  }
  .circle {
    width: 70px;
    height: 70px;
    font-size: 1rem;
  }
  .o-nama-p {
    font-size: 1.1rem;
    padding: 20px;
  }
}

