@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,500;1,600;1,700;1,800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&display=swap");

@font-face {
  font-family: "Montserrat";
  src: url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap");
}

@font-face {
  font-family: "Montserrat";
  src: url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
}
:root {
  --primary-color: #f60f20;
  --secondary-color: #1b206e;
}

@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,600);

* {
  box-sizing: border-box;
}

html,
body {
  font-family: "Poppins", sans-serif;
  color: #111;
}
.bg-image {
  /* height: 800px;
  width: auto; */

  /* Center and scale the image nicely */
  /* background-position: center; */
  /* background-repeat: no-repeat; */
  /* background-size: cover; */
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: -20;
  opacity: 0.3;
}

h1 {
  font-size: 30px;
  font-weight: 500;
}

p {
  margin: 10px 0 10px 0;
  font-size: 1.1rem;
}
/* Button */

/* .btn {
 
  display: inline-block;
  /* background: var(--primary-color);  */
/* 
  color: #fff;
  text-decoration: none;
  padding: 10px 30px;
  margin: 20px 0;
  border: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
} */

.btn {
  display: inline-block;
  border: 2px solid black;
  /* background-color: white; */
  padding: 10px 30px;
  color: black;
  font-size: 16px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

.btn:hover {
  transform: scale(0.9);
}
/* Home page  */
.logo img {
  max-width: auto;
  height: 60px;
  position: absolute;
  top: 30px;
  left: 150px;
  z-index: 20;
}

.home-content {
  z-index: 10;
  max-width: 500px;
  position: relative;
  margin: 20px;
}

section,
.home {
  display: flex;
  flex-direction: column;
  height: 100vh;
  align-items: center;
  padding: 100px;
  margin-top: 60px;
}

.home {
  flex-direction: row;
  margin-top: 0;
  margin-left: -80px;
}
section h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}
section p {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}
.home-img {
  position: absolute;
  bottom: 50px;
  right: 100px;
  height: 20%;
}

.toggle {
  position: fixed;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-color) url(../images/menu.png);
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 20;
  cursor: pointer;
}
.toggle.active {
  background: var(--primary-color) url(../images/close.png);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center;
}

.navigation {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 15;
  display: flex;
  justify-content: center;
  align-items: center;
}
.navigation.active {
  left: 0;
}
.navigation ul {
  position: relative;
}
.navigation ul li {
  position: relative;
  list-style: none;
  text-align: center;
}
.navigation ul li a {
  font-size: 2.2rem;
  color: #111;
  text-decoration: none;
  font-weight: 300;
}
.navigation ul li a:hover {
  color: var(--primary-color);
}
.navigation .social-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.navigation .social-bar a {
  display: inline-block;
  transform: scale(0.5);
}
.navigation .email-icon {
  position: absolute;
  bottom: 20px;
  transform: (0.5);
}

.title {
  z-index: 10;
  max-width: 800px;
  position: relative;
  margin: 50px;
}

/* .proizvod-opis p {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 2rem;
  text-transform: uppercase;
  padding-top: 0;
}
.popularni-proizvodi {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.proizvodi {
  /* background-color: aquamarine; */
/* display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
} */

/* .proizvodi img {
  padding-top: 10px;
  margin: 20px;
  width: 50%;
  height: fit-content;
}  */
/* O nama stranica  */
.services {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  text-align: justify;
}
.services img {
  height: 300px;
  width: auto;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}
.services .service {
  padding: 30px;
  background: rgb(241, 243, 239);
}
.services .service:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.services .service h2 {
  font-size: 24px;
  font-weight: 500;
  margin-top: 20px;
  color: #1b206e;
}

/* Proizvodi stranica  */
.portfolio {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
}
.portfolio .item {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 20px;
}
.portfolio .item img {
  width: 100%;
  height: 100%;
}
.portfolio .item .action {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.5s;
}
.portfolio .item:hover .action {
  opacity: 1;
}
.portfolio .item .action a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 5px 15px;
}

/* Kontakt */
.contact {
  position: relative;
  width: 100%;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.contact-form {
  position: relative;
  background: #f9f9f9;
  width: calc(100% - 400px);
  padding: 60px 40px 20px;
}
.contact-form form {
  width: 100%;
}
.contact-form .row {
  width: 100%;
  display: flex;
}
.contact-form .input50 {
  width: 50%;
  margin: 0 10px;
}
.contact-form .input100 {
  width: 100%;
  margin: 0 10px;
}
.contact-form .row input,
.contact-form .row textarea {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #111;
  background: transparent;
  width: 100%;
  padding: 10px;
  outline: none;
  font-size: 16px;
  font-weight: 300;
  margin: 10px 0;
  resize: none;
}
.contact-form .row textarea {
  height: 150px;
}
.contact-form .row input[type="submit"] {
  background-color: var(--secondary-color);
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
  border: 0;
  cursor: pointer;
}
.contact-info {
  width: 350px;
  background: #f9f9f9;
  padding: 60px 40px 20px;
}
.contact-info .info-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}
.contact-info .info-box .contact-icon {
  width: 20px;
  margin-right: 40px;
}
.contact-info .info-box .details h4 {
  color: var(--secondary-color);
}
.contact-info .info-box .details p,
.contact-info .info-box .details a {
  color: #111;
}

@media (max-width: 1068px) {
  .home-img {
    position: absolute;
    top: 850px;

    height: 15%;
  }

  .logo img {
    top: 10px;
    left: 40px;
    max-width: auto;
    height: 50px;
  }
  section {
    padding: 100px 40px;
  }
  .navigation ul li a {
    font-size: 2rem;
  }

  .services {
    grid-template-columns: 1fr 1fr;
  }
  .services img {
    height: 200px;
    width: auto;
  }
  .contact {
    flex-direction: column;
  }
  .contact-form {
    width: 100%;
    padding: 30px 30px 20px;
  }
  .contact-form .row {
    flex-direction: column;
  }
  .contact-form .input50,
  .contact-form .input100 {
    width: 100%;
    margin: 0;
  }
  .contact-info {
    width: 100%;
    margin-top: 20px;
    padding: 30px 30px 20px;
  }
  .portfolio {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .home-img {
    /* display: none;  */
    position: absolute;
    top: 700px;
    /* bottom: 100; */
    /* right: 20; */
    height: 10%;
    left: 30px;
  }

  .services {
    grid-template-columns: 1fr;
    align-items: center;
  }
  .services img {
    height: 200px;
    width: auto;
    align-items: center;
  }
  .services .service {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  .portfolio {
    justify-content: center;
  }
  .home-content h1,
  .title h1 {
    margin-top: 80px;
    font-size: 1.4rem;
  }
  .home-content p,
  .title p {
    font-size: 0.9rem;
  }
  .title p {
    align-items: left;
    justify-content: left;
  }
  .portfolio .item {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 20px;
  }
}
@media (max-width: 1080px) {
  .home-img {
    display: none;
  }
}
