* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #38a4fe;
  --secondary-color: #ffca02;
  --primary-font-color: #474747;
  --dark-background-color: #292c33;
  --light-background-color: #f2f9ff;
  --btn-hover-color:#ffe102;

  --font-family: "Open Sans", sans-serif;

  --f-size-XS: 1rem;
  --f-size-S: 1.2rem;
  --f-size-M: 1.5rem;
  --f-size-L: 2rem;
  --f-size-XL: 2.5rem;
}
body {
  color: var(--primary-font-color);
  font-family: var(--font-family);
  background-color: var(--light-background-color);
}
section {
  overflow: hidden;
}
li {
  list-style-type: none;
}
a {
  text-decoration: none;
  font-size: var(--f-size-S);
  color: var(--primary-font-color);
}
p {
  margin-bottom: 1rem;
  font-size: var(--f-size-S);
  line-height: 1.5;
}
h2 {
  font-size: var(--f-size-L);
  margin: 2rem 0;
}
h3 {
  margin: 1rem 0;
  font-size: var(--f-size-S);
}

.container {
  max-width: 100rem;
  width: 80%;
  margin: 0 auto;
  height: 50rem;
}

.flex {
  display: flex;
}
.grid {
  display: grid;
}
.column {
  flex-direction: column;
}
.center {
  align-items: center;
  justify-content: center;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.uppercase {
  text-transform: uppercase;
}
.italic {
  font-style: italic;
}
.btn {
  padding: 0.75rem 1.25rem;
  background-color: var(--secondary-color);
  font-weight: bold;
  display: block;
  min-width: fit-content;
  width: 15rem;
  border-radius: 5px;
  margin-top: 1rem;
  text-align: center;
  cursor: pointer;
  color: #303030;
}
.btn:hover, .btn:active{
  background-color: var(--btn-hover-color);

}
.show {
  display: flex;
}
.hidden{
  display: none;
}
/*-----------------MAX-WIDTH 1440px-----------*/
@media screen and (max-width: 1440px) {
  p,
  a {
    font-size: var(--f-size-XS);
  }
}
/*-----------------MAX-WIDTH 1280px-----------*/
@media screen and (max-width: 1024px) {
  h2 {
    font-size: var(--f-size-M);
  }
  a,
  p {
    font-size: 0.9rem;
  }
}
/*-----------------MAX-WIDTH 480px-----------*/
@media screen and (max-width: 480px) {
  .container {
    width: 90%;
  }
}
/*-----------------------------TOP-BAR-------------------------------------------*/
#top {
  width: 100%;
  height: 3rem;
  position: fixed;
  z-index: 50;
  top: 0;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 0 2rem;
}
#top ul {
  height: 100%;
  align-items: center;
  justify-content: space-between;
  width: 20rem;
  margin: 0 auto;
}

#top a {
  color: var(--btn-font-color);
  text-decoration: none;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.444);
}
#top p {
  font-size: 0.6rem;
  display: inline;
  margin: 0;
  display: none;
}
#top i {
  color: var(--btn-font-color);
  font-size: var(--f-size-S);
}

#top i:hover {
  scale: 1.5;
}

/* -------- mobile -----------------------*/
@media screen and (max-width: 1280px) {
  #top {
    height: 2.5rem;
  }
  #top i {
    font-size: var(--f-size-XS);
  }
}
@media screen and (max-width: 480px) {
  h2 {
    font-size: var(--f-size-S);
    line-height: 1.5;
  }
  #top ul{
    width: 100%;
  }
}
/*-------------------------------------------------------------*/
header {
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
  position: fixed;
  top: 3rem;
  left: 0;
  width: 100%;
  z-index: 49;
}
nav {
  width: 80%;
  max-width: 100rem;
  margin: 0 auto;
}
nav ul {
  height: fit-content;
}

nav li {
  padding: 0.5rem;
}
nav li:not(:last-child) {
  margin-right: 1rem;
}

nav li a {
  cursor: pointer;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}
.menu-btn a:hover {
  color: #ffca02;
  text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.7);
}

/*-----------------MAX-WIDTH 1280px-----------*/
@media screen and (max-width: 1280px) {
  header {
    top: 2.5rem;
  }
}
@media screen and (max-width: 800px){
  nav li:not(:last-child){
    margin-right: 0;
  }
}
/*-----------------MAX-WIDTH 480px-----------*/
@media screen and (max-width: 480px) {
  nav{
    width: 90%;
  }
  nav li{
    padding: 0.35rem;
  }
  nav li a{
    font-size: .85rem;
  }
}
/*-------------------------------------------*/
footer {
  background-color: var(--dark-background-color);
  padding: 3rem 0;
}
footer .container {
  height: 10rem;
  width: 70%;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: center;
  color: white;
  gap: 2rem;
}

footer h4 {
  margin-bottom: 0.5rem;
}
footer a {
  color: white;
}
footer p {
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  display: inline;
}
footer img {
  height: 5rem;
}
footer .drustvene-mreze {
  align-items: center;
  gap: 1rem;
}
footer .drustvene-mreze i {
  font-size: 2.5rem;
}
/*------------------MAX-WIDTH 1280------------------*/
@media screen and (max-width: 1280px) {
  footer .container {
    width: 80%;
    height: 8rem;
  }
  footer p {
    font-size: 0.6rem;
  }
  footer h4 {
    font-size: 0.7rem;
  }
  footer img {
    height: 4rem;
  }
}
/*------------------MAX-WIDTH 1280------------------*/
@media screen and (max-width: 1024px) {
  footer .container {
    grid-template-columns: 1fr 1fr;
    height: fit-content;
  }
  footer p {
    font-size: 0.9rem;
  }
  footer h4 {
    font-size: var(--f-size-XS);
  }


  footer .info i {
    margin-right: 1rem;
  }

  footer .drustvene-mreze i {
    font-size: 2rem;
  }
  footer img {
    height: 3rem;
  }
}

/*------------------MAX-WIDTH 480------------------*/
@media screen and (max-width: 480px) {
  footer .container {
    grid-template-columns: 1fr;
    height: fit-content;
  }
footer a, footer p{
  font-size: .7rem;
}

}

/*---------------------------------------------------------------------*/
#naslovna {
  background-image: url(../images/top.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  overflow: hidden;
}
#naslovna .text {
  position: relative;
  margin-top: 5%;
  width: 50%;
}
#naslovna .image {
  width: 50%;
  height: 50rem;
  align-items: end;
  justify-content: center;
}
#naslovna .image img {
  height: 90%;
  margin-top: 10%;
  margin-right: 10%;
}
#naslovna span {
  font-size: 2.2rem;
  color: #38a4fe;
  background-color: rgba(242, 249, 255, 0.6);

  font-weight: bold;
}
#naslovna h1 {
  font-size: 7rem;
  color: var(--secondary-color);
}
#naslovna h2 {
  font-size: var(--f-size-M);
  margin: 0.35rem 0;
  font-weight: normal;
  letter-spacing: 5px;
  background-color: rgba(242, 249, 255, 0.6);
}
/*---------MAX-WIDTH 1440-------------*/
@media screen and (max-width: 1440px) {
}

/*------------------------MAX-WIDTH 1280---------------*/
@media screen and (max-width: 1280px) {
  #naslovna h2 {
    font-size: var(--f-size-S);
  }
  #naslovna span {
    font-size: var(--f-size-L);
  }
}
/*---------MAX-WIDTH 1024-------------*/
@media screen and (max-width: 1024px) {
  #naslovna .container {
    height: 40rem;
  }
  #naslovna .image {
    height: 40rem;
  }
  #naslovna span {
    font-size: var(--f-size-M);
  }
  #naslovna h1 {
    font-size: 5rem;
  }
  #naslovna h2 {
    font-size: var(--f-size-XS);
    margin-bottom: 0;
  }
}
/*---------MAX-WIDTH 1024-------------*/
@media screen and (max-width: 800px) {
  #naslovna .container {
    height: 100vh;
    position: relative;
    flex-direction: column;
  }

  #naslovna .image {
    width: 100%;
    height: 60vh;
  }
  #naslovna .image img {
    margin-right: -20%;
    margin-top: unset;
    height: 120%;
  }
  #naslovna .text {
    width: 100%;
    padding-top: 20vh;
    height: fit-content;
    position: static;
  }
  #naslovna h1 {
    font-size: 6rem;
  }
  #naslovna span {
    margin-bottom: 1rem;
  }

  #naslovna .btn {
    margin-top: 2rem;
    font-size: var(--f-size-S);
  }
}

/*------------------------MAX-WIDTH 480---------------*/
@media screen and (max-width: 480px) {
  #naslovna h1 {
    font-size: 5rem;
  }
  #naslovna span {
    font-size: var(--f-size-S);
  }
  #naslovna .btn {
    font-size: var(--f-size-XS);
    width: 12rem;
  }
  #naslovna h2 {
    font-size: 0.9rem;
    margin: 0;
  }
}

/*----------------------------------------------------*/
#ponuda {
  background-color: var(--dark-background-color);
  padding: 3rem 0;
}
#ponuda .container {
  height: fit-content;
  color: white;
}
#ponuda h2 {
  margin: 2rem 0;
  text-align: center;
}

#ponuda .cards {
  grid-template-columns: repeat(3, 1fr);
  margin: 2rem 0;
  gap: 1rem;
  width: 80%;
}
#ponuda .color {
  background-color: var(--secondary-color);
  padding: 1rem;
  height: 7rem;
}
#ponuda h3 {
  text-align: center;
  color: #303030;
}
#ponuda .card {
  min-height: fit-content;
  height: 28rem;
  background-color: white;
  color: var(--primary-font-color);
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
}

#ponuda p.italic {
  padding: 1rem 2rem;
  text-align: center;
}
/*---------MAX-WIDTH 1440-------------*/
@media screen and (max-width: 1440px) {
  #ponuda .card {
    height: 25rem;
  }
}

/*------------------------MAX-WIDTH 1280---------------*/
@media screen and (max-width: 1280px) {
  #ponuda .cards {
    width: 90%;
  }
  #ponuda h3 {
    font-size: var(--f-size-XS);
  }
}
@media screen and (max-width: 1024px) {
  #ponuda h3 {
    font-size: 0.9rem;
  }
  #ponuda p.italic {
    padding: 1rem;
  }
  #ponuda .card {
    height: 23rem;
  }
  #ponuda .cards {
    width: 100%;
  }
}
/*------------------------MAX-WIDTH 800---------------*/

@media screen and (max-width: 800px) {
  #ponuda .cards {
    grid-template-columns: 1fr;
  }
  #ponuda .card {
    height: 15rem;
  }
  #ponuda .color {
    height: 5rem;
    width: 100%;
    margin-bottom: 1rem;
  }
}
/*------------------------MAX-WIDTH 480---------------*/
@media screen and (max-width: 480px) {
  #ponuda .card {
    min-height: 17rem;
    height: fit-content;
  }
  #ponuda p.uppercase {
    text-align: center;
  }
}
/*----------------------------------------------------*/

#usluge {
  background-color: var(--primary-color);
}
#usluge .container {
  height: 40rem;
  gap: 1rem;
}

#usluge .image {
  width: 50%;
  height: 100%;
}
#usluge img {
  height: 90%;
  margin: auto 0;
  width: auto;
  object-fit: contain;
  object-position: center;
}
#usluge .text {
  width: 50%;
  color: white;
}
#usluge .text li {
  margin: 0.5rem 0;
  align-items: center;
}
#usluge .text p {
  margin-bottom: 0;
}
#usluge .text ul {
  margin-bottom: 2rem;
}
#usluge .text i {
  margin-right: 1rem;
  font-size: var(--f-size-S);
  color: var(--secondary-color);
}
/*---------MAX-WIDTH 1440-------------*/
@media screen and (max-width: 1440px) {
  #usluge .text li {
    font-size: var(--f-size-XS);
  }
}

/*------------------------MAX-WIDTH 1280---------------*/
@media screen and (max-width: 1280px) {
  #usluge .image {
    width: 45%;
  }
  #usluge .text {
    width: 55%;
    margin-right: -5%;
  }
}
@media screen and (max-width: 1024px) {
  #usluge .container {
    flex-direction: column;
    height: fit-content;
    padding: 2rem 0;
    position: relative;
  }
  #usluge .image {
    display: none;
  }
  #usluge h2 {
    text-align: center;
    width: 90%;
    margin: 2rem auto;
  }
  #usluge .text ul {
    margin-bottom: 0;
    width: 80%;
  }
  #usluge .text {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #usluge .text li {
    padding: 1rem;
    background-color: white;
    color: var(--primary-font-color);
    border-radius: 20px;
  }
  #usluge .text i {
    font-size: var(--f-size-M);
    margin-right: 2rem;
  }
}
/*------------------------MAX-WIDTH 800---------------*/

@media screen and (max-width: 800px) {
  #usluge .text {
    padding: 0;
  }
}
@media screen and (max-width: 480px) {
  #usluge .text ul {
    width: 100%;
  }
}

/*----------------------------------------------------*/
#zaposlenje {
  background: url(../images/top.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% auto;
}
#zaposlenje .container {
  gap: 2rem;
  min-height: 45rem;
  height: fit-content;
}
#zaposlenje form {
  margin-top: 10%;
  width: 50%;
  min-height: 38rem;
  height: fit-content;
  padding: 2rem;
  background-color: white;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}
#zaposlenje .text {
  width: 50%;
  min-height: 38rem;
  height: fit-content;
  margin-top: 10%;
  gap: 1rem;
  padding: 2rem;
  background-color: white;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}
#zaposlenje h2 {
  margin: 1rem 0;
  color: var(--primary-color);
  text-align: center;
}

#zaposlenje input,
#zaposlenje textarea,
#zaposlenje select {
  width: 100%;
  padding: 0.35rem;
  margin: 0.5rem 0 0.5rem 0;
  background-color: #f0f0f0;
  outline: none;
  border: none;
  font-family: var(--font-family);
  font-size: var(--f-size-XS);
}

#zaposlenje hr {
  margin: 1rem 0;
}
#zaposlenje span.red {
  color: red;
  font-size: 1.5rem;
}
#zaposlenje textarea {
  resize: none;
  height: 10rem;
}
#zaposlenje form div.flex {
  gap: 1rem;
}
#zaposlenje button {
  outline: none;
  border: none;
}
#zaposlenje .hidden {
  display: none;
}
#zaposlenje .odrzavanje {
  border-left: 10px solid var(--primary-color);
  padding: 1rem;
  background-color: #f6fbff;
}
#zaposlenje .upravnik {
  border-left: 10px solid var(--secondary-color);
  padding-left: 1rem;
  background-color: #f6fbff;
  padding: 1rem;
}
#zaposlenje .upravnik a,
#zaposlenje .odrzavanje a {
  border-bottom: 3px solid var(--secondary-color);
}

/*---------MAX-WIDTH 1440-------------*/
@media screen and (max-width: 1440px) {
}

/*------------------------MAX-WIDTH 1280---------------*/
@media screen and (max-width: 1280px) {
  #zaposlenje form {
    min-height: 45rem;
    padding: 4rem 2rem;
  }
  #zaposlenje form div.flex {
    flex-direction: column;
  }
}
/*------------------------MAX-WIDTH 1024---------------*/
@media screen and (max-width: 1024px) {
  #zaposlenje .container {
    flex-direction: column;
  }
  #zaposlenje form,
  #zaposlenje .text {
    width: 100%;
    min-height: fit-content;
    height: fit-content;
    position: relative;
  }
  #zaposlenje .text {
    order: 1;
  }
  #zaposlenje form {
    order: 2;
    margin-top: 0;
    padding: 2rem;
  }
}
/*----------------------------------------------------*/

#garancija {
  background-image: url(../images/bottom.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  padding: 3rem 0;
}
#garancija .container {
  height: fit-content;
}
#garancija h2 {
  text-align: center;
}
#garancija .cards {
  width: 80%;
  height: fit-content;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin: 2rem auto;
}
#garancija .card {
  min-height: 10rem;
  gap: 1rem;
  padding: 2rem;
  align-items: center;
  background-color: rgb(255, 255, 255);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

#garancija hr {
  margin: 0 0.5rem;
  height: 100%;
}
#garancija .num {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  padding: 1rem;
  background-color: var(--secondary-color);
}
#garancija .num span {
  font-size: var(--f-size-XL);
  font-weight: bold;
  color: white;
}
/*---------MAX-WIDTH 1440-------------*/
@media screen and (max-width: 1440px) {
}

/*------------------------MAX-WIDTH 1280---------------*/
@media screen and (max-width: 1280px) {
  #garancija h2 {
    width: 80%;
    margin: 3rem auto;
  }
  #garancija .num {
    width: 4rem;
    height: 4rem;
  }
}
/*------------------------MAX-WIDTH 1024---------------*/
@media screen and (max-width: 1024px) {
  #garancija .cards {
    width: 100%;
    grid-template-columns: 1fr;
  }
}
/*------------------------MAX-WIDTH 600---------------*/
@media screen and (max-width: 600px) {
  #garancija .card {
    padding: 1rem;
  }
}

/*----------------------------------------------------*/
#kontakt {
  background-color: var(--primary-color);
  padding: 5% 0;
}
#kontakt .container {
  height: fit-content;
  gap: 2rem;
}
#kontakt h2 {
  text-align: center;
  color: white;
}

#kontakt .cards {
  grid-template-columns: repeat(4, 1fr);
  height: fit-content;
  margin: 2rem 0;
  text-align: center;
  width: 100%;
}
#kontakt .cards a {
  width: 100%;
}
#kontakt .square {
  width: 100vw;
  height: 20rem;
  top: 30%;
  background-color: var(--secondary-color);
}
#kontakt form {
  height: fit-content;
  width: 70%;
  background-color: white;
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

#kontakt form .red {
  color: red;
}
#kontakt form div:first-child {
  gap: 1rem;
}
#kontakt form div:first-child div {
  width: 50%;
}
#kontakt form hr {
  margin: 1rem 0;
}
#kontakt form label {
  margin: 0.5rem 0;
  width: 100%;
  display: block;
}
#kontakt form input,
#kontakt form textarea {
  width: 100%;
  padding: 0.5rem;
  font-family: var(--font-family);
  font-size: var(--f-size-XS);
  outline: none;
  border: none;
  background-color: #f0f0f0;
}
#kontakt form textarea {
  height: 12rem;
}
#kontakt form button {
  outline: none;
  border: none;
}
#kontakt p {
  text-align: center;
  color: white;
}
#kontakt h3 {
  font-size: var(--f-size-M);
  margin: 2rem 0 1rem;
  color: white;
}
#kontakt .card {
  align-items: center;
  color: white;
  padding: 0.5rem;
}

#kontakt i {
  font-size: 5rem;
  color: white;
}

/*---------MAX-WIDTH 1440-------------*/
@media screen and (max-width: 1440px) {
}

/*------------------------MAX-WIDTH 1280---------------*/
@media screen and (max-width: 1280px) {
  #kontakt h3 {
    font-size: var(--f-size-S);
  }
}
/*------------------------MAX-WIDTH 1024---------------*/
@media screen and (max-width: 1024px) {
  #kontakt .cards {
    grid-template-columns: 1fr 1fr;
  }
  #kontakt form div:first-child {
    flex-direction: column;
  }
  #kontakt form div:first-child div {
    width: 100%;
  }
}
/*------------------------MAX-WIDTH 800---------------*/
@media screen and (max-width: 800px) {
  #kontakt form {
    width: 80%;
    padding: 2rem;
  }

  #kontakt form textarea {
    height: 15rem;
  }
}
/*------------------------MAX-WIDTH 600---------------*/
@media screen and (max-width: 600px) {
  #kontakt form {
    width: 90%;
    padding: 2rem;
  }

  #kontakt i {
    font-size: 4rem;
  }
}
/*------------------------MAX-WIDTH 480---------------*/
@media screen and (max-width: 480px) {
  #kontakt i {
    font-size: 3rem;
  }
  #kontakt h3 {
    font-size: 0.9rem;
  }
  #kontakt p {
    font-size: 0.8rem;
  }
  #kontakt .card {
    padding: 0 0.5rem;
  }
}

/*----------------------------------------------------------*/
#pitanja {
  background-color: var(--primary-color);
  padding: 5rem 0;
}
#pitanja .container {
  height: fit-content;
}
#pitanja h2 {
  width: 80%;
  text-align: center;
  color: white;
}
.questions {
  width: 60%;
  gap: 1rem;
}
.questions li {
  padding: 1rem 2rem 1rem 1rem;
  border-bottom: 2px solid white;
  position: relative;
}
.questions li a {
  color: white;
  font-size: var(--f-size-M);
}
.questions li i {
  font-size: 1.2rem;
  position: absolute;
  right: 1rem;
  color: white;
}
.questions p {
  padding: 1rem 0;
  font-style: italic;
  color: white;
  font-size: var(--f-size-S);
  margin-top: 1rem;
}
/*------------------------MAX-WIDTH 1024---------------*/

@media screen and (max-width: 1024px) {
  .questions {
    width: 100%;
  }
  .questions li a {
    font-size: var(--f-size-S);
  }
  #pitanja h2 {
    width: 100%;
  }
  .questions p {
    font-size: var(--f-size-XS);
  }
}

/*------------------------MAX-WIDTH 480---------------*/
@media screen and (max-width: 480px) {
  .questions li a {
    font-size: var(--f-size-XS);
  }
  .questions li i {
    font-size: var(--f-size-XS);
  }
}
